main.routes.ts 2.33 KB
Newer Older
1 2 3 4 5 6
import {
  Routes,
  RouterModule,
} from '@angular/router';

import {CamelCasePipe} from '../pipes/camelcase';
Open Source Developer's avatar
UI  
Open Source Developer committed
7
import {RemoveSpaces} from '../pipes/removespaces';
8
import Form3 from '../components/form-controls/form3';
9
import StudentApplicationMain from '../components/student-application-form/application.form.main';
10 11
import StudentsList from '../components/students/students-list';
import Home from '../components/home';
12
import CourseFieldsSelect from '../components/student-application-form/course.fields.select';
Open Source Developer's avatar
Open Source Developer committed
13
import EpalClassesSelect from '../components/student-application-form/epal.class.select';
14
import SectorFieldsSelect from '../components/student-application-form/sector.fields.select';
15
import RegionSchoolsSelect from '../components/student-application-form/region.schools.select';
16 17
import SectorCoursesSelect from '../components/student-application-form/sector.courses.select';
import ApplicationPreview from '../components/student-application-form/application.preview';
Open Source Developer's avatar
Open Source Developer committed
18
import AmkaFill from '../components/student-application-form/amka-fill';
19 20
import SchoolsOrderSelect from '../components/student-application-form/schools-order-select';
import ApplicationSubmit from '../components/student-application-form/application.submit';
21 22 23 24

export const MainRoutes: Routes = [
  { path: '', component: Home },
  { path: 'form3', component: Form3 },
25
  { path: 'student-application-form-main', component: StudentApplicationMain },
26
  { path: 'students-list', component: StudentsList },
27
  { path: 'course-fields-select', component: CourseFieldsSelect },
Open Source Developer's avatar
Open Source Developer committed
28
  { path: 'epal-class-select', component: EpalClassesSelect },
29 30 31
  { path: 'sector-fields-select', component: SectorFieldsSelect },
  { path: 'region-schools-select', component: RegionSchoolsSelect },
  { path: 'sectorcourses-fields-select', component: SectorCoursesSelect },
Open Source Developer's avatar
Open Source Developer committed
32
  { path: 'application-preview', component: ApplicationPreview },
33 34 35
  { path: 'amka-fill', component: AmkaFill },
  { path: 'schools-order-select', component: SchoolsOrderSelect },
  { path: 'application-submit', component: ApplicationSubmit }
36 37 38 39
];

export const MainDeclarations = [
  CamelCasePipe,
Open Source Developer's avatar
UI  
Open Source Developer committed
40
  RemoveSpaces,
41 42 43
  Form3,
  StudentsList,
  Home,
44
  CourseFieldsSelect,
Open Source Developer's avatar
Open Source Developer committed
45
  EpalClassesSelect,
46
  SectorFieldsSelect,
47
  RegionSchoolsSelect,
48 49
  SectorCoursesSelect,
  StudentApplicationMain,
Open Source Developer's avatar
Open Source Developer committed
50
  ApplicationPreview,
51 52 53
  AmkaFill,
  SchoolsOrderSelect,
  ApplicationSubmit
54
];