diff --git a/terminus-plugin-manager/src/components/pluginsSettingsTab.component.ts b/terminus-plugin-manager/src/components/pluginsSettingsTab.component.ts index 07055b0b..6d9579e6 100644 --- a/terminus-plugin-manager/src/components/pluginsSettingsTab.component.ts +++ b/terminus-plugin-manager/src/components/pluginsSettingsTab.component.ts @@ -8,6 +8,7 @@ import { IPluginInfo, PluginManagerService } from '../services/pluginManager.ser enum BusyState { Installing, Uninstalling } +/** @hidden */ @Component({ template: require('./pluginsSettingsTab.component.pug'), styles: [require('./pluginsSettingsTab.component.scss')], diff --git a/terminus-plugin-manager/src/config.ts b/terminus-plugin-manager/src/config.ts deleted file mode 100644 index 9ea4ee4d..00000000 --- a/terminus-plugin-manager/src/config.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ConfigProvider } from 'terminus-core' - -export class PluginsConfigProvider extends ConfigProvider { - defaults = { - npm: 'npm', - } -} diff --git a/terminus-plugin-manager/src/index.ts b/terminus-plugin-manager/src/index.ts index ca1c2c1c..d9d74588 100644 --- a/terminus-plugin-manager/src/index.ts +++ b/terminus-plugin-manager/src/index.ts @@ -4,12 +4,10 @@ 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({ @@ -21,7 +19,6 @@ import { PluginsSettingsTabProvider } from './settings' ], providers: [ { provide: SettingsTabProvider, useClass: PluginsSettingsTabProvider, multi: true }, - { provide: ConfigProvider, useClass: PluginsConfigProvider, multi: true }, ], entryComponents: [ PluginsSettingsTabComponent, diff --git a/terminus-plugin-manager/src/settings.ts b/terminus-plugin-manager/src/settings.ts index a82be7d6..9405ed22 100644 --- a/terminus-plugin-manager/src/settings.ts +++ b/terminus-plugin-manager/src/settings.ts @@ -3,6 +3,7 @@ import { SettingsTabProvider } from 'terminus-settings' import { PluginsSettingsTabComponent } from './components/pluginsSettingsTab.component' +/** @hidden */ @Injectable() export class PluginsSettingsTabProvider extends SettingsTabProvider { id = 'plugins' diff --git a/terminus-settings/src/buttonProvider.ts b/terminus-settings/src/buttonProvider.ts index e03b32f2..0cb61a2f 100644 --- a/terminus-settings/src/buttonProvider.ts +++ b/terminus-settings/src/buttonProvider.ts @@ -4,6 +4,7 @@ import { ToolbarButtonProvider, IToolbarButton, AppService, HostAppService, Hotk import { SettingsTabComponent } from './components/settingsTab.component' +/** @hidden */ @Injectable() export class ButtonProvider extends ToolbarButtonProvider { constructor ( diff --git a/terminus-settings/src/components/hotkeyInputModal.component.ts b/terminus-settings/src/components/hotkeyInputModal.component.ts index 332b89a1..9127e3cc 100644 --- a/terminus-settings/src/components/hotkeyInputModal.component.ts +++ b/terminus-settings/src/components/hotkeyInputModal.component.ts @@ -6,6 +6,7 @@ import { HotkeysService } from 'terminus-core' const INPUT_TIMEOUT = 1000 +/** @hidden */ @Component({ selector: 'hotkey-input-modal', template: require('./hotkeyInputModal.component.pug'), diff --git a/terminus-settings/src/components/multiHotkeyInput.component.ts b/terminus-settings/src/components/multiHotkeyInput.component.ts index 4051d99b..b2971bd8 100644 --- a/terminus-settings/src/components/multiHotkeyInput.component.ts +++ b/terminus-settings/src/components/multiHotkeyInput.component.ts @@ -2,6 +2,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from import { NgbModal } from '@ng-bootstrap/ng-bootstrap' import { HotkeyInputModalComponent } from './hotkeyInputModal.component' +/** @hidden */ @Component({ selector: 'multi-hotkey-input', template: require('./multiHotkeyInput.component.pug'), diff --git a/terminus-settings/src/components/settingsTab.component.ts b/terminus-settings/src/components/settingsTab.component.ts index 67d9aeb1..dfa514c3 100644 --- a/terminus-settings/src/components/settingsTab.component.ts +++ b/terminus-settings/src/components/settingsTab.component.ts @@ -18,6 +18,7 @@ import { import { SettingsTabProvider } from '../api' +/** @hidden */ @Component({ selector: 'settings-tab', template: require('./settingsTab.component.pug'), diff --git a/terminus-settings/src/components/settingsTabBody.component.ts b/terminus-settings/src/components/settingsTabBody.component.ts index 6d83b54f..9202faf7 100644 --- a/terminus-settings/src/components/settingsTabBody.component.ts +++ b/terminus-settings/src/components/settingsTabBody.component.ts @@ -1,6 +1,7 @@ import { Component, Input, ViewContainerRef, ViewChild, ComponentFactoryResolver, ComponentRef } from '@angular/core' import { SettingsTabProvider } from '../api' +/** @hidden */ @Component({ selector: 'settings-tab-body', template: '', diff --git a/terminus-settings/src/config.ts b/terminus-settings/src/config.ts index 51c1a35e..e5c79a47 100644 --- a/terminus-settings/src/config.ts +++ b/terminus-settings/src/config.ts @@ -1,5 +1,6 @@ import { ConfigProvider, Platform } from 'terminus-core' +/** @hidden */ export class SettingsConfigProvider extends ConfigProvider { defaults = { } platformDefaults = { diff --git a/terminus-settings/src/hotkeys.ts b/terminus-settings/src/hotkeys.ts index 08585bc1..e506133c 100644 --- a/terminus-settings/src/hotkeys.ts +++ b/terminus-settings/src/hotkeys.ts @@ -1,6 +1,7 @@ import { Injectable } from '@angular/core' import { IHotkeyDescription, HotkeyProvider } from 'terminus-core' +/** @hidden */ @Injectable() export class SettingsHotkeyProvider extends HotkeyProvider { hotkeys: IHotkeyDescription[] = [ diff --git a/terminus-settings/src/index.ts b/terminus-settings/src/index.ts index 1fe0d62d..3bc0ff94 100644 --- a/terminus-settings/src/index.ts +++ b/terminus-settings/src/index.ts @@ -16,6 +16,7 @@ import { RecoveryProvider } from './recoveryProvider' import { SettingsHotkeyProvider } from './hotkeys' import { SettingsConfigProvider } from './config' +/** @hidden */ @NgModule({ imports: [ BrowserModule, diff --git a/terminus-settings/src/recoveryProvider.ts b/terminus-settings/src/recoveryProvider.ts index ae230c33..7ae40eb7 100644 --- a/terminus-settings/src/recoveryProvider.ts +++ b/terminus-settings/src/recoveryProvider.ts @@ -3,6 +3,7 @@ import { TabRecoveryProvider, RecoveredTab } from 'terminus-core' import { SettingsTabComponent } from './components/settingsTab.component' +/** @hidden */ @Injectable() export class RecoveryProvider extends TabRecoveryProvider { async recover (recoveryToken: any): Promise { diff --git a/terminus-ssh/src/buttonProvider.ts b/terminus-ssh/src/buttonProvider.ts index 054821a2..9d7b56f6 100644 --- a/terminus-ssh/src/buttonProvider.ts +++ b/terminus-ssh/src/buttonProvider.ts @@ -4,6 +4,7 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap' import { HotkeysService, ToolbarButtonProvider, IToolbarButton } from 'terminus-core' import { SSHModalComponent } from './components/sshModal.component' +/** @hidden */ @Injectable() export class ButtonProvider extends ToolbarButtonProvider { constructor ( diff --git a/terminus-ssh/src/components/editConnectionModal.component.ts b/terminus-ssh/src/components/editConnectionModal.component.ts index 69bed4bb..f0343d75 100644 --- a/terminus-ssh/src/components/editConnectionModal.component.ts +++ b/terminus-ssh/src/components/editConnectionModal.component.ts @@ -5,6 +5,7 @@ import { PasswordStorageService } from '../services/passwordStorage.service' import { SSHConnection, LoginScript, SSHAlgorithmType } from '../api' import { ALGORITHMS } from 'ssh2-streams/lib/constants' +/** @hidden */ @Component({ template: require('./editConnectionModal.component.pug'), }) diff --git a/terminus-ssh/src/components/promptModal.component.ts b/terminus-ssh/src/components/promptModal.component.ts index e67c10d3..38435e31 100644 --- a/terminus-ssh/src/components/promptModal.component.ts +++ b/terminus-ssh/src/components/promptModal.component.ts @@ -1,6 +1,7 @@ import { Component, Input, ViewChild, ElementRef } from '@angular/core' import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap' +/** @hidden */ @Component({ template: require('./promptModal.component.pug'), }) diff --git a/terminus-ssh/src/components/sshModal.component.ts b/terminus-ssh/src/components/sshModal.component.ts index 735e8bec..bcc66fb1 100644 --- a/terminus-ssh/src/components/sshModal.component.ts +++ b/terminus-ssh/src/components/sshModal.component.ts @@ -6,6 +6,7 @@ import { SettingsTabComponent } from 'terminus-settings' import { SSHService } from '../services/ssh.service' import { SSHConnection, ISSHConnectionGroup } from '../api' +/** @hidden */ @Component({ template: require('./sshModal.component.pug'), styles: [require('./sshModal.component.scss')], diff --git a/terminus-ssh/src/components/sshSettingsTab.component.ts b/terminus-ssh/src/components/sshSettingsTab.component.ts index 0fef7afe..704dce3e 100644 --- a/terminus-ssh/src/components/sshSettingsTab.component.ts +++ b/terminus-ssh/src/components/sshSettingsTab.component.ts @@ -5,6 +5,7 @@ import { SSHConnection, ISSHConnectionGroup } from '../api' import { EditConnectionModalComponent } from './editConnectionModal.component' import { PromptModalComponent } from './promptModal.component' +/** @hidden */ @Component({ template: require('./sshSettingsTab.component.pug'), }) diff --git a/terminus-ssh/src/components/sshTab.component.ts b/terminus-ssh/src/components/sshTab.component.ts index 4950b068..9a213740 100644 --- a/terminus-ssh/src/components/sshTab.component.ts +++ b/terminus-ssh/src/components/sshTab.component.ts @@ -4,6 +4,7 @@ import { BaseTerminalTabComponent } from 'terminus-terminal' import { SSHService } from '../services/ssh.service' import { SSHConnection, SSHSession } from '../api' +/** @hidden */ @Component({ template: `
{ diff --git a/terminus-ssh/src/services/passwordStorage.service.ts b/terminus-ssh/src/services/passwordStorage.service.ts index 56823c57..8cb0e826 100644 --- a/terminus-ssh/src/services/passwordStorage.service.ts +++ b/terminus-ssh/src/services/passwordStorage.service.ts @@ -13,6 +13,7 @@ try { } } +/** @hidden */ @Injectable({ providedIn: 'root' }) export class PasswordStorageService { constructor ( diff --git a/terminus-ssh/src/settings.ts b/terminus-ssh/src/settings.ts index 474d114a..e71b9c4b 100644 --- a/terminus-ssh/src/settings.ts +++ b/terminus-ssh/src/settings.ts @@ -3,6 +3,7 @@ import { SettingsTabProvider } from 'terminus-settings' import { SSHSettingsTabComponent } from './components/sshSettingsTab.component' +/** @hidden */ @Injectable() export class SSHSettingsTabProvider extends SettingsTabProvider { id = 'ssh' diff --git a/terminus-terminal/src/bufferizedPTY.js b/terminus-terminal/src/bufferizedPTY.js index 837086fb..52d6cf60 100644 --- a/terminus-terminal/src/bufferizedPTY.js +++ b/terminus-terminal/src/bufferizedPTY.js @@ -1,3 +1,4 @@ +/** @hidden */ module.exports = function patchPTYModule (mod) { const oldSpawn = mod.spawn if (mod.patched) { diff --git a/terminus-terminal/src/buttonProvider.ts b/terminus-terminal/src/buttonProvider.ts index 52fe6c14..90b877c8 100644 --- a/terminus-terminal/src/buttonProvider.ts +++ b/terminus-terminal/src/buttonProvider.ts @@ -5,6 +5,7 @@ import { HotkeysService, ToolbarButtonProvider, IToolbarButton, HostAppService, import { TerminalService } from './services/terminal.service' +/** @hidden */ @Injectable() export class ButtonProvider extends ToolbarButtonProvider { constructor ( diff --git a/terminus-terminal/src/colorSchemes.ts b/terminus-terminal/src/colorSchemes.ts index 2392adbe..15f1c89b 100644 --- a/terminus-terminal/src/colorSchemes.ts +++ b/terminus-terminal/src/colorSchemes.ts @@ -3,6 +3,7 @@ import * as path from 'path' import { Injectable } from '@angular/core' import { TerminalColorSchemeProvider, ITerminalColorScheme } from './api' +/** @hidden */ @Injectable() export class HyperColorSchemes extends TerminalColorSchemeProvider { async getSchemes (): Promise { diff --git a/terminus-terminal/src/components/appearanceSettingsTab.component.ts b/terminus-terminal/src/components/appearanceSettingsTab.component.ts index de3b4989..b0028127 100644 --- a/terminus-terminal/src/components/appearanceSettingsTab.component.ts +++ b/terminus-terminal/src/components/appearanceSettingsTab.component.ts @@ -8,6 +8,7 @@ import { Component, Inject } from '@angular/core' import { ConfigService, HostAppService, Platform, ElectronService } from 'terminus-core' import { TerminalColorSchemeProvider, ITerminalColorScheme } from '../api' +/** @hidden */ @Component({ template: require('./appearanceSettingsTab.component.pug'), styles: [require('./appearanceSettingsTab.component.scss')], diff --git a/terminus-terminal/src/components/colorPicker.component.ts b/terminus-terminal/src/components/colorPicker.component.ts index c5adf1b0..6b4af11e 100644 --- a/terminus-terminal/src/components/colorPicker.component.ts +++ b/terminus-terminal/src/components/colorPicker.component.ts @@ -1,6 +1,7 @@ import { Component, Input, Output, EventEmitter, HostListener, ViewChild } from '@angular/core' import { NgbPopover } from '@ng-bootstrap/ng-bootstrap' +/** @hidden */ @Component({ selector: 'color-picker', template: require('./colorPicker.component.pug'), diff --git a/terminus-terminal/src/components/editProfileModal.component.ts b/terminus-terminal/src/components/editProfileModal.component.ts index 3cf43f3a..eaa64bc8 100644 --- a/terminus-terminal/src/components/editProfileModal.component.ts +++ b/terminus-terminal/src/components/editProfileModal.component.ts @@ -3,6 +3,7 @@ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap' import { UACService } from '../services/uac.service' import { Profile } from '../api' +/** @hidden */ @Component({ template: require('./editProfileModal.component.pug'), }) diff --git a/terminus-terminal/src/components/environmentEditor.component.ts b/terminus-terminal/src/components/environmentEditor.component.ts index 4440a74f..3f9b5fae 100644 --- a/terminus-terminal/src/components/environmentEditor.component.ts +++ b/terminus-terminal/src/components/environmentEditor.component.ts @@ -1,6 +1,7 @@ import { Component, Output, Input } from '@angular/core' import { Subject } from 'rxjs' +/** @hidden */ @Component({ selector: 'environment-editor', template: require('./environmentEditor.component.pug'), diff --git a/terminus-terminal/src/components/shellSettingsTab.component.ts b/terminus-terminal/src/components/shellSettingsTab.component.ts index 50ffbd68..66ce3d3d 100644 --- a/terminus-terminal/src/components/shellSettingsTab.component.ts +++ b/terminus-terminal/src/components/shellSettingsTab.component.ts @@ -7,6 +7,7 @@ import { IShell, Profile } from '../api' import { TerminalService } from '../services/terminal.service' import { WIN_BUILD_CONPTY_SUPPORTED, WIN_BUILD_CONPTY_STABLE, isWindowsBuild } from '../utils' +/** @hidden */ @Component({ template: require('./shellSettingsTab.component.pug'), }) diff --git a/terminus-terminal/src/components/terminalSettingsTab.component.ts b/terminus-terminal/src/components/terminalSettingsTab.component.ts index 70272ffe..69e4248d 100644 --- a/terminus-terminal/src/components/terminalSettingsTab.component.ts +++ b/terminus-terminal/src/components/terminalSettingsTab.component.ts @@ -2,6 +2,7 @@ import { Component } from '@angular/core' import { ConfigService, ElectronService } from 'terminus-core' import { TerminalService } from '../services/terminal.service' +/** @hidden */ @Component({ template: require('./terminalSettingsTab.component.pug'), }) diff --git a/terminus-terminal/src/config.ts b/terminus-terminal/src/config.ts index 196e8f32..b0660b52 100644 --- a/terminus-terminal/src/config.ts +++ b/terminus-terminal/src/config.ts @@ -1,5 +1,6 @@ import { ConfigProvider, Platform } from 'terminus-core' +/** @hidden */ export class TerminalConfigProvider extends ConfigProvider { defaults = { hotkeys: { diff --git a/terminus-terminal/src/contextMenu.ts b/terminus-terminal/src/contextMenu.ts index 1774bb7e..70617ad0 100644 --- a/terminus-terminal/src/contextMenu.ts +++ b/terminus-terminal/src/contextMenu.ts @@ -6,6 +6,7 @@ import { TerminalService } from './services/terminal.service' import { BaseTerminalTabComponent } from './components/baseTerminalTab.component' import { TerminalContextMenuItemProvider } from './api' +/** @hidden */ @Injectable() export class NewTabContextMenu extends TerminalContextMenuItemProvider { weight = 0 @@ -73,6 +74,7 @@ export class NewTabContextMenu extends TerminalContextMenuItemProvider { } } +/** @hidden */ @Injectable() export class CopyPasteContextMenu extends TerminalContextMenuItemProvider { weight = 1 diff --git a/terminus-terminal/src/hterm.ts b/terminus-terminal/src/frontends/hterm.ts similarity index 99% rename from terminus-terminal/src/hterm.ts rename to terminus-terminal/src/frontends/hterm.ts index c1468507..fc64633c 100644 --- a/terminus-terminal/src/hterm.ts +++ b/terminus-terminal/src/frontends/hterm.ts @@ -1,5 +1,9 @@ +/** @hidden */ export const hterm = require('hterm-umdjs') + hterm.hterm.defaultStorage = new hterm.lib.Storage.Memory() + +/** @hidden */ export const preferenceManager = new hterm.hterm.PreferenceManager('default') hterm.hterm.VT.ESC['k'] = function (parseState) { diff --git a/terminus-terminal/src/hterm.userCSS.scss b/terminus-terminal/src/frontends/hterm.userCSS.scss similarity index 90% rename from terminus-terminal/src/hterm.userCSS.scss rename to terminus-terminal/src/frontends/hterm.userCSS.scss index d88d6e2d..4d3060be 100644 --- a/terminus-terminal/src/hterm.userCSS.scss +++ b/terminus-terminal/src/frontends/hterm.userCSS.scss @@ -31,5 +31,5 @@ x-row > span { @font-face { font-family: "monospace-fallback"; - src: url(fonts/Meslo.otf) format("opentype"); + src: url(../fonts/Meslo.otf) format("opentype"); } diff --git a/terminus-terminal/src/frontends/htermFrontend.ts b/terminus-terminal/src/frontends/htermFrontend.ts index f7503cc3..17c7bd98 100644 --- a/terminus-terminal/src/frontends/htermFrontend.ts +++ b/terminus-terminal/src/frontends/htermFrontend.ts @@ -1,6 +1,7 @@ import { Frontend } from './frontend' -import { hterm, preferenceManager } from '../hterm' +import { hterm, preferenceManager } from './hterm' +/** @hidden */ export class HTermFrontend extends Frontend { term: any io: any @@ -96,7 +97,7 @@ export class HTermFrontend extends Frontend { return } - let css = require('../hterm.userCSS.scss') + let css = require('./hterm.userCSS.scss') if (!config.terminal.ligatures) { css += ` * { diff --git a/terminus-terminal/src/frontends/xtermFrontend.ts b/terminus-terminal/src/frontends/xtermFrontend.ts index 84790074..7b2b134b 100644 --- a/terminus-terminal/src/frontends/xtermFrontend.ts +++ b/terminus-terminal/src/frontends/xtermFrontend.ts @@ -9,6 +9,7 @@ import deepEqual = require('deep-equal') Terminal.applyAddon(fit) Terminal.applyAddon(ligatures) +/** @hidden */ export class XTermFrontend extends Frontend { enableResizing = true xterm: Terminal diff --git a/terminus-terminal/src/hotkeys.ts b/terminus-terminal/src/hotkeys.ts index 23e85179..74a9b0ef 100644 --- a/terminus-terminal/src/hotkeys.ts +++ b/terminus-terminal/src/hotkeys.ts @@ -3,6 +3,7 @@ import { Injectable } from '@angular/core' import { IHotkeyDescription, HotkeyProvider, ConfigService } from 'terminus-core' import { TerminalService } from './services/terminal.service' +/** @hidden */ @Injectable() export class TerminalHotkeyProvider extends HotkeyProvider { hotkeys: IHotkeyDescription[] = [ diff --git a/terminus-terminal/src/index.ts b/terminus-terminal/src/index.ts index 859c5f0a..7fed255e 100644 --- a/terminus-terminal/src/index.ts +++ b/terminus-terminal/src/index.ts @@ -48,8 +48,9 @@ import { WindowsDefaultShellProvider } from './shells/winDefault' import { WindowsStockShellsProvider } from './shells/windowsStock' import { WSLShellProvider } from './shells/wsl' -import { hterm } from './hterm' +import { hterm } from './frontends/hterm' +/** @hidden */ @NgModule({ imports: [ BrowserModule, diff --git a/terminus-terminal/src/pathDrop.ts b/terminus-terminal/src/pathDrop.ts index 88b98f49..c65328f4 100644 --- a/terminus-terminal/src/pathDrop.ts +++ b/terminus-terminal/src/pathDrop.ts @@ -3,6 +3,7 @@ import { Injectable } from '@angular/core' import { TerminalDecorator } from './api' import { TerminalTabComponent } from './components/terminalTab.component' +/** @hidden */ @Injectable() export class PathDropDecorator extends TerminalDecorator { private subscriptions: Subscription[] = [] diff --git a/terminus-terminal/src/recoveryProvider.ts b/terminus-terminal/src/recoveryProvider.ts index c63fcef7..a9a061b1 100644 --- a/terminus-terminal/src/recoveryProvider.ts +++ b/terminus-terminal/src/recoveryProvider.ts @@ -3,6 +3,7 @@ import { TabRecoveryProvider, RecoveredTab } from 'terminus-core' import { TerminalTabComponent } from './components/terminalTab.component' +/** @hidden */ @Injectable() export class RecoveryProvider extends TabRecoveryProvider { async recover (recoveryToken: any): Promise { diff --git a/terminus-terminal/src/services/dockMenu.service.ts b/terminus-terminal/src/services/dockMenu.service.ts index e037059b..103ed623 100644 --- a/terminus-terminal/src/services/dockMenu.service.ts +++ b/terminus-terminal/src/services/dockMenu.service.ts @@ -2,6 +2,7 @@ import { NgZone, Injectable } from '@angular/core' import { ElectronService, ConfigService, HostAppService, Platform } from 'terminus-core' import { TerminalService } from './terminal.service' +/** @hidden */ @Injectable({ providedIn: 'root' }) export class DockMenuService { appVersion: string diff --git a/terminus-terminal/src/services/sessions.service.ts b/terminus-terminal/src/services/sessions.service.ts index b29a376d..596391af 100644 --- a/terminus-terminal/src/services/sessions.service.ts +++ b/terminus-terminal/src/services/sessions.service.ts @@ -78,6 +78,7 @@ export abstract class BaseSession { } } +/** @hidden */ export class Session extends BaseSession { private pty: any private pauseAfterExit = false @@ -310,6 +311,7 @@ export class Session extends BaseSession { } } +/** @hidden */ @Injectable({ providedIn: 'root' }) export class SessionsService { sessions: {[id: string]: BaseSession} = {} diff --git a/terminus-terminal/src/services/uac.service.ts b/terminus-terminal/src/services/uac.service.ts index 5b96e9cb..fb55df8c 100644 --- a/terminus-terminal/src/services/uac.service.ts +++ b/terminus-terminal/src/services/uac.service.ts @@ -5,6 +5,7 @@ import { SessionOptions } from '../api' import { WIN_BUILD_CONPTY_SUPPORTED, isWindowsBuild } from '../utils' +/** @hidden */ @Injectable({ providedIn: 'root' }) export class UACService { isAvailable = false diff --git a/terminus-terminal/src/settings.ts b/terminus-terminal/src/settings.ts index c0c4012f..c485681f 100644 --- a/terminus-terminal/src/settings.ts +++ b/terminus-terminal/src/settings.ts @@ -5,6 +5,7 @@ import { AppearanceSettingsTabComponent } from './components/appearanceSettingsT import { ShellSettingsTabComponent } from './components/shellSettingsTab.component' import { TerminalSettingsTabComponent } from './components/terminalSettingsTab.component' +/** @hidden */ @Injectable() export class AppearanceSettingsTabProvider extends SettingsTabProvider { id = 'terminal-appearance' @@ -16,6 +17,7 @@ export class AppearanceSettingsTabProvider extends SettingsTabProvider { } } +/** @hidden */ @Injectable() export class ShellSettingsTabProvider extends SettingsTabProvider { id = 'terminal-shell' @@ -27,6 +29,7 @@ export class ShellSettingsTabProvider extends SettingsTabProvider { } } +/** @hidden */ @Injectable() export class TerminalSettingsTabProvider extends SettingsTabProvider { id = 'terminal' diff --git a/terminus-terminal/src/shells/cmder.ts b/terminus-terminal/src/shells/cmder.ts index eaa5bb56..11325ea1 100644 --- a/terminus-terminal/src/shells/cmder.ts +++ b/terminus-terminal/src/shells/cmder.ts @@ -4,6 +4,7 @@ import { HostAppService, Platform } from 'terminus-core' import { ShellProvider, IShell } from '../api' +/** @hidden */ @Injectable() export class CmderShellProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/shells/custom.ts b/terminus-terminal/src/shells/custom.ts index 223f1881..487b8483 100644 --- a/terminus-terminal/src/shells/custom.ts +++ b/terminus-terminal/src/shells/custom.ts @@ -3,6 +3,7 @@ import { ConfigService } from 'terminus-core' import { ShellProvider, IShell } from '../api' +/** @hidden */ @Injectable() export class CustomShellProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/shells/cygwin32.ts b/terminus-terminal/src/shells/cygwin32.ts index 5460511e..1402d798 100644 --- a/terminus-terminal/src/shells/cygwin32.ts +++ b/terminus-terminal/src/shells/cygwin32.ts @@ -8,6 +8,7 @@ try { var wnr = require('windows-native-registry') // tslint:disable-line } catch { } // tslint:disable-line +/** @hidden */ @Injectable() export class Cygwin32ShellProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/shells/cygwin64.ts b/terminus-terminal/src/shells/cygwin64.ts index 59224795..33fc5f80 100644 --- a/terminus-terminal/src/shells/cygwin64.ts +++ b/terminus-terminal/src/shells/cygwin64.ts @@ -8,6 +8,7 @@ try { var wnr = require('windows-native-registry') // tslint:disable-line } catch { } // tslint:disable-line +/** @hidden */ @Injectable() export class Cygwin64ShellProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/shells/gitBash.ts b/terminus-terminal/src/shells/gitBash.ts index 1af9c7d6..e98ef923 100644 --- a/terminus-terminal/src/shells/gitBash.ts +++ b/terminus-terminal/src/shells/gitBash.ts @@ -8,6 +8,7 @@ try { var wnr = require('windows-native-registry') // tslint:disable-line } catch { } // tslint:disable-line +/** @hidden */ @Injectable() export class GitBashShellProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/shells/linuxDefault.ts b/terminus-terminal/src/shells/linuxDefault.ts index d55a78a2..e9015dd8 100644 --- a/terminus-terminal/src/shells/linuxDefault.ts +++ b/terminus-terminal/src/shells/linuxDefault.ts @@ -4,6 +4,7 @@ import { HostAppService, Platform, LogService, Logger } from 'terminus-core' import { ShellProvider, IShell } from '../api' +/** @hidden */ @Injectable() export class LinuxDefaultShellProvider extends ShellProvider { private logger: Logger diff --git a/terminus-terminal/src/shells/macDefault.ts b/terminus-terminal/src/shells/macDefault.ts index b162ddba..04df0acd 100644 --- a/terminus-terminal/src/shells/macDefault.ts +++ b/terminus-terminal/src/shells/macDefault.ts @@ -4,6 +4,7 @@ import { HostAppService, Platform } from 'terminus-core' import { ShellProvider, IShell } from '../api' +/** @hidden */ @Injectable() export class MacOSDefaultShellProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/shells/posix.ts b/terminus-terminal/src/shells/posix.ts index 02eb66ae..4ca141d9 100644 --- a/terminus-terminal/src/shells/posix.ts +++ b/terminus-terminal/src/shells/posix.ts @@ -5,6 +5,7 @@ import { HostAppService, Platform } from 'terminus-core' import { ShellProvider, IShell } from '../api' +/** @hidden */ @Injectable() export class POSIXShellsProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/shells/powershellCore.ts b/terminus-terminal/src/shells/powershellCore.ts index efe9a800..525d0d87 100644 --- a/terminus-terminal/src/shells/powershellCore.ts +++ b/terminus-terminal/src/shells/powershellCore.ts @@ -6,6 +6,7 @@ try { var wnr = require('windows-native-registry') // tslint:disable-line } catch { } // tslint:disable-line +/** @hidden */ @Injectable() export class PowerShellCoreShellProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/shells/winDefault.ts b/terminus-terminal/src/shells/winDefault.ts index 45619997..ab03295b 100644 --- a/terminus-terminal/src/shells/winDefault.ts +++ b/terminus-terminal/src/shells/winDefault.ts @@ -7,6 +7,7 @@ import { WSLShellProvider } from './wsl' import { PowerShellCoreShellProvider } from './powershellCore' import { WindowsStockShellsProvider } from './windowsStock' +/** @hidden */ @Injectable() export class WindowsDefaultShellProvider extends ShellProvider { private providers: ShellProvider[] diff --git a/terminus-terminal/src/shells/windowsStock.ts b/terminus-terminal/src/shells/windowsStock.ts index 8e17d4da..3e95db98 100644 --- a/terminus-terminal/src/shells/windowsStock.ts +++ b/terminus-terminal/src/shells/windowsStock.ts @@ -4,6 +4,7 @@ import { HostAppService, Platform, ElectronService } from 'terminus-core' import { ShellProvider, IShell } from '../api' +/** @hidden */ @Injectable() export class WindowsStockShellsProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/shells/wsl.ts b/terminus-terminal/src/shells/wsl.ts index d9978863..1eade703 100644 --- a/terminus-terminal/src/shells/wsl.ts +++ b/terminus-terminal/src/shells/wsl.ts @@ -11,6 +11,7 @@ try { var wnr = require('windows-native-registry') // tslint:disable-line } catch { } // tslint:disable-line +/** @hidden */ @Injectable() export class WSLShellProvider extends ShellProvider { constructor ( diff --git a/terminus-terminal/src/tabContextMenu.ts b/terminus-terminal/src/tabContextMenu.ts index 5010c414..d8f043a1 100644 --- a/terminus-terminal/src/tabContextMenu.ts +++ b/terminus-terminal/src/tabContextMenu.ts @@ -3,6 +3,7 @@ import { ToastrService } from 'ngx-toastr' import { ConfigService, BaseTabComponent, TabContextMenuItemProvider } from 'terminus-core' import { TerminalTabComponent } from './components/terminalTab.component' +/** @hidden */ @Injectable() export class SaveAsProfileContextMenu extends TabContextMenuItemProvider { constructor (