|
|
|
@ -3,7 +3,7 @@ import { LoginComponent } from './authenticate/login/login.component';
|
|
|
|
import { ChangePasswordComponent } from './user-management/change-password/change-password.component';
|
|
|
|
import { ChangePasswordComponent } from './user-management/change-password/change-password.component';
|
|
|
|
import { FullLayoutComponent } from './full-layout/full-layout.component';
|
|
|
|
import { FullLayoutComponent } from './full-layout/full-layout.component';
|
|
|
|
import { AuthenticationGuard } from './shared/guards/authentication.guard';
|
|
|
|
import { AuthenticationGuard } from './shared/guards/authentication.guard';
|
|
|
|
// import { ActivityGuard } from './shared/guards/activity.guard';
|
|
|
|
import { ActivityGuard } from './shared/guards/activity.guard';
|
|
|
|
|
|
|
|
|
|
|
|
export const routes: Routes = [
|
|
|
|
export const routes: Routes = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -38,9 +38,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'permissions',
|
|
|
|
path: 'permissions',
|
|
|
|
// will need this guard in future when permissions are implemented.
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
// commenting them for now.
|
|
|
|
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./user-permissions/user-permissions.component').then(
|
|
|
|
import('./user-permissions/user-permissions.component').then(
|
|
|
|
m => m.UserPermissionsComponent
|
|
|
|
m => m.UserPermissionsComponent
|
|
|
|
@ -48,7 +46,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'smsLogger',
|
|
|
|
path: 'smsLogger',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./sms-banking/sms-banking.component').then(
|
|
|
|
import('./sms-banking/sms-banking.component').then(
|
|
|
|
m => m.SmsBankingComponent
|
|
|
|
m => m.SmsBankingComponent
|
|
|
|
@ -56,7 +54,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'smsGateway',
|
|
|
|
path: 'smsGateway',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./sms-gateway/sms-gateway.component').then(
|
|
|
|
import('./sms-gateway/sms-gateway.component').then(
|
|
|
|
m => m.SmsGatewayComponent
|
|
|
|
m => m.SmsGatewayComponent
|
|
|
|
@ -64,7 +62,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'loggerManager',
|
|
|
|
path: 'loggerManager',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./logging/logging.component').then(
|
|
|
|
import('./logging/logging.component').then(
|
|
|
|
m => m.LoggingComponent
|
|
|
|
m => m.LoggingComponent
|
|
|
|
@ -72,7 +70,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'analysis',
|
|
|
|
path: 'analysis',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./data-analysis/data-analysis.component').then(
|
|
|
|
import('./data-analysis/data-analysis.component').then(
|
|
|
|
m => m.DataAnalysisComponent
|
|
|
|
m => m.DataAnalysisComponent
|
|
|
|
@ -80,7 +78,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'ibUnblockUser',
|
|
|
|
path: 'ibUnblockUser',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./ib-support/ib-unblock-user/ib-unblock-user.component').then(
|
|
|
|
import('./ib-support/ib-unblock-user/ib-unblock-user.component').then(
|
|
|
|
m => m.IbUnblockUserComponent
|
|
|
|
m => m.IbUnblockUserComponent
|
|
|
|
@ -88,7 +86,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'feedbackSetup',
|
|
|
|
path: 'feedbackSetup',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./ib-support/feedback-setup/feedback-setup.component').then(
|
|
|
|
import('./ib-support/feedback-setup/feedback-setup.component').then(
|
|
|
|
m => m.FeedbackSetupComponent
|
|
|
|
m => m.FeedbackSetupComponent
|
|
|
|
@ -96,7 +94,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'purposeSetup',
|
|
|
|
path: 'purposeSetup',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./ib-support/tran-purpose-setup/tran-purpose-setup.component').then(
|
|
|
|
import('./ib-support/tran-purpose-setup/tran-purpose-setup.component').then(
|
|
|
|
m => m.TranPurposeSetupComponent
|
|
|
|
m => m.TranPurposeSetupComponent
|
|
|
|
@ -104,7 +102,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'thirdPartyRegistration',
|
|
|
|
path: 'thirdPartyRegistration',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./user-management/third-party-registration/third-party-registration.component').then(
|
|
|
|
import('./user-management/third-party-registration/third-party-registration.component').then(
|
|
|
|
m => m.ThirdPartyRegistrationComponent
|
|
|
|
m => m.ThirdPartyRegistrationComponent
|
|
|
|
@ -112,7 +110,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'setupUser',
|
|
|
|
path: 'setupUser',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./user-management/setup-user/setup-user.component').then(
|
|
|
|
import('./user-management/setup-user/setup-user.component').then(
|
|
|
|
m => m.SetupUserComponent
|
|
|
|
m => m.SetupUserComponent
|
|
|
|
@ -120,7 +118,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'resetPassword',
|
|
|
|
path: 'resetPassword',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./user-management/reset-password/reset-password.component').then(
|
|
|
|
import('./user-management/reset-password/reset-password.component').then(
|
|
|
|
m => m.ResetPasswordComponent
|
|
|
|
m => m.ResetPasswordComponent
|
|
|
|
@ -128,7 +126,7 @@ export const routes: Routes = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: 'changePassword',
|
|
|
|
path: 'changePassword',
|
|
|
|
// canActivate: [ActivityGuard],
|
|
|
|
canActivate: [ActivityGuard],
|
|
|
|
loadComponent: () =>
|
|
|
|
loadComponent: () =>
|
|
|
|
import('./user-management/change-password/change-password.component').then(
|
|
|
|
import('./user-management/change-password/change-password.component').then(
|
|
|
|
m => m.ChangePasswordComponent
|
|
|
|
m => m.ChangePasswordComponent
|
|
|
|
|