EchoTex_Payroll/HRM.UI/ClientApp/src/app/app.routes.js
2024-10-14 10:01:49 +06:00

200 lines
11 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AppRoutes = exports.routes = void 0;
var router_1 = require("@angular/router");
var dashboarddemo_component_1 = require("./demo/view/dashboarddemo.component");
//import { PanelsDemoComponent } from './demo/view/panelsdemo.component';
//import { OverlaysDemoComponent } from './demo/view/overlaysdemo.component';
var menusdemo_component_1 = require("./demo/view/menusdemo.component");
//import { MessagesDemoComponent } from './demo/view/messagesdemo.component';
//import { MiscDemoComponent } from './demo/view/miscdemo.component';
//import { EmptyDemoComponent } from './demo/view/emptydemo.component';
//import { ChartsDemoComponent } from './demo/view/chartsdemo.component';
//import { FileDemoComponent } from './demo/view/filedemo.component';
//import { DocumentationComponent } from './demo/view/documentation.component';
var auth_guard_1 = require("./_guards/auth.guard");
var login_component_1 = require("./login.component");
var forgot_password_component_1 = require("./forgot-password.component");
var landing_page_component_1 = require("./ess/landing-page/landing-page.component");
// import { UserComponent } from './authentication/user/user.component';
// import { UserRoleComponent } from './authentication/user-role/user-role.component';
// import { UserAccessTypeComponent } from './authentication/user-access-type/user-access-type.component';
// import { HardPasswordComponent } from './authentication/hard-password/hard-password.component';
// import { UsersComponent } from './authentication/users/users.component';
// import { ChangePasswordComponent } from './authentication/change-password/change-password.component';
// import { ForgotPasswordComponent } from './authentication/forgot-password/forgot-password.component';
// import { TelerikGridDemoComponent } from './demo/grid/telerik-grid-demo.component';
// import { SystemConfigurationComponent } from './authentication/system-configuration/system-configuration.component';
exports.routes = [
// { path: 'login', component: LoginComponent },
{
path: '',
component: dashboarddemo_component_1.DashboardDemoComponent,
canActivate: [auth_guard_1.AuthGuard],
data: {
title: 'Dashboard'
}
},
{
path: 'login',
component: login_component_1.LoginComponent,
data: {
title: 'Login'
}
}, {
path: 'defaultLogin',
component: login_component_1.LoginComponent,
data: {
title: 'DefaultLogin'
}
},
{
path: 'landing-page',
component: landing_page_component_1.LandingPageComponent,
data: {
title: 'Admin-Dashboard'
}
},
{
path: 'forgot-password',
component: forgot_password_component_1.ForgotPasswordComponent,
data: {
title: 'Forgot Password'
}
},
//{ path: 'panels', component: PanelsDemoComponent },
//{ path: 'overlays', component: OverlaysDemoComponent },
{ path: 'menus', component: menusdemo_component_1.MenusDemoComponent },
//{ path: 'messages', component: MessagesDemoComponent },
//{ path: 'misc', component: MiscDemoComponent },
//{ path: 'empty', component: EmptyDemoComponent },
//{ path: 'charts', component: ChartsDemoComponent },
//{ path: 'file', component: FileDemoComponent },
//{ path: 'documentation', component: DocumentationComponent },
// { path: 'role', component: RoleComponent, canActivate: [AuthGuard] },
// { path: 'grid-form', component: GridWithFormComponent },
//// { path: 'userdemo', component: UserComponent, canActivate: [AuthGuard] },
// { path: 'user-role', component: UserRoleComponent, canActivate: [AuthGuard] },
// { path: 'user-access-type', component: UserAccessTypeComponent, canActivate: [AuthGuard] },
// { path: 'hard-password', component: HardPasswordComponent, canActivate: [AuthGuard] },
// { path: 'change-password', component: ChangePasswordComponent, canActivate: [AuthGuard] },
// { path: 'forgot-password', component: ForgotPasswordComponent, canActivate: [AuthGuard] },
// { path: 'sample-grid', component: TelerikGridDemoComponent, canActivate: [AuthGuard] },
{
path: 'authentication',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./authentication/authentication.module'); }).then(function (m) { return m.AuthenticationModule; }); }
},
{
path: 'core-hr',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./core-hr/core-hr.module'); }).then(function (m) { return m.CoreHrModule; }); }
},
{
path: 'leave',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./leave/leave.module'); }).then(function (m) { return m.LeaveModule; }); }
},
{
path: 'attendance',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./attendance/attendance.module'); }).then(function (m) { return m.AttendanceModule; }); }
},
{
path: 'payroll',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./payroll/payroll.module'); }).then(function (m) { return m.PayrollModule; }); }
},
{
path: 'recruitment',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./recruitment/recruitment.module'); }).then(function (m) { return m.RecruitmentModule; }); }
},
{
path: 'recruitment-ess',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('././recruitment/recruitment-ess/recruitment-ess.module'); }).then(function (m) { return m.RecruitmentEssModule; }); }
},
{
path: 'organization-management',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./organization-management/organization-management.module'); }).then(function (m) { return m.OrganizationManagementModule; }); }
},
{
path: 'payroll-ot',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./payroll-ot/payroll-ot.module'); }).then(function (m) { return m.PayrollOtModule; }); }
},
{
path: 'payroll-tax',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./payroll-tax/payroll-tax.module'); }).then(function (m) { return m.PayrollTaxModule; }); }
},
{
path: 'talent-management',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./talent-management/talent-management.module'); }).then(function (m) { return m.TalentManagementModule; }); }
},
{
path: 'final-settlement',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./final-settlement/final-settlement.module'); }).then(function (m) { return m.FinalSettlementModule; }); }
},
{
path: 'training-new',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./training-new/training-new.module'); }).then(function (m) { return m.TrainingNewModule; }); }
},
{
path: 'adhoc-feature',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./adhoc-feature/adhoc-feature.module'); }).then(function (m) { return m.AdhocFeatureModule; }); }
},
{
path: 'common-interface',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./common-interface/common-interface.module'); }).then(function (m) { return m.CommonInterfaceModule; }); }
},
{
path: 'ess',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./ess/ess.module'); }).then(function (m) { return m.EssModule; }); }
},
{
path: 'ess-payroll',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./ess-payroll/ess-payroll.module'); }).then(function (m) { return m.EssPayrollModule; }); }
},
{
path: 'reports',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./reports/reports.module'); }).then(function (m) { return m.ReportsModule; }); }
},
{
path: 'claim-management',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./claim/claim.module'); }).then(function (m) { return m.ClaimModule; }); }
},
{
path: 'grievance-management',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./grievance-management/grievance-management.module'); }).then(function (m) { return m.GrievanceManagementModule; }); }
},
{
path: 'survey',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./survey/survey.module'); }).then(function (m) { return m.SurveyModule; }); }
},
{
path: 'opi',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./opi/opi.module'); }).then(function (m) { return m.opiModule; }); }
},
{
path: 'dataintegration',
canActivate: [auth_guard_1.AuthGuard],
loadChildren: function () { return Promise.resolve().then(function () { return require('./data-integration/data-integration.module'); }).then(function (m) { return m.DataIntegrationModule; }); }
}
];
exports.AppRoutes = router_1.RouterModule.forRoot(exports.routes, { scrollPositionRestoration: 'enabled' });
//# sourceMappingURL=app.routes.js.map