export default {
    name: 'AccountCard',
    path: ':id',
    redirect: { name: 'AccountSummary' },
    component: () => import('src/pages/Account/Card/AccountCard.vue'),
    meta: {
        menu: [
            'AccountBasicData',
            'AccountInheritedRoles',
            'AccountMailForwarding',
            'AccountMailAlias',
            'AccountPrivileges',
            'AccountLog',
        ],
    },
    children: [
        {
            name: 'AccountSummary',
            path: 'summary',
            meta: {
                title: 'summary',
                icon: 'launch',
            },
            component: () => import('src/pages/Account/Card/AccountSummary.vue'),
        },
        {
            name: 'AccountBasicData',
            path: 'basic-data',
            meta: {
                title: 'basicData',
                icon: 'vn:settings',
            },
            component: () => import('src/pages/Account/Card/AccountBasicData.vue'),
        },
        {
            name: 'AccountInheritedRoles',
            path: 'inherited-roles',
            meta: {
                title: 'inheritedRoles',
                icon: 'group',
            },
            component: () => import('src/pages/Account/Card/AccountInheritedRoles.vue'),
        },
        {
            name: 'AccountMailForwarding',
            path: 'mail-forwarding',
            meta: {
                title: 'mailForwarding',
                icon: 'forward',
            },
            component: () => import('src/pages/Account/Card/AccountMailForwarding.vue'),
        },
        {
            name: 'AccountMailAlias',
            path: 'mail-alias',
            meta: {
                title: 'mailAlias',
                icon: 'email',
            },
            component: () => import('src/pages/Account/Card/AccountMailAlias.vue'),
        },
        {
            name: 'AccountPrivileges',
            path: 'privileges',
            meta: {
                title: 'privileges',
                icon: 'badge',
            },
            component: () => import('src/pages/Account/Card/AccountPrivileges.vue'),
        },
        {
            name: 'AccountLog',
            path: 'log',
            meta: {
                title: 'log',
                icon: 'history',
            },
            component: () => import('src/pages/Account/Card/AccountLog.vue'),
        },
    ],
};
