2017-03-26 20:39:10 +00:00
|
|
|
import { Injectable } from '@angular/core'
|
2017-11-27 15:30:59 +00:00
|
|
|
import { SettingsTabProvider } from 'terminus-settings'
|
2017-04-11 00:22:48 +00:00
|
|
|
|
2018-10-12 14:55:42 +00:00
|
|
|
import { AppearanceSettingsTabComponent } from './components/appearanceSettingsTab.component'
|
|
|
|
import { ShellSettingsTabComponent } from './components/shellSettingsTab.component'
|
2017-04-16 18:38:42 +00:00
|
|
|
import { TerminalSettingsTabComponent } from './components/terminalSettingsTab.component'
|
2017-03-26 20:39:10 +00:00
|
|
|
|
2019-03-07 01:05:26 +00:00
|
|
|
/** @hidden */
|
2018-10-12 14:55:42 +00:00
|
|
|
@Injectable()
|
|
|
|
export class AppearanceSettingsTabProvider extends SettingsTabProvider {
|
|
|
|
id = 'terminal-appearance'
|
2019-01-03 14:19:50 +00:00
|
|
|
icon = 'palette'
|
2018-10-12 14:55:42 +00:00
|
|
|
title = 'Appearance'
|
|
|
|
|
|
|
|
getComponentType (): any {
|
|
|
|
return AppearanceSettingsTabComponent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-07 01:05:26 +00:00
|
|
|
/** @hidden */
|
2018-10-12 14:55:42 +00:00
|
|
|
@Injectable()
|
|
|
|
export class ShellSettingsTabProvider extends SettingsTabProvider {
|
|
|
|
id = 'terminal-shell'
|
2019-01-03 14:19:50 +00:00
|
|
|
icon = 'list-ul'
|
2018-10-12 14:55:42 +00:00
|
|
|
title = 'Shell'
|
|
|
|
|
|
|
|
getComponentType (): any {
|
|
|
|
return ShellSettingsTabComponent
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-07 01:05:26 +00:00
|
|
|
/** @hidden */
|
2017-03-26 20:39:10 +00:00
|
|
|
@Injectable()
|
2017-04-14 13:30:19 +00:00
|
|
|
export class TerminalSettingsTabProvider extends SettingsTabProvider {
|
2017-11-04 18:06:58 +00:00
|
|
|
id = 'terminal'
|
2019-01-03 14:19:50 +00:00
|
|
|
icon = 'terminal'
|
2017-03-26 20:39:10 +00:00
|
|
|
title = 'Terminal'
|
|
|
|
|
2017-11-27 15:30:59 +00:00
|
|
|
getComponentType (): any {
|
2017-04-14 13:30:19 +00:00
|
|
|
return TerminalSettingsTabComponent
|
2017-03-26 20:39:10 +00:00
|
|
|
}
|
|
|
|
}
|