File: //home/arjun/projects/buyercall/buyercall/assets/vue/widgets/userManagement/constants.js
export const ROOT_ACTION_SET_WINDOW_WIDTH = 'ROOT_ACTION_SET_WINDOW_WIDTH';
export const ROOT_ACTION_SET_ERROR_MESSAGE = 'ROOT_ACTION_SET_ERROR_MESSAGE';
export const ROOT_ACTION_SET_SUCCESS_MESSAGE =
'ROOT_ACTION_SET_SUCCESS_MESSAGE';
export const ROOT_ACTION_RESET_SUCCESS_AND_ERROR_MESSAGE =
'ROOT_ACTION_RESET_SUCCESS_AND_ERROR_MESSAGE';
export const ROOT_ACTION_SET_BREADCRUMB = 'ROOT_ACTION_SET_BREADCRUMB';
export const ROOT_MUTATION_SET_WINDOW_WIDTH = 'ROOT_MUTATION_SET_WINDOW_WIDTH';
export const ROOT_MUTATION_SET_ERROR_MESSAGE =
'ROOT_MUTATION_SET_ERROR_MESSAGE';
export const ROOT_MUTATION_SET_SUCCESS_MESSAGE =
'ROOT_MUTATION_SET_SUCCESS_MESSAGE';
export const ROOT_MUTATION_SET_BREADCRUMB = 'ROOT_MUTATION_SET_BREADCRUMB';
export const ROOT_GETTER = 'ROOT_GETTER';
export const ROOT_GETTER_ISMOBILE_VIEW = 'ROOT_GETTER_ISMOBILE_VIEW';
export const ROOT_GETTER_GET_BREADCRUMBS = 'ROOT_GETTER_GET_BREADCRUMBS';
export const listTableConfig = {
totalRows: 1,
currentPage: 1,
perPage: 25,
pageOptions: [5, 10, 25, 50, 100],
filter: null,
filterOn: ['email', 'id'],
sortBy: 'updatedOn',
sortDesc: false,
fields: [
{
key: 'no',
sortable: false,
},
{
key: 'firstname',
sortable: true,
},
{
key: 'lastname',
sortable: false,
},
{
key: 'email',
sortable: false,
},
{
key: 'phonenumber',
sortable: false,
},
{
key: 'last_sign_in_on',
sortable: true,
},
'action',
],
};