Browse Source

change privacy of properties

develop
tykayn 3 years ago
parent
commit
d5e5550c54
  1. 4
      src/app/debugger/debugger.component.ts
  2. 5
      src/app/form-container/form-container.component.ts
  3. 2
      src/app/pages/answers/answers.component.ts
  4. 3
      src/app/pages/base-page/base.component.ts
  5. 2
      src/app/pages/dates/dates.component.ts
  6. 2
      src/app/pages/kind/kind.component.ts
  7. 2
      src/app/pages/pictures/pictures.component.ts
  8. 2
      src/app/pages/resume/resume.component.ts
  9. 18
      src/app/pages/visibility/visibility.component.ts
  10. 2
      src/app/ui/navigation/navigation.component.ts
  11. 2
      tsconfig.json

4
src/app/debugger/debugger.component.ts

@ -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() {

5
src/app/form-container/form-container.component.ts

@ -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) {
}

2
src/app/pages/answers/answers.component.ts

@ -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);

3
src/app/pages/base-page/base.component.ts

@ -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;

2
src/app/pages/dates/dates.component.ts

@ -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);
}

2
src/app/pages/kind/kind.component.ts

@ -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);
}

2
src/app/pages/pictures/pictures.component.ts

@ -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);
}

2
src/app/pages/resume/resume.component.ts

@ -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);
}

18
src/app/pages/visibility/visibility.component.ts

@ -1,19 +1,19 @@
import { Component, OnInit } from '@angular/core';
import {Component, OnInit} from '@angular/core';
import {BaseComponent} from '../base-page/base.component';
import {ConfigService} from '../../config.service';
@Component({
selector: 'framadate-visibility',
templateUrl: './visibility.component.html',
styleUrls: ['./visibility.component.scss']
selector: 'framadate-visibility',
templateUrl: './visibility.component.html',
styleUrls: ['./visibility.component.scss']
})
export class VisibilityComponent extends BaseComponent implements OnInit {
constructor(config: ConfigService) {
super(config);
}
constructor(public config: ConfigService) {
super(config);
}
ngOnInit() {
}
ngOnInit() {
}
}

2
src/app/ui/navigation/navigation.component.ts

@ -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);
}

2
tsconfig.json

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

Loading…
Cancel
Save