\r\n
{t('See You Again !')}
\r\n
{t('You are now successfully logged out.')}
\r\n\r\n
\r\n

\r\n
\r\n
\r\n \r\n >\r\n );\r\n};\r\n\r\nexport default Logout;\r\n\r\nexport const logoutAllTabs = () => {\r\n if (logoutChannel !== undefined) {\r\n logoutChannel.onmessage = () => {\r\n logoutChannel.close();\r\n window.location.href = '\\\\account\\\\logout?type=autoLogout';\r\n };\r\n }\r\n};\r\n","import { editUserTypes } from './constants';\r\n\r\ntype editUserAction = { type: string, payload: {} | string };\r\n\r\nexport const editUserApiResponseSuccess = (actionType: string, data: any): editUserAction => ({\r\n type: editUserTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\nexport const editUserApiResponseError = (actionType: string, error: string): editUserAction => ({\r\n type: editUserTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\nexport const GetUserDetails = (userId: int): editUserAction => ({\r\n type: editUserTypes.GET_USERDETAILS,\r\n payload: { userId },\r\n});\r\n","export const editUserTypes = {\r\n API_RESPONSE_SUCCESS: '@@editUser/API_RESPONSE_SUCCESS',\r\n API_RESPONSE_ERROR: '@@editUser/API_RESPONSE_ERROR',\r\n GET_USERDETAILS: '@@editUser/GET_USERDETAILS',\r\n};\r\n","import { EmailTemplateTypes } from './constants';\r\n\r\ntype emailTemplateAction = { type: string, payload: {} | string };\r\n\r\nexport const emailTemplateAPIResponseSuccess = (actionType: string, data: any): emailTemplateAction => ({\r\n type: EmailTemplateTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\nexport const emailTemplateAPIResponseError = (actionType: string, error: string): emailTemplateAction => ({\r\n type: EmailTemplateTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\nexport const EditCustomEmailTemplate = (emailTemplate: any): emailTemplateAction => ({\r\n type: EmailTemplateTypes.CREATE_EDITCUSTOMEMAILTEMPLATE,\r\n payload: { emailTemplate },\r\n});\r\n\r\nexport const EmailTemplateReset = (): emailTemplateAction => ({\r\n type: EmailTemplateTypes.RESET,\r\n payload: {},\r\n});\r\n\r\n","export const EmailTemplateTypes = {\r\n API_RESPONSE_ERROR: '@@user/API_RESPONSE_ERROR',\r\n API_RESPONSE_SUCCESS: '@@user/API_RESPONSE_SUCCESS',\r\n CREATE_EDITCUSTOMEMAILTEMPLATE: '@@user/CREATE_EDITCUSTOMEMAILTEMPLATE',\r\n RESET: '@@user/RESET',\r\n};\r\n","import { SendInvitationDataTypes } from './constants';\r\n\r\ntype SendInvitationDataAction = { type: string, payload: {} | string };\r\n\r\nexport const SendInvitationDataApiResponseSuccess = (actionType: string, data: any): SendInvitationDataAction => ({\r\n type: SendInvitationDataTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\nexport const SendInvitationDataActionApiResponseError = (\r\n actionType: string,\r\n error: string\r\n): SendInvitationDataAction => ({\r\n type: SendInvitationDataTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\n// export const GetListOfEmailTemplateNames = (): SendInvitationDataAction => ({\r\n// type: SendInvitationDataTypes.GET_LISTOF_EMAILTEMPLATENAMES,\r\n// payload: {},\r\n// });\r\n\r\nexport const SendInvitations = (SendInvitationDataAction: any): SendInvitationDataAction => ({\r\n type: SendInvitationDataTypes.SEND_INVITATIONSLIST,\r\n payload: { SendInvitationDataAction },\r\n});\r\n","export const SendInvitationDataTypes = {\r\n API_RESPONSE_SUCCESS: '@@SendInvitationData/API_RESPONSE_SUCCESS',\r\n API_RESPONSE_ERROR: '@@SendInvitationData/API_RESPONSE_ERROR',\r\n GET_LISTOF_EMAILTEMPLATENAMES: '@@SendInvitationData/GET_LISTOF_EMAILTEMPLATENAMES',\r\n SEND_INVITATIONSLIST: '@@SendInvitationData/SEND_INVITATIONSLIST',\r\n SEND_INVITATION: '@@SendInvitationData/SEND_INVITATION',\r\n};\r\n","// @flow\r\nimport { LayoutActionTypes } from './constants';\r\n\r\ntype LayoutAction = { type: string, payload?: string | null };\r\n\r\nexport const changeLayout = (layout: string): LayoutAction => ({\r\n type: LayoutActionTypes.CHANGE_LAYOUT,\r\n payload: layout,\r\n});\r\n\r\nexport const changeLayoutColor = (color: string): LayoutAction => ({\r\n type: LayoutActionTypes.CHANGE_LAYOUT_COLOR,\r\n payload: color,\r\n});\r\n\r\nexport const changeLayoutWidth = (width: string): LayoutAction => ({\r\n type: LayoutActionTypes.CHANGE_LAYOUT_WIDTH,\r\n payload: width,\r\n});\r\n\r\nexport const changeSidebarTheme = (theme: string): LayoutAction => ({\r\n type: LayoutActionTypes.CHANGE_SIDEBAR_THEME,\r\n payload: theme,\r\n});\r\n\r\nexport const changeSidebarType = (sidebarType: string): LayoutAction => ({\r\n type: LayoutActionTypes.CHANGE_SIDEBAR_TYPE,\r\n payload: sidebarType,\r\n});\r\n\r\nexport const showRightSidebar = (): LayoutAction => ({\r\n type: LayoutActionTypes.SHOW_RIGHT_SIDEBAR,\r\n payload: null,\r\n});\r\n\r\nexport const hideRightSidebar = (): LayoutAction => ({\r\n type: LayoutActionTypes.HIDE_RIGHT_SIDEBAR,\r\n payload: null,\r\n});\r\n","import { AuthActionTypes } from './constants';\r\n\r\ntype AuthAction = { type: string, payload: {} | string };\r\n\r\nexport const authApiResponseSuccess = (actionType: string, data: any): AuthAction => ({\r\n type: AuthActionTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\nexport const authApiResponseError = (actionType: string, error: string): AuthAction => ({\r\n type: AuthActionTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\nexport const loginUser = (username: string, password: string, baseURL: string, invitationAuthKey: string): AuthAction => ({\r\n type: AuthActionTypes.LOGIN_USER,\r\n payload: { username, password, baseURL, invitationAuthKey },\r\n});\r\n\r\nexport const logoutUser = (): AuthAction => ({\r\n type: AuthActionTypes.LOGOUT_USER,\r\n payload: {},\r\n});\r\n\r\nexport const resetAuth = (): AuthAction => ({\r\n type: AuthActionTypes.RESET,\r\n payload: {},\r\n});\r\n","export const AuthActionTypes = {\r\n API_RESPONSE_SUCCESS: '@@auth/API_RESPONSE_SUCCESS',\r\n API_RESPONSE_ERROR: '@@auth/API_RESPONSE_ERROR',\r\n\r\n LOGIN_USER: '@@auth/LOGIN_USER',\r\n LOGOUT_USER: '@@auth/LOGOUT_USER',\r\n SIGNUP_USER: '@@auth/SIGNUP_USER',\r\n FORGOT_PASSWORD: '@@auth/FORGOT_PASSWORD',\r\n FORGOT_PASSWORD_CHANGE: '@@auth/FORGOT_PASSWORD_CHANGE',\r\n\r\n RESET: '@@auth/RESET',\r\n};\r\n","import { dashboardDataTypes } from './constants';\r\n\r\ntype dashboardAction = { type: string, payload: {} | string };\r\n\r\nexport const dashboardDataApiResponseSuccess = (actionType: string, data: any): dashboardAction => ({\r\n type: dashboardDataTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\nexport const dashboardDataApiResponseError = (actionType: string, error: string): dashboardAction => ({\r\n type: dashboardDataTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\nexport const getDashboardDataDisplay = (categoryCount: string, userId: int): dashboardAction => ({\r\n type: dashboardDataTypes.GET_DASHBOARD,\r\n payload: { categoryCount, userId },\r\n});\r\n","export const dashboardDataTypes = {\r\n GET_DASHBOARD: '@@dashboarddata/GET_DASHBOARD',\r\n API_RESPONSE_ERROR: '@@dashboarddata/API_RESPONSE_ERROR',\r\n API_RESPONSE_SUCCESS: '@@dashboarddata/API_RESPONSE_SUCCESS',\r\n};\r\n","import { dashboardTypes } from './constants';\r\n\r\ntype dashboardAction = { type: string, payload: {} | string };\r\n\r\nexport const dashboardApiResponseSuccess = (actionType: string, data: any): dashboardAction => ({\r\n type: dashboardTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\nexport const dashboardApiResponseError = (actionType: string, error: string): dashboardAction => ({\r\n type: dashboardTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\nexport const getUserComponentList = (roleId: int, isAccessCaseDocuments: Boolean): dashboardAction => ({\r\n type: dashboardTypes.GET_DASHBOARDLIST,\r\n payload: { roleId, isAccessCaseDocuments },\r\n});\r\n","export const dashboardTypes = {\r\n GET_DASHBOARDLIST: '@@dashboard/GET_DASHBOARDLIST',\r\n API_RESPONSE_ERROR: '@@dashboard/API_RESPONSE_ERROR',\r\n API_RESPONSE_SUCCESS: '@@dashboard/API_RESPONSE_SUCCESS',\r\n};\r\n","import { downloadDocumentTypes } from './constants';\r\n\r\ntype downloadDocumentAction = { type: string, payload: {} | string };\r\n\r\n// common success\r\nexport const downloadDocumentApiResponseSuccess = (actionType: string, data: any): downloadDocumentAction => ({\r\n type: downloadDocumentTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\n// common error\r\nexport const downloadDocumentApiResponseError = (actionType: string, error: string): downloadDocumentAction => ({\r\n type: downloadDocumentTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\nexport const getDocumentByStorageId = (storageId:string): downloadDocumentAction => ({\r\n type: downloadDocumentTypes.GET_DOCUMENT,\r\n payload: {storageId},\r\n});\r\n","export const downloadDocumentTypes = {\r\n API_RESPONSE_SUCCESS: '@@downloadDocument/API_RESPONSE_SUCCESS',\r\n API_RESPONSE_ERROR: '@@downloadDocument/API_RESPONSE_ERROR',\r\n GET_DOCUMENT: '@@documentHistory/GET_DOCUMENT',\r\n};\r\n","// @flow\r\nimport { dynamicMenuTypes } from './constants';\r\n\r\ntype dynamicMenuAction = { type: string, payload: {} | string };\r\n\r\n// common success\r\nexport const dynamicMenuApiResponseSuccess = (actionType: string, data: any): dynamicMenuAction => ({\r\n type: dynamicMenuTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\n// common error\r\nexport const dynamicMenuApiResponseError = (actionType: string, error: string): dynamicMenuAction => ({\r\n type: dynamicMenuTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\nexport const getListOfMenuDisplay = (roleId: string, isAccessCaseDocuments: boolean): dynamicMenuAction => ({\r\n type: dynamicMenuTypes.GET_LIST_OF_MENUS,\r\n payload: { roleId, isAccessCaseDocuments },\r\n});\r\n","export const dynamicMenuTypes = {\r\n API_RESPONSE_SUCCESS: '@@menu/API_RESPONSE_SUCCESS',\r\n API_RESPONSE_ERROR: '@@menu/API_RESPONSE_ERROR',\r\n GET_LIST_OF_MENUS: '@@menu/GET_LIST_OF_MENUS',\r\n};\r\n","export const LayoutActionTypes = {\r\n CHANGE_LAYOUT: '@@layout/CHANGE_LAYOUT',\r\n CHANGE_LAYOUT_COLOR: '@@layout/CHANGE_LAYOUT_COLOR',\r\n CHANGE_LAYOUT_WIDTH: '@@layout/CHANGE_LAYOUT_WIDTH',\r\n CHANGE_SIDEBAR_THEME: '@@layout/CHANGE_SIDEBAR_THEME',\r\n CHANGE_SIDEBAR_TYPE: '@@layout/CHANGE_SIDEBAR_TYPE',\r\n\r\n TOGGLE_RIGHT_SIDEBAR: '@@layout/TOGGLE_RIGHT_SIDEBAR',\r\n SHOW_RIGHT_SIDEBAR: '@@layout/SHOW_RIGHT_SIDEBAR',\r\n HIDE_RIGHT_SIDEBAR: '@@layout/HIDE_RIGHT_SIDEBAR',\r\n};\r\n","import { masterDataTypes } from './constants';\r\n\r\ntype masterDataAction = { type: string, payload: {} | string };\r\n\r\nexport const masterDataApiResponseSuccess = (actionType: string, data: any): masterDataAction => ({\r\n type: masterDataTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\nexport const masterDataActionApiResponseError = (actionType: string, error: string): masterDataAction => ({\r\n type: masterDataTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\nexport const GetRoles = (isDisplay: Boolean): masterDataAction => ({\r\n type: masterDataTypes.GET_ROLES,\r\n payload: { isDisplay },\r\n});\r\n","export const masterDataTypes = {\r\n API_RESPONSE_SUCCESS: '@@masterData/API_RESPONSE_SUCCESS',\r\n API_RESPONSE_ERROR: '@@masterData/API_RESPONSE_ERROR',\r\n GET_ROLES:'@@masterData/GET_ROLES'\r\n};\r\n","import { userTypes } from './constants';\r\n\r\ntype userAction = { type: string, payload: {} | string };\r\n\r\nexport const userApiResponseSuccess = (actionType: string, data: any): userAction => ({\r\n type: userTypes.API_RESPONSE_SUCCESS,\r\n payload: { actionType, data },\r\n});\r\n\r\nexport const userApiResponseError = (actionType: string, error: string): userAction => ({\r\n type: userTypes.API_RESPONSE_ERROR,\r\n payload: { actionType, error },\r\n});\r\n\r\nexport const CreateUser = (user: any): userAction => ({\r\n type: userTypes.CREATE_USER,\r\n payload: { user },\r\n});\r\n\r\nexport const CreateTempUser = (user: any): userAction => ({\r\n type: userTypes.CREATE_TEMP_USER,\r\n payload: { user },\r\n});\r\n","export const userTypes = {\r\n CREATE_USER: '@@user/CREATE_USER',\r\n CREATE_TEMP_USER: '@@user/CREATE_TEMP_USER',\r\n API_RESPONSE_ERROR: '@@user/API_RESPONSE_ERROR',\r\n API_RESPONSE_SUCCESS: '@@user/API_RESPONSE_SUCCESS',\r\n};\r\n","////////////////////////////////////////////////////////////////////////////////\n//#region Types and Constants\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Actions represent the type of change to a location value.\n */\nexport enum Action {\n /**\n * A POP indicates a change to an arbitrary index in the history stack, such\n * as a back or forward navigation. It does not describe the direction of the\n * navigation, only that the current index changed.\n *\n * Note: This is the default action for newly created history objects.\n */\n Pop = \"POP\",\n\n /**\n * A PUSH indicates a new entry being added to the history stack, such as when\n * a link is clicked and a new page loads. When this happens, all subsequent\n * entries in the stack are lost.\n */\n Push = \"PUSH\",\n\n /**\n * A REPLACE indicates the entry at the current index in the history stack\n * being replaced by a new one.\n */\n Replace = \"REPLACE\",\n}\n\n/**\n * The pathname, search, and hash values of a URL.\n */\nexport interface Path {\n /**\n * A URL pathname, beginning with a /.\n */\n pathname: string;\n\n /**\n * A URL search string, beginning with a ?.\n */\n search: string;\n\n /**\n * A URL fragment identifier, beginning with a #.\n */\n hash: string;\n}\n\n/**\n * An entry in a history stack. A location contains information about the\n * URL path, as well as possibly some arbitrary state and a key.\n */\nexport interface Location extends Path {\n /**\n * A value of arbitrary data associated with this location.\n */\n state: any;\n\n /**\n * A unique string associated with this location. May be used to safely store\n * and retrieve data in some other storage API, like `localStorage`.\n *\n * Note: This value is always \"default\" on the initial location.\n */\n key: string;\n}\n\n/**\n * A change to the current location.\n */\nexport interface Update {\n /**\n * The action that triggered the change.\n */\n action: Action;\n\n /**\n * The new location.\n */\n location: Location;\n\n /**\n * The delta between this location and the former location in the history stack\n */\n delta: number | null;\n}\n\n/**\n * A function that receives notifications about location changes.\n */\nexport interface Listener {\n (update: Update): void;\n}\n\n/**\n * Describes a location that is the destination of some navigation, either via\n * `history.push` or `history.replace`. May be either a URL or the pieces of a\n * URL path.\n */\nexport type To = string | Partial