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

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

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

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