mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-22 20:40:08 +00:00
37 lines
1.1 KiB
TypeScript
37 lines
1.1 KiB
TypeScript
import { NgModule } from '@angular/core'
|
|
import { BrowserModule } from '@angular/platform-browser'
|
|
import { FormsModule } from '@angular/forms'
|
|
import { NgPipesModule } from 'ngx-pipes'
|
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'
|
|
|
|
import { ConfigProvider } from 'terminus-core'
|
|
import { SettingsTabProvider } from 'terminus-settings'
|
|
|
|
import { PluginsSettingsTabComponent } from './components/pluginsSettingsTab.component'
|
|
import { PluginManagerService } from './services/pluginManager.service'
|
|
import { PluginsConfigProvider } from './config'
|
|
import { PluginsSettingsTabProvider } from './settings'
|
|
|
|
@NgModule({
|
|
imports: [
|
|
BrowserModule,
|
|
FormsModule,
|
|
NgbModule,
|
|
NgPipesModule,
|
|
],
|
|
providers: [
|
|
{ provide: SettingsTabProvider, useClass: PluginsSettingsTabProvider, multi: true },
|
|
{ provide: ConfigProvider, useClass: PluginsConfigProvider, multi: true },
|
|
PluginManagerService,
|
|
],
|
|
entryComponents: [
|
|
PluginsSettingsTabComponent,
|
|
],
|
|
declarations: [
|
|
PluginsSettingsTabComponent,
|
|
],
|
|
})
|
|
export default class PluginManagerModule { }
|
|
|
|
export { PluginManagerService }
|