mirror of
https://github.com/Eugeny/tabby
synced 2025-01-19 00:24:18 +00:00
1e5cfd1d4b
New standard theme that follows your chosen terminal colors, Bootstrap 5 & Angular 15 upgrade
31 lines
1.3 KiB
TypeScript
31 lines
1.3 KiB
TypeScript
import { NgModule } from '@angular/core'
|
|
import { CommonModule } from '@angular/common'
|
|
import { ConfigProvider, HostAppService, HostWindowService, LogService, PlatformService, UpdaterService } from 'tabby-core'
|
|
|
|
import { WebPlatformService } from './platform'
|
|
import { ConsoleLogService } from './services/log.service'
|
|
import { NullUpdaterService } from './services/updater.service'
|
|
import { WebHostWindow } from './services/hostWindow.service'
|
|
import { WebHostApp } from './services/hostApp.service'
|
|
import { MessageBoxModalComponent } from './components/messageBoxModal.component'
|
|
import { WebConfigProvider } from './config'
|
|
|
|
import './styles.scss'
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
],
|
|
providers: [
|
|
{ provide: PlatformService, useClass: WebPlatformService },
|
|
{ provide: LogService, useClass: ConsoleLogService },
|
|
{ provide: UpdaterService, useClass: NullUpdaterService },
|
|
{ provide: HostWindowService, useClass: WebHostWindow },
|
|
{ provide: HostAppService, useClass: WebHostApp },
|
|
{ provide: ConfigProvider, useClass: WebConfigProvider, multi: true },
|
|
],
|
|
declarations: [
|
|
MessageBoxModalComponent,
|
|
],
|
|
})
|
|
export default class WebModule { } // eslint-disable-line @typescript-eslint/no-extraneous-class
|