mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-22 09:32:14 +00:00
added prettier
This commit is contained in:
689
resources/js/routes/routesAdmin.js
vendored
689
resources/js/routes/routesAdmin.js
vendored
@@ -1,365 +1,330 @@
|
||||
const routesAdmin = [
|
||||
{
|
||||
name: 'Admin',
|
||||
path: '/admin',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/admin" */ '../views/Admin'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Admin'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'Dashboard',
|
||||
path: '/admin/dashboard',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/dashboard" */ '../views/Admin/Dashboard'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.dashboard'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Invoices',
|
||||
path: '/admin/invoices',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/invoices" */ '../views/Admin/Invoices'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.invoices'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Subscriptions',
|
||||
path: '/admin/subscriptions',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/subscriptions" */ '../views/Admin/Subscriptions'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Subscriptions'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Pages',
|
||||
path: '/admin/pages',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/pages" */ '../views/Admin/Pages'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.pages'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PageEdit',
|
||||
path: '/admin/pages/:slug',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/page-edit" */ '../views/Admin/Pages/PageEdit'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.page_edit'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Plans',
|
||||
path: '/admin/plans',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plans" */ '../views/Admin/Plans'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.pricing_plans'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Users',
|
||||
path: '/admin/users',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/users" */ '../views/Admin/Users'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_list'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserCreate',
|
||||
path: '/admin/user/create',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/user-create" */ '../views/Admin/Users/UserCreate'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.user_create'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'CreateFixedPlan',
|
||||
path: '/admin/plan/create/fixed',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan-create/fixed" */ '../views/Admin/Plans/Create/CreateFixedPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_create'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'CreateMeteredPlan',
|
||||
path: '/admin/plan/create/metered',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan-create/metered" */ '../views/Admin/Plans/Create/CreateMeteredPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_create'
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/admin/user/:id',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/user" */ '../views/Admin/Users/User'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_user'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'UserDetail',
|
||||
path: '/admin/user/:id/details',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/user-detail" */ '../views/Admin/Users/UserTabs/UserDetail'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_detail'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserStorage',
|
||||
path: '/admin/user/:id/storage',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/user-storage" */ '../views/Admin/Users/UserTabs/UserStorage'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_storage_usage'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserSubscription',
|
||||
path: '/admin/user/:id/subscription',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/user-subscription" */ '../views/Admin/Users/UserTabs/UserSubscription'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscription'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserPassword',
|
||||
path: '/admin/user/:id/password',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/user-password" */ '../views/Admin/Users/UserTabs/UserPassword'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_password'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserDelete',
|
||||
path: '/admin/user/:id/delete',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/user-delete" */ '../views/Admin/Users/UserTabs/UserDelete'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_delete'
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'PlanFixed',
|
||||
path: '/admin/plan/:id',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan" */ '../views/Admin/Plans/FixedPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'PlanFixedSubscribers',
|
||||
path: '/admin/plan/:id/fixed/subscribers',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan-subscribers" */ '../views/Admin/Plans/Tabs/PlanSubscribers'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscribers'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PlanFixedSettings',
|
||||
path: '/admin/plan/:id/fixed/settings',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan-settings" */ '../views/Admin/Plans/Tabs/PlanFixedSettings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_settings',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PlanFixedDelete',
|
||||
path: '/admin/plan/:id/fixed/delete',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan-delete" */ '../views/Admin/Plans/Tabs/PlanDelete'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_delete',
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'PlanMetered',
|
||||
path: '/admin/plan/:id',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan" */ '../views/Admin/Plans/MeteredPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'PlanMeteredSubscribers',
|
||||
path: '/admin/plan/:id/metered/subscribers',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan-subscribers" */ '../views/Admin/Plans/Tabs/PlanSubscribers'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscribers'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PlanMeteredSettings',
|
||||
path: '/admin/plan/:id/metered/settings',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan-settings" */ '../views/Admin/Plans/Tabs/PlanMeteredSettings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_settings',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PlanMeteredDelete',
|
||||
path: '/admin/plan/:id/metered/delete',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/plan-delete" */ '../views/Admin/Plans/Tabs/PlanDelete'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_delete',
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'PaymentSettings',
|
||||
path: '/admin/payments',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/payments" */ '../views/Admin/PaymentSettings/PaymentSettings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Payment Settings'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'AppBillings',
|
||||
path: '/admin/payments/billings',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/payments/billings" */ '../views/Admin/PaymentSettings/PaymentSettingsTab/Billings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.billings'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppPayments',
|
||||
path: '/admin/payments/payments',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/payments/settings" */ '../views/Admin/PaymentSettings/PaymentSettingsTab/Payments'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.payments'
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'AppSettings',
|
||||
path: '/admin/settings',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/app-settings" */ '../views/Admin/AppSettings/AppSettings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.settings'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'AppAppearance',
|
||||
path: '/admin/settings/appearance',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/app-appearance" */ '../views/Admin/AppSettings/AppSettingsTabs/Appearance'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.appearance'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppIndex',
|
||||
path: '/admin/settings/index',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/app-index" */ '../views/Admin/AppSettings/AppSettingsTabs/Index'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Index'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppEmail',
|
||||
path: '/admin/settings/email',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/app-email" */ '../views/Admin/AppSettings/AppSettingsTabs/Email'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.email'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppOthers',
|
||||
path: '/admin/settings/others',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/app-others" */ '../views/Admin/AppSettings/AppSettingsTabs/Others'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.others'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppSignInUp',
|
||||
path: '/admin/settings/sign-in',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/app-sign-in-out" */ '../views/Admin/AppSettings/AppSettingsTabs/SignInUp'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Sign In/Up'
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Language',
|
||||
path: '/admin/language',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/app-language" */ '../views/Admin/Languages/Language'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Language Editor'
|
||||
},
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Admin',
|
||||
path: '/admin',
|
||||
component: () => import(/* webpackChunkName: "chunks/admin" */ '../views/Admin'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Admin',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'Dashboard',
|
||||
path: '/admin/dashboard',
|
||||
component: () => import(/* webpackChunkName: "chunks/dashboard" */ '../views/Admin/Dashboard'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.dashboard',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Invoices',
|
||||
path: '/admin/invoices',
|
||||
component: () => import(/* webpackChunkName: "chunks/invoices" */ '../views/Admin/Invoices'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.invoices',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Subscriptions',
|
||||
path: '/admin/subscriptions',
|
||||
component: () => import(/* webpackChunkName: "chunks/subscriptions" */ '../views/Admin/Subscriptions'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Subscriptions',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Pages',
|
||||
path: '/admin/pages',
|
||||
component: () => import(/* webpackChunkName: "chunks/pages" */ '../views/Admin/Pages'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.pages',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PageEdit',
|
||||
path: '/admin/pages/:slug',
|
||||
component: () => import(/* webpackChunkName: "chunks/page-edit" */ '../views/Admin/Pages/PageEdit'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.page_edit',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Plans',
|
||||
path: '/admin/plans',
|
||||
component: () => import(/* webpackChunkName: "chunks/plans" */ '../views/Admin/Plans'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.pricing_plans',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Users',
|
||||
path: '/admin/users',
|
||||
component: () => import(/* webpackChunkName: "chunks/users" */ '../views/Admin/Users'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_list',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserCreate',
|
||||
path: '/admin/user/create',
|
||||
component: () => import(/* webpackChunkName: "chunks/user-create" */ '../views/Admin/Users/UserCreate'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.user_create',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'CreateFixedPlan',
|
||||
path: '/admin/plan/create/fixed',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan-create/fixed" */ '../views/Admin/Plans/Create/CreateFixedPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_create',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'CreateMeteredPlan',
|
||||
path: '/admin/plan/create/metered',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan-create/metered" */ '../views/Admin/Plans/Create/CreateMeteredPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_create',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/admin/user/:id',
|
||||
component: () => import(/* webpackChunkName: "chunks/user" */ '../views/Admin/Users/User'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_user',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'UserDetail',
|
||||
path: '/admin/user/:id/details',
|
||||
component: () => import(/* webpackChunkName: "chunks/user-detail" */ '../views/Admin/Users/UserTabs/UserDetail'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_detail',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserStorage',
|
||||
path: '/admin/user/:id/storage',
|
||||
component: () => import(/* webpackChunkName: "chunks/user-storage" */ '../views/Admin/Users/UserTabs/UserStorage'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_storage_usage',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserSubscription',
|
||||
path: '/admin/user/:id/subscription',
|
||||
component: () => import(/* webpackChunkName: "chunks/user-subscription" */ '../views/Admin/Users/UserTabs/UserSubscription'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscription',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserPassword',
|
||||
path: '/admin/user/:id/password',
|
||||
component: () => import(/* webpackChunkName: "chunks/user-password" */ '../views/Admin/Users/UserTabs/UserPassword'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_password',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'UserDelete',
|
||||
path: '/admin/user/:id/delete',
|
||||
component: () => import(/* webpackChunkName: "chunks/user-delete" */ '../views/Admin/Users/UserTabs/UserDelete'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.users_delete',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'PlanFixed',
|
||||
path: '/admin/plan/:id',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan" */ '../views/Admin/Plans/FixedPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'PlanFixedSubscribers',
|
||||
path: '/admin/plan/:id/fixed/subscribers',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan-subscribers" */ '../views/Admin/Plans/Tabs/PlanSubscribers'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscribers',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PlanFixedSettings',
|
||||
path: '/admin/plan/:id/fixed/settings',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan-settings" */ '../views/Admin/Plans/Tabs/PlanFixedSettings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_settings',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PlanFixedDelete',
|
||||
path: '/admin/plan/:id/fixed/delete',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan-delete" */ '../views/Admin/Plans/Tabs/PlanDelete'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_delete',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'PlanMetered',
|
||||
path: '/admin/plan/:id',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan" */ '../views/Admin/Plans/MeteredPlan'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'PlanMeteredSubscribers',
|
||||
path: '/admin/plan/:id/metered/subscribers',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan-subscribers" */ '../views/Admin/Plans/Tabs/PlanSubscribers'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscribers',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PlanMeteredSettings',
|
||||
path: '/admin/plan/:id/metered/settings',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan-settings" */ '../views/Admin/Plans/Tabs/PlanMeteredSettings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_settings',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PlanMeteredDelete',
|
||||
path: '/admin/plan/:id/metered/delete',
|
||||
component: () => import(/* webpackChunkName: "chunks/plan-delete" */ '../views/Admin/Plans/Tabs/PlanDelete'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.plan_delete',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'PaymentSettings',
|
||||
path: '/admin/payments',
|
||||
component: () => import(/* webpackChunkName: "chunks/payments" */ '../views/Admin/PaymentSettings/PaymentSettings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Payment Settings',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'AppBillings',
|
||||
path: '/admin/payments/billings',
|
||||
component: () => import(/* webpackChunkName: "chunks/payments/billings" */ '../views/Admin/PaymentSettings/PaymentSettingsTab/Billings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.billings',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppPayments',
|
||||
path: '/admin/payments/payments',
|
||||
component: () => import(/* webpackChunkName: "chunks/payments/settings" */ '../views/Admin/PaymentSettings/PaymentSettingsTab/Payments'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.payments',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'AppSettings',
|
||||
path: '/admin/settings',
|
||||
component: () => import(/* webpackChunkName: "chunks/app-settings" */ '../views/Admin/AppSettings/AppSettings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.settings',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'AppAppearance',
|
||||
path: '/admin/settings/appearance',
|
||||
component: () => import(/* webpackChunkName: "chunks/app-appearance" */ '../views/Admin/AppSettings/AppSettingsTabs/Appearance'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.appearance',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppIndex',
|
||||
path: '/admin/settings/index',
|
||||
component: () => import(/* webpackChunkName: "chunks/app-index" */ '../views/Admin/AppSettings/AppSettingsTabs/Index'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Index',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppEmail',
|
||||
path: '/admin/settings/email',
|
||||
component: () => import(/* webpackChunkName: "chunks/app-email" */ '../views/Admin/AppSettings/AppSettingsTabs/Email'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.email',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppOthers',
|
||||
path: '/admin/settings/others',
|
||||
component: () => import(/* webpackChunkName: "chunks/app-others" */ '../views/Admin/AppSettings/AppSettingsTabs/Others'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.others',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppSignInUp',
|
||||
path: '/admin/settings/sign-in',
|
||||
component: () => import(/* webpackChunkName: "chunks/app-sign-in-out" */ '../views/Admin/AppSettings/AppSettingsTabs/SignInUp'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Sign In/Up',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'Language',
|
||||
path: '/admin/language',
|
||||
component: () => import(/* webpackChunkName: "chunks/app-language" */ '../views/Admin/Languages/Language'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'Language Editor',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
export default routesAdmin
|
||||
export default routesAdmin
|
||||
|
||||
121
resources/js/routes/routesAuth.js
vendored
121
resources/js/routes/routesAuth.js
vendored
@@ -1,67 +1,60 @@
|
||||
const routesAuth = [
|
||||
{
|
||||
name: 'SocialiteCallback',
|
||||
path: '/socialite/:provider/callback',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SocialiteCallback'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SuccessfullyVerified',
|
||||
path: '/successfully-verified',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SuccessfullyEmailVerified'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SuccessfullySend',
|
||||
path: '/successfully-send',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SuccessfullySendEmail'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SignIn',
|
||||
path: '/sign-in',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/sign-in" */ '../views/Auth/SignIn'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SignUp',
|
||||
path: '/sign-up',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/sign-up" */ '../views/Auth/SignUp'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ForgottenPassword',
|
||||
path: '/forgotten-password',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/forgotten-password" */ '../views/Auth/ForgottenPassword'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'CreateNewPassword',
|
||||
path: '/create-new-password',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/create-new-password" */ '../views/Auth/CreateNewPassword'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SocialiteCallback',
|
||||
path: '/socialite/:provider/callback',
|
||||
component: () => import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SocialiteCallback'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SuccessfullyVerified',
|
||||
path: '/successfully-verified',
|
||||
component: () => import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SuccessfullyEmailVerified'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SuccessfullySend',
|
||||
path: '/successfully-send',
|
||||
component: () => import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SuccessfullySendEmail'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SignIn',
|
||||
path: '/sign-in',
|
||||
component: () => import(/* webpackChunkName: "chunks/sign-in" */ '../views/Auth/SignIn'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SignUp',
|
||||
path: '/sign-up',
|
||||
component: () => import(/* webpackChunkName: "chunks/sign-up" */ '../views/Auth/SignUp'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ForgottenPassword',
|
||||
path: '/forgotten-password',
|
||||
component: () => import(/* webpackChunkName: "chunks/forgotten-password" */ '../views/Auth/ForgottenPassword'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'CreateNewPassword',
|
||||
path: '/create-new-password',
|
||||
component: () => import(/* webpackChunkName: "chunks/create-new-password" */ '../views/Auth/CreateNewPassword'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
export default routesAuth
|
||||
export default routesAuth
|
||||
|
||||
119
resources/js/routes/routesFile.js
vendored
119
resources/js/routes/routesFile.js
vendored
@@ -1,66 +1,59 @@
|
||||
const routesFile = [
|
||||
{
|
||||
name: 'Platform',
|
||||
path: '/platform',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/platform" */ '../views/Platform'),
|
||||
children: [
|
||||
{
|
||||
name: 'Files',
|
||||
path: '/platform/files/:id?',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/files" */ '../views/FileView/Files'),
|
||||
meta: {
|
||||
requiresAuth: true
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'RecentUploads',
|
||||
path: '/platform/recent-uploads',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/recent-uploads" */ '../views/FileView/RecentUploads'),
|
||||
meta: {
|
||||
requiresAuth: true
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'MySharedItems',
|
||||
path: '/platform/my-shared-items',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/my-shared-items" */ '../views/FileView/MySharedItems'),
|
||||
meta: {
|
||||
requiresAuth: true
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Trash',
|
||||
path: '/platform/trash/:id?',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/trash" */ '../views/FileView/Trash'),
|
||||
meta: {
|
||||
requiresAuth: true
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'TeamFolders',
|
||||
path: '/platform/team-folders/:id?',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/team-folders" */ '../views/FileView/TeamFolders'),
|
||||
meta: {
|
||||
requiresAuth: true
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SharedWithMe',
|
||||
path: '/platform/shared-with-me/:id?',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/shared-with-me" */ '../views/FileView/SharedWithMe'),
|
||||
meta: {
|
||||
requiresAuth: true
|
||||
},
|
||||
},
|
||||
]
|
||||
}
|
||||
{
|
||||
name: 'Platform',
|
||||
path: '/platform',
|
||||
component: () => import(/* webpackChunkName: "chunks/platform" */ '../views/Platform'),
|
||||
children: [
|
||||
{
|
||||
name: 'Files',
|
||||
path: '/platform/files/:id?',
|
||||
component: () => import(/* webpackChunkName: "chunks/files" */ '../views/FileView/Files'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'RecentUploads',
|
||||
path: '/platform/recent-uploads',
|
||||
component: () => import(/* webpackChunkName: "chunks/recent-uploads" */ '../views/FileView/RecentUploads'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'MySharedItems',
|
||||
path: '/platform/my-shared-items',
|
||||
component: () => import(/* webpackChunkName: "chunks/my-shared-items" */ '../views/FileView/MySharedItems'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Trash',
|
||||
path: '/platform/trash/:id?',
|
||||
component: () => import(/* webpackChunkName: "chunks/trash" */ '../views/FileView/Trash'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'TeamFolders',
|
||||
path: '/platform/team-folders/:id?',
|
||||
component: () => import(/* webpackChunkName: "chunks/team-folders" */ '../views/FileView/TeamFolders'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SharedWithMe',
|
||||
path: '/platform/shared-with-me/:id?',
|
||||
component: () => import(/* webpackChunkName: "chunks/shared-with-me" */ '../views/FileView/SharedWithMe'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
export default routesFile
|
||||
export default routesFile
|
||||
|
||||
53
resources/js/routes/routesIndex.js
vendored
53
resources/js/routes/routesIndex.js
vendored
@@ -1,31 +1,28 @@
|
||||
const routesIndex = [
|
||||
{
|
||||
name: 'Homepage',
|
||||
path: '/',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/homepage" */ '../views/Frontpage/Homepage'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'DynamicPage',
|
||||
path: '/page/:slug',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/dynamic-page" */ '../views/Frontpage/DynamicPage'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ContactUs',
|
||||
path: '/contact-us',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/contact-us" */ '../views/Frontpage/ContactUs'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Homepage',
|
||||
path: '/',
|
||||
component: () => import(/* webpackChunkName: "chunks/homepage" */ '../views/Frontpage/Homepage'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'DynamicPage',
|
||||
path: '/page/:slug',
|
||||
component: () => import(/* webpackChunkName: "chunks/dynamic-page" */ '../views/Frontpage/DynamicPage'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ContactUs',
|
||||
path: '/contact-us',
|
||||
component: () => import(/* webpackChunkName: "chunks/contact-us" */ '../views/Frontpage/ContactUs'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
export default routesIndex
|
||||
export default routesIndex
|
||||
|
||||
210
resources/js/routes/routesMaintenance.js
vendored
210
resources/js/routes/routesMaintenance.js
vendored
@@ -1,114 +1,102 @@
|
||||
const routesMaintenance = [
|
||||
{
|
||||
name: 'SetupWizard',
|
||||
path: '/install',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/setup-wizard" */ '../views/SetupWizard'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'StatusCheck',
|
||||
path: '/setup-wizard/status-check',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/status-check" */ '../views/SetupWizard/StatusCheck'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PurchaseCode',
|
||||
path: '/setup-wizard/purchase-code',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/purchase-code" */ '../views/SetupWizard/PurchaseCode'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Database',
|
||||
path: '/setup-wizard/database',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/database" */ '../views/SetupWizard/Database'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'InstallationDisclaimer',
|
||||
path: '/setup-wizard/installation-disclaimer',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/installation-disclaimer" */ '../views/SetupWizard/InstallationDisclaimer'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SubscriptionService',
|
||||
path: '/setup-wizard/subscription-service',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/subscription-service" */ '../views/SetupWizard/SubscriptionService'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'StripeCredentials',
|
||||
path: '/setup-wizard/stripe-credentials',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/stripe-credentials" */ '../views/SetupWizard/StripeCredentials'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'BillingsDetail',
|
||||
path: '/setup-wizard/stripe-billings',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/billings-detail" */ '../views/SetupWizard/BillingsDetail'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SubscriptionPlans',
|
||||
path: '/setup-wizard/stripe-plans',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/subscription-plans" */ '../views/SetupWizard/SubscriptionPlans'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'EnvironmentSetup',
|
||||
path: '/setup-wizard/environment-setup',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/environment-setup" */ '../views/SetupWizard/EnvironmentSetup'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppSetup',
|
||||
path: '/setup-wizard/app-setup',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/app-setup" */ '../views/SetupWizard/AppSetup'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AdminAccount',
|
||||
path: '/setup-wizard/admin-setup',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/admin-account" */ '../views/SetupWizard/AdminAccount'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'SetupWizard',
|
||||
path: '/install',
|
||||
component: () => import(/* webpackChunkName: "chunks/setup-wizard" */ '../views/SetupWizard'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'StatusCheck',
|
||||
path: '/setup-wizard/status-check',
|
||||
component: () => import(/* webpackChunkName: "chunks/status-check" */ '../views/SetupWizard/StatusCheck'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'PurchaseCode',
|
||||
path: '/setup-wizard/purchase-code',
|
||||
component: () => import(/* webpackChunkName: "chunks/purchase-code" */ '../views/SetupWizard/PurchaseCode'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Database',
|
||||
path: '/setup-wizard/database',
|
||||
component: () => import(/* webpackChunkName: "chunks/database" */ '../views/SetupWizard/Database'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'InstallationDisclaimer',
|
||||
path: '/setup-wizard/installation-disclaimer',
|
||||
component: () => import(/* webpackChunkName: "chunks/installation-disclaimer" */ '../views/SetupWizard/InstallationDisclaimer'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SubscriptionService',
|
||||
path: '/setup-wizard/subscription-service',
|
||||
component: () => import(/* webpackChunkName: "chunks/subscription-service" */ '../views/SetupWizard/SubscriptionService'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'StripeCredentials',
|
||||
path: '/setup-wizard/stripe-credentials',
|
||||
component: () => import(/* webpackChunkName: "chunks/stripe-credentials" */ '../views/SetupWizard/StripeCredentials'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'BillingsDetail',
|
||||
path: '/setup-wizard/stripe-billings',
|
||||
component: () => import(/* webpackChunkName: "chunks/billings-detail" */ '../views/SetupWizard/BillingsDetail'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SubscriptionPlans',
|
||||
path: '/setup-wizard/stripe-plans',
|
||||
component: () => import(/* webpackChunkName: "chunks/subscription-plans" */ '../views/SetupWizard/SubscriptionPlans'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'EnvironmentSetup',
|
||||
path: '/setup-wizard/environment-setup',
|
||||
component: () => import(/* webpackChunkName: "chunks/environment-setup" */ '../views/SetupWizard/EnvironmentSetup'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AppSetup',
|
||||
path: '/setup-wizard/app-setup',
|
||||
component: () => import(/* webpackChunkName: "chunks/app-setup" */ '../views/SetupWizard/AppSetup'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'AdminAccount',
|
||||
path: '/setup-wizard/admin-setup',
|
||||
component: () => import(/* webpackChunkName: "chunks/admin-account" */ '../views/SetupWizard/AdminAccount'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
export default routesMaintenance
|
||||
export default routesMaintenance
|
||||
|
||||
36
resources/js/routes/routesOthers.js
vendored
36
resources/js/routes/routesOthers.js
vendored
@@ -1,22 +1,20 @@
|
||||
const routesOthers = [
|
||||
{
|
||||
name: 'NotFound',
|
||||
path: '*',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/not-found" */ '../views/NotFound'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'TemporaryUnavailable',
|
||||
path: '/temporary-unavailable',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/temporary-unavailable" */ '../views/TemporaryUnavailable'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'NotFound',
|
||||
path: '*',
|
||||
component: () => import(/* webpackChunkName: "chunks/not-found" */ '../views/NotFound'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'TemporaryUnavailable',
|
||||
path: '/temporary-unavailable',
|
||||
component: () => import(/* webpackChunkName: "chunks/temporary-unavailable" */ '../views/TemporaryUnavailable'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
export default routesOthers
|
||||
export default routesOthers
|
||||
|
||||
74
resources/js/routes/routesShared.js
vendored
74
resources/js/routes/routesShared.js
vendored
@@ -1,42 +1,38 @@
|
||||
const routesShared = [
|
||||
{
|
||||
name: 'Shared',
|
||||
path: '/share/:token',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/shared" */ '../views/Shared'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'Public',
|
||||
path: '/share/:token/files/:id?',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/shared/files" */ '../views/FileView/Public'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SharedSingleFile',
|
||||
path: '/share/:token/file',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/shared/single-file" */ '../views/Shared/SharedSingleFile'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SharedAuthentication',
|
||||
path: '/share/:token/authenticate',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/shared/authenticate" */ '../views/Shared/SharedAuthentication'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Shared',
|
||||
path: '/share/:token',
|
||||
component: () => import(/* webpackChunkName: "chunks/shared" */ '../views/Shared'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'Public',
|
||||
path: '/share/:token/files/:id?',
|
||||
component: () => import(/* webpackChunkName: "chunks/shared/files" */ '../views/FileView/Public'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SharedSingleFile',
|
||||
path: '/share/:token/file',
|
||||
component: () => import(/* webpackChunkName: "chunks/shared/single-file" */ '../views/Shared/SharedSingleFile'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'SharedAuthentication',
|
||||
path: '/share/:token/authenticate',
|
||||
component: () => import(/* webpackChunkName: "chunks/shared/authenticate" */ '../views/Shared/SharedAuthentication'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
export default routesShared
|
||||
export default routesShared
|
||||
|
||||
19
resources/js/routes/routesTeam.js
vendored
19
resources/js/routes/routesTeam.js
vendored
@@ -1,13 +1,12 @@
|
||||
const routesTeam = [
|
||||
{
|
||||
name: 'Invitation',
|
||||
path: '/team-folder-invitation/:id',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/invitation" */ '../views/Teams/Invitation'),
|
||||
meta: {
|
||||
requiresAuth: false
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Invitation',
|
||||
path: '/team-folder-invitation/:id',
|
||||
component: () => import(/* webpackChunkName: "chunks/invitation" */ '../views/Teams/Invitation'),
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
export default routesTeam
|
||||
export default routesTeam
|
||||
|
||||
99
resources/js/routes/routesUser.js
vendored
99
resources/js/routes/routesUser.js
vendored
@@ -1,55 +1,50 @@
|
||||
const routesUser = [
|
||||
{
|
||||
name: 'User',
|
||||
path: '/user',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/settings" */ '../views/Profile'),
|
||||
meta: {
|
||||
requiresAuth: true
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'Profile',
|
||||
path: '/user/profile',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/profile" */ '../views/User/Settings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.profile'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Password',
|
||||
path: '/user/settings/password',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/settings-password" */ '../views/User/Password'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.settings_password'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Storage',
|
||||
path: '/user/settings/storage',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/settings-storage" */ '../views/User/Storage'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.settings_storage'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Billing',
|
||||
path: '/user/settings/billing',
|
||||
component: () =>
|
||||
import(/* webpackChunkName: "chunks/billing" */ '../views/User/Billing'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscription'
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'User',
|
||||
path: '/user',
|
||||
component: () => import(/* webpackChunkName: "chunks/settings" */ '../views/Profile'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'Profile',
|
||||
path: '/user/profile',
|
||||
component: () => import(/* webpackChunkName: "chunks/profile" */ '../views/User/Settings'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.profile',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Password',
|
||||
path: '/user/settings/password',
|
||||
component: () => import(/* webpackChunkName: "chunks/settings-password" */ '../views/User/Password'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.settings_password',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Storage',
|
||||
path: '/user/settings/storage',
|
||||
component: () => import(/* webpackChunkName: "chunks/settings-storage" */ '../views/User/Storage'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.settings_storage',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Billing',
|
||||
path: '/user/settings/billing',
|
||||
component: () => import(/* webpackChunkName: "chunks/billing" */ '../views/User/Billing'),
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
title: 'routes_title.subscription',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
export default routesUser
|
||||
export default routesUser
|
||||
|
||||
Reference in New Issue
Block a user