@realsee/dnalogel 3.74.1-alpha.1 → 3.74.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/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.74.1-alpha.1",
46
+ "%c %c@realsee/dnalogel %cv3.74.2",
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",
@@ -13501,7 +13501,7 @@ let ys = class {
13501
13501
  /**
13502
13502
  * @realsee/dnalogel 版本号
13503
13503
  */
13504
- f(this, "VERSION", "3.74.1-alpha.1");
13504
+ f(this, "VERSION", "3.74.2");
13505
13505
  f(this, "NAME");
13506
13506
  f(this, "five");
13507
13507
  f(this, "workUtil");
@@ -27612,7 +27612,9 @@ class dn extends Ai {
27612
27612
  e && !this.dom && (this.dom = new ha(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
27613
27613
  const i = (s) => {
27614
27614
  this.dom && this.dom.__text !== s && (this.dom.__text = s, s instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(s)) : s ? this.dom.container.innerHTML = Wh(s, {
27615
- style: ""
27615
+ style: "",
27616
+ offsetY: -20
27617
+ // 移动label到点的上方,否则会遮挡鼠标选点
27616
27618
  }) : this.dom.container.innerHTML = "");
27617
27619
  };
27618
27620
  e ? (i(e), this.dom.setPosition(this.position.clone())) : i(null);
@@ -49345,13 +49347,13 @@ function Vx(n) {
49345
49347
  n[2]
49346
49348
  ) && n[2].apply(this, arguments);
49347
49349
  }),
49348
- je(t, "mouseenter", function() {
49350
+ je(t, "pointerenter", function() {
49349
49351
  ri(
49350
49352
  /*handleMouseEnter*/
49351
49353
  n[3]
49352
49354
  ) && n[3].apply(this, arguments);
49353
49355
  }),
49354
- je(t, "mouseleave", function() {
49356
+ je(t, "pointerleave", function() {
49355
49357
  ri(
49356
49358
  /*handleMouseLeave*/
49357
49359
  n[4]
@@ -49535,11 +49537,11 @@ function Ux(n) {
49535
49537
  ),
49536
49538
  je(
49537
49539
  t,
49538
- "mouseenter",
49539
- /*mouseenter_handler*/
49540
+ "pointerenter",
49541
+ /*pointerenter_handler*/
49540
49542
  n[16]
49541
49543
  ),
49542
- je(t, "mouseleave", function() {
49544
+ je(t, "pointerleave", function() {
49543
49545
  ri(
49544
49546
  /*handleMouseLeave*/
49545
49547
  n[3]
@@ -52798,7 +52800,7 @@ function iD(n, t, e) {
52798
52800
  C = !1, K(!1);
52799
52801
  }, ue = (ee) => {
52800
52802
  var Te, Re, Ae, Ve, me, Ie;
52801
- if (M = !0, g.isPopoverConfigEnabled() && g.isHoverEnabled() && ((Re = (Te = g.currentConfig) == null ? void 0 : Te.popoverConfig) == null ? void 0 : Re.trigger) === "hover") {
52803
+ if (ee.pointerType === "mouse" && (M = !0, g.isPopoverConfigEnabled() && g.isHoverEnabled() && ((Re = (Te = g.currentConfig) == null ? void 0 : Te.popoverConfig) == null ? void 0 : Re.trigger) === "hover")) {
52802
52804
  if (O && clearTimeout(O), T !== void 0)
52803
52805
  return;
52804
52806
  ((Ve = (Ae = g.currentConfig) == null ? void 0 : Ae.popoverConfig) == null ? void 0 : Ve.triggerDelay) > 0 ? T = setTimeout(
@@ -52810,7 +52812,7 @@ function iD(n, t, e) {
52810
52812
  }
52811
52813
  }, Le = (ee) => {
52812
52814
  var Te, Re;
52813
- M = !1, g.isHoverEnabled() && g.isPopoverConfigEnabled() && ((Re = (Te = g.currentConfig) == null ? void 0 : Te.popoverConfig) == null ? void 0 : Re.trigger) === "hover" && (T !== void 0 && (clearTimeout(T), T = void 0), K(!1));
52815
+ ee.pointerType === "mouse" && (M = !1, g.isHoverEnabled() && g.isPopoverConfigEnabled() && ((Re = (Te = g.currentConfig) == null ? void 0 : Te.popoverConfig) == null ? void 0 : Re.trigger) === "hover" && (T !== void 0 && (clearTimeout(T), T = void 0), K(!1)));
52814
52816
  }, re = (ee) => {
52815
52817
  var Re, Ae;
52816
52818
  const Te = g.contentType === "Audio" && g.data.appearance === "plane";
@@ -52968,9 +52970,7 @@ function s0(n) {
52968
52970
  "z-index",
52969
52971
  /*zIndex*/
52970
52972
  (c = n[6]) != null ? c : ""
52971
- ), R(t, "opacity", !/*state*/
52972
- n[4].visible || !/*temporaryState*/
52973
- n[5].visible ? null : 1);
52973
+ );
52974
52974
  },
52975
52975
  m(c, h) {
52976
52976
  X(c, t, h);
@@ -52994,10 +52994,7 @@ function s0(n) {
52994
52994
  "z-index",
52995
52995
  /*zIndex*/
52996
52996
  (d = c[6]) != null ? d : ""
52997
- ), h & /*state, temporaryState*/
52998
- 48 && R(t, "opacity", !/*state*/
52999
- c[4].visible || !/*temporaryState*/
53000
- c[5].visible ? null : 1);
52997
+ );
53001
52998
  },
53002
52999
  i(c) {
53003
53000
  if (!r) {