@realsee/dnalogel 3.75.1 → 3.76.0-alpha.1

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 CHANGED
@@ -43,7 +43,7 @@ import { LineGeometry as Cb, LineMaterial as Ib, THREE_Line2 as Eb, Line as k0 }
43
43
  import { GLTFLoader as Mb } from "@realsee/five/gltf-loader";
44
44
  function kb() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.75.1",
46
+ "%c %c@realsee/dnalogel %cv3.76.0-alpha.1",
47
47
  [
48
48
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
49
49
  "background-repeat: no-repeat",
@@ -4514,6 +4514,7 @@ class zl extends kt {
4514
4514
  f(this, "updateByNdcPosition", (e) => {
4515
4515
  var o, r, a;
4516
4516
  const i = ky(this.five, e);
4517
+ this.config.hitFilter && (i.hitFilter = this.config.hitFilter);
4517
4518
  let s = ua(this.five, i);
4518
4519
  if (s) {
4519
4520
  if (this.plane && this.planeMode === "vertical" && (s = he(F({}, s), {
@@ -13505,7 +13506,7 @@ let ys = class {
13505
13506
  /**
13506
13507
  * @realsee/dnalogel 版本号
13507
13508
  */
13508
- f(this, "VERSION", "3.75.1");
13509
+ f(this, "VERSION", "3.76.0-alpha.1");
13509
13510
  f(this, "NAME");
13510
13511
  f(this, "five");
13511
13512
  f(this, "workUtil");
@@ -27300,13 +27301,10 @@ class b4 {
27300
27301
  f(this, "onMouseDown", (t) => {
27301
27302
  t.button === 2 && (t.preventDefault(), this.measureController.save().changeMode("Watch"));
27302
27303
  });
27303
- this.five = e, this.measureController = t;
27304
- const i = this.five.getElement();
27305
- i && (document.body.addEventListener("keydown", this.onKeyDown), i.addEventListener("mousedown", this.onMouseDown));
27304
+ this.five = e, this.measureController = t, this.five.getElement() && document.body.addEventListener("keydown", this.onKeyDown);
27306
27305
  }
27307
27306
  dispose() {
27308
- const t = this.five.getElement();
27309
- t && (document.body.removeEventListener("keydown", this.onKeyDown), t.removeEventListener("mousedown", this.onMouseDown));
27307
+ this.five.getElement() && document.body.removeEventListener("keydown", this.onKeyDown);
27310
27308
  }
27311
27309
  escape() {
27312
27310
  return this.measureController.getCurrentMode() === "Watch" ? this.measureController.disable() : this.measureController.save().changeMode("Watch");
@@ -46517,7 +46515,8 @@ class yx {
46517
46515
  let e = t === null || t === !1 ? { magnifier: null } : { magnifierParams: t };
46518
46516
  return (s = this.config) != null && s.hideCursorCircle && (e = he(F({}, e), { pointHelper: null })), this._pointSelector = new zl(this.five, {
46519
46517
  mode: "cursor",
46520
- helper: e
46518
+ helper: e,
46519
+ hitFilter: this.config.hitFilter
46521
46520
  }), this._pointSelector;
46522
46521
  }
46523
46522
  get fiveDomEvents() {