Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
e-epal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Χάρης Παπαδόπουλος
e-epal
Commits
f9c2803f
Commit
f9c2803f
authored
Aug 02, 2017
by
Σταύρος Παπαδάκης
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clear imports
parent
628a738b
Changes
91
Hide whitespace changes
Inline
Side-by-side
Showing
91 changed files
with
556 additions
and
764 deletions
+556
-764
source/actions/epalclass.actions.ts
source/actions/epalclass.actions.ts
+3
-4
source/actions/index.ts
source/actions/index.ts
+16
-10
source/actions/logininfo.actions.ts
source/actions/logininfo.actions.ts
+5
-4
source/actions/regionschools.actions.ts
source/actions/regionschools.actions.ts
+9
-3
source/actions/sectorcourses.actions.ts
source/actions/sectorcourses.actions.ts
+4
-3
source/actions/sectorfields.actions.ts
source/actions/sectorfields.actions.ts
+4
-3
source/actions/studentdatafields.actions.ts
source/actions/studentdatafields.actions.ts
+3
-3
source/app.routes.ts
source/app.routes.ts
+2
-3
source/app.ts
source/app.ts
+27
-39
source/components/director/director-classcapacity.ts
source/components/director/director-classcapacity.ts
+6
-20
source/components/director/director-view.ts
source/components/director/director-view.ts
+6
-18
source/components/director/director.buttons.ts
source/components/director/director.buttons.ts
+2
-2
source/components/footer/footer.component.ts
source/components/footer/footer.component.ts
+1
-1
source/components/header/header.component.ts
source/components/header/header.component.ts
+11
-12
source/components/home.ts
source/components/home.ts
+11
-15
source/components/infoviews/eduadmin-view.ts
source/components/infoviews/eduadmin-view.ts
+5
-15
source/components/infoviews/perfecture-view.ts
source/components/infoviews/perfecture-view.ts
+6
-15
source/components/main/breadcrumbs.ts
source/components/main/breadcrumbs.ts
+1
-5
source/components/main/main.component.ts
source/components/main/main.component.ts
+1
-1
source/components/minister/chart-creator.ts
source/components/minister/chart-creator.ts
+1
-1
source/components/minister/csv-creator.ts
source/components/minister/csv-creator.ts
+3
-2
source/components/minister/minister-informstudents.ts
source/components/minister/minister-informstudents.ts
+8
-10
source/components/minister/minister-reports.ts
source/components/minister/minister-reports.ts
+9
-21
source/components/minister/minister-settings.ts
source/components/minister/minister-settings.ts
+8
-19
source/components/minister/minister-view.ts
source/components/minister/minister-view.ts
+7
-11
source/components/minister/report-all-stat.ts
source/components/minister/report-all-stat.ts
+13
-24
source/components/minister/report-general.ts
source/components/minister/report-general.ts
+12
-22
source/components/minister/report-no-capacity.ts
source/components/minister/report-no-capacity.ts
+12
-23
source/components/minister/report-users.ts
source/components/minister/report-users.ts
+10
-13
source/components/minister/reports-schema.ts
source/components/minister/reports-schema.ts
+0
-21
source/components/ministry.home.ts
source/components/ministry.home.ts
+10
-16
source/components/navbar/navbar.component.ts
source/components/navbar/navbar.component.ts
+5
-7
source/components/school.home.ts
source/components/school.home.ts
+10
-9
source/components/student-application-form/after.submit.ts
source/components/student-application-form/after.submit.ts
+9
-10
source/components/student-application-form/application.form.main.ts
...ponents/student-application-form/application.form.main.ts
+18
-18
source/components/student-application-form/application.preview.ts
...omponents/student-application-form/application.preview.ts
+9
-13
source/components/student-application-form/application.submit.ts
...components/student-application-form/application.submit.ts
+18
-20
source/components/student-application-form/disclaimer.ts
source/components/student-application-form/disclaimer.ts
+8
-16
source/components/student-application-form/epal.class.select.ts
.../components/student-application-form/epal.class.select.ts
+8
-13
source/components/student-application-form/help-desk.ts
source/components/student-application-form/help-desk.ts
+7
-13
source/components/student-application-form/info.ts
source/components/student-application-form/info.ts
+8
-7
source/components/student-application-form/legalinfos.ts
source/components/student-application-form/legalinfos.ts
+1
-1
source/components/student-application-form/parent.form.ts
source/components/student-application-form/parent.form.ts
+5
-12
source/components/student-application-form/region.schools.select.ts
...ponents/student-application-form/region.schools.select.ts
+8
-16
source/components/student-application-form/schools-order-select.ts
...mponents/student-application-form/schools-order-select.ts
+5
-6
source/components/student-application-form/sector.courses.select.ts
...ponents/student-application-form/sector.courses.select.ts
+7
-15
source/components/student-application-form/sector.fields.select.ts
...mponents/student-application-form/sector.fields.select.ts
+7
-9
source/components/student-application-form/submited.aplication.preview.ts
...s/student-application-form/submited.aplication.preview.ts
+6
-7
source/components/students/student.ts
source/components/students/student.ts
+1
-1
source/constants.ts
source/constants.ts
+2
-3
source/containers/main.routes.ts
source/containers/main.routes.ts
+33
-36
source/containers/main.ts
source/containers/main.ts
+9
-27
source/guards/eduadmin.auth.guard.ts
source/guards/eduadmin.auth.guard.ts
+3
-2
source/guards/ministry.auth.guard.ts
source/guards/ministry.auth.guard.ts
+3
-2
source/guards/regionedu.auth.guard.ts
source/guards/regionedu.auth.guard.ts
+3
-2
source/guards/reports.auth.guard.ts
source/guards/reports.auth.guard.ts
+3
-2
source/guards/school.auth.guard.ts
source/guards/school.auth.guard.ts
+3
-2
source/guards/school.capacity.locked.guard.ts
source/guards/school.capacity.locked.guard.ts
+3
-2
source/guards/school.students.locked.guard.ts
source/guards/school.students.locked.guard.ts
+3
-2
source/guards/student.lock.guard.ts
source/guards/student.lock.guard.ts
+3
-2
source/pipes/camelcase.ts
source/pipes/camelcase.ts
+1
-1
source/pipes/removehtmltags.ts
source/pipes/removehtmltags.ts
+1
-1
source/pipes/removespaces.ts
source/pipes/removespaces.ts
+1
-1
source/services/auth.service.ts
source/services/auth.service.ts
+6
-7
source/services/helper-data-service.ts
source/services/helper-data-service.ts
+13
-11
source/store/epalclasses/epalclasses.initial-state.ts
source/store/epalclasses/epalclasses.initial-state.ts
+0
-1
source/store/epalclasses/epalclasses.reducer.ts
source/store/epalclasses/epalclasses.reducer.ts
+4
-4
source/store/epalclasses/epalclasses.types.ts
source/store/epalclasses/epalclasses.types.ts
+1
-1
source/store/epalclasses/index.ts
source/store/epalclasses/index.ts
+7
-7
source/store/index.ts
source/store/index.ts
+26
-25
source/store/logininfo/index.ts
source/store/logininfo/index.ts
+5
-5
source/store/logininfo/logininfo.initial-state.ts
source/store/logininfo/logininfo.initial-state.ts
+1
-0
source/store/logininfo/logininfo.reducer.ts
source/store/logininfo/logininfo.reducer.ts
+4
-9
source/store/logininfo/logininfo.types.ts
source/store/logininfo/logininfo.types.ts
+1
-1
source/store/regionschools/index.ts
source/store/regionschools/index.ts
+8
-8
source/store/regionschools/regionschools.initial-state.ts
source/store/regionschools/regionschools.initial-state.ts
+1
-0
source/store/regionschools/regionschools.reducer.ts
source/store/regionschools/regionschools.reducer.ts
+12
-5
source/store/regionschools/regionschools.types.ts
source/store/regionschools/regionschools.types.ts
+1
-1
source/store/sectorcourses/index.ts
source/store/sectorcourses/index.ts
+8
-8
source/store/sectorcourses/sectorcourses.initial-state.ts
source/store/sectorcourses/sectorcourses.initial-state.ts
+1
-0
source/store/sectorcourses/sectorcourses.reducer.ts
source/store/sectorcourses/sectorcourses.reducer.ts
+4
-8
source/store/sectorcourses/sectorcourses.types.ts
source/store/sectorcourses/sectorcourses.types.ts
+1
-1
source/store/sectorfields/index.ts
source/store/sectorfields/index.ts
+4
-4
source/store/sectorfields/sectorfields.initial-state.ts
source/store/sectorfields/sectorfields.initial-state.ts
+1
-0
source/store/sectorfields/sectorfields.reducer.ts
source/store/sectorfields/sectorfields.reducer.ts
+4
-8
source/store/sectorfields/sectorfields.types.ts
source/store/sectorfields/sectorfields.types.ts
+1
-1
source/store/store.ts
source/store/store.ts
+4
-3
source/store/studentdatafields/index.ts
source/store/studentdatafields/index.ts
+4
-4
source/store/studentdatafields/studentdatafields.initial-state.ts
...tore/studentdatafields/studentdatafields.initial-state.ts
+1
-0
source/store/studentdatafields/studentdatafields.reducer.ts
source/store/studentdatafields/studentdatafields.reducer.ts
+5
-4
source/store/studentdatafields/studentdatafields.types.ts
source/store/studentdatafields/studentdatafields.types.ts
+1
-1
No files found.
source/actions/epalclass.actions.ts
View file @
f9c2803f
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
EPALCLASSES_SAVE
}
from
"
../constants
"
;
import
{
EPALCLASSES_INIT
}
from
"
../constants
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../store
"
;
@
Injectable
()
export
class
EpalClassesActions
{
constructor
(
private
_ngRedux
:
NgRedux
<
IAppState
>
)
{
}
saveEpalClassesSelected
=
(
epalClasses
)
=>
{
return
this
.
_ngRedux
.
dispatch
({
type
:
EPALCLASSES_SAVE
,
...
...
source/actions/index.ts
View file @
f9c2803f
...
...
@@ -3,17 +3,23 @@ import { RegionSchoolsActions } from "./regionschools.actions";
import
{
SectorCoursesActions
}
from
"
./sectorcourses.actions
"
;
import
{
StudentDataFieldsActions
}
from
"
./studentdatafields.actions
"
;
import
{
EpalClassesActions
}
from
"
./epalclass.actions
"
;
import
{
LoginInfoActions
}
from
"
./logininfo.actions
"
;
import
{
LoginInfoActions
}
from
"
./logininfo.actions
"
;
const
ACTION_PROVIDERS
=
[
SectorFieldsActions
,
RegionSchoolsActions
,
SectorCoursesActions
,
StudentDataFieldsActions
,
EpalClassesActions
,
LoginInfoActions
];
const
ACTION_PROVIDERS
=
[
SectorFieldsActions
,
RegionSchoolsActions
,
SectorCoursesActions
,
StudentDataFieldsActions
,
EpalClassesActions
,
LoginInfoActions
];
export
{
SectorFieldsActions
,
RegionSchoolsActions
,
SectorCoursesActions
,
StudentDataFieldsActions
,
EpalClassesActions
,
LoginInfoActions
,
ACTION_PROVIDERS
,
SectorFieldsActions
,
RegionSchoolsActions
,
SectorCoursesActions
,
StudentDataFieldsActions
,
EpalClassesActions
,
LoginInfoActions
,
ACTION_PROVIDERS
,
};
source/actions/logininfo.actions.ts
View file @
f9c2803f
import
{
LOGININFO_SAVE
,
PROFILE_SAVE
,
LOGININFO_RECEIVED
,
STATEMENTAGREE_SAVE
}
from
"
../constants
"
;
import
{
LOGININFO_INIT
}
from
"
../constants
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../store
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
LOGININFO_SAVE
,
PROFILE_SAVE
,
STATEMENTAGREE_SAVE
}
from
"
../constants
"
;
import
{
LOGININFO_INIT
}
from
"
../constants
"
;
import
{
HelperDataService
}
from
"
../services/helper-data-service
"
;
import
{
IAppState
}
from
"
../store
"
;
@
Injectable
()
export
class
LoginInfoActions
{
...
...
source/actions/regionschools.actions.ts
View file @
f9c2803f
import
{
REGIONSCHOOLS_RECEIVED
,
REGIONSCHOOLS_SELECTED_SAVE
,
REGIONSCHOOLS_ORDER_SAVE
,
REGIONSCHOOLS_INIT
}
from
"
../constants
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../store
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
REGIONSCHOOLS_INIT
,
REGIONSCHOOLS_ORDER_SAVE
,
REGIONSCHOOLS_RECEIVED
,
REGIONSCHOOLS_SELECTED_SAVE
,
}
from
"
../constants
"
;
import
{
HelperDataService
}
from
"
../services/helper-data-service
"
;
import
{
IAppState
}
from
"
../store
"
;
@
Injectable
()
export
class
RegionSchoolsActions
{
...
...
source/actions/sectorcourses.actions.ts
View file @
f9c2803f
import
{
SECTORCOURSES_RECEIVED
,
SECTORCOURSES_SELECTED_SAVE
,
SECTORCOURSES_INIT
}
from
"
../constants
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../store
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
SECTORCOURSES_INIT
,
SECTORCOURSES_RECEIVED
,
SECTORCOURSES_SELECTED_SAVE
}
from
"
../constants
"
;
import
{
HelperDataService
}
from
"
../services/helper-data-service
"
;
import
{
IAppState
}
from
"
../store
"
;
@
Injectable
()
export
class
SectorCoursesActions
{
...
...
source/actions/sectorfields.actions.ts
View file @
f9c2803f
import
{
SECTORFIELDS_RECEIVED
,
SECTORFIELDS_SELECTED_SAVE
,
SECTORFIELDS_INIT
}
from
"
../constants
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../store
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
SECTORFIELDS_INIT
,
SECTORFIELDS_RECEIVED
,
SECTORFIELDS_SELECTED_SAVE
}
from
"
../constants
"
;
import
{
HelperDataService
}
from
"
../services/helper-data-service
"
;
import
{
IAppState
}
from
"
../store
"
;
@
Injectable
()
export
class
SectorFieldsActions
{
...
...
source/actions/studentdatafields.actions.ts
View file @
f9c2803f
import
{
STUDENTDATAFIELDS_SAVE
,
STUDENTDATAFIELDS_INIT
}
from
"
../constants
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
STUDENTDATAFIELDS_INIT
,
STUDENTDATAFIELDS_SAVE
}
from
"
../constants
"
;
import
{
IAppState
}
from
"
../store
"
;
@
Injectable
()
...
...
@@ -15,7 +16,6 @@ export class StudentDataFieldsActions {
payload
:
{
studentDataFields
}
});
};
...
...
source/app.routes.ts
View file @
f9c2803f
import
{
RouterModule
}
from
"
@angular/router
"
;
import
{
RouterModule
}
from
"
@angular/router
"
;
import
{
MainRoutes
,
MainDeclarations
}
from
"
./containers/main.routes
"
;
import
{
MainDeclarations
,
MainRoutes
}
from
"
./containers/main.routes
"
;
export
const
routes
=
[
...
MainRoutes
...
...
source/app.ts
View file @
f9c2803f
import
"
reflect-metadata
"
;
import
"
babel-polyfill
"
;
import
"
core-js/es6
"
;
import
"
core-js/es7/reflect
"
;
import
{
NgModule
}
from
"
@angular/core
"
;
import
{
NgReduxModule
,
DevToolsExtension
,
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
BrowserModule
}
from
"
@angular/platform-browser
"
;
import
{
CookieModule
}
from
"
ngx-cookie
"
;
import
{
MyDatePickerModule
}
from
"
mydatepicker
"
;
import
{
NguiAutoCompleteModule
}
from
"
@ngui/auto-complete
"
;
import
{
FormsModule
,
ReactiveFormsModule
,
}
from
"
@angular/forms
"
;
import
"
reflect-metadata
"
;
import
{
RouterModule
}
from
"
@angular/router
"
;
import
{
DevToolsExtension
,
NgReduxModule
}
from
"
@angular-redux/store
"
;
import
{
APP_BASE_HREF
,
HashLocationStrategy
,
LocationStrategy
,
NgLocalization
}
from
"
@angular/common
"
;
import
{
NgModule
}
from
"
@angular/core
"
;
import
{
enableProdMode
}
from
"
@angular/core
"
;
import
{
FormsModule
,
ReactiveFormsModule
}
from
"
@angular/forms
"
;
import
{
HttpModule
}
from
"
@angular/http
"
;
import
{
APP_BASE_HREF
,
HashLocationStrategy
,
LocationStrategy
,
NgLocalization
,
}
from
"
@angular/common
"
;
import
{
BrowserModule
}
from
"
@angular/platform-browser
"
;
import
{
platformBrowserDynamic
}
from
"
@angular/platform-browser-dynamic
"
;
import
Main
from
"
./containers/main
"
;
import
{
APP_ROUTER_PROVIDERS
,
APP_DECLARATIONS
}
from
"
./app.routes
"
;
import
{
RouterModule
}
from
"
@angular/router
"
;
import
{
NguiAutoCompleteModule
}
from
"
@ngui/auto-complete
"
;
import
{
MyDatePickerModule
}
from
"
mydatepicker
"
;
import
{
Ng2SmartTableModule
}
from
"
ng2-smart-table
"
;
import
{
CookieModule
}
from
"
ngx-cookie
"
;
import
{
HelperDataService
}
from
"
./services/helper-data-service
"
;
import
{
LoaderService
}
from
"
./services/Spinner.service
"
;
import
{
AuthService
}
from
"
./services/auth.service
"
;
import
{
ACTION_PROVIDERS
}
from
"
./actions
"
;
import
{
APP_DECLARATIONS
,
APP_ROUTER_PROVIDERS
}
from
"
./app.routes
"
;
import
FooterComponent
from
"
./components/footer/footer.component
"
;
import
HeaderComponent
from
"
./components/header/header.component
"
;
import
MainComponent
from
"
./components/main/main.component
"
;
import
NavbarComponent
from
"
./components/navbar/navbar.component
"
;
import
Main
from
"
./containers/main
"
;
import
EduAdminAuthGuard
from
"
./guards/eduadmin.auth.guard
"
;
import
MinistryAuthGuard
from
"
./guards/ministry.auth.guard
"
;
import
RegionEduAuthGuard
from
"
./guards/regionedu.auth.guard
"
;
import
ReportsAuthGuard
from
"
./guards/reports.auth.guard
"
;
import
SchoolAuthGuard
from
"
./guards/school.auth.guard
"
;
import
SchoolStudentsLockedGuard
from
"
./guards/school.students.locked.guard
"
;
import
SchoolCapacityLockedGuard
from
"
./guards/school.capacity.locked.guard
"
;
import
SchoolStudentsLockedGuard
from
"
./guards/school.students.locked.guard
"
;
import
StudentAuthGuard
from
"
./guards/student.auth.guard
"
;
import
ReportsAuthGuard
from
"
./guards/reports.auth.guard
"
;
import
StudentLockGuard
from
"
./guards/student.lock.guard
"
;
import
RegionEduAuthGuard
from
"
./guards/regionedu.auth.guard
"
;
import
EduAdminAuthGuard
from
"
./guards/eduadmin.auth.guard
"
;
import
MinistryAuthGuard
from
"
./guards/ministry.auth.guard
"
;
import
{
AuthService
}
from
"
./services/auth.service
"
;
import
{
HelperDataService
}
from
"
./services/helper-data-service
"
;
import
{
LoaderService
}
from
"
./services/Spinner.service
"
;
import
*
as
$
from
"
jquery
"
;
import
{
ACTION_PROVIDERS
}
from
"
./actions
"
;
import
Home
from
"
./components/home
"
;
import
{
Ng2SmartTableModule
,
LocalDataSource
}
from
"
ng2-smart-table
"
;
import
HeaderComponent
from
"
./components/header/header.component
"
;
import
NavbarComponent
from
"
./components/navbar/navbar.component
"
;
import
MainComponent
from
"
./components/main/main.component
"
;
import
FooterComponent
from
"
./components/footer/footer.component
"
;
import
{
enableProdMode
}
from
"
@angular/core
"
;
class
MyLocalization
extends
NgLocalization
{
getPluralCategory
(
value
:
any
)
{
...
...
source/components/director/director-classcapacity.ts
View file @
f9c2803f
import
{
Component
,
On
Init
,
OnDestroy
,
ElementRef
,
ViewChild
}
from
"
@angular/core
"
;
import
{
Component
,
On
Destroy
,
OnInit
}
from
"
@angular/core
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
AppSettings
}
from
"
../../app.settings
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
Observable
}
from
"
rxjs/Observable
"
;
import
{
Http
,
Headers
,
RequestOptions
}
from
"
@angular/http
"
;
import
{
NgRedux
,
select
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
import
{
Router
,
ActivatedRoute
,
Params
}
from
"
@angular/router
"
;
import
{
FormBuilder
,
FormGroup
}
from
"
@angular/forms
"
;
import
{
ActivatedRoute
,
Router
}
from
"
@angular/router
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
VALID_CAPACITY_PATTERN
}
from
"
../../constants
"
;
import
{
maxValue
}
from
"
../../constants
"
;
import
{
minValue
}
from
"
../../constants
"
;
import
{
FormBuilder
,
FormGroup
,
FormControl
,
FormArray
,
Validators
,
}
from
"
@angular/forms
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
@
Component
({
selector
:
"
director-classcapacity
"
,
template
:
`
...
...
source/components/director/director-view.ts
View file @
f9c2803f
import
{
Component
,
On
Init
,
OnDestroy
,
ElementRef
,
ViewChild
}
from
"
@angular/core
"
;
import
{
Component
,
On
Destroy
,
OnInit
}
from
"
@angular/core
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
AppSettings
}
from
"
../../app.settings
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
Observable
}
from
"
rxjs/Observable
"
;
import
{
Http
,
Headers
,
RequestOptions
}
from
"
@angular/http
"
;
import
{
NgRedux
,
select
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
import
{
Router
,
ActivatedRoute
,
Params
}
from
"
@angular/router
"
;
import
{
FormBuilder
,
FormGroup
}
from
"
@angular/forms
"
;
import
{
ActivatedRoute
,
Router
}
from
"
@angular/router
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
VALID_CAPACITY_PATTERN
}
from
"
../../constants
"
;
import
{
maxValue
}
from
"
../../constants
"
;
import
{
minValue
}
from
"
../../constants
"
;
import
{
FormBuilder
,
FormGroup
,
FormControl
,
FormArray
,
Validators
,
}
from
"
@angular/forms
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
@
Component
({
selector
:
"
director-classcapacity
"
,
template
:
`
...
...
source/components/director/director.buttons.ts
View file @
f9c2803f
import
{
Router
}
from
"
@angular/router
"
;
import
{
OnInit
,
Component
,
Injectable
}
from
"
@angular/core
"
;
import
{
Component
,
Injectable
,
OnInit
}
from
"
@angular/core
"
;
import
{
Router
}
from
"
@angular/router
"
;
@
Component
({
selector
:
"
director-buttons
"
,
...
...
source/components/footer/footer.component.ts
View file @
f9c2803f
import
{
Component
}
from
"
@angular/core
"
;
import
{
Component
}
from
"
@angular/core
"
;
@
Component
({
selector
:
"
reg-footer
"
,
...
...
source/components/header/header.component.ts
View file @
f9c2803f
import
{
Component
,
OnInit
,
OnDestroy
}
from
"
@angular/core
"
;
import
{
Router
}
from
"
@angular/router
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
Component
,
OnDestroy
,
OnInit
}
from
"
@angular/core
"
;
import
{
Router
}
from
"
@angular/router
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
NgRedux
,
select
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
import
{
ILoginInfoRecords
}
from
"
../../store/logininfo/logininfo.types
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
LoginInfoActions
}
from
"
../../actions/logininfo.actions
"
;
import
{
LOGININFO_INITIAL_STATE
}
from
"
../../store/logininfo/logininfo.initial-state
"
;
import
{
SCHOOL_ROLE
,
STUDENT_ROLE
,
PDE_ROLE
,
DIDE_ROLE
,
MINISTRY_ROLE
}
from
"
../../constants
"
;
import
{
EpalClassesActions
}
from
"
../../actions/epalclass.actions
"
;
import
{
SectorFieldsActions
}
from
"
../../actions/sectorfields
.actions
"
;
import
{
LoginInfoActions
}
from
"
../../actions/logininfo
.actions
"
;
import
{
RegionSchoolsActions
}
from
"
../../actions/regionschools.actions
"
;
import
{
SectorCoursesActions
}
from
"
../../actions/sectorcourses.actions
"
;
import
{
SectorFieldsActions
}
from
"
../../actions/sectorfields.actions
"
;
import
{
StudentDataFieldsActions
}
from
"
../../actions/studentdatafields.actions
"
;
import
{
DIDE_ROLE
,
MINISTRY_ROLE
,
PDE_ROLE
,
SCHOOL_ROLE
,
STUDENT_ROLE
}
from
"
../../constants
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
LOGININFO_INITIAL_STATE
}
from
"
../../store/logininfo/logininfo.initial-state
"
;
import
{
ILoginInfoRecords
}
from
"
../../store/logininfo/logininfo.types
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
@
Component
({
selector
:
"
reg-header
"
,
...
...
source/components/home.ts
View file @
f9c2803f
import
{
Router
,
ActivatedRoute
,
Params
}
from
"
@angular/router
"
;
import
{
OnInit
,
OnDestroy
,
Component
}
from
"
@angular/core
"
;
import
{
LoginInfoActions
}
from
"
../actions/logininfo.actions
"
;
import
{
ILoginInfoRecords
}
from
"
../store/logininfo/logininfo.types
"
;
import
{
NgRedux
,
select
}
from
"
@angular-redux/store
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
IAppState
}
from
"
../store/store
"
;
import
{
HelperDataService
}
from
"
../services/helper-data-service
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
Component
,
OnDestroy
,
OnInit
}
from
"
@angular/core
"
;
import
{
FormBuilder
,
FormGroup
}
from
"
@angular/forms
"
;
import
{
ActivatedRoute
,
Params
,
Router
}
from
"
@angular/router
"
;
import
{
CookieService
}
from
"
ngx-cookie
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
LoginInfoActions
}
from
"
../actions/logininfo.actions
"
;
import
{
API_ENDPOINT
,
API_ENDPOINT_PARAMS
}
from
"
../app.settings
"
;
import
{
STUDENT_ROLE
}
from
"
../constants
"
;
import
{
HelperDataService
}
from
"
../services/helper-data-service
"
;
import
{
LOGININFO_INITIAL_STATE
}
from
"
../store/logininfo/logininfo.initial-state
"
;
import
{
FormBuilder
,
FormGroup
,
FormControl
,
FormArray
}
from
"
@angular/forms
"
;
import
{
ILoginInfoRecords
}
from
"
../store/logininfo/logininfo.types
"
;
import
{
IAppState
}
from
"
../store/store
"
;
import
{
API_ENDPOINT
,
API_ENDPOINT_PARAMS
}
from
"
../app.settings
"
;
@
Component
({
selector
:
"
home
"
,
template
:
`
...
...
source/components/infoviews/eduadmin-view.ts
View file @
f9c2803f
import
{
Component
,
OnInit
,
OnDestroy
,
ElementRef
,
ViewChild
,
Injectable
}
from
"
@angular/core
"
;
import
{
AppSettings
}
from
"
../../app.settings
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
Observable
}
from
"
rxjs/Observable
"
;
import
{
Http
,
Headers
,
RequestOptions
}
from
"
@angular/http
"
;
import
{
NgRedux
,
select
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
import
{
Router
,
ActivatedRoute
,
Params
}
from
"
@angular/router
"
;
import
{
Component
,
Injectable
,
OnDestroy
,
OnInit
}
from
"
@angular/core
"
;
import
{
FormBuilder
,
FormGroup
}
from
"
@angular/forms
"
;
import
{
Router
}
from
"
@angular/router
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
FormBuilder
,
FormGroup
,
FormControl
,
FormArray
,
Validators
,
}
from
"
@angular/forms
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
@
Component
({
selector
:
"
eduadmin-view
"
,
template
:
`
...
...
source/components/infoviews/perfecture-view.ts
View file @
f9c2803f
import
{
Component
,
OnInit
,
OnDestroy
,
ElementRef
,
ViewChild
,
Injectable
}
from
"
@angular/core
"
;
import
{
AppSettings
}
from
"
../../app.settings
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
Observable
}
from
"
rxjs/Observable
"
;
import
{
Http
,
Headers
,
RequestOptions
}
from
"
@angular/http
"
;
import
{
NgRedux
,
select
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
import
{
Router
,
ActivatedRoute
,
Params
}
from
"
@angular/router
"
;
import
{
Component
,
Injectable
,
OnDestroy
,
OnInit
}
from
"
@angular/core
"
;
import
{
FormBuilder
,
FormGroup
}
from
"
@angular/forms
"
;
import
{
Router
}
from
"
@angular/router
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
FormBuilder
,
FormGroup
,
FormControl
,
FormArray
,
Validators
,
}
from
"
@angular/forms
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
@
Component
({
selector
:
"
perfecture-view
"
,
template
:
`
...
...
source/components/main/breadcrumbs.ts
View file @
f9c2803f
import
{
Component
,
OnInit
,
OnDestroy
}
from
"
@angular/core
"
;
import
{
Component
,
OnInit
}
from
"
@angular/core
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
AppSettings
}
from
"
../../app.settings
"
;
import
{
Router
}
from
"
@angular/router
"
;
@
Component
({
selector
:
"
breadcrumbs
"
,
template
:
`
...
...
@@ -15,9 +13,7 @@ import { Router } from "@angular/router";
<div [hidden]="currentUrl !== '/student-application-form-main'" class="col-sm-12"><p class="crumb" >Νέα Δήλωση Προτίμησης -> Προσωπικά Στοιχεία</p></div>
<div [hidden]="currentUrl !== '/application-submit'" class="col-sm-12"><p class="crumb" >Νέα Δήλωση Προτίμησης -> Προεπισκόπηση Δήλωσης Προτίμησης</p></div>
<div [hidden]="currentUrl !== '/submited-preview'" class="col-sm-12"><p class="crumb" > Υποβληθείσες Δηλώσεις Προτίμησης</p></div>
<div [hidden]="currentUrl !== '/ministry'" class="col-sm-12"><p class="crumb" > Διαχειριστής Υπουργείου Παιδείας -> Σύνδεση</p></div>
`
})
...
...
source/components/main/main.component.ts
View file @
f9c2803f
import
{
Component
}
from
"
@angular/core
"
;
import
{
Component
}
from
"
@angular/core
"
;
import
{
Router
}
from
"
@angular/router
"
;
@
Component
({
...
...
source/components/minister/chart-creator.ts
View file @
f9c2803f
import
{
ElementRef
,
ViewChild
}
from
"
@angular/core
"
;
import
*
as
d3
from
"
d3
"
;
import
{
ElementRef
,
ViewChild
}
from
"
@angular/core
"
;
export
class
ChartCreator
{
...
...
source/components/minister/csv-creator.ts
View file @
f9c2803f
import
{
ReportsSchema
,
TableColumn
}
from
"
./reports-schema
"
;
import
{
LocalDataSource
}
from
"
ng2-smart-table
"
;
import
{
Input
}
from
"
@angular/core
"
;
import
{
LocalDataSource
}
from
"
ng2-smart-table
"
;
import
{
ReportsSchema
,
TableColumn
}
from
"
./reports-schema
"
;
export
class
CsvCreator
{
...
...
source/components/minister/minister-informstudents.ts
View file @
f9c2803f
import
{
Component
,
OnInit
,
OnDestroy
,
ElementRef
,
ViewChild
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
Component
,
OnDestroy
,
OnInit
}
from
"
@angular/core
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
AppSettings
}
from
"
../../app.settings
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
Observable
}
from
"
rxjs/Observable
"
;
import
{
Http
,
Headers
,
RequestOptions
}
from
"
@angular/http
"
;
import
{
NgRedux
,
select
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
import
{
Router
,
ActivatedRoute
,
Params
}
from
"
@angular/router
"
;
import
{
ActivatedRoute
,
Router
}
from
"
@angular/router
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
ILoginInfoRecords
}
from
"
../../store/logininfo/logininfo.types
"
;
import
{
LOGININFO_INITIAL_STATE
}
from
"
../../store/logininfo/logininfo.initial-state
"
;
import
{
API_ENDPOINT
}
from
"
../../app.settings
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
LOGININFO_INITIAL_STATE
}
from
"
../../store/logininfo/logininfo.initial-state
"
;
import
{
ILoginInfoRecords
}
from
"
../../store/logininfo/logininfo.types
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
@
Component
({
selector
:
"
minister-informstudents
"
,
...
...
source/components/minister/minister-reports.ts
View file @
f9c2803f
import
{
Component
,
OnInit
,
OnDestroy
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
Component
,
OnDestroy
,
OnInit
}
from
"
@angular/core
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
AppSettings
}
from
"
../../app.settings
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
Observable
}
from
"
rxjs/Observable
"
;
import
{
Http
,
Headers
,
RequestOptions
}
from
"
@angular/http
"
;
import
{
NgRedux
,
select
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
import
{
Router
,
ActivatedRoute
,
Params
}
from
"
@angular/router
"
;
import
{
FormBuilder
,
FormGroup
}
from
"
@angular/forms
"
;
import
{
ActivatedRoute
,
Router
}
from
"
@angular/router
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
ILoginInfoRecords
}
from
"
../../store/logininfo/logininfo.types
"
;
import
{
LOGININFO_INITIAL_STATE
}
from
"
../../store/logininfo/logininfo.initial-state
"
;
import
{
MINISTRY_ROLE
,
PDE_ROLE
,
DIDE_ROLE
}
from
"
../../constants
"
;
import
{
FormBuilder
,
FormGroup
,
FormControl
,
FormArray
,
Validators
,
}
from
"
@angular/forms
"
;
import
{
API_ENDPOINT
}
from
"
../../app.settings
"
;
import
{
DIDE_ROLE
,
MINISTRY_ROLE
,
PDE_ROLE
}
from
"
../../constants
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
LOGININFO_INITIAL_STATE
}
from
"
../../store/logininfo/logininfo.initial-state
"
;
import
{
ILoginInfoRecords
}
from
"
../../store/logininfo/logininfo.types
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
@
Component
({
selector
:
"
minister-reports
"
,
// encapsulation: ViewEncapsulation.None,
template
:
`
<div style="min-height: 500px; ">
<h5> >Επιλογή Αναφοράς<br><br></h5>
<div class="col-md-1">
...
...
source/components/minister/minister-settings.ts
View file @
f9c2803f
import
{
Component
,
OnInit
,
OnDestroy
,
ElementRef
,
ViewChild
}
from
"
@angular/core
"
;
import
{
NgRedux
}
from
"
@angular-redux/store
"
;
import
{
Component
,
OnDestroy
,
OnInit
}
from
"
@angular/core
"
;
import
{
Injectable
}
from
"
@angular/core
"
;
import
{
AppSettings
}
from
"
../../app.settings
"
;
import
{
HelperDataService
}
from
"
../../services/helper-data-service
"
;
import
{
Observable
}
from
"
rxjs/Observable
"
;
import
{
Http
,
Headers
,
RequestOptions
}
from
"
@angular/http
"
;
import
{
NgRedux
,
select
}
from
"
@angular-redux/store
"
;
import
{
IAppState
}
from
"
../../store/store
"
;
import
{
Router
,
ActivatedRoute
,
Params
}
from
"
@angular/router
"
;
import
{
FormBuilder
,
FormGroup
}
from
"
@angular/forms
"
;
import
{
Router
}
from
"
@angular/router
"
;
import
{
BehaviorSubject
,
Subscription
}
from
"
rxjs/Rx
"
;
import
{
ILoginInfoRecords
}
from
"
../../store/logininfo/logininfo.types
"
;
import
{
LOGININFO_INITIAL_STATE
}
from
"
../../store/logininfo/logininfo.initial-state
"
;
import
{
FormBuilder
,
FormGroup
,
FormControl
,
FormArray
,
Validators
,
}
from
"
@angular/forms
"
;