2017-04-15 19:04:49 +02:00
|
|
|
import {Component, OnInit} from '@angular/core';
|
2018-08-31 22:56:18 +02:00
|
|
|
import {InputComponentManagerService} from './input-component-manager.service';
|
2017-04-15 19:04:49 +02:00
|
|
|
import {Step} from './step';
|
2017-03-14 17:35:36 +01:00
|
|
|
|
2016-06-06 15:56:19 +02:00
|
|
|
@Component({
|
2017-04-08 00:24:44 +02:00
|
|
|
selector: 'app-root',
|
|
|
|
templateUrl: './app.component.html',
|
2017-11-07 23:29:36 +01:00
|
|
|
styleUrls: ['./app.component.scss']
|
2016-06-06 15:56:19 +02:00
|
|
|
})
|
2017-04-08 00:24:44 +02:00
|
|
|
export class AppComponent implements OnInit {
|
|
|
|
public steps: Step[] = [];
|
2016-09-20 20:30:39 +02:00
|
|
|
|
2018-09-06 14:37:20 +02:00
|
|
|
constructor(private inputComponentManagerService: InputComponentManagerService) {
|
2017-04-08 00:24:44 +02:00
|
|
|
}
|
2016-09-20 20:30:39 +02:00
|
|
|
|
2017-04-08 00:24:44 +02:00
|
|
|
ngOnInit(): void {
|
|
|
|
this.steps = this.inputComponentManagerService.getAllComponents();
|
|
|
|
this.inputComponentManagerService.getFirst();
|
|
|
|
}
|
2016-06-06 15:56:19 +02:00
|
|
|
}
|