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

46 lines
1.5 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-06-04 19:58:00 +03:00
import { NgPipesModule } from 'ngx-pipes'
2017-04-16 21:06:29 +03:00
2017-04-11 23:45:59 +03:00
import { ToolbarButtonProvider, TabRecoveryProvider } from 'terminus-core'
2018-08-26 23:27:50 +03:00
import TerminusCorePlugin from 'terminus-core'
2017-03-23 23:42:00 +03:00
2017-04-16 21:38:42 +03:00
import { HotkeyInputModalComponent } from './components/hotkeyInputModal.component'
import { MultiHotkeyInputComponent } from './components/multiHotkeyInput.component'
import { SettingsTabComponent } from './components/settingsTab.component'
import { SettingsTabBodyComponent } from './components/settingsTabBody.component'
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,
2017-06-04 19:58:00 +03:00
NgPipesModule,
2018-08-26 23:27:50 +03:00
TerminusCorePlugin,
2017-03-23 23:42:00 +03:00
],
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: [
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'
2017-11-04 21:06:58 +03:00
export { SettingsTabComponent }