vis-util 6.0.0 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declarations/css-shim.d.ts +2 -0
- package/declarations/css-shim.d.ts.map +1 -0
- package/declarations/shared/configurator-types.d.ts.map +1 -1
- package/declarations/shared/index.d.ts +2 -1
- package/declarations/shared/index.d.ts.map +1 -1
- package/declarations/util.d.ts +3 -3
- package/declarations/util.d.ts.map +1 -1
- package/esnext/esm/vis-util.js +7 -6
- package/esnext/esm/vis-util.js.map +1 -1
- package/esnext/esm/vis-util.min.js +3 -3
- package/esnext/esm/vis-util.min.js.map +1 -1
- package/esnext/esm/vis-util.min.mjs +3 -3
- package/esnext/esm/vis-util.min.mjs.map +1 -1
- package/esnext/esm/vis-util.mjs +7 -6
- package/esnext/esm/vis-util.mjs.map +1 -1
- package/esnext/umd/vis-util.cjs +7 -6
- package/esnext/umd/vis-util.cjs.map +1 -1
- package/esnext/umd/vis-util.js +7 -6
- package/esnext/umd/vis-util.js.map +1 -1
- package/esnext/umd/vis-util.min.cjs +3 -3
- package/esnext/umd/vis-util.min.cjs.map +1 -1
- package/esnext/umd/vis-util.min.js +3 -3
- package/esnext/umd/vis-util.min.js.map +1 -1
- package/package.json +101 -99
- package/peer/esm/vis-util.js +1587 -460
- package/peer/esm/vis-util.js.map +1 -1
- package/peer/esm/vis-util.min.js +4 -4
- package/peer/esm/vis-util.min.js.map +1 -1
- package/peer/esm/vis-util.min.mjs +4 -4
- package/peer/esm/vis-util.min.mjs.map +1 -1
- package/peer/esm/vis-util.mjs +1587 -460
- package/peer/esm/vis-util.mjs.map +1 -1
- package/peer/umd/vis-util.cjs +1587 -460
- package/peer/umd/vis-util.cjs.map +1 -1
- package/peer/umd/vis-util.js +1587 -460
- package/peer/umd/vis-util.js.map +1 -1
- package/peer/umd/vis-util.min.cjs +4 -4
- package/peer/umd/vis-util.min.cjs.map +1 -1
- package/peer/umd/vis-util.min.js +4 -4
- package/peer/umd/vis-util.min.js.map +1 -1
- package/standalone/esm/vis-util.js +1587 -460
- package/standalone/esm/vis-util.js.map +1 -1
- package/standalone/esm/vis-util.min.js +4 -4
- package/standalone/esm/vis-util.min.js.map +1 -1
- package/standalone/esm/vis-util.min.mjs +4 -4
- package/standalone/esm/vis-util.min.mjs.map +1 -1
- package/standalone/esm/vis-util.mjs +1587 -460
- package/standalone/esm/vis-util.mjs.map +1 -1
- package/standalone/umd/vis-util.cjs +1587 -460
- package/standalone/umd/vis-util.cjs.map +1 -1
- package/standalone/umd/vis-util.js +1587 -460
- package/standalone/umd/vis-util.js.map +1 -1
- package/standalone/umd/vis-util.min.cjs +4 -4
- package/standalone/umd/vis-util.min.cjs.map +1 -1
- package/standalone/umd/vis-util.min.js +4 -4
- package/standalone/umd/vis-util.min.js.map +1 -1
package/esnext/esm/vis-util.mjs
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* utilitie collection for visjs
|
|
6
6
|
*
|
|
7
|
-
* @version 6.0.
|
|
8
|
-
* @date
|
|
7
|
+
* @version 6.0.2
|
|
8
|
+
* @date 2026-08-04T16:30:42.886Z
|
|
9
9
|
*
|
|
10
10
|
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
|
|
11
11
|
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
|
|
@@ -330,7 +330,7 @@ Activator$1.current = null;
|
|
|
330
330
|
Activator$1.prototype.destroy = function () {
|
|
331
331
|
this.deactivate();
|
|
332
332
|
|
|
333
|
-
for (const callback of this._cleanupQueue.splice(0).
|
|
333
|
+
for (const callback of this._cleanupQueue.splice(0).toReversed()) {
|
|
334
334
|
callback();
|
|
335
335
|
}
|
|
336
336
|
};
|
|
@@ -2367,7 +2367,7 @@ let ColorPicker$1 = class ColorPicker {
|
|
|
2367
2367
|
this.opacityRange.type = "range"; // Not supported on IE9
|
|
2368
2368
|
this.opacityRange.min = "0";
|
|
2369
2369
|
this.opacityRange.max = "100";
|
|
2370
|
-
} catch
|
|
2370
|
+
} catch {
|
|
2371
2371
|
// TODO: Add some error handling.
|
|
2372
2372
|
}
|
|
2373
2373
|
this.opacityRange.value = "100";
|
|
@@ -2378,7 +2378,7 @@ let ColorPicker$1 = class ColorPicker {
|
|
|
2378
2378
|
this.brightnessRange.type = "range"; // Not supported on IE9
|
|
2379
2379
|
this.brightnessRange.min = "0";
|
|
2380
2380
|
this.brightnessRange.max = "100";
|
|
2381
|
-
} catch
|
|
2381
|
+
} catch {
|
|
2382
2382
|
// TODO: Add some error handling.
|
|
2383
2383
|
}
|
|
2384
2384
|
this.brightnessRange.value = "100";
|
|
@@ -2931,7 +2931,7 @@ let Configurator$1 = class Configurator {
|
|
|
2931
2931
|
range.type = "range"; // not supported on IE9
|
|
2932
2932
|
range.min = min;
|
|
2933
2933
|
range.max = max;
|
|
2934
|
-
} catch
|
|
2934
|
+
} catch {
|
|
2935
2935
|
// TODO: Add some error handling.
|
|
2936
2936
|
}
|
|
2937
2937
|
range.step = step;
|
|
@@ -3784,6 +3784,7 @@ let Validator$1 = class Validator {
|
|
|
3784
3784
|
let closestMatchPath = [];
|
|
3785
3785
|
const lowerCaseOption = option.toLowerCase();
|
|
3786
3786
|
let indexMatch = undefined;
|
|
3787
|
+
// oxlint-disable-next-line guard-for-in -- Options use prototype inheritance to override defaults, parent options, etc.
|
|
3787
3788
|
for (const op in options) {
|
|
3788
3789
|
let distance;
|
|
3789
3790
|
if (options[op].__type__ !== undefined && recursive === true) {
|