From 87fe8deaa85a52f7f5059985d6188a5adbb27b36 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Tue, 31 Dec 2019 22:48:36 +0100 Subject: [PATCH] apis --- terminus-community-color-schemes/package.json | 2 +- terminus-core/package.json | 2 +- terminus-core/src/components/splitTab.component.ts | 6 ++++++ terminus-plugin-manager/package.json | 2 +- terminus-settings/package.json | 2 +- terminus-ssh/package.json | 2 +- terminus-terminal/package.json | 2 +- 7 files changed, 12 insertions(+), 6 deletions(-) diff --git a/terminus-community-color-schemes/package.json b/terminus-community-color-schemes/package.json index ea9aaf2e..5766ab0a 100644 --- a/terminus-community-color-schemes/package.json +++ b/terminus-community-color-schemes/package.json @@ -1,6 +1,6 @@ { "name": "terminus-community-color-schemes", - "version": "1.0.98-nightly.0", + "version": "1.0.99-nightly.0", "description": "Community color schemes for Terminus", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-core/package.json b/terminus-core/package.json index 52323e28..2cc1b622 100644 --- a/terminus-core/package.json +++ b/terminus-core/package.json @@ -1,6 +1,6 @@ { "name": "terminus-core", - "version": "1.0.98-nightly.0", + "version": "1.0.99-nightly.0", "description": "Terminus core", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-core/src/components/splitTab.component.ts b/terminus-core/src/components/splitTab.component.ts index f90a729a..2c83977f 100644 --- a/terminus-core/src/components/splitTab.component.ts +++ b/terminus-core/src/components/splitTab.component.ts @@ -141,6 +141,8 @@ export interface SplitSpannerInfo { styles: [require('./splitTab.component.scss')], }) export class SplitTabComponent extends BaseTabComponent implements OnInit, OnDestroy { + static DIRECTIONS: SplitDirection[] = ['t', 'r', 'b', 'l'] + /** @hidden */ @ViewChild('vc', { read: ViewContainerRef }) viewContainer: ViewContainerRef @@ -269,6 +271,10 @@ export class SplitTabComponent extends BaseTabComponent implements OnInit, OnDes return this.focusedTab } + getMaximizedTab (): BaseTabComponent|null { + return this.maximizedTab + } + focus (tab: BaseTabComponent) { this.focusedTab = tab for (const x of this.getAllTabs()) { diff --git a/terminus-plugin-manager/package.json b/terminus-plugin-manager/package.json index dbbb5022..0ef7c054 100644 --- a/terminus-plugin-manager/package.json +++ b/terminus-plugin-manager/package.json @@ -1,6 +1,6 @@ { "name": "terminus-plugin-manager", - "version": "1.0.98-nightly.0", + "version": "1.0.99-nightly.0", "description": "Terminus' plugin manager", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-settings/package.json b/terminus-settings/package.json index 5aa38616..66e1e42d 100644 --- a/terminus-settings/package.json +++ b/terminus-settings/package.json @@ -1,6 +1,6 @@ { "name": "terminus-settings", - "version": "1.0.98-nightly.0", + "version": "1.0.99-nightly.0", "description": "Terminus terminal settings page", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-ssh/package.json b/terminus-ssh/package.json index 79f5ab22..8eea8e3d 100644 --- a/terminus-ssh/package.json +++ b/terminus-ssh/package.json @@ -1,6 +1,6 @@ { "name": "terminus-ssh", - "version": "1.0.98-nightly.0", + "version": "1.0.99-nightly.0", "description": "SSH connection manager for Terminus", "keywords": [ "terminus-builtin-plugin" diff --git a/terminus-terminal/package.json b/terminus-terminal/package.json index 3d9a0be2..c8997790 100644 --- a/terminus-terminal/package.json +++ b/terminus-terminal/package.json @@ -1,6 +1,6 @@ { "name": "terminus-terminal", - "version": "1.0.98-nightly.0", + "version": "1.0.99-nightly.0", "description": "Terminus' terminal emulation core", "keywords": [ "terminus-builtin-plugin"