🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

dock-spawn-ts

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dock-spawn-ts - npm Package Compare versions

Comparing version

to
2.35.0

2

lib/js/Dialog.js

@@ -35,3 +35,3 @@ import { Point } from "./Point.js";

this.focusHandler = new EventHandler(this.elementDialog, 'focus', this.onFocus.bind(this), true);
this.mouseDownHandler = new EventHandler(this.elementDialog, 'mousedown', this.onMouseDown.bind(this));
this.mouseDownHandler = new EventHandler(this.elementDialog, 'mousedown', this.onMouseDown.bind(this), true);
this.touchDownHandler = new EventHandler(this.elementDialog, 'touchstart', this.onMouseDown.bind(this));

@@ -38,0 +38,0 @@ this.keyPressHandler = new EventHandler(this.elementDialog, 'keypress', this.dockManager.onKeyPressBound, true);

@@ -28,3 +28,5 @@ import { TabPage } from "./TabPage.js";

mouseDownHandler: EventHandler;
focusHandler: EventHandler;
constructor(dockManager: DockManager, tabStripDirection: TabHostDirection, displayCloseButton?: boolean);
onFocus(): void;
setActive(isActive: boolean): void;

@@ -31,0 +33,0 @@ onMousedown(): void;

@@ -53,4 +53,9 @@ import { TabPage } from "./TabPage.js";

this.contentElement.tabIndex = 0;
this.mouseDownHandler = new EventHandler(this.contentElement, 'mousedown', this.onMousedown.bind(this), {});
this.focusHandler = new EventHandler(this.contentElement, 'focus', this.onFocus.bind(this), true);
this.mouseDownHandler = new EventHandler(this.contentElement, 'mousedown', this.onMousedown.bind(this), true);
}
onFocus() {
if (this.activeTab && this.dockManager.activePanel != this.activeTab.panel)
this.dockManager.activePanel = this.activeTab.panel;
}
setActive(isActive) {

@@ -57,0 +62,0 @@ if (isActive) {

{
"name": "dock-spawn-ts",
"version": "2.34.0",
"version": "2.35.0",
"description": "DockSpawn Typescript Version",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -57,3 +57,3 @@ import { DockManager } from "./DockManager.js";

this.focusHandler = new EventHandler(this.elementDialog, 'focus', this.onFocus.bind(this), true);
this.mouseDownHandler = new EventHandler(this.elementDialog, 'mousedown', this.onMouseDown.bind(this));
this.mouseDownHandler = new EventHandler(this.elementDialog, 'mousedown', this.onMouseDown.bind(this), true);
this.touchDownHandler = new EventHandler(this.elementDialog, 'touchstart', this.onMouseDown.bind(this));

@@ -60,0 +60,0 @@ this.keyPressHandler = new EventHandler(this.elementDialog, 'keypress', this.dockManager.onKeyPressBound, true);

@@ -29,2 +29,3 @@ import { TabPage } from "./TabPage.js";

mouseDownHandler: EventHandler;
focusHandler: EventHandler;

@@ -76,5 +77,11 @@ constructor(dockManager: DockManager, tabStripDirection: TabHostDirection, displayCloseButton?: boolean) {

this.contentElement.tabIndex = 0;
this.mouseDownHandler = new EventHandler(this.contentElement, 'mousedown', this.onMousedown.bind(this), {});
this.focusHandler = new EventHandler(this.contentElement, 'focus', this.onFocus.bind(this), true);
this.mouseDownHandler = new EventHandler(this.contentElement, 'mousedown', this.onMousedown.bind(this), true);
}
onFocus() {
if (this.activeTab && this.dockManager.activePanel != this.activeTab.panel)
this.dockManager.activePanel = this.activeTab.panel;
}
setActive(isActive: boolean) {

@@ -81,0 +88,0 @@ if (isActive) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet