mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-26 13:10:36 +03:00
build fix
This commit is contained in:
parent
3b321858d2
commit
91f3b78b80
@ -1,5 +1,5 @@
|
|||||||
import { Component, Input, Injector } from '@angular/core'
|
import { Component, Input, Injector } from '@angular/core'
|
||||||
import { BaseTabProcess, WIN_BUILD_CONPTY_SUPPORTED, isWindowsBuild, TranslateService } from 'tabby-core'
|
import { BaseTabProcess, WIN_BUILD_CONPTY_SUPPORTED, isWindowsBuild } from 'tabby-core'
|
||||||
import { BaseTerminalTabComponent } from 'tabby-terminal'
|
import { BaseTerminalTabComponent } from 'tabby-terminal'
|
||||||
import { LocalProfile, SessionOptions } from '../api'
|
import { LocalProfile, SessionOptions } from '../api'
|
||||||
import { Session } from '../session'
|
import { Session } from '../session'
|
||||||
@ -20,7 +20,6 @@ export class TerminalTabComponent extends BaseTerminalTabComponent {
|
|||||||
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
||||||
constructor (
|
constructor (
|
||||||
injector: Injector,
|
injector: Injector,
|
||||||
private translate: TranslateService,
|
|
||||||
private uac: UACService,
|
private uac: UACService,
|
||||||
) {
|
) {
|
||||||
super(injector)
|
super(injector)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import colors from 'ansi-colors'
|
import colors from 'ansi-colors'
|
||||||
import { Component, Injector } from '@angular/core'
|
import { Component, Injector } from '@angular/core'
|
||||||
import { first } from 'rxjs'
|
import { first } from 'rxjs'
|
||||||
import { Platform, SelectorService, TranslateService } from 'tabby-core'
|
import { Platform, SelectorService } from 'tabby-core'
|
||||||
import { BaseTerminalTabComponent } from 'tabby-terminal'
|
import { BaseTerminalTabComponent } from 'tabby-terminal'
|
||||||
import { SerialSession, BAUD_RATES, SerialProfile } from '../api'
|
import { SerialSession, BAUD_RATES, SerialProfile } from '../api'
|
||||||
|
|
||||||
@ -23,7 +23,6 @@ export class SerialTabComponent extends BaseTerminalTabComponent {
|
|||||||
constructor (
|
constructor (
|
||||||
injector: Injector,
|
injector: Injector,
|
||||||
private selector: SelectorService,
|
private selector: SelectorService,
|
||||||
private translate: TranslateService,
|
|
||||||
) {
|
) {
|
||||||
super(injector)
|
super(injector)
|
||||||
this.enableToolbar = true
|
this.enableToolbar = true
|
||||||
|
@ -2,7 +2,7 @@ import colors from 'ansi-colors'
|
|||||||
import { Component, Injector, HostListener } from '@angular/core'
|
import { Component, Injector, HostListener } from '@angular/core'
|
||||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
|
||||||
import { first } from 'rxjs'
|
import { first } from 'rxjs'
|
||||||
import { Platform, ProfilesService, RecoveryToken, TranslateService } from 'tabby-core'
|
import { Platform, ProfilesService, RecoveryToken } from 'tabby-core'
|
||||||
import { BaseTerminalTabComponent } from 'tabby-terminal'
|
import { BaseTerminalTabComponent } from 'tabby-terminal'
|
||||||
import { SSHService } from '../services/ssh.service'
|
import { SSHService } from '../services/ssh.service'
|
||||||
import { KeyboardInteractivePrompt, SSHSession } from '../session/ssh'
|
import { KeyboardInteractivePrompt, SSHSession } from '../session/ssh'
|
||||||
@ -36,7 +36,6 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
|
|||||||
private ngbModal: NgbModal,
|
private ngbModal: NgbModal,
|
||||||
private profilesService: ProfilesService,
|
private profilesService: ProfilesService,
|
||||||
private sshMultiplexer: SSHMultiplexerService,
|
private sshMultiplexer: SSHMultiplexerService,
|
||||||
private translate: TranslateService,
|
|
||||||
) {
|
) {
|
||||||
super(injector)
|
super(injector)
|
||||||
this.sessionChanged$.subscribe(() => {
|
this.sessionChanged$.subscribe(() => {
|
||||||
|
@ -82,10 +82,10 @@ export class SSHSession {
|
|||||||
private zone: NgZone
|
private zone: NgZone
|
||||||
private fileProviders: FileProvidersService
|
private fileProviders: FileProvidersService
|
||||||
private config: ConfigService
|
private config: ConfigService
|
||||||
|
private translate: TranslateService
|
||||||
|
|
||||||
constructor (
|
constructor (
|
||||||
private injector: Injector,
|
private injector: Injector,
|
||||||
private translate: TranslateService,
|
|
||||||
public profile: SSHProfile,
|
public profile: SSHProfile,
|
||||||
) {
|
) {
|
||||||
this.logger = injector.get(LogService).create(`ssh-${profile.options.host}-${profile.options.port}`)
|
this.logger = injector.get(LogService).create(`ssh-${profile.options.host}-${profile.options.port}`)
|
||||||
@ -98,6 +98,7 @@ export class SSHSession {
|
|||||||
this.zone = injector.get(NgZone)
|
this.zone = injector.get(NgZone)
|
||||||
this.fileProviders = injector.get(FileProvidersService)
|
this.fileProviders = injector.get(FileProvidersService)
|
||||||
this.config = injector.get(ConfigService)
|
this.config = injector.get(ConfigService)
|
||||||
|
this.translate = injector.get(TranslateService)
|
||||||
|
|
||||||
this.willDestroy$.subscribe(() => {
|
this.willDestroy$.subscribe(() => {
|
||||||
for (const port of this.forwardedPorts) {
|
for (const port of this.forwardedPorts) {
|
||||||
|
Loading…
Reference in New Issue
Block a user