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

45 lines
1.4 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'
2017-04-11 23:45:59 +03:00
import { ToolbarButtonProvider, TabRecoveryProvider } from 'terminus-core'
2017-03-23 23:42:00 +03:00
import { HotkeyInputComponent } from './components/hotkeyInput'
import { HotkeyDisplayComponent } from './components/hotkeyDisplay'
import { HotkeyInputModalComponent } from './components/hotkeyInputModal'
2017-03-29 15:04:01 +03:00
import { MultiHotkeyInputComponent } from './components/multiHotkeyInput'
2017-04-08 15:50:10 +03:00
import { SettingsTabComponent } from './components/settingsTab'
2017-03-26 23:39:10 +03:00
import { SettingsTabBodyComponent } from './components/settingsTabBody'
2017-03-23 23:42:00 +03:00
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,
2017-04-08 15:50:10 +03:00
SettingsTabComponent,
2017-03-23 23:42:00 +03:00
],
declarations: [
HotkeyDisplayComponent,
HotkeyInputComponent,
HotkeyInputModalComponent,
2017-03-29 15:04:01 +03:00
MultiHotkeyInputComponent,
2017-04-08 15:50:10 +03:00
SettingsTabComponent,
2017-03-26 23:39:10 +03:00
SettingsTabBodyComponent,
2017-03-23 23:42:00 +03:00
],
})
2017-04-11 23:45:59 +03:00
export default class SettingsModule {
2017-03-23 23:42:00 +03:00
}
2017-04-11 23:45:59 +03:00
export * from './api'