main.routes.ts 1.62 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';
12
import SectorFieldsSelect from '../components/student-application-form/sector.fields.select';
13
import RegionSchoolsSelect from '../components/student-application-form/region.schools.select';
14 15
import SectorCoursesSelect from '../components/student-application-form/sector.courses.select';
import ApplicationPreview from '../components/student-application-form/application.preview';
16 17 18 19

export const MainRoutes: Routes = [
  { path: '', component: Home },
  { path: 'form3', component: Form3 },
20
  { path: 'student-application-form-main', component: StudentApplicationMain },
21
  { path: 'students-list', component: StudentsList },
22
  { path: 'course-fields-select', component: CourseFieldsSelect },
23 24 25 26
  { path: 'sector-fields-select', component: SectorFieldsSelect },
  { path: 'region-schools-select', component: RegionSchoolsSelect },
  { path: 'sectorcourses-fields-select', component: SectorCoursesSelect },
  { path: 'application-preview', component: ApplicationPreview }
27 28 29 30 31 32 33
];

export const MainDeclarations = [
  CamelCasePipe,
  Form3,
  StudentsList,
  Home,
34
  CourseFieldsSelect,
35
  SectorFieldsSelect,
36
  RegionSchoolsSelect,
37 38 39
  SectorCoursesSelect,
  StudentApplicationMain,
  ApplicationPreview
40
];