@realsee/dnalogel 3.41.1 → 3.41.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.
@@ -470,9 +470,10 @@ class R {
470
470
  }
471
471
  /** 闪烁 */
472
472
  flicker() {
473
+ var e, t, r, s, a, o;
473
474
  if (this.disposed)
474
475
  return this.logError("disposed");
475
- O(this.group, {
476
+ O([this.group, (r = (t = (e = this.startTagContainer) == null ? void 0 : e.plugin) == null ? void 0 : t.tags[0]) == null ? void 0 : r.dom, (o = (a = (s = this.endTagContainer) == null ? void 0 : s.plugin) == null ? void 0 : a.tags[0]) == null ? void 0 : o.dom], {
476
477
  loop: 6,
477
478
  updateRender: () => {
478
479
  this.five.needsRender = !0;
@@ -15,7 +15,7 @@ let x = class {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- o(this, "VERSION", "3.41.1");
18
+ o(this, "VERSION", "3.41.2");
19
19
  o(this, "NAME");
20
20
  o(this, "five");
21
21
  o(this, "workUtil");
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.41.1",
3
+ "%c %c@realsee/dnalogel %cv3.41.2",
4
4
  [
5
5
  "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=')",
6
6
  "background-repeat: no-repeat",
@@ -1,12 +1,12 @@
1
- var o = Object.defineProperty;
1
+ var R = Object.defineProperty;
2
2
  var T = Object.getOwnPropertySymbols;
3
3
  var L = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
4
- var H = (l, r, a) => r in l ? o(l, r, { enumerable: !0, configurable: !0, writable: !0, value: a }) : l[r] = a, M = (l, r) => {
4
+ var o = (l, r, a) => r in l ? R(l, r, { enumerable: !0, configurable: !0, writable: !0, value: a }) : l[r] = a, M = (l, r) => {
5
5
  for (var a in r || (r = {}))
6
- L.call(r, a) && H(l, a, r[a]);
6
+ L.call(r, a) && o(l, a, r[a]);
7
7
  if (T)
8
8
  for (var a of T(r))
9
- x.call(r, a) && H(l, a, r[a]);
9
+ x.call(r, a) && o(l, a, r[a]);
10
10
  return l;
11
11
  };
12
12
  import D from "animejs";
@@ -35,7 +35,7 @@ function k(l) {
35
35
  })));
36
36
  });
37
37
  }
38
- function R(l) {
38
+ function H(l) {
39
39
  h(l).forEach((a) => {
40
40
  const e = f.get(a);
41
41
  e && (a instanceof HTMLElement && (a.style.opacity = e.opacity === void 0 ? "" : e.opacity, a.style.display = e.visible.display, a.style.visibility = e.visible.visibility), a.isObject3D && (a.visible = e.visible, a.material && (a.material instanceof d.ShaderMaterial ? (a.material.uniforms.opacity && (a.material.uniforms.opacity.value = e.opacity), a.material.transparent = e.transparent) : (a.material.opacity = e.opacity, a.material.transparent = e.transparent))), f.delete(a));
@@ -50,7 +50,7 @@ function m(l, r) {
50
50
  i instanceof HTMLElement ? y.push(i) : i.isObject3D && (a ? (y.push(i), i.traverse((c) => {
51
51
  c && y.push(c);
52
52
  })) : y.push(i));
53
- }), e = [...new Set(y)], k(e);
53
+ }), e = [...new Set(y.filter(Boolean))], k(e);
54
54
  const t = D(M({
55
55
  targets: e,
56
56
  duration: 300,
@@ -71,7 +71,7 @@ function m(l, r) {
71
71
  }
72
72
  }, r));
73
73
  t.preComplete = () => {
74
- t != null && t.completed || (t == null || t.pause(), R(e), setTimeout(() => {
74
+ t != null && t.completed || (t == null || t.pause(), H(e), setTimeout(() => {
75
75
  var i;
76
76
  return (i = r == null ? void 0 : r.updateRender) == null ? void 0 : i.call(r);
77
77
  }));
@@ -79,12 +79,12 @@ function m(l, r) {
79
79
  const u = v.get(l);
80
80
  return u == null || u.pause(), u == null || u.seek(0), v.set(l, t), t.play(), t.finished.then(() => {
81
81
  var i;
82
- R(e), setTimeout(() => {
82
+ H(e), setTimeout(() => {
83
83
  v.get(l) === t && v.delete(l);
84
84
  }, 1e3), (i = r == null ? void 0 : r.updateRender) == null || i.call(r);
85
85
  }), t;
86
86
  }
87
- function z(l, r) {
87
+ function q(l, r) {
88
88
  return m(l, M({
89
89
  update: (a) => {
90
90
  var e;
@@ -102,5 +102,5 @@ function z(l, r) {
102
102
  export {
103
103
  v as animeMap,
104
104
  m as blink,
105
- z as reblink
105
+ q as reblink
106
106
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.41.1",
3
+ "version": "3.41.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",