mirror of
https://github.com/Eugeny/tabby
synced 2025-01-24 19:05:28 +00:00
47 lines
1.3 KiB
TypeScript
47 lines
1.3 KiB
TypeScript
import { Injectable } from '@angular/core'
|
|
import { SettingsTabProvider } from 'terminus-settings'
|
|
|
|
import { AppearanceSettingsTabComponent } from './components/appearanceSettingsTab.component'
|
|
import { ShellSettingsTabComponent } from './components/shellSettingsTab.component'
|
|
import { TerminalSettingsTabComponent } from './components/terminalSettingsTab.component'
|
|
import { ProfilesSettingsTabComponent } from './components/profilesSettingsTab.component'
|
|
|
|
@Injectable()
|
|
export class AppearanceSettingsTabProvider extends SettingsTabProvider {
|
|
id = 'terminal-appearance'
|
|
title = 'Appearance'
|
|
|
|
getComponentType (): any {
|
|
return AppearanceSettingsTabComponent
|
|
}
|
|
}
|
|
|
|
@Injectable()
|
|
export class ShellSettingsTabProvider extends SettingsTabProvider {
|
|
id = 'terminal-shell'
|
|
title = 'Shell'
|
|
|
|
getComponentType (): any {
|
|
return ShellSettingsTabComponent
|
|
}
|
|
}
|
|
|
|
@Injectable()
|
|
export class TerminalSettingsTabProvider extends SettingsTabProvider {
|
|
id = 'terminal'
|
|
title = 'Terminal'
|
|
|
|
getComponentType (): any {
|
|
return TerminalSettingsTabComponent
|
|
}
|
|
}
|
|
|
|
@Injectable()
|
|
export class ProfilesSettingsTabProvider extends SettingsTabProvider {
|
|
id = 'profiles'
|
|
title = 'Profiles'
|
|
|
|
getComponentType (): any {
|
|
return ProfilesSettingsTabComponent
|
|
}
|
|
}
|