Refactor: use index files and short import paths.
This commit is contained in:
7
src/components/popover/tab/index.ts
Normal file
7
src/components/popover/tab/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export * from './tab';
|
||||
export { KeymapTabComponent } from './keymap';
|
||||
export { KeypressTabComponent } from './keypress';
|
||||
export { LayerTabComponent } from './layer';
|
||||
export { MacroTabComponent } from './macro';
|
||||
export { MouseTabComponent } from './mouse';
|
||||
export { NoneTabComponent } from './none';
|
||||
1
src/components/popover/tab/keymap/index.ts
Normal file
1
src/components/popover/tab/keymap/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './keymap-tab.component';
|
||||
@@ -3,7 +3,7 @@ import {Component, OnInit, Input} from '@angular/core';
|
||||
import {UhkConfigurationService} from '../../../../services/uhk-configuration.service';
|
||||
import {Keymap} from '../../../../../config-serializer/config-items/Keymap';
|
||||
import {KeyAction} from '../../../../../config-serializer/config-items/KeyAction';
|
||||
import {SvgKeyboardComponent} from '../../../svg/keyboard/svg-keyboard.component';
|
||||
import {SvgKeyboardComponent} from '../../../svg/keyboard';
|
||||
import {Tab} from '../tab';
|
||||
import {SwitchKeymapAction} from '../../../../../config-serializer/config-items/SwitchKeymapAction';
|
||||
|
||||
|
||||
1
src/components/popover/tab/keypress/index.ts
Normal file
1
src/components/popover/tab/keypress/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './keypress-tab.component';
|
||||
@@ -5,8 +5,8 @@ import {Select2Component, Select2OptionData} from 'ng2-select2/ng2-select2';
|
||||
import {KeyAction} from '../../../../../config-serializer/config-items/KeyAction';
|
||||
import {KeystrokeAction} from '../../../../../config-serializer/config-items/KeystrokeAction';
|
||||
|
||||
import {IconComponent} from '../../widgets/icon/icon.component';
|
||||
import {CaptureKeystrokeButtonComponent} from '../../widgets/capture-keystroke/capture-keystroke-button.component';
|
||||
import {IconComponent} from '../../widgets/icon';
|
||||
import {CaptureKeystrokeButtonComponent} from '../../widgets/capture-keystroke';
|
||||
import {Tab} from '../tab';
|
||||
|
||||
@Component({
|
||||
|
||||
1
src/components/popover/tab/layer/index.ts
Normal file
1
src/components/popover/tab/layer/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './layer-tab.component';
|
||||
2
src/components/popover/tab/macro/index.ts
Normal file
2
src/components/popover/tab/macro/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from './macro-item.component';
|
||||
export * from './macro-tab.component';
|
||||
@@ -9,7 +9,7 @@ import {ReleaseModifiersMacroAction} from '../../../../../config-serializer/conf
|
||||
import {ScrollMouseMacroAction} from '../../../../../config-serializer/config-items/ScrollMouseMacroAction';
|
||||
import {TextMacroAction} from '../../../../../config-serializer/config-items/TextMacroAction';
|
||||
|
||||
import {IconComponent} from '../../widgets/icon/icon.component';
|
||||
import {IconComponent} from '../../widgets/icon';
|
||||
|
||||
import {KeyModifiers} from '../../../../../config-serializer/config-items/KeyModifiers';
|
||||
|
||||
|
||||
1
src/components/popover/tab/mouse/index.ts
Normal file
1
src/components/popover/tab/mouse/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './mouse-tab.component';
|
||||
1
src/components/popover/tab/none/index.ts
Normal file
1
src/components/popover/tab/none/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './none-tab.component';
|
||||
Reference in New Issue
Block a user