Merge branch 'clear' into 'develop_v4'

Clear imports

See merge request !245
parents 628a738b f9c2803f
import { NgRedux } from "@angular-redux/store";
import { Injectable } from "@angular/core";
import { EPALCLASSES_SAVE } from "../constants"; import { EPALCLASSES_SAVE } from "../constants";
import { EPALCLASSES_INIT } from "../constants"; import { EPALCLASSES_INIT } from "../constants";
import { Injectable } from "@angular/core";
import { NgRedux } from "@angular-redux/store";
import { IAppState } from "../store"; import { IAppState } from "../store";
@Injectable() @Injectable()
export class EpalClassesActions { export class EpalClassesActions {
constructor( constructor(
private _ngRedux: NgRedux<IAppState>) { } private _ngRedux: NgRedux<IAppState>) { }
saveEpalClassesSelected = (epalClasses) => { saveEpalClassesSelected = (epalClasses) => {
return this._ngRedux.dispatch({ return this._ngRedux.dispatch({
type: EPALCLASSES_SAVE, type: EPALCLASSES_SAVE,
......
...@@ -3,17 +3,23 @@ import { RegionSchoolsActions } from "./regionschools.actions"; ...@@ -3,17 +3,23 @@ import { RegionSchoolsActions } from "./regionschools.actions";
import { SectorCoursesActions } from "./sectorcourses.actions"; import { SectorCoursesActions } from "./sectorcourses.actions";
import { StudentDataFieldsActions } from "./studentdatafields.actions"; import { StudentDataFieldsActions } from "./studentdatafields.actions";
import { EpalClassesActions } from "./epalclass.actions"; import { EpalClassesActions } from "./epalclass.actions";
import { LoginInfoActions} from "./logininfo.actions"; import { LoginInfoActions } from "./logininfo.actions";
const ACTION_PROVIDERS = [SectorFieldsActions, RegionSchoolsActions, SectorCoursesActions, StudentDataFieldsActions, const ACTION_PROVIDERS = [
EpalClassesActions, LoginInfoActions]; SectorFieldsActions,
RegionSchoolsActions,
SectorCoursesActions,
StudentDataFieldsActions,
EpalClassesActions,
LoginInfoActions
];
export { export {
SectorFieldsActions, SectorFieldsActions,
RegionSchoolsActions, RegionSchoolsActions,
SectorCoursesActions, SectorCoursesActions,
StudentDataFieldsActions, StudentDataFieldsActions,
EpalClassesActions, EpalClassesActions,
LoginInfoActions, LoginInfoActions,
ACTION_PROVIDERS, ACTION_PROVIDERS,
}; };
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 { 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 { HelperDataService } from "../services/helper-data-service";
import { IAppState } from "../store";
@Injectable() @Injectable()
export class LoginInfoActions { export class LoginInfoActions {
......
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 { 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 { HelperDataService } from "../services/helper-data-service";
import { IAppState } from "../store";
@Injectable() @Injectable()
export class RegionSchoolsActions { export class RegionSchoolsActions {
......
import { SECTORCOURSES_RECEIVED, SECTORCOURSES_SELECTED_SAVE, SECTORCOURSES_INIT } from "../constants";
import { Injectable } from "@angular/core";
import { NgRedux } from "@angular-redux/store"; 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 { HelperDataService } from "../services/helper-data-service";
import { IAppState } from "../store";
@Injectable() @Injectable()
export class SectorCoursesActions { export class SectorCoursesActions {
......
import { SECTORFIELDS_RECEIVED, SECTORFIELDS_SELECTED_SAVE, SECTORFIELDS_INIT } from "../constants";
import { Injectable } from "@angular/core";
import { NgRedux } from "@angular-redux/store"; 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 { HelperDataService } from "../services/helper-data-service";
import { IAppState } from "../store";
@Injectable() @Injectable()
export class SectorFieldsActions { export class SectorFieldsActions {
......
import { STUDENTDATAFIELDS_SAVE, STUDENTDATAFIELDS_INIT } from "../constants";
import { Injectable } from "@angular/core";
import { NgRedux } from "@angular-redux/store"; import { NgRedux } from "@angular-redux/store";
import { Injectable } from "@angular/core";
import { STUDENTDATAFIELDS_INIT, STUDENTDATAFIELDS_SAVE } from "../constants";
import { IAppState } from "../store"; import { IAppState } from "../store";
@Injectable() @Injectable()
...@@ -15,7 +16,6 @@ export class StudentDataFieldsActions { ...@@ -15,7 +16,6 @@ export class StudentDataFieldsActions {
payload: { payload: {
studentDataFields studentDataFields
} }
}); });
}; };
......
import { RouterModule } from "@angular/router"; import { RouterModule } from "@angular/router";
import { MainRoutes, MainDeclarations } import { MainDeclarations, MainRoutes } from "./containers/main.routes";
from "./containers/main.routes";
export const routes = [ export const routes = [
...MainRoutes ...MainRoutes
......
import "reflect-metadata";
import "babel-polyfill"; import "babel-polyfill";
import "core-js/es6"; import "core-js/es6";
import "core-js/es7/reflect"; import "core-js/es7/reflect";
import { NgModule } from "@angular/core"; import "reflect-metadata";
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 {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 { HttpModule } from "@angular/http";
import { import { BrowserModule } from "@angular/platform-browser";
APP_BASE_HREF,
HashLocationStrategy,
LocationStrategy,
NgLocalization,
} from "@angular/common";
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic"; import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
import Main from "./containers/main"; import { RouterModule } from "@angular/router";
import { APP_ROUTER_PROVIDERS, APP_DECLARATIONS } from "./app.routes"; 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 { ACTION_PROVIDERS } from "./actions";
import {LoaderService} from "./services/Spinner.service"; import { APP_DECLARATIONS, APP_ROUTER_PROVIDERS } from "./app.routes";
import {AuthService} from "./services/auth.service"; 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 SchoolAuthGuard from "./guards/school.auth.guard";
import SchoolStudentsLockedGuard from "./guards/school.students.locked.guard";
import SchoolCapacityLockedGuard from "./guards/school.capacity.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 StudentAuthGuard from "./guards/student.auth.guard";
import ReportsAuthGuard from "./guards/reports.auth.guard";
import StudentLockGuard from "./guards/student.lock.guard"; import StudentLockGuard from "./guards/student.lock.guard";
import RegionEduAuthGuard from "./guards/regionedu.auth.guard"; import { AuthService } from "./services/auth.service";
import EduAdminAuthGuard from "./guards/eduadmin.auth.guard"; import { HelperDataService } from "./services/helper-data-service";
import MinistryAuthGuard from "./guards/ministry.auth.guard"; import { LoaderService } from "./services/Spinner.service";
import * as $ from "jquery"; 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 { class MyLocalization extends NgLocalization {
getPluralCategory(value: any) { getPluralCategory(value: any) {
......
import { Component, OnInit, OnDestroy, ElementRef, ViewChild} from "@angular/core"; import { Component, OnDestroy, OnInit } from "@angular/core";
import { Injectable } from "@angular/core"; import { Injectable } from "@angular/core";
import { AppSettings } from "../../app.settings"; import { FormBuilder, FormGroup } from "@angular/forms";
import { HelperDataService } from "../../services/helper-data-service"; import { ActivatedRoute, Router } from "@angular/router";
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 { BehaviorSubject, Subscription } from "rxjs/Rx"; import { BehaviorSubject, Subscription } from "rxjs/Rx";
import { VALID_CAPACITY_PATTERN} from "../../constants";
import {maxValue} from "../../constants"; import { HelperDataService } from "../../services/helper-data-service";
import {minValue} from "../../constants";
import {
FormBuilder,
FormGroup,
FormControl,
FormArray,
Validators,
} from "@angular/forms";
@Component({ @Component({
selector: "director-classcapacity", selector: "director-classcapacity",
template: ` template: `
......
import { Component, OnInit, OnDestroy, ElementRef, ViewChild} from "@angular/core"; import { Component, OnDestroy, OnInit } from "@angular/core";
import { Injectable } from "@angular/core"; import { Injectable } from "@angular/core";
import { AppSettings } from "../../app.settings"; import { FormBuilder, FormGroup } from "@angular/forms";
import { HelperDataService } from "../../services/helper-data-service"; import { ActivatedRoute, Router } from "@angular/router";
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 { BehaviorSubject, Subscription } from "rxjs/Rx"; import { BehaviorSubject, Subscription } from "rxjs/Rx";
import { VALID_CAPACITY_PATTERN} from "../../constants";
import {maxValue} from "../../constants"; import { HelperDataService } from "../../services/helper-data-service";
import {minValue} from "../../constants";
import {
FormBuilder,
FormGroup,
FormControl,
FormArray,
Validators,
} from "@angular/forms";
@Component({ @Component({
selector: "director-classcapacity", selector: "director-classcapacity",
template: ` template: `
......
import {Router} from "@angular/router"; import { Component, Injectable, OnInit } from "@angular/core";
import {OnInit, Component, Injectable} from "@angular/core"; import { Router } from "@angular/router";
@Component({ @Component({
selector: "director-buttons", selector: "director-buttons",
......
import {Component} from "@angular/core"; import { Component } from "@angular/core";
@Component({ @Component({
selector: "reg-footer", selector: "reg-footer",
......
import {Component, OnInit, OnDestroy} from "@angular/core"; import { NgRedux } from "@angular-redux/store";
import {Router} from "@angular/router"; import { Component, OnDestroy, OnInit } from "@angular/core";
import { Injectable } from "@angular/core"; import { Router } from "@angular/router";
import { BehaviorSubject, Subscription } from "rxjs/Rx"; 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 { EpalClassesActions } from "../../actions/epalclass.actions";
import { SectorFieldsActions } from "../../actions/sectorfields.actions"; import { LoginInfoActions } from "../../actions/logininfo.actions";
import { RegionSchoolsActions } from "../../actions/regionschools.actions"; import { RegionSchoolsActions } from "../../actions/regionschools.actions";
import { SectorCoursesActions } from "../../actions/sectorcourses.actions"; import { SectorCoursesActions } from "../../actions/sectorcourses.actions";
import { SectorFieldsActions } from "../../actions/sectorfields.actions";
import { StudentDataFieldsActions } from "../../actions/studentdatafields.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({ @Component({
selector: "reg-header", selector: "reg-header",
......
import {Router, ActivatedRoute, Params} from "@angular/router"; import { NgRedux } from "@angular-redux/store";
import {OnInit, OnDestroy, Component} from "@angular/core"; import { Component, OnDestroy, OnInit } from "@angular/core";
import { LoginInfoActions } from "../actions/logininfo.actions"; import { FormBuilder, FormGroup } from "@angular/forms";
import { ILoginInfoRecords } from "../store/logininfo/logininfo.types"; import { ActivatedRoute, Params, Router } from "@angular/router";
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 { CookieService } from "ngx-cookie"; 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 { STUDENT_ROLE } from "../constants";
import { HelperDataService } from "../services/helper-data-service";
import { LOGININFO_INITIAL_STATE } from "../store/logininfo/logininfo.initial-state"; import { LOGININFO_INITIAL_STATE } from "../store/logininfo/logininfo.initial-state";
import { import { ILoginInfoRecords } from "../store/logininfo/logininfo.types";
FormBuilder, import { IAppState } from "../store/store";
FormGroup,
FormControl,
FormArray
} from "@angular/forms";
import { API_ENDPOINT, API_ENDPOINT_PARAMS } from "../app.settings";
@Component({ @Component({
selector: "home", selector: "home",
template: ` template: `
......
import { Component, OnInit, OnDestroy, ElementRef, ViewChild, Injectable } from "@angular/core"; import { Component, Injectable, OnDestroy, OnInit } from "@angular/core";
import { AppSettings } from "../../app.settings"; import { FormBuilder, FormGroup } from "@angular/forms";
import { HelperDataService } from "../../services/helper-data-service"; import { Router } from "@angular/router";
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 { BehaviorSubject, Subscription } from "rxjs/Rx"; import { BehaviorSubject, Subscription } from "rxjs/Rx";
import { import { HelperDataService } from "../../services/helper-data-service";
FormBuilder,
FormGroup,
FormControl,
FormArray,
Validators,
} from "@angular/forms";
@Component({ @Component({
selector: "eduadmin-view", selector: "eduadmin-view",
template: ` template: `
......
import { Component, OnInit, OnDestroy, ElementRef, ViewChild, Injectable} from "@angular/core"; import { Component, Injectable, OnDestroy, OnInit } from "@angular/core";
import { AppSettings } from "../../app.settings"; import { FormBuilder, FormGroup } from "@angular/forms";
import { HelperDataService } from "../../services/helper-data-service"; import { Router } from "@angular/router";
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 { BehaviorSubject, Subscription } from "rxjs/Rx"; import { BehaviorSubject, Subscription } from "rxjs/Rx";
import {
FormBuilder, import { HelperDataService } from "../../services/helper-data-service";
FormGroup,
FormControl,
FormArray,
Validators,
} from "@angular/forms";
@Component({ @Component({
selector: "perfecture-view", selector: "perfecture-view",
template: ` template: `
......
import { Component, OnInit, OnDestroy } from "@angular/core"; import { Component, OnInit } from "@angular/core";
import { Injectable } from "@angular/core"; import { Injectable } from "@angular/core";
import { AppSettings } from "../../app.settings";
import { Router } from "@angular/router"; import { Router } from "@angular/router";
@Component({ @Component({
selector: "breadcrumbs", selector: "breadcrumbs",
template: ` template: `
...@@ -15,9 +13,7 @@ import { Router } from "@angular/router"; ...@@ -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 !== '/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 !== '/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 !== '/submited-preview'" class="col-sm-12"><p class="crumb" > Υποβληθείσες Δηλώσεις Προτίμησης</p></div>
<div [hidden]="currentUrl !== '/ministry'" class="col-sm-12"><p class="crumb" > Διαχειριστής Υπουργείου Παιδείας -> Σύνδεση</p></div> <div [hidden]="currentUrl !== '/ministry'" class="col-sm-12"><p class="crumb" > Διαχειριστής Υπουργείου Παιδείας -> Σύνδεση</p></div>
` `
}) })
......
import {Component} from "@angular/core"; import { Component } from "@angular/core";
import { Router } from "@angular/router"; import { Router } from "@angular/router";
@Component({ @Component({
......
import { ElementRef, ViewChild } from "@angular/core";
import * as d3 from "d3"; import * as d3 from "d3";
import { ElementRef, ViewChild } from "@angular/core";
export class ChartCreator { export class ChartCreator {
......
import {ReportsSchema, TableColumn} from "./reports-schema";
import { LocalDataSource } from "ng2-smart-table";
import { Input } from "@angular/core"; import { Input } from "@angular/core";
import { LocalDataSource } from "ng2-smart-table";
import { ReportsSchema, TableColumn } from "./reports-schema";
export class CsvCreator { export class CsvCreator {
......
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 { Injectable } from "@angular/core";
import { AppSettings } from "../../app.settings"; import { ActivatedRoute, Router } from "@angular/router";
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 { BehaviorSubject, Subscription } from "rxjs/Rx"; 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 { 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({ @Component({
selector: "minister-informstudents", selector: "minister-informstudents",
......
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 { Injectable } from "@angular/core";
import { AppSettings } from "../../app.settings"; import { FormBuilder, FormGroup } from "@angular/forms";
import { HelperDataService } from "../../services/helper-data-service"; import { ActivatedRoute, Router } from "@angular/router";
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 { BehaviorSubject, Subscription } from "rxjs/Rx"; 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 { 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({ @Component({
selector: "minister-reports", selector: "minister-reports",
// encapsulation: ViewEncapsulation.None, // encapsulation: ViewEncapsulation.None,
template: ` template: `
<div style="min-height: 500px; "> <div style="min-height: 500px; ">
<h5> >Επιλογή Αναφοράς<br><br></h5> <h5> >Επιλογή Αναφοράς<br><br></h5>
<div class="col-md-1"> <div class="col-md-1">
......
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 { Injectable } from "@angular/core";
import { AppSettings } from "../../app.settings"; import { FormBuilder, FormGroup } from "@angular/forms";
import { HelperDataService } from "../../services/helper-data-service"