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

49 lines
1.8 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
2018-12-22 01:18:22 +03:00
import TerminusCorePlugin, { ToolbarButtonProvider, TabRecoveryProvider, HotkeyProvider, ConfigProvider } 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'
2018-10-31 19:45:42 +03:00
import { SettingsHotkeyProvider } from './hotkeys'
import { SettingsConfigProvider } from './config'
2017-03-25 00:24:12 +03:00
2019-03-07 04:05:26 +03:00
/** @hidden */
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 },
2018-10-31 19:45:42 +03:00
{ provide: TabRecoveryProvider, useClass: RecoveryProvider, multi: true },
{ provide: ConfigProvider, useClass: SettingsConfigProvider, multi: true },
{ provide: HotkeyProvider, useClass: SettingsHotkeyProvider, 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
],
})
2019-06-15 00:47:48 +03:00
export default class SettingsModule { } // eslint-disable-line @typescript-eslint/no-extraneous-class
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 }