1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-21 09:31:44 +03:00
tabby/app/src/settings/index.ts

45 lines
1.3 KiB
TypeScript
Raw Normal View History

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-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,
],
})
class SettingsModule {
}
export default SettingsModule