vis-core 0.13.7 → 0.13.9
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.js +2 -2
- package/dist/index.module.js +15 -12
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.module.js
CHANGED
|
@@ -32440,7 +32440,7 @@ let ye = class {
|
|
|
32440
32440
|
instantiate(t) {
|
|
32441
32441
|
return this.drawController.instantiate(this, {
|
|
32442
32442
|
create: (e) => {
|
|
32443
|
-
this.object3d && (e.object3d = this.object3d.clone(!0)), typeof t == "number" &&
|
|
32443
|
+
this.object3d && (e.object3d = this.object3d.clone(!0)), typeof t == "number" && (e.object3d = new Mo(
|
|
32444
32444
|
e.object3d.geometry,
|
|
32445
32445
|
e.object3d.material,
|
|
32446
32446
|
t
|
|
@@ -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.9", 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
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.13.
|
|
1
|
+
declare const _default: "0.13.9";
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vis-core",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.9",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "npm run version && PORT=5173 bundler-dev",
|
|
6
6
|
"build:site": "npm run version &&PUBLIC_EXCLUDE=public/city bundler",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"eslint-config-bundler": "^0.4.0",
|
|
47
47
|
"esus": "^0.4.27",
|
|
48
48
|
"fs-extra": "^11.1.1",
|
|
49
|
-
"gl-draw": "0.9.0-beta.
|
|
49
|
+
"gl-draw": "0.9.0-beta.406",
|
|
50
50
|
"idb-keyval": "^6.2.1",
|
|
51
51
|
"pinia": "^2.1.7",
|
|
52
52
|
"prettier-config-bundler": "^0.4.1",
|