@realsee/dnalogel 3.1.0 → 3.1.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
@@ -39,7 +39,7 @@ import dl from "animejs";
39
39
  import { GLTFLoader as Zf } from "@realsee/five/gltf-loader";
40
40
  function qf() {
41
41
  console.debug(
42
- "%c %c@realsee/dnalogel %cv3.1.0",
42
+ "%c %c@realsee/dnalogel %cv3.1.2",
43
43
  [
44
44
  "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=')",
45
45
  "background-repeat: no-repeat",
@@ -7085,7 +7085,7 @@ let Vn = class {
7085
7085
  /**
7086
7086
  * @realsee/dnalogel 版本号
7087
7087
  */
7088
- u(this, "VERSION", "3.1.0");
7088
+ u(this, "VERSION", "3.1.2");
7089
7089
  u(this, "five");
7090
7090
  /**
7091
7091
  * 插件事件钩子
@@ -8944,9 +8944,9 @@ let ZA = class extends oi {
8944
8944
  hoverEnable: !0,
8945
8945
  highlightEnable: !0,
8946
8946
  cameraImageUrl: gi,
8947
- missingFloorImageUrl: i.cameraImageUrl || this.staticPrefix + "/release/web/saas/missing-floor.d687a5ed.png"
8948
- }, o = i != null && i.configs ? i.configs : {}, r = V(V({}, s), o);
8949
- this.state = { enabled: !0, visible: !0, config: r }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
8947
+ missingFloorImageUrl: this.staticPrefix + "/release/web/saas/missing-floor.d687a5ed.png"
8948
+ }, o = V(V({}, s), i == null ? void 0 : i.configs);
8949
+ this.state = { enabled: !0, visible: !0, config: o }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
8950
8950
  }
8951
8951
  load(e, i, s = !0) {
8952
8952
  return _(this, null, function* () {
@@ -17210,8 +17210,10 @@ function X1(n, t) {
17210
17210
  o();
17211
17211
  return;
17212
17212
  }
17213
- e = !0, i.muted = !0, i.play().then(() => {
17214
- i.pause(), i.currentTime = 0, o();
17213
+ i.muted = !0, i.play().then(() => {
17214
+ e = !0, i.pause(), i.currentTime = 0, o();
17215
+ }).catch(() => {
17216
+ console.warn("video auto play error");
17215
17217
  });
17216
17218
  }
17217
17219
  };