// assets
import {
    SafetyCertificateOutlined,
    SettingOutlined,
    LoginOutlined,
    ProfileOutlined,
    UserOutlined,
    UsergroupAddOutlined,
    AppstoreOutlined,
    NotificationOutlined,
    TagOutlined,
    DatabaseOutlined,
    MenuUnfoldOutlined,
    FileSearchOutlined,
    MailOutlined,
    ApartmentOutlined,
    FilePdfOutlined
} from '@ant-design/icons';

// icons
const icons = {
    SettingOutlined,
    LoginOutlined,
    ProfileOutlined,
    SafetyCertificateOutlined,
    UserOutlined,
    UsergroupAddOutlined,
    AppstoreOutlined,
    NotificationOutlined,
    TagOutlined,
    DatabaseOutlined,
    MenuUnfoldOutlined,
    FileSearchOutlined,
    MailOutlined,
    ApartmentOutlined,
    FilePdfOutlined
};

// ==============================|| MENU ITEMS - EXTRA PAGES ||============================== //

const setting = {
    id: 'settingMenu',
    title: 'System Administration',
    type: 'group',
    ability:['VIEW','SYSTEM_CONFIGURATION'],
    children: [
        // {
        //     id: 'category',
        //     title: 'Category',
        //     type: 'item',
        //     url: '/category',
        //     icon: icons.AppstoreOutlined,
        //     breadcrumbs: false,
        //     ability:['MAINTAIN','CATEGORY']
        // },
        // {
        //     id: 'tag',
        //     title: 'Tag',
        //     type: 'item',
        //     url: '/tag',
        //     icon: icons.TagOutlined,
        //     breadcrumbs: false,
        //     ability:['MAINTAIN','TAG']
        // },
        // {
        //     id: 'promotionChannel',
        //     title: 'Promotion Channel',
        //     type: 'item',
        //     url: '/promotionChannel',
        //     icon: icons.NotificationOutlined,
        //     breadcrumbs: false,
        //     ability:['MAINTAIN','PROMOTION_CHANNEL']
        // },
        // {
        //     id: 'division',
        //     title: 'SBU / Division',
        //     type: 'item',
        //     url: '/division',
        //     icon: icons.DatabaseOutlined,
        //     breadcrumbs: false,
        //     ability:['MAINTAIN','DIVISION']
        // },
        // {
        //     id: 'clientDepartment',
        //     title: 'Client Department',
        //     type: 'item',
        //     url: '/clientDepartment',
        //     icon: icons.ApartmentOutlined,
        //     breadcrumbs: false,
        //     ability:['MAINTAIN','CLIENT_DEPARTMENT']
        // },
        // {
        //     id: 'userGroup',
        //     title: 'User Group',
        //     type: 'item',
        //     url: '/usergroupSearchview',
        //     icon: icons.UsergroupAddOutlined,
        //     breadcrumbs: false,
        //     ability:['MAINTAIN','USER_GROUP']
        // },
        {
            id: 'user',
            title: 'User',
            type: 'item',
            url: '/userSearchview',
            icon: icons.UserOutlined,
            breadcrumbs: false,
            ability:['VIEW','USER']
        },
        {
            id: 'consultant',
            title: 'Consultant',
            type: 'item',
            url: '/consultant',
            icon: icons.UserOutlined,
            breadcrumbs: false,
            ability:['VIEW','USER']
        },
        // {
        //     id: 'auditLog',
        //     title: 'Audit Log',
        //     type: 'item',
        //     url: '/auditLog',
        //     icon: icons.FileSearchOutlined,
        //     breadcrumbs: false,
        //     ability:['VIEW','AUDIT_LOG']
        // },
        {
            id: 'loginLog',
            title: 'Login Log',
            type: 'item',
            url: '/loginLog',
            icon: icons.MenuUnfoldOutlined,
            breadcrumbs: false,
            ability:['VIEW','LOGIN_LOG']
        },
        {
            id: 'userActionLog',
            title: 'Action Log',
            type: 'item',
            url: '/userActionLog',
            icon: icons.MenuUnfoldOutlined,
            breadcrumbs: false,
            ability:['VIEW','USER']
        },
        {
            id: 'formSigPage',
            title: 'Form Sig Page',
            type: 'item',
            url: '/formSigPage',
            icon: icons.FilePdfOutlined,
            breadcrumbs: false,
            ability:['MANAGE','SYSTEM_CONFIGURATION']
        },
        // {
        //     id: 'passwordPolicy',
        //     title: 'Password Policy',
        //     type: 'item',
        //     url: '/passwordpolicy',
        //     icon: icons.SafetyCertificateOutlined,
        //     breadcrumbs: false,
        //     ability:['MANAGE','SYSTEM_CONFIGURATION']
        // },
        // {
        //     id: 'setting',
        //     title: 'System Configuration',
        //     type: 'item',
        //     url: '/setting',
        //     icon: icons.SettingOutlined,
        //     breadcrumbs: false,
        //     ability:['MANAGE','SYSTEM_CONFIGURATION']
        // },
        // {
        //     id: 'generateReminder',
        //     title: 'Generate Reminder',
        //     type: 'item',
        //     url: '/generateReminder',
        //     icon: icons.SettingOutlined,
        //     breadcrumbs: false,
        //     ability:['MANAGE','SYSTEM_CONFIGURATION']
        // },
        // {
        //     id: 'emailConfig',
        //     title: 'Email Configuration',
        //     type: 'item',
        //     url: '/emailConfig',
        //     icon: icons.MailOutlined,
        //     breadcrumbs: false,
        //     ability:['MANAGE','SYSTEM_CONFIGURATION']
        // },
    ]
};

export default setting;
