change privacy of properties

This commit is contained in:
tykayn 2019-08-11 16:21:49 +02:00
parent d9b81d3d8e
commit d5e5550c54
11 changed files with 20 additions and 24 deletions

View File

@ -7,9 +7,9 @@ import {ConfigService} from '../config.service';
styleUrls: ['./debugger.component.scss']
})
export class DebuggerComponent implements OnInit {
private formIsValid = true;
formIsValid = true;
constructor(private config: ConfigService) {
constructor(public config: ConfigService) {
}
ngOnInit() {

View File

@ -14,10 +14,7 @@ import {ConfigService} from '../config.service';
*/
export class FormContainerComponent implements OnInit {
private progressionStep = 0;
constructor(private config: ConfigService) {
constructor(public config: ConfigService) {
}

View File

@ -13,7 +13,7 @@ export class AnswersComponent extends BaseComponent implements OnInit {
private answerList = [];
constructor(config: ConfigService,
constructor(public config: ConfigService,
@Inject(DOCUMENT) private document: any,
private cd: ChangeDetectorRef) {
super(config);

View File

@ -11,14 +11,13 @@ import {ConfigService} from '../../config.service';
*/
export class BaseComponent implements OnInit {
constructor(protected config: ConfigService) {
constructor(config: ConfigService) {
}
ngOnInit() {
}
checkValidity() {
// TODO with form controls
return true;

View File

@ -9,7 +9,7 @@ import {BaseComponent} from '../base-page/base.component';
})
export class DatesComponent extends BaseComponent implements OnInit {
constructor(config: ConfigService) {
constructor(public config: ConfigService) {
super(config);
}

View File

@ -9,7 +9,7 @@ import {ConfigService} from '../../config.service';
})
export class KindComponent extends BaseComponent implements OnInit {
constructor(config: ConfigService) {
constructor(public config: ConfigService) {
super(config);
}

View File

@ -9,7 +9,7 @@ import {BaseComponent} from '../base-page/base.component';
})
export class PicturesComponent extends BaseComponent implements OnInit {
constructor(config: ConfigService) {
constructor(public config: ConfigService) {
super(config);
}

View File

@ -9,7 +9,7 @@ import {ConfigService} from '../../config.service';
})
export class ResumeComponent extends BaseComponent implements OnInit {
constructor(config: ConfigService) {
constructor(public config: ConfigService) {
super(config);
}

View File

@ -9,7 +9,7 @@ import {ConfigService} from '../../config.service';
})
export class VisibilityComponent extends BaseComponent implements OnInit {
constructor(config: ConfigService) {
constructor(public config: ConfigService) {
super(config);
}

View File

@ -9,7 +9,7 @@ import {ConfigService} from '../../config.service';
})
export class NavigationComponent extends BaseComponent implements OnInit {
constructor(config: ConfigService) {
constructor(public config: ConfigService) {
super(config);
}

View File

@ -10,7 +10,7 @@
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"target": "es2018",
"typeRoots": [
"node_modules/@types"
],