Update to angular2-rc.6

This commit is contained in:
Farkas József
2016-09-01 17:44:51 +02:00
parent 5367346990
commit a1020982b8
20 changed files with 90 additions and 106 deletions

View File

@@ -1,15 +1,7 @@
import {Component, OnInit, Input, Output, EventEmitter, ViewChild} from '@angular/core';
import {NgSwitch, NgSwitchCase} from '@angular/common';
import {KeyAction} from '../../config-serializer/config-items/KeyAction';
import {KeypressTabComponent} from './tab/keypress/keypress-tab.component';
import {LayerTabComponent} from './tab/layer/layer-tab.component';
import {MouseTabComponent} from './tab/mouse/mouse-tab.component';
import {MacroTabComponent} from './tab/macro/macro-tab.component';
import {KeymapTabComponent} from './tab/keymap/keymap-tab.component';
import {NoneTabComponent} from './tab/none/none-tab.component';
import {Tab} from './tab/tab';
import {KeystrokeAction} from '../../config-serializer/config-items/KeystrokeAction';
import {SwitchLayerAction} from '../../config-serializer/config-items/SwitchLayerAction';
@@ -30,18 +22,7 @@ enum TabName {
selector: 'popover',
template: require('./popover.component.html'),
styles: [require('./popover.component.scss')],
host: { 'class': 'popover' },
directives:
[
NgSwitch,
NgSwitchCase,
KeypressTabComponent,
LayerTabComponent,
MouseTabComponent,
MacroTabComponent,
KeymapTabComponent,
NoneTabComponent
]
host: { 'class': 'popover' }
})
export class PopoverComponent implements OnInit {
@Input() defaultKeyAction: KeyAction;