This commit is contained in:
Eugene Pankov 2019-12-03 00:55:22 +01:00
parent 0dbb16d859
commit 99698913a8
11 changed files with 18 additions and 12 deletions

View File

@ -1,6 +1,6 @@
{
"name": "terminus-community-color-schemes",
"version": "1.0.93-nightly.0",
"version": "1.0.98-nightly.0",
"description": "Community color schemes for Terminus",
"keywords": [
"terminus-builtin-plugin"

View File

@ -1,6 +1,6 @@
{
"name": "terminus-core",
"version": "1.0.93-nightly.0",
"version": "1.0.98-nightly.0",
"description": "Terminus core",
"keywords": [
"terminus-builtin-plugin"

View File

@ -78,7 +78,7 @@ export class CommonOptionsContextMenu extends TabContextMenuItemProvider {
return [
{
label: 'Rename',
click: () => this.zone.run(() => tabHeader && tabHeader.showRenameTabModal()),
click: () => this.zone.run(() => tabHeader?.showRenameTabModal()),
},
{
label: 'Duplicate',

View File

@ -1,6 +1,6 @@
{
"name": "terminus-plugin-manager",
"version": "1.0.93-nightly.0",
"version": "1.0.98-nightly.0",
"description": "Terminus' plugin manager",
"keywords": [
"terminus-builtin-plugin"

View File

@ -1,6 +1,6 @@
{
"name": "terminus-settings",
"version": "1.0.93-nightly.0",
"version": "1.0.98-nightly.0",
"description": "Terminus terminal settings page",
"keywords": [
"terminus-builtin-plugin"

View File

@ -1,6 +1,6 @@
{
"name": "terminus-ssh",
"version": "1.0.93-nightly.0",
"version": "1.0.98-nightly.0",
"description": "SSH connection manager for Terminus",
"keywords": [
"terminus-builtin-plugin"
@ -20,7 +20,8 @@
"@types/node": "12.7.3",
"@types/ssh2": "^0.5.35",
"ssh2": "^0.8.2",
"ssh2-streams": "^0.4.2"
"ssh2-streams": "^0.4.2",
"terminus-terminal": "^1.0.98-nightly.0"
},
"peerDependencies": {
"@angular/common": "^7",

View File

@ -66,7 +66,7 @@ export class EditConnectionModalComponent {
modal.componentInstance.password = true
try {
const result = await modal.result
if (result && result.value) {
if (result?.value) {
this.passwordStorage.savePassword(this.connection, result.value)
this.hasSavedPassword = true
}

View File

@ -209,7 +209,7 @@ export class SSHService {
if (result.remember) {
savedPassword = result.value
}
return result.value
return await result.value
}
return ''
} catch (_) {

View File

@ -67,6 +67,11 @@ streamsearch@~0.1.2:
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-0.1.2.tgz#808b9d0e56fc273d809ba57338e929919a1a9f1a"
integrity sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=
terminus-terminal@^1.0.98-nightly.0:
version "1.0.98-nightly.0"
resolved "https://registry.yarnpkg.com/terminus-terminal/-/terminus-terminal-1.0.98-nightly.0.tgz#10df71b0a81adf76a076fb21a91c859dd2f8bef7"
integrity sha512-JLxkeoQkORcfe6cRW6BJF5ZPSbvKA8IWUAb7fzBONVmNfRKj2Mq/uYPy76UXsdmb9F1n+rYIg+DShNp57asMKA==
tweetnacl@^0.14.3:
version "0.14.5"
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"

View File

@ -1,6 +1,6 @@
{
"name": "terminus-terminal",
"version": "1.0.93-nightly.0",
"version": "1.0.98-nightly.0",
"description": "Terminus' terminal emulation core",
"keywords": [
"terminus-builtin-plugin"

View File

@ -22,8 +22,8 @@ export interface ToastrServiceProxy {
* A class to base your custom terminal tabs on
*/
export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit, OnDestroy {
static template = require('../components/baseTerminalTab.component.pug')
static styles = [require('../components/terminalTab.component.scss')]
static template = require<string>('../components/baseTerminalTab.component.pug')
static styles = [require<string>('../components/terminalTab.component.scss')]
static animations: AnimationTriggerMetadata[] = [trigger('slideInOut', [
transition(':enter', [
style({ transform: 'translateY(-25%)' }),