Create intial config setup modal
remove the registry title
This commit is contained in:
parent
e250f4ebe6
commit
690b7674e7
9 changed files with 121 additions and 18 deletions
|
|
@ -0,0 +1,25 @@
|
|||
import { Input, Component, Inject } from 'ng-metadata/core';
|
||||
const templateUrl = require('./config-setup-app.component.html');
|
||||
|
||||
/**
|
||||
* Initial Screen and Choice in the Config App
|
||||
*/
|
||||
@Component({
|
||||
selector: 'config-setup-app',
|
||||
templateUrl: templateUrl,
|
||||
})
|
||||
export class ConfigSetupAppComponent {
|
||||
private state: 'choice' | 'setup' | 'load';
|
||||
|
||||
constructor() {
|
||||
this.state = 'choice';
|
||||
}
|
||||
|
||||
private chooseSetup(): void {
|
||||
this.state = 'setup';
|
||||
}
|
||||
|
||||
private chooseLoad(): void {
|
||||
this.state = 'load';
|
||||
}
|
||||
}
|
||||
Reference in a new issue