2017-03-23 23:42:00 +03:00
|
|
|
import { NgModule } from '@angular/core'
|
2017-03-25 20:12:43 +03:00
|
|
|
import { BrowserModule } from '@angular/platform-browser'
|
2017-03-23 23:42:00 +03:00
|
|
|
import { FormsModule } from '@angular/forms'
|
|
|
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'
|
|
|
|
|
|
|
|
import { HotkeyInputComponent } from './components/hotkeyInput'
|
|
|
|
import { HotkeyDisplayComponent } from './components/hotkeyDisplay'
|
|
|
|
import { HotkeyHintComponent } from './components/hotkeyHint'
|
|
|
|
import { HotkeyInputModalComponent } from './components/hotkeyInputModal'
|
|
|
|
import { SettingsPaneComponent } from './components/settingsPane'
|
2017-03-26 23:39:10 +03:00
|
|
|
import { SettingsTabBodyComponent } from './components/settingsTabBody'
|
2017-03-23 23:42:00 +03:00
|
|
|
|
2017-03-25 20:12:43 +03:00
|
|
|
import { ToolbarButtonProvider, TabRecoveryProvider } from 'api'
|
2017-03-25 00:24:12 +03:00
|
|
|
|
|
|
|
import { ButtonProvider } from './buttonProvider'
|
2017-03-25 01:29:54 +03:00
|
|
|
import { RecoveryProvider } from './recoveryProvider'
|
2017-03-25 00:24:12 +03:00
|
|
|
|
2017-03-23 23:42:00 +03:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
FormsModule,
|
|
|
|
NgbModule,
|
|
|
|
],
|
|
|
|
providers: [
|
2017-03-25 20:12:43 +03:00
|
|
|
{ provide: ToolbarButtonProvider, useClass: ButtonProvider, multi: true },
|
|
|
|
{ provide: TabRecoveryProvider, useClass: RecoveryProvider, multi: true }
|
2017-03-23 23:42:00 +03:00
|
|
|
],
|
|
|
|
entryComponents: [
|
|
|
|
HotkeyInputModalComponent,
|
|
|
|
SettingsPaneComponent,
|
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
HotkeyDisplayComponent,
|
|
|
|
HotkeyHintComponent,
|
|
|
|
HotkeyInputComponent,
|
|
|
|
HotkeyInputModalComponent,
|
|
|
|
SettingsPaneComponent,
|
2017-03-26 23:39:10 +03:00
|
|
|
SettingsTabBodyComponent,
|
2017-03-23 23:42:00 +03:00
|
|
|
],
|
|
|
|
})
|
|
|
|
class SettingsModule {
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export default SettingsModule
|