aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/ui/canvas-zone/zone-container.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/components/ui/canvas-zone/zone-container.component.ts')
-rw-r--r--catalog-ui/src/app/ng2/components/ui/canvas-zone/zone-container.component.ts35
1 files changed, 0 insertions, 35 deletions
diff --git a/catalog-ui/src/app/ng2/components/ui/canvas-zone/zone-container.component.ts b/catalog-ui/src/app/ng2/components/ui/canvas-zone/zone-container.component.ts
deleted file mode 100644
index 4059ad6cae..0000000000
--- a/catalog-ui/src/app/ng2/components/ui/canvas-zone/zone-container.component.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import { Component, Input, Output, ViewEncapsulation, EventEmitter, OnInit } from '@angular/core';
-import { ZoneInstanceType } from '../../../../models/graph/zones/zone-instance';
-
-@Component({
- selector: 'zone-container',
- templateUrl: './zone-container.component.html',
- styleUrls: ['./zone-container.component.less'],
- encapsulation: ViewEncapsulation.None
-})
-
-export class ZoneContainerComponent implements OnInit {
- @Input() title:string;
- @Input() type:ZoneInstanceType;
- @Input() count:number;
- @Input() visible:boolean;
- @Input() minimized:boolean;
- @Output() minimize: EventEmitter<any> = new EventEmitter<any>();
- @Output() backgroundClick: EventEmitter<void> = new EventEmitter<void>();
- private class:string;
-
- constructor() {}
-
- ngOnInit() {
- this.class = ZoneInstanceType[this.type].toLowerCase();
- }
-
- private unminifyZone = () => {
- this.minimize.emit();
- }
-
- private backgroundClicked = () => {
- this.backgroundClick.emit();
- }
-
-} \ No newline at end of file