mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
⚡ change privacy of properties
This commit is contained in:
parent
d9b81d3d8e
commit
d5e5550c54
@ -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() {
|
||||
|
@ -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) {
|
||||
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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() {
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"importHelpers": true,
|
||||
"target": "es2015",
|
||||
"target": "es2018",
|
||||
"typeRoots": [
|
||||
"node_modules/@types"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user