{"version":3,"sources":["configurationDashboard/RoleConfigurationCard.tsx","configurationDashboard/CommonMaterialCard.tsx","configurationDashboard/ConfigurationDashboardPage.tsx"],"names":["RoleCategory","CardWrapper","div","props","position","padding","display","flexFlow","textAlign","fontSize","height","borderRadius","backgroundColor","boxShadow","width","cursor","color","theme","TemplateColor","Primary","maxWidth","margin","justifyContent","alignItems","CounterWrapper","paddingBottom","paddingTop","textDecoration","BadgeContainer","componentDidMount","componentWillUnmount","render","className","onClick","this","title","icon","items","length","map","item","index","key","Badge","badgeContent","count","showZero","max","maxCount","Typography","name","description","style","top","right","gap","onLearnMore","Tooltip","IconButton","size","onDocument","goToPage","bind","data","loading","roleCounts","administrator","adminStatistics","total","all","internal","external","isAllowed","params","console","log","push","roleCountstatistics","RoleConfigurationCard","options","variables","ListOfConfigEnum","Wrapper","Header","BrandColors","TextPrimary","fontFamily","Font","Main","FontSize","PX","size8","letterSpacing","lineHeight","LineHeight","ExtraLarge","paddingRight","transform","size10","TemplatePrimary","ButtonGroupWrapper","textTransform","onNavigateToConfig","navigate","pathname","onClickBackBtn","onClickDashboard","terminology","MatterTerminology","label","Configuration","Label","Heading4","Button","variant","System_Configuration_Overview","startIcon","Grid","container","spacing","sm","xs","md","UserFeature","HasAccess","hasFirmSettingsConfiguration","appUser","isInternalAdmin","lg","firmSettingConfiguration","hasFeatureAccessConfiguration","featureAccessConfiguration","hasRoleConfiguration","hasLookupConfiguration","lookupConfiguration","LOOKUP_LISTS","hasEmailTemplateConfigurationPage","emailConfiguration","hasEnquiryCustomFieldsConfiguration","enquiryCustomFieldsConfiguration","hasFirmStructure","firmStructureConfiguration","FIRM_STRUCTURE","hasFirmDashboardConfiguration","firm","hasFeeEarnerDashboardConfiguration","FeeEarnerDashboard","feeEarner","hasLeadsDashboardConfiguration","lead","hasTaskDashboardConfiguration","task","hasClientDashboardConfiguration","client","hasSplashScreenConfigurationPage","splashScreenConfiguration","hasUserDefinedHelpConfigurationPage","helpConfiguration","hasBrandsConfiguration","brandConfiguration","hasIntegrationConfiguration","integrationConfiguration","hasFeatureLicencingConfiguration","generalMaterialConfiguration","hasRoleSecurityConfiguration","RoleSecurity","roleSecurityConfiguration","hasSummaryColumnSecurity","matterViewColumnSecurityConfiguration","applicationSettings","featureLicenceConfiguration","dashboardType","sessionStorage","setItem","layoutId","state","type","history","link","window","open","UserData","ConfigurationDashboardPage"],"mappings":"wGAmBKA,E,utBCZCC,EAAc,IAAUC,KAAqB,SAAAC,GAAS,OACxDC,SAAU,WACVC,QAAS,GAETC,QAAS,OACTC,SAAU,SACVC,UAAW,SACXC,SAAU,OACVC,OAAQ,OACRC,aAAc,MACdC,gBAAiB,UACjBC,UAAW,mCACXC,MAAO,OACPC,OAAQ,UACR,WAAY,CACRN,SAAU,OACVO,MAAOb,EAAMc,MAAMC,cAAcC,SAErC,iBAAkB,CACdV,SAAU,OACVW,SAAU,QACVC,OAAQ,UAEZ,UAAW,CACPf,QAAS,OACTgB,eAAgB,SAChBC,WAAY,SACZd,SAAU,KACVJ,QAAS,SACT,QAAS,CACLK,OAAQ,OACRI,MAAO,OACPE,MAAOb,EAAMc,MAAMC,cAAcC,cAMvCK,EAAiB,IAAUtB,KAAqB,SAACC,GAAU,OAC7DG,QAAS,OACTC,SAAU,WACVe,eAAgB,eAChBG,cAAe,OACf,iBAAkB,CACdC,WAAY,IAEhB,uBAAwB,CACpBC,eAAgB,iBAKlBC,EAAiB,IAAU1B,KAAqB,SAACC,GAAU,Y,EAyBjE,yB,+CAuFA,OAvFgD,OAErC,YAAA0B,kBAAP,aAIO,YAAAC,qBAAP,aAIO,YAAAC,OAAP,W,MACI,OACI,gBAAC,WAAc,KACX,gBAAC9B,EAAW,KACR,uBACI+B,UAAU,QACVC,QAASC,KAAK/B,MAAM8B,SAEnBC,KAAK/B,MAAMgC,OAEhB,uBAAKH,UAAU,OAAOC,QAASC,KAAK/B,MAAM8B,SACrCC,KAAK/B,MAAMiC,OAGI,QAAhB,EAAAF,KAAK/B,MAAMkC,a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QrG,KAAK,CACpB4B,SAAU,cAAc,iBAAcwE,MAItC,YAAApH,WAAR,SAAmB2C,GACf,IAAI2E,EAAO,GAEP3E,IAAatB,GAAiBkD,6BAC9B+C,EAAO,mHAGXC,OAAOC,KAAKF,EAAM,WAE1B,EAtWA,CAAqC,aAwWxBG,GAAW,IAAG,4MASdC,GAA6B,YAAiCD,GAAU,CACjFtG,QAAS,SAAC,GAAQ,SAAO,OAAGC,UAAW,MADD,CAEvC","file":"static/js/main~ba8405bd.aabc4473.chunk.js","sourcesContent":["import * as React from 'react';\r\nimport gql from 'graphql-tag';\r\nimport { ApolloError } from 'apollo-client';\r\nimport { graphql } from 'react-apollo';\r\nimport { browserHistory } from '../components/AppContent';\r\nimport { linkToPage } from '../App';\r\nimport CommonMaterialCard from './CommonMaterialCard';\r\nimport GroupAddIcon from '@material-ui/icons/GroupAdd';\r\nimport glamorous from 'glamorous';\r\nimport { RvLoader } from '../components/Loader';\r\n\r\n// tslint:disable-next-line:no-any\r\nconst CardWrapper = glamorous.div<{ theme?: any }>(props => ({\r\n padding: 15,\r\n '& .custom-grid': {\r\n\r\n },\r\n}));\r\n\r\nenum RoleCategory {\r\n internal = '0',\r\n external = '1',\r\n all = ''\r\n}\r\n\r\ninterface QueryResult {\r\n loading?: boolean;\r\n networkStatus?: number;\r\n error?: ApolloError;\r\n // tslint:disable-next-line:no-any\r\n administrator: {\r\n adminStatistics: {\r\n roleCounts: {\r\n external: number;\r\n internal: number;\r\n total: number;\r\n }\r\n }\r\n };\r\n\r\n}\r\n\r\ninterface CardStatsProps {\r\n className?: string;\r\n color?: 'orange' | 'blue' | 'red' | 'green';\r\n linkTo?: string;\r\n id?: string;\r\n data: QueryResult;\r\n}\r\n\r\nexport class RoleConfiguration extends React.Component {\r\n\r\n constructor(props: CardStatsProps) {\r\n super(props);\r\n this.goToPage = this.goToPage.bind(this);\r\n }\r\n\r\n render() {\r\n\r\n if (this.props.data.loading || !this.props.data) {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n\r\n const { roleCounts } = this.props.data.administrator.adminStatistics;\r\n \r\n return (\r\n \r\n this.goToPage(roleCounts.total > 0, RoleCategory.all)}\r\n icon={}\r\n title=\"Roles\"\r\n description=\"Configure the roles for users\"\r\n items={[\r\n {\r\n name: 'All',\r\n onClick: () => this.goToPage(roleCounts.total > 0, RoleCategory.all),\r\n count: roleCounts.total\r\n },\r\n {\r\n name: 'Internal',\r\n onClick: () => this.goToPage(roleCounts.internal > 0, RoleCategory.internal),\r\n count: roleCounts.internal\r\n },\r\n {\r\n name: 'External',\r\n onClick: () => this.goToPage(roleCounts.external > 0, RoleCategory.external),\r\n count: roleCounts.external\r\n },\r\n\r\n ]}\r\n />\r\n \r\n );\r\n }\r\n\r\n private goToPage(isAllowed: boolean, params: string) {\r\n // tslint:disable-next-line: no-console\r\n console.log('test', isAllowed, params);\r\n if (isAllowed) {\r\n browserHistory.push(linkToPage('admin/roleSummary/' + params));\r\n }\r\n }\r\n}\r\n\r\nconst roleCountstatistics = gql`{\r\n administrator {\r\n adminStatistics {\r\n roleCounts {\r\n external\r\n internal\r\n total\r\n }\r\n }\r\n }\r\n }`;\r\n\r\n// tslint:disable-next-line:no-any\r\nexport const RoleConfigurationCard = graphql\r\n (roleCountstatistics, {\r\n options: { variables: {} }\r\n })\r\n (RoleConfiguration);","import * as React from 'react';\r\nimport glamorous from 'glamorous';\r\nimport { Badge, IconButton, Tooltip, Typography } from '@material-ui/core';\r\nimport VideoLibraryOutlinedIcon from '@material-ui/icons/VideoLibraryOutlined';\r\nimport ErrorOutlineIcon from '@material-ui/icons/ErrorOutline';\r\n\r\n// tslint:disable-next-line:no-any\r\nconst CardWrapper = glamorous.div<{ theme?: any }>(props => ({\r\n position: 'relative',\r\n padding: 15,\r\n // border: '1px solid',\r\n display: 'flex',\r\n flexFlow: 'column',\r\n textAlign: 'center',\r\n fontSize: '18px',\r\n height: '100%',\r\n borderRadius: '8px',\r\n backgroundColor: '#FFFFFF',\r\n boxShadow: '0 0 14px 0 rgba(81,115,255,0.09)',\r\n width: '100%',\r\n cursor: 'pointer',\r\n '& .title': {\r\n fontSize: '18px',\r\n color: props.theme.TemplateColor.Primary,\r\n },\r\n '& .description': {\r\n fontSize: '14px',\r\n maxWidth: '220px',\r\n margin: '0 auto',\r\n },\r\n '& .icon': {\r\n display: 'flex',\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n fontSize: '60',\r\n padding: '20px 0',\r\n '& svg': {\r\n height: 'auto',\r\n width: '60px',\r\n color: props.theme.TemplateColor.Primary\r\n }\r\n }\r\n}));\r\n\r\n// tslint:disable-next-line:no-any\r\nconst CounterWrapper = glamorous.div<{ theme?: any }>((props) => ({\r\n display: 'flex',\r\n flexFlow: 'row wrap',\r\n justifyContent: 'space-evenly',\r\n paddingBottom: '15px',\r\n '& .badge-label': {\r\n paddingTop: 10,\r\n },\r\n '& .badge-label:hover': {\r\n textDecoration: 'underline'\r\n }\r\n}));\r\n\r\n// tslint:disable-next-line:no-any\r\nconst BadgeContainer = glamorous.div<{ theme?: any }>((props) => ({\r\n \r\n}));\r\n\r\ninterface Item {\r\n name: string;\r\n onClick?: () => void;\r\n count: number;\r\n maxCount?: number;\r\n}\r\n\r\ninterface CommonMaterialCardProps {\r\n icon: React.ReactNode;\r\n title: string;\r\n description: string;\r\n onClick?: () => void;\r\n items?: Item[];\r\n onLearnMore?: () => void;\r\n onDocument?: () => void;\r\n}\r\n\r\ninterface CommonMaterialCardState {\r\n // \r\n}\r\n\r\nexport default class CommonMaterialCard extends React.Component {\r\n\r\n public componentDidMount() {\r\n // \r\n }\r\n\r\n public componentWillUnmount() {\r\n // \r\n }\r\n\r\n public render() {\r\n return (\r\n \r\n \r\n \r\n {this.props.title}\r\n \r\n
\r\n {this.props.icon}\r\n
\r\n {\r\n this.props.items?.length && (\r\n \r\n {\r\n this.props.items.map((item, index) => {\r\n return (\r\n \r\n \r\n \r\n {item.name}\r\n \r\n \r\n \r\n );\r\n })\r\n }\r\n \r\n )\r\n }\r\n
{this.props.description}
\r\n \r\n {!!this.props.onLearnMore && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n {!!this.props.onDocument && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n
\r\n
\r\n );\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport { graphql } from 'react-apollo';\r\nimport gql from 'graphql-tag';\r\nimport glamorous from 'glamorous';\r\nimport { RvLoader } from '../components/Loader';\r\nimport { Button, Grid } from '@material-ui/core';\r\nimport { RvLabel, LabelStyle } from '../components/Label/Label';\r\nimport { MatterTerminology } from '../MatterTerminology';\r\nimport { browserHistory } from '../components/AppContent';\r\nimport TrendingUpIcon from '@material-ui/icons/TrendingUp';\r\nimport LibraryAddCheckIcon from '@material-ui/icons/LibraryAddCheck';\r\nimport DeveloperModeOutlinedIcon from '@material-ui/icons/DeveloperModeOutlined';\r\nimport HelpOutlineIcon from '@material-ui/icons/HelpOutline';\r\n// import SettingsInputCompositeOutlinedIcon from '@material-ui/icons/SettingsInputCompositeOutlined';\r\nimport // faChartLine,\r\n// faKey,\r\n// faUserPlus,\r\n// faUnlockAlt\r\n'@fortawesome/free-solid-svg-icons';\r\nimport VpnKeyIcon from '@material-ui/icons/VpnKey';\r\nimport CommonMaterialCard from './CommonMaterialCard';\r\nimport LockOpenIcon from '@material-ui/icons/LockOpen';\r\nimport { RoleConfigurationCard } from './RoleConfigurationCard';\r\nimport { UserFeature, UserFeatureEnum } from '../types/UserFeature';\r\nimport MailIcon from '@material-ui/icons/Mail';\r\nimport AccountTreeIcon from '@material-ui/icons/AccountTree';\r\nimport SettingsOutlinedIcon from '@material-ui/icons/SettingsOutlined';\r\nimport SettingsInputSvideoIcon from '@material-ui/icons/SettingsInputSvideo';\r\nimport { LearnMoreEnum } from '../learnMore/LearnMorePage';\r\nimport { RouterProps } from '../App';\r\nimport AppsOutlinedIcon from '@material-ui/icons/AppsOutlined';\r\nimport VideoLibraryOutlinedIcon from '@material-ui/icons/VideoLibraryOutlined';\r\nimport { TypeOfDashboard } from '../featureConfigurationLayout/FeatureLayoutConfigurationPage';\r\nimport BusinessCenterOutlinedIcon from '@material-ui/icons/BusinessCenterOutlined';\r\nimport AccessibilityNewOutlinedIcon from '@material-ui/icons/AccessibilityNewOutlined';\r\nimport VisibilityOutlinedIcon from '@material-ui/icons/VisibilityOutlined';\r\nimport TextFieldsIcon from '@material-ui/icons/TextFields';\r\n\r\n// tslint:disable-next-line:no-any\r\nconst Wrapper = glamorous.div<{ theme?: any }>((props) => ({\r\n padding: 15,\r\n '& .custom-grid': {},\r\n}));\r\n\r\n// tslint:disable-next-line:no-any\r\nconst Header = glamorous.div<{ theme?: any }>((props) => ({\r\n position: 'relative',\r\n padding: '15px 80px',\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'space-between',\r\n color: props.theme.BrandColors.TextPrimary,\r\n '@media (max-width: 1024px)': {\r\n padding: '15px 30px',\r\n },\r\n [`& .${`rvlabel`}`]: {\r\n // paddingLeft: '82px',\r\n fontFamily: props.theme.Font.Main,\r\n fontSize: props.theme.FontSize.PX.size8,\r\n letterSpacing: '0.86px',\r\n lineHeight: props.theme.LineHeight.ExtraLarge,\r\n },\r\n [`& .${`back-button`}`]: {\r\n paddingRight: '32px',\r\n position: 'absolute',\r\n top: '50%',\r\n transform: 'translateY(-50%)',\r\n [`& .${`ms-Button`}`]: {\r\n width: '50px',\r\n height: '50px',\r\n },\r\n [`& .${`ms-Button-icon`}`]: {\r\n fontSize: props.theme.FontSize.PX.size10,\r\n color: props.theme.BrandColors.TemplatePrimary,\r\n },\r\n },\r\n}));\r\n\r\nconst ButtonGroupWrapper = glamorous.div<{ theme?: object }>((props) => ({\r\n display: 'flex',\r\n alignItems: 'center',\r\n margin: '0 -10px',\r\n '& > .learnmore': {\r\n margin: '0 10px',\r\n textTransform: 'none !important',\r\n fontSize: '14px',\r\n },\r\n}));\r\n\r\nexport enum ListOfConfigEnum {\r\n lookupConfiguration = 'lookupConfiguration',\r\n firmStructureConfiguration = 'firmStructureConfiguration',\r\n helpConfiguration = 'helpConfiguration',\r\n brandConfiguration = 'brandConfiguration',\r\n userConfiguration = 'userConfiguration',\r\n integrationConfiguration = 'integrationConfiguration',\r\n firmSettingConfiguration = 'firmSettingConfiguration',\r\n applicationSettings = 'applicationSettings',\r\n emailConfiguration = 'emailConfiguration',\r\n splashScreenConfiguration = 'splashScreenConfiguration',\r\n featureAccessConfiguration = 'featureAccessConfiguration',\r\n featureLicenceConfiguration = 'featureLicenceConfiguration',\r\n generalMaterialConfiguration = 'generalMaterialConfiguration',\r\n roleSecurityConfiguration = 'roleSecurityConfiguration',\r\n matterViewColumnSecurityConfiguration = 'matterViewColumnSecurityConfiguration',\r\n enquiryCustomFieldsConfiguration = 'enquiryCustomFieldsConfiguration',\r\n}\r\n\r\ninterface ExternalProps {}\r\n\r\ninterface Data {\r\n loading?: boolean;\r\n networkStatus?: number;\r\n // tslint:disable-next-line: no-any\r\n appUser: any;\r\n}\r\n\r\ninterface ConfigurationDashboardProps extends ExternalProps, RouterProps {\r\n data: Data;\r\n}\r\n\r\n// tslint:disable-next-line:no-any\r\nclass ConfigurationDashboard extends React.Component {\r\n constructor(props: ConfigurationDashboardProps) {\r\n super(props);\r\n this.onClickBackBtn = this.onClickBackBtn.bind(this);\r\n // this.onClickFirmDasboard = this.onClickFirmDasboard.bind(this);\r\n // this.onClickLeadDasboard = this.onClickLeadDasboard.bind(this);\r\n // this.onClickTaskDasboard = this.onClickTaskDasboard.bind(this);\r\n this.onLearnMore = this.onLearnMore.bind(this);\r\n this.onClickDashboard = this.onClickDashboard.bind(this);\r\n this.onNavigateToConfig = this.onNavigateToConfig.bind(this);\r\n this.onDocument = this.onDocument.bind(this);\r\n }\r\n\r\n render() {\r\n const terminology = { ...MatterTerminology };\r\n\r\n if (this.props.data.loading && this.props.data) {\r\n return ;\r\n }\r\n return (\r\n \r\n
\r\n
\r\n {/* */}\r\n \r\n \r\n this.onLearnMore(LearnMoreEnum.System_Configuration_Overview)}\r\n startIcon={}\r\n >\r\n Learn More\r\n \r\n {/* */}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {(UserFeature.HasAccess(UserFeatureEnum.hasFirmSettingsConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Firm Settings\"\r\n description=\"Configure settings and defaults for the Firm\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.firmSettingConfiguration)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasFeatureAccessConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Feature Access\"\r\n description=\"Configure access to application features\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.featureAccessConfiguration)}\r\n onDocument={() => this.onDocument(ListOfConfigEnum.featureAccessConfiguration)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasRoleConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n \r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasLookupConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Lookup Lists\"\r\n description=\"Maintain various reference lookup information\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.lookupConfiguration)}\r\n onLearnMore={() => this.onLearnMore(LearnMoreEnum.LOOKUP_LISTS)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasEmailTemplateConfigurationPage) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Email Templates\"\r\n description=\"Configuration of emails generated by the system\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.emailConfiguration)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasEnquiryCustomFieldsConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n \r\n }\r\n title=\"Enquiry Custom Fields\"\r\n description=\"Maintain custom fields and groupings for data capture against Enquiries.\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.enquiryCustomFieldsConfiguration)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasFirmStructure) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Firm Structure\"\r\n description=\"Maintain information relating to staff groups and structures\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.firmStructureConfiguration)}\r\n onLearnMore={() => this.onLearnMore(LearnMoreEnum.FIRM_STRUCTURE)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasFirmDashboardConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Firm Dashboard\"\r\n description=\"Configure the screen elements to be displayed in firm dashboards\"\r\n onClick={() => this.onClickDashboard(TypeOfDashboard.firm)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasFeeEarnerDashboardConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title={MatterTerminology.FeeEarnerDashboard}\r\n description=\"Configure the screen elements to be displayed in fee earner dashboard\"\r\n onClick={() => this.onClickDashboard(TypeOfDashboard.feeEarner)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasLeadsDashboardConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Enquiry Dashboard\"\r\n description=\"Configure the screen elements to be displayed in enquiry dashboard\"\r\n onClick={() => this.onClickDashboard(TypeOfDashboard.lead)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasTaskDashboardConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Task Dashboard\"\r\n description=\"Configure the screen elements to be displayed in task dashboard\"\r\n onClick={() => this.onClickDashboard(TypeOfDashboard.task)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasClientDashboardConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Client Dashboard\"\r\n description=\"Configure the screen elements to be displayed in client dashboard\"\r\n onClick={() => this.onClickDashboard(TypeOfDashboard.client)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasSplashScreenConfigurationPage) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Splash Templates\"\r\n description=\"Configuration of Splash Screens to appear at user login\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.splashScreenConfiguration)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasUserDefinedHelpConfigurationPage) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"User Defined Help\"\r\n description=\"Configuration of user defined help\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.helpConfiguration)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasBrandsConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n } \r\n title=\"Brands\" \r\n description=\"Configuration of brand\" \r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.brandConfiguration)} \r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasIntegrationConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Integrations\"\r\n description=\"Configuration of system integrations with third parties\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.integrationConfiguration)}\r\n />\r\n \r\n )}\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasFeatureLicencingConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Knowledge Bank\"\r\n description=\"Configuration of knowledge bank\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.generalMaterialConfiguration)}\r\n />\r\n \r\n )}\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasRoleSecurityConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title={MatterTerminology.RoleSecurity}\r\n description=\"Configure the matter information that different roles are allowed to access\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.roleSecurityConfiguration)}\r\n />\r\n \r\n )}\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasSummaryColumnSecurity)) && (\r\n \r\n }\r\n title=\"Matter View Column Security\"\r\n description=\"Configure the columns in the matter summary view that users are allowed to access\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.matterViewColumnSecurityConfiguration)}\r\n />\r\n \r\n )}\r\n {this.props.data.appUser.isInternalAdmin && (\r\n \r\n }\r\n title=\"Application Settings\"\r\n description=\"Configure internal settings used by the application\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.applicationSettings)}\r\n />\r\n \r\n )}\r\n\r\n {(UserFeature.HasAccess(UserFeatureEnum.hasFeatureLicencingConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"Feature Licensing\"\r\n description=\"Licence use of application features\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.featureLicenceConfiguration)}\r\n />\r\n \r\n )}\r\n {/* TODO: Commenting this as per Stephen's request. */}\r\n {/* { (UserFeature.HasAccess(UserFeatureEnum.hasUserOptionsConfiguration) || this.props.data.appUser.isInternalAdmin) && (\r\n \r\n }\r\n title=\"User Options\"\r\n description=\"Configure options and default options for users\"\r\n onClick={this.onNavigateToConfig(ListOfConfigEnum.userConfiguration)}\r\n />\r\n \r\n )} */}\r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n\r\n private onClickBackBtn() {\r\n // console.log\r\n }\r\n\r\n private onClickDashboard(dashboardType: TypeOfDashboard) {\r\n sessionStorage.setItem('personalise', '');\r\n let layoutId = 0;\r\n switch (dashboardType) {\r\n case TypeOfDashboard.firm:\r\n layoutId = 0;\r\n break;\r\n case TypeOfDashboard.lead:\r\n layoutId = 1;\r\n break;\r\n case TypeOfDashboard.feeEarner:\r\n layoutId = 2;\r\n break;\r\n case TypeOfDashboard.task:\r\n layoutId = 3;\r\n break;\r\n case TypeOfDashboard.client:\r\n layoutId = 4;\r\n break;\r\n default:\r\n layoutId = 0;\r\n break;\r\n }\r\n\r\n browserHistory.push({\r\n pathname: '/dashboardLayoutConfiguration',\r\n state: {\r\n layoutId: layoutId,\r\n },\r\n });\r\n }\r\n\r\n private onNavigateToConfig = (navigate: ListOfConfigEnum) => () => {\r\n browserHistory.push({\r\n pathname: `/${ListOfConfigEnum[navigate]}`,\r\n });\r\n }\r\n\r\n private onLearnMore(type: LearnMoreEnum) {\r\n this.props.history.push({\r\n pathname: `/learnMore/${LearnMoreEnum[type]}`,\r\n });\r\n }\r\n\r\n private onDocument(navigate: ListOfConfigEnum) {\r\n let link = '';\r\n \r\n if (navigate === ListOfConfigEnum.featureAccessConfiguration) {\r\n link = 'https://redraincorp.sharepoint.com/:b:/s/RedViewProduct/EZ1FKuPeYgZGuCcOGwV2tmIB4mGdOmIIPSP0gRWryuy_NA?e=yQgMJ4';\r\n }\r\n\r\n window.open(link, '_blank');\r\n }\r\n}\r\n\r\nexport const UserData = gql`\r\n query UserData {\r\n appUser {\r\n isInternalAdmin\r\n }\r\n }\r\n`;\r\n\r\n// tslint:disable-next-line:no-any\r\nexport const ConfigurationDashboardPage = graphql(UserData, {\r\n options: ({ nameId }) => ({ variables: {} }),\r\n})(ConfigurationDashboard);\r\n"],"sourceRoot":""}