summaryrefslogtreecommitdiffstats
path: root/public/src/app/rule-frame/rule-frame.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'public/src/app/rule-frame/rule-frame.component.ts')
-rw-r--r--public/src/app/rule-frame/rule-frame.component.ts35
1 files changed, 35 insertions, 0 deletions
diff --git a/public/src/app/rule-frame/rule-frame.component.ts b/public/src/app/rule-frame/rule-frame.component.ts
new file mode 100644
index 0000000..4d5f999
--- /dev/null
+++ b/public/src/app/rule-frame/rule-frame.component.ts
@@ -0,0 +1,35 @@
+import { Component, OnDestroy, Input, ViewChild } from '@angular/core';
+import { Store } from '../store/store';
+import { BarIconsComponent } from '../bar-icons/bar-icons.component';
+
+@Component({
+ selector: 'app-rule-frame',
+ templateUrl: './rule-frame.component.html',
+ styleUrls: ['./rule-frame.component.scss']
+})
+export class RuleFrameComponent implements OnDestroy {
+ expandSetting = false;
+ configuration;
+ mappingTarget: string;
+ showHeaderBtn = true;
+ @Input() tabName: string;
+ // @ViewChild(BarIconsComponent) barFormsRef: BarIconsComponent;
+
+ constructor(public store: Store) {
+ this.store.isLeftVisible = true;
+ }
+
+ ngOnDestroy() {}
+
+ onChangeMapping(configurationKey) {
+ console.log('changing ifrmae entry', configurationKey);
+ }
+
+ isPropertyDdl(property) {
+ return property.hasOwnProperty('constraints');
+ }
+
+ enableSetting() {
+ this.expandSetting = !this.expandSetting;
+ }
+}