Skip to content

Commit

Permalink
chore: update to ab248e5 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vis-bot committed Nov 3, 2023
1 parent 36012bb commit 542a941
Show file tree
Hide file tree
Showing 36 changed files with 58 additions and 254 deletions.
6 changes: 3 additions & 3 deletions dist/vis-network.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library.
*
* @version 0.0.0-no-version
* @date 2023-10-21T00:18:50.354Z
* @date 2023-11-03T01:16:21.951Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
Expand Down Expand Up @@ -32770,9 +32770,9 @@ var Canvas = /*#__PURE__*/function () {

// Automatically adapt to changing size of the browser.
var resizeFunction = _bindInstanceProperty$1(_context2 = this._onResize).call(_context2, this);
addEventListener(window, "resize", resizeFunction);
window.addEventListener("resize", resizeFunction);
this._cleanupCallbacks.push(function () {
removeEventListener(window, "resize", resizeFunction);
window.removeEventListener("resize", resizeFunction);
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/vis-network.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vis-network.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vis-network.esm.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/vis-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library.
*
* @version 0.0.0-no-version
* @date 2023-10-21T00:18:50.354Z
* @date 2023-11-03T01:16:21.951Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
Expand Down Expand Up @@ -32776,9 +32776,9 @@

// Automatically adapt to changing size of the browser.
var resizeFunction = _bindInstanceProperty$1(_context2 = this._onResize).call(_context2, this);
addEventListener(window, "resize", resizeFunction);
window.addEventListener("resize", resizeFunction);
this._cleanupCallbacks.push(function () {
removeEventListener(window, "resize", resizeFunction);
window.removeEventListener("resize", resizeFunction);
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/vis-network.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vis-network.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vis-network.min.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions esnext/esm/vis-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library.
*
* @version 0.0.0-no-version
* @date 2023-10-21T00:17:06.857Z
* @date 2023-11-03T01:14:33.466Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
Expand All @@ -25,7 +25,7 @@
*/

import Emitter from 'component-emitter';
import { topMost, forEach, deepExtend, overrideOpacity, bridgeObject, selectiveNotDeepExtend, parseColor, mergeOptions, fillIfDefined, VALIDATOR_PRINT_STYLE, selectiveDeepExtend, isString, Alea, HSVToHex, addEventListener, removeEventListener, Hammer, easingFunctions, getAbsoluteLeft, getAbsoluteTop, Popup, recursiveDOMDelete, Validator, Configurator, Activator } from 'vis-util/esnext/esm/vis-util.js';
import { topMost, forEach, deepExtend, overrideOpacity, bridgeObject, selectiveNotDeepExtend, parseColor, mergeOptions, fillIfDefined, VALIDATOR_PRINT_STYLE, selectiveDeepExtend, isString, Alea, HSVToHex, Hammer, easingFunctions, getAbsoluteLeft, getAbsoluteTop, Popup, recursiveDOMDelete, Validator, Configurator, Activator } from 'vis-util/esnext/esm/vis-util.js';
import { isDataViewLike, DataSet } from 'vis-data/esnext/esm/vis-data.js';
import { v4 } from 'uuid';
import keycharm from 'keycharm';
Expand Down Expand Up @@ -15258,9 +15258,9 @@ class Canvas {

// Automatically adapt to changing size of the browser.
const resizeFunction = this._onResize.bind(this);
addEventListener(window, "resize", resizeFunction);
window.addEventListener("resize", resizeFunction);
this._cleanupCallbacks.push(() => {
removeEventListener(window, "resize", resizeFunction);
window.removeEventListener("resize", resizeFunction);
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion esnext/esm/vis-network.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions esnext/esm/vis-network.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion esnext/esm/vis-network.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions esnext/umd/vis-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library.
*
* @version 0.0.0-no-version
* @date 2023-10-21T00:17:06.857Z
* @date 2023-11-03T01:14:33.466Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
Expand Down Expand Up @@ -15257,9 +15257,9 @@

// Automatically adapt to changing size of the browser.
const resizeFunction = this._onResize.bind(this);
esnext.addEventListener(window, "resize", resizeFunction);
window.addEventListener("resize", resizeFunction);
this._cleanupCallbacks.push(() => {
esnext.removeEventListener(window, "resize", resizeFunction);
window.removeEventListener("resize", resizeFunction);
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion esnext/umd/vis-network.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions esnext/umd/vis-network.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion esnext/umd/vis-network.min.js.map

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 3 additions & 52 deletions peer/esm/vis-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library.
*
* @version 0.0.0-no-version
* @date 2023-10-21T00:17:06.857Z
* @date 2023-11-03T01:14:33.466Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
Expand Down Expand Up @@ -8350,55 +8350,6 @@ function forEach$1(object, callback) {
}
}
}
/**
* Add and event listener. Works for all browsers.
*
* @param element - The element to bind the event listener to.
* @param action - Same as Element.addEventListener(action, —, —).
* @param listener - Same as Element.addEventListener(—, listener, —).
* @param useCapture - Same as Element.addEventListener(—, —, useCapture).
*/
function addEventListener(element, action, listener, useCapture) {
if (element.addEventListener) {
var _context8;
if (useCapture === undefined) {
useCapture = false;
}
if (action === "mousewheel" && _includesInstanceProperty(_context8 = navigator.userAgent).call(_context8, "Firefox")) {
action = "DOMMouseScroll"; // For Firefox
}

element.addEventListener(action, listener, useCapture);
} else {
// @TODO: IE types? Does anyone care?
element.attachEvent("on" + action, listener); // IE browsers
}
}
/**
* Remove an event listener from an element.
*
* @param element - The element to bind the event listener to.
* @param action - Same as Element.removeEventListener(action, —, —).
* @param listener - Same as Element.removeEventListener(—, listener, —).
* @param useCapture - Same as Element.removeEventListener(—, —, useCapture).
*/
function removeEventListener(element, action, listener, useCapture) {
if (element.removeEventListener) {
var _context9;
// non-IE browsers
if (useCapture === undefined) {
useCapture = false;
}
if (action === "mousewheel" && _includesInstanceProperty(_context9 = navigator.userAgent).call(_context9, "Firefox")) {
action = "DOMMouseScroll"; // For Firefox
}

element.removeEventListener(action, listener, useCapture);
} else {
// @TODO: IE types? Does anyone care?
element.detachEvent("on" + action, listener); // IE browsers
}
}
/**
* Convert hex color string into RGB color object.
*
Expand Down Expand Up @@ -27496,9 +27447,9 @@ var Canvas = /*#__PURE__*/function () {

// Automatically adapt to changing size of the browser.
var resizeFunction = _bindInstanceProperty$1(_context2 = this._onResize).call(_context2, this);
addEventListener(window, "resize", resizeFunction);
window.addEventListener("resize", resizeFunction);
this._cleanupCallbacks.push(function () {
removeEventListener(window, "resize", resizeFunction);
window.removeEventListener("resize", resizeFunction);
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion peer/esm/vis-network.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions peer/esm/vis-network.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion peer/esm/vis-network.min.js.map

Large diffs are not rendered by default.

55 changes: 3 additions & 52 deletions peer/umd/vis-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library.
*
* @version 0.0.0-no-version
* @date 2023-10-21T00:17:06.857Z
* @date 2023-11-03T01:14:33.466Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
Expand Down Expand Up @@ -8353,55 +8353,6 @@
}
}
}
/**
* Add and event listener. Works for all browsers.
*
* @param element - The element to bind the event listener to.
* @param action - Same as Element.addEventListener(action, —, —).
* @param listener - Same as Element.addEventListener(—, listener, —).
* @param useCapture - Same as Element.addEventListener(—, —, useCapture).
*/
function addEventListener(element, action, listener, useCapture) {
if (element.addEventListener) {
var _context8;
if (useCapture === undefined) {
useCapture = false;
}
if (action === "mousewheel" && _includesInstanceProperty(_context8 = navigator.userAgent).call(_context8, "Firefox")) {
action = "DOMMouseScroll"; // For Firefox
}

element.addEventListener(action, listener, useCapture);
} else {
// @TODO: IE types? Does anyone care?
element.attachEvent("on" + action, listener); // IE browsers
}
}
/**
* Remove an event listener from an element.
*
* @param element - The element to bind the event listener to.
* @param action - Same as Element.removeEventListener(action, —, —).
* @param listener - Same as Element.removeEventListener(—, listener, —).
* @param useCapture - Same as Element.removeEventListener(—, —, useCapture).
*/
function removeEventListener(element, action, listener, useCapture) {
if (element.removeEventListener) {
var _context9;
// non-IE browsers
if (useCapture === undefined) {
useCapture = false;
}
if (action === "mousewheel" && _includesInstanceProperty(_context9 = navigator.userAgent).call(_context9, "Firefox")) {
action = "DOMMouseScroll"; // For Firefox
}

element.removeEventListener(action, listener, useCapture);
} else {
// @TODO: IE types? Does anyone care?
element.detachEvent("on" + action, listener); // IE browsers
}
}
/**
* Convert hex color string into RGB color object.
*
Expand Down Expand Up @@ -27499,9 +27450,9 @@

// Automatically adapt to changing size of the browser.
var resizeFunction = _bindInstanceProperty$1(_context2 = this._onResize).call(_context2, this);
addEventListener(window, "resize", resizeFunction);
window.addEventListener("resize", resizeFunction);
this._cleanupCallbacks.push(function () {
removeEventListener(window, "resize", resizeFunction);
window.removeEventListener("resize", resizeFunction);
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion peer/umd/vis-network.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions peer/umd/vis-network.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion peer/umd/vis-network.min.js.map

Large diffs are not rendered by default.

55 changes: 3 additions & 52 deletions standalone/esm/vis-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library.
*
* @version 0.0.0-no-version
* @date 2023-10-21T00:17:06.857Z
* @date 2023-11-03T01:14:33.466Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
Expand Down Expand Up @@ -8517,55 +8517,6 @@ function forEach$4(object, callback) {
}
}
}
/**
* Add and event listener. Works for all browsers.
*
* @param element - The element to bind the event listener to.
* @param action - Same as Element.addEventListener(action, —, —).
* @param listener - Same as Element.addEventListener(—, listener, —).
* @param useCapture - Same as Element.addEventListener(—, —, useCapture).
*/
function addEventListener(element, action, listener, useCapture) {
if (element.addEventListener) {
var _context8;
if (useCapture === undefined) {
useCapture = false;
}
if (action === "mousewheel" && _includesInstanceProperty(_context8 = navigator.userAgent).call(_context8, "Firefox")) {
action = "DOMMouseScroll"; // For Firefox
}

element.addEventListener(action, listener, useCapture);
} else {
// @TODO: IE types? Does anyone care?
element.attachEvent("on" + action, listener); // IE browsers
}
}
/**
* Remove an event listener from an element.
*
* @param element - The element to bind the event listener to.
* @param action - Same as Element.removeEventListener(action, —, —).
* @param listener - Same as Element.removeEventListener(—, listener, —).
* @param useCapture - Same as Element.removeEventListener(—, —, useCapture).
*/
function removeEventListener(element, action, listener, useCapture) {
if (element.removeEventListener) {
var _context9;
// non-IE browsers
if (useCapture === undefined) {
useCapture = false;
}
if (action === "mousewheel" && _includesInstanceProperty(_context9 = navigator.userAgent).call(_context9, "Firefox")) {
action = "DOMMouseScroll"; // For Firefox
}

element.removeEventListener(action, listener, useCapture);
} else {
// @TODO: IE types? Does anyone care?
element.detachEvent("on" + action, listener); // IE browsers
}
}
/**
* Convert hex color string into RGB color object.
*
Expand Down Expand Up @@ -32090,9 +32041,9 @@ var Canvas = /*#__PURE__*/function () {

// Automatically adapt to changing size of the browser.
var resizeFunction = _bindInstanceProperty$1(_context2 = this._onResize).call(_context2, this);
addEventListener(window, "resize", resizeFunction);
window.addEventListener("resize", resizeFunction);
this._cleanupCallbacks.push(function () {
removeEventListener(window, "resize", resizeFunction);
window.removeEventListener("resize", resizeFunction);
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion standalone/esm/vis-network.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions standalone/esm/vis-network.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion standalone/esm/vis-network.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 542a941

Please sign in to comment.