{
    "id": "profile",
    "title": "Profile",
    "configurable": true,
    "menus": [
        {
            "menuId": "usermenu",
            "menuItemURL": "profile",
            "menuItemTitle": "profile.menus.usermenu.item",
            "moduleId": "none",
            "iconClass": "glyphicon glyphicon-asterisk",
            "position": 100
        }
    ],
    "components": [
        {
            "id": "mfa",
            "title": "profile.mfa.title",
            "enabled": true,
            "configurable": true,
            "type": "grid",
            "paginationPageSizes": [
                5,
                10,
                20,
                50
            ],
            "paginationPageSize": 5,
            "columnDefs": [
                {
                    "name": "factorType",
                    "displayName": "profile.mfa.table.columns.factorType",
                    "headerCellFilter": "translate",
                    "cellTemplate": "<div class='ui-grid-cell-contents'>{{ grid.appScope.getFactorType(row.entity) }}</div>"
                },
                {
                    "name": "factorDetails",
                    "displayName": "profile.mfa.table.columns.factorDetails",
                    "headerCellFilter": "translate",
                    "cellTemplate": "<div class='ui-grid-cell-contents'>{{ grid.appScope.getFactorDetails(row.entity) }}</div>"
                },
                {
                    "name": "status",
                    "field": "status",
                    "displayName": "profile.mfa.table.columns.status",
                    "headerCellFilter": "translate",
                    "cellTemplate": "<div class='ui-grid-cell-contents'>{{ grid.appScope.translateFactorStatus(row.entity.status) }}</div>"
                },
                {
                    "name": "act",
                    "cellEditableCondition": false,
                    "width": 50,
                    "headerCellTemplate": "<span></span>",
                    "cellTemplate": "<a class='inline animated btn btn-secondary btn-xs' ng-click='grid.appScope.activateFactor(row.entity)' ng-hide='grid.appScope.isFactorActivateDisabled(row.entity)' tooltip=\"{{'profile.mfa.table.activate' | translate}}\" tooltip-append-to-body='true' tooltip-popup-delay='400'><i class='fa fa-check-circle'></i></a><a class='inline animated btn btn-secondary btn-xs' ng-click='grid.appScope.editFactor(row.entity)' ng-hide='grid.appScope.isFactorEditDisabled(row.entity)' tooltip=\"{{'profile.mfa.table.edit' | translate}}\" tooltip-append-to-body='true' tooltip-popup-delay='400'><i class='fa fa-pencil'></i></a><a class='inline animated btn btn-secondary btn-xs' ng-click='grid.appScope.deleteFactor(row.entity)' tooltip=\"{{'profile.mfa.table.delete' | translate}}\" tooltip-append-to-body='true' tooltip-popup-delay='400'><i class='fa fa-trash-o'></i></a>"
                }
            ]
        },
        {
            "id": "subscription",
            "title": "profile.comp.subscription.title",
            "enabled": true,
            "configurable": true,
            "type": "grid",
            "paginationPageSizes": [
                5,
                10,
                20,
                50
            ],
            "paginationPageSize": 5,
            "columnDefs": [
                {
                    "name": "title",
                    "displayName": "profile.subscriptions.table.columns.title",
                    "headerCellFilter": "translate",
                    "cellTemplate": "<a href='#' ng-click='grid.appScope.onClickObjLink($event, row.entity)'>{{COL_FIELD}}</a>",
                    "width": "40%"
                },
                {
                    "name": "created",
                    "displayName": "profile.subscriptions.table.columns.created",
                    "headerCellFilter": "translate",
                    "cellTemplate": "<div>{{ row.entity.created | date : ('common.defaultDateTimeUIFormat' | translate) }}</div>",
                    "width": "25%"
                },
                {
                    "name": "delete",
                    "displayName": " ",
                    "headerCellFilter": "translate",
                    "width": "*",
                    "headerCellTemplate": "<div></div>",
                    "cellTemplate": "<div align='center'><button type='button' ng-click='grid.appScope.unsubscribe(row.entity)' class='btn btn-link fa fa-trash'></button></div>'"
                },
                {
                    "name": "parentID",
                    "displayName": "profile.subscriptions.table.columns.parentId",
                    "headerCellFilter": "translate",
                    "visible": false
                },
                {
                    "name": "userID",
                    "displayName": "profile.subscriptions.table.columns.userId",
                    "headerCellFilter": "translate",
                    "visible": false
                }
            ]
        },
        {
            "id": "company",
            "title": "profile.comp.company.title",
            "enabled": true,
            "configurable": true
        },
        {
            "id": "contact",
            "title": "profile.comp.contact.title",
            "enabled": true,
            "configurable": true
        },
        {
            "id": "group",
            "title": "profile.comp.group.title",
            "enabled": true,
            "configurable": true
        },
        {
            "id": "picture",
            "title": "profile.comp.picture.title",
            "enabled": true,
            "configurable": true
        }
    ]
}