main.routes.ts 2.1 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
//import SchoolsOrderSelect from '../components/student-application-form/schools-order-select';
19 20 21 22

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

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