blob: 7171e730e2b8602d87c966aa851d34b51be48dc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import { Component, OnInit } from '@angular/core';
import { DslDefinition } from '../mapping-models/CBAPacakge.model';
import { PackageCreationStore } from '../package-creation.store';
@Component({
selector: 'app-dsl-definitions-tab',
templateUrl: './dsl-definitions-tab.component.html',
styleUrls: ['./dsl-definitions-tab.component.css']
})
export class DslDefinitionsTabComponent implements OnInit {
dslDefinition: DslDefinition = new DslDefinition();
lang = 'json';
constructor(private packageCreationStore: PackageCreationStore) {
}
ngOnInit() {
this.packageCreationStore.changeDslDefinition(this.dslDefinition);
}
textChanged(event) {
console.log('event changed');
}
}
|