Update to angular2-rc.6
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
import { Component, OnInit, Input, Output, EventEmitter} from '@angular/core';
|
||||
|
||||
import {Module} from '../../../config-serializer/config-items/Module';
|
||||
import {SvgModule, SvgModuleComponent} from '../module';
|
||||
import {SvgModule} from '../module';
|
||||
import {DataProviderService} from '../../../services/data-provider.service';
|
||||
|
||||
@Component({
|
||||
selector: 'svg-keyboard',
|
||||
template: require('./svg-keyboard.component.html'),
|
||||
styles: [require('./svg-keyboard.component.scss')],
|
||||
directives: [SvgModuleComponent]
|
||||
styles: [require('./svg-keyboard.component.scss')]
|
||||
})
|
||||
export class SvgKeyboardComponent implements OnInit {
|
||||
@Input() moduleConfig: Module[];
|
||||
|
||||
@@ -10,11 +10,6 @@ import {UhkConfiguration} from '../../../../config-serializer/config-items/UhkCo
|
||||
import {UhkConfigurationService} from '../../../../services/uhk-configuration.service';
|
||||
import {MapperService} from '../../../../services/mapper.service';
|
||||
|
||||
import {SvgSingleIconKeyComponent} from '../svg-single-icon-key';
|
||||
import {SvgTextIconKeyComponent} from '../svg-text-icon-key';
|
||||
import {SvgIconTextKeyComponent} from '../svg-icon-text-key';
|
||||
import {SvgSwitchKeymapKeyComponent} from '../svg-switch-keymap-key';
|
||||
|
||||
enum LabelTypes {
|
||||
KeystrokeKey,
|
||||
OneLineText,
|
||||
@@ -27,14 +22,7 @@ enum LabelTypes {
|
||||
|
||||
@Component({
|
||||
selector: 'g[svg-keyboard-key]',
|
||||
template: require('./svg-keyboard-key.component.html'),
|
||||
directives:
|
||||
[
|
||||
SvgSingleIconKeyComponent,
|
||||
SvgTextIconKeyComponent,
|
||||
SvgIconTextKeyComponent,
|
||||
SvgSwitchKeymapKeyComponent
|
||||
]
|
||||
template: require('./svg-keyboard-key.component.html')
|
||||
})
|
||||
export class SvgKeyboardKeyComponent implements OnInit, OnChanges {
|
||||
@Input() id: string;
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
||||
|
||||
import { SvgKeyboardKey, SvgKeyboardKeyComponent } from '../keys';
|
||||
import { SvgKeyboardKey } from '../keys';
|
||||
import {KeyAction} from '../../../config-serializer/config-items/KeyAction';
|
||||
|
||||
@Component({
|
||||
selector: 'g[svg-module]',
|
||||
template: require('./svg-module.component.html'),
|
||||
styles: [require('./svg-module.component.scss')],
|
||||
directives: [SvgKeyboardKeyComponent]
|
||||
styles: [require('./svg-module.component.scss')]
|
||||
})
|
||||
export class SvgModuleComponent {
|
||||
@Input() coverages: any[];
|
||||
|
||||
Reference in New Issue
Block a user