vis-core 0.13.6 → 0.13.8
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/dist/index.d.ts +1 -0
- package/dist/index.js +18 -18
- package/dist/index.module.js +15 -11
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.module.js
CHANGED
|
@@ -41145,7 +41145,7 @@ function Bl(n) {
|
|
|
41145
41145
|
const t = new qt();
|
|
41146
41146
|
return t.color.setScalar(n), t;
|
|
41147
41147
|
}
|
|
41148
|
-
const pX = "0.13.
|
|
41148
|
+
const pX = "0.13.8", o1 = !1;
|
|
41149
41149
|
class Na {
|
|
41150
41150
|
constructor(t, e = {}) {
|
|
41151
41151
|
D(this, "container");
|
|
@@ -41396,21 +41396,24 @@ class Na {
|
|
|
41396
41396
|
return this.pmremGenerator = t, this.re = e, this.roomEnvMap = i, i;
|
|
41397
41397
|
}
|
|
41398
41398
|
handlePick(t, e, i) {
|
|
41399
|
+
let s = e;
|
|
41400
|
+
(e === "mouseenter" || e === "mouseleave") && (s = "mousemove");
|
|
41401
|
+
let a;
|
|
41399
41402
|
this.addListener(
|
|
41400
41403
|
this.container,
|
|
41401
|
-
|
|
41402
|
-
k5((
|
|
41403
|
-
let
|
|
41404
|
-
if (
|
|
41405
|
-
const
|
|
41406
|
-
|
|
41404
|
+
s,
|
|
41405
|
+
k5((o) => {
|
|
41406
|
+
let c = t;
|
|
41407
|
+
if (c instanceof Function) {
|
|
41408
|
+
const m = c();
|
|
41409
|
+
m && Array.isArray(m) ? c = m : m && (c = [m]);
|
|
41407
41410
|
}
|
|
41408
|
-
if (!
|
|
41411
|
+
if (!c || c.length === 0)
|
|
41409
41412
|
return;
|
|
41410
|
-
const
|
|
41411
|
-
(
|
|
41413
|
+
const d = c.map((m) => m.object3d).filter((m) => !!m), h = this.pencil.pick(o, d, !0), r = h == null ? void 0 : h.object, u = r && c.find(
|
|
41414
|
+
(m) => m.object3d === r || m.object3d.getObjectById(r.id)
|
|
41412
41415
|
);
|
|
41413
|
-
i(
|
|
41416
|
+
e === "mouseenter" ? a !== u && u && i(u, o) : e === "mouseleave" ? a !== u && a && i(a, o) : i(u, o), a = u;
|
|
41414
41417
|
}, 100)
|
|
41415
41418
|
);
|
|
41416
41419
|
}
|
|
@@ -46861,6 +46864,7 @@ class L8 {
|
|
|
46861
46864
|
}
|
|
46862
46865
|
}
|
|
46863
46866
|
export {
|
|
46867
|
+
Te as MeshLineMaterial,
|
|
46864
46868
|
Yh as THREE,
|
|
46865
46869
|
L8 as default,
|
|
46866
46870
|
R8 as visConfig
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.13.
|
|
1
|
+
declare const _default: "0.13.8";
|
|
2
2
|
export default _default;
|