@realsee/dnalogel 3.74.0 → 3.74.1-alpha.0
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.cjs.js +4 -4
- package/dist/index.js +9 -9
- package/dist/index.umd.js +4 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -3
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPoint.js +7 -7
- package/libs/PanoTagPlugin/Components/TagItem.js +20 -20
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -115,11 +115,11 @@ function Me(t) {
|
|
|
115
115
|
),
|
|
116
116
|
z(
|
|
117
117
|
e,
|
|
118
|
-
"
|
|
119
|
-
/*
|
|
118
|
+
"pointerenter",
|
|
119
|
+
/*pointerenter_handler*/
|
|
120
120
|
t[16]
|
|
121
121
|
),
|
|
122
|
-
z(e, "
|
|
122
|
+
z(e, "pointerleave", function() {
|
|
123
123
|
he(
|
|
124
124
|
/*handleMouseLeave*/
|
|
125
125
|
t[3]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as _, init as b, safe_not_equal as k, append_styles as v, create_component as m, mount_component as c, transition_in as g, transition_out as
|
|
1
|
+
import { SvelteComponent as _, init as b, safe_not_equal as k, append_styles as v, create_component as m, mount_component as c, transition_in as g, transition_out as p, destroy_component as h, createEventDispatcher as M, element as w, attr as E, insert as C, listen as d, is_function as f, detach as P, run_all as L } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import R from "../../Common/Audio.js";
|
|
3
3
|
import A from "../../Common/Icon/audioIcon.js";
|
|
4
4
|
import "../../../utils/audio/SharedAudio.js";
|
|
@@ -30,13 +30,13 @@ function z(t) {
|
|
|
30
30
|
t[2]
|
|
31
31
|
) && t[2].apply(this, arguments);
|
|
32
32
|
}),
|
|
33
|
-
d(e, "
|
|
33
|
+
d(e, "pointerenter", function() {
|
|
34
34
|
f(
|
|
35
35
|
/*handleMouseEnter*/
|
|
36
36
|
t[3]
|
|
37
37
|
) && t[3].apply(this, arguments);
|
|
38
38
|
}),
|
|
39
|
-
d(e, "
|
|
39
|
+
d(e, "pointerleave", function() {
|
|
40
40
|
f(
|
|
41
41
|
/*handleMouseLeave*/
|
|
42
42
|
t[4]
|
|
@@ -55,10 +55,10 @@ function z(t) {
|
|
|
55
55
|
n || (g(a.$$.fragment, r), n = !0);
|
|
56
56
|
},
|
|
57
57
|
o(r) {
|
|
58
|
-
|
|
58
|
+
p(a.$$.fragment, r), n = !1;
|
|
59
59
|
},
|
|
60
60
|
d(r) {
|
|
61
|
-
r && P(e),
|
|
61
|
+
r && P(e), h(a), o = !1, L(l);
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
}
|
|
@@ -130,10 +130,10 @@ function U(t) {
|
|
|
130
130
|
a || (g(e.$$.fragment, n), a = !0);
|
|
131
131
|
},
|
|
132
132
|
o(n) {
|
|
133
|
-
|
|
133
|
+
p(e.$$.fragment, n), a = !1;
|
|
134
134
|
},
|
|
135
135
|
d(n) {
|
|
136
|
-
|
|
136
|
+
h(e, n);
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as ve, init as Ce, safe_not_equal as ke, append_styles as
|
|
1
|
+
import { SvelteComponent as ve, init as Ce, safe_not_equal as ke, append_styles as Te, space as ae, empty as he, insert as R, transition_in as b, transition_out as T, check_outros as V, detach as Z, getContext as Pe, onMount as ye, element as X, attr as _, toggle_class as H, set_style as F, append as Ee, group_outros as j, create_component as Y, mount_component as $, destroy_component as x, binding_callbacks as W, noop as I, bind as Me, add_flush_callback as Se } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import we from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import { noTypecheck as ie } from "../utils/noTypecheck.js";
|
|
@@ -189,7 +189,7 @@ import "./Common/TagPopover/TagPopoverToolBar.js";
|
|
|
189
189
|
import "./Common/TagPopover/ArrowRightIcon.js";
|
|
190
190
|
import "./Common/TagPopover/ShareIcon.js";
|
|
191
191
|
function Ue(t) {
|
|
192
|
-
|
|
192
|
+
Te(t, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
|
|
193
193
|
}
|
|
194
194
|
function re(t) {
|
|
195
195
|
let e, i, a, m, r, n, u, l, g, d;
|
|
@@ -253,11 +253,11 @@ function re(t) {
|
|
|
253
253
|
},
|
|
254
254
|
p(f, s) {
|
|
255
255
|
let w = i;
|
|
256
|
-
i = L(f), i === w ? v[i].p(f, s) : (j(),
|
|
256
|
+
i = L(f), i === w ? v[i].p(f, s) : (j(), T(v[w], 1, 1, () => {
|
|
257
257
|
v[w] = null;
|
|
258
258
|
}), V(), a = v[i], a ? a.p(f, s) : (a = v[i] = U[i](f), a.c()), b(a, 1), a.m(e, m));
|
|
259
259
|
let D = r;
|
|
260
|
-
r = S(f), r === D ? C[r].p(f, s) : (j(),
|
|
260
|
+
r = S(f), r === D ? C[r].p(f, s) : (j(), T(C[D], 1, 1, () => {
|
|
261
261
|
C[D] = null;
|
|
262
262
|
}), V(), n = C[r], n ? n.p(f, s) : (n = C[r] = o[r](f), n.c()), b(n, 1), n.m(e, null)), (!d || s[0] & /*id*/
|
|
263
263
|
8388608) && _(
|
|
@@ -311,7 +311,7 @@ function re(t) {
|
|
|
311
311
|
d || (b(a), b(n), d = !0);
|
|
312
312
|
},
|
|
313
313
|
o(f) {
|
|
314
|
-
|
|
314
|
+
T(a), T(n), d = !1;
|
|
315
315
|
},
|
|
316
316
|
d(f) {
|
|
317
317
|
f && Z(e), v[i].d(), C[r].d(), t[36](null);
|
|
@@ -400,7 +400,7 @@ function ze(t) {
|
|
|
400
400
|
a || (b(e.$$.fragment, n), a = !0);
|
|
401
401
|
},
|
|
402
402
|
o(n) {
|
|
403
|
-
|
|
403
|
+
T(e.$$.fragment, n), a = !1;
|
|
404
404
|
},
|
|
405
405
|
d(n) {
|
|
406
406
|
t[35](null), x(e, n);
|
|
@@ -487,7 +487,7 @@ function Re(t) {
|
|
|
487
487
|
i || (b(e.$$.fragment, a), i = !0);
|
|
488
488
|
},
|
|
489
489
|
o(a) {
|
|
490
|
-
|
|
490
|
+
T(e.$$.fragment, a), i = !1;
|
|
491
491
|
},
|
|
492
492
|
d(a) {
|
|
493
493
|
x(e, a);
|
|
@@ -593,7 +593,7 @@ function ne(t) {
|
|
|
593
593
|
i || (b(e.$$.fragment, m), i = !0);
|
|
594
594
|
},
|
|
595
595
|
o(m) {
|
|
596
|
-
|
|
596
|
+
T(e.$$.fragment, m), i = !1;
|
|
597
597
|
},
|
|
598
598
|
d(m) {
|
|
599
599
|
x(e, m);
|
|
@@ -616,7 +616,7 @@ function Ze(t) {
|
|
|
616
616
|
), n = i && ne(t);
|
|
617
617
|
return {
|
|
618
618
|
c() {
|
|
619
|
-
r && r.c(), e = ae(), n && n.c(), a =
|
|
619
|
+
r && r.c(), e = ae(), n && n.c(), a = he();
|
|
620
620
|
},
|
|
621
621
|
m(l, g) {
|
|
622
622
|
r && r.m(l, g), R(l, e, g), n && n.m(l, g), R(l, a, g), m = !0;
|
|
@@ -627,7 +627,7 @@ function Ze(t) {
|
|
|
627
627
|
l[9] && (!/*disable*/
|
|
628
628
|
l[22] || /*isHovering*/
|
|
629
629
|
l[11]) ? r ? (r.p(l, g), g[0] & /*screenPosition, disable, isHovering*/
|
|
630
|
-
4196864 && b(r, 1)) : (r = re(l), r.c(), b(r, 1), r.m(e.parentNode, e)) : r && (j(),
|
|
630
|
+
4196864 && b(r, 1)) : (r = re(l), r.c(), b(r, 1), r.m(e.parentNode, e)) : r && (j(), T(r, 1, 1, () => {
|
|
631
631
|
r = null;
|
|
632
632
|
}), V()), g[0] & /*tag, hasPopoverContent, isHovering*/
|
|
633
633
|
16779265 && (i = /*tag*/
|
|
@@ -635,7 +635,7 @@ function Ze(t) {
|
|
|
635
635
|
l[24] && /*isHovering*/
|
|
636
636
|
(l[11] || /*tag*/
|
|
637
637
|
((d = l[0].config.popoverConfig) == null ? void 0 : d.debug))), i ? n ? (n.p(l, g), g[0] & /*tag, hasPopoverContent, isHovering*/
|
|
638
|
-
16779265 && b(n, 1)) : (n = ne(l), n.c(), b(n, 1), n.m(a.parentNode, a)) : n && (j(),
|
|
638
|
+
16779265 && b(n, 1)) : (n = ne(l), n.c(), b(n, 1), n.m(a.parentNode, a)) : n && (j(), T(n, 1, 1, () => {
|
|
639
639
|
n = null;
|
|
640
640
|
}), V());
|
|
641
641
|
},
|
|
@@ -643,7 +643,7 @@ function Ze(t) {
|
|
|
643
643
|
m || (b(r), b(n), m = !0);
|
|
644
644
|
},
|
|
645
645
|
o(l) {
|
|
646
|
-
|
|
646
|
+
T(r), T(n), m = !1;
|
|
647
647
|
},
|
|
648
648
|
d(l) {
|
|
649
649
|
r && r.d(l), l && Z(e), n && n.d(l), l && Z(a);
|
|
@@ -653,7 +653,7 @@ function Ze(t) {
|
|
|
653
653
|
function Ne(t, e, i) {
|
|
654
654
|
let a, m, r, n, u, l, g, d, U, v, L, { tag: o } = e, { mediaStore: C } = e, { rendererMap: S = /* @__PURE__ */ new Map() } = e, { contentTypeMap: f = /* @__PURE__ */ new Map() } = e, { state: s } = e, { temporaryState: w } = e, { wrapperElement: D = null } = e, { popoverContainer: ee = null } = e;
|
|
655
655
|
const pe = Pe("hooks");
|
|
656
|
-
let
|
|
656
|
+
let h = !1, y, P, B = null, G = !1, J = !1, K = null, Q = null, N = !1, te = 0, oe = 0;
|
|
657
657
|
const me = {
|
|
658
658
|
audioInstanceReady: (p) => {
|
|
659
659
|
i(14, Q = p.detail), i(15, N = !Q.paused);
|
|
@@ -674,13 +674,13 @@ function Ne(t, e, i) {
|
|
|
674
674
|
let O = !1;
|
|
675
675
|
const q = (p) => {
|
|
676
676
|
if (P && clearTimeout(P), p === !0 && !O) {
|
|
677
|
-
O = !0, i(11,
|
|
677
|
+
O = !0, i(11, h = !0);
|
|
678
678
|
return;
|
|
679
679
|
}
|
|
680
680
|
P = setTimeout(
|
|
681
681
|
() => {
|
|
682
682
|
var c;
|
|
683
|
-
!G && !J && !((c = o.config.popoverConfig) != null && c.debug) && (O = !1, i(11,
|
|
683
|
+
!G && !J && !((c = o.config.popoverConfig) != null && c.debug) && (O = !1, i(11, h = !1));
|
|
684
684
|
},
|
|
685
685
|
300
|
|
686
686
|
);
|
|
@@ -690,7 +690,7 @@ function Ne(t, e, i) {
|
|
|
690
690
|
G = !1, q(!1);
|
|
691
691
|
}, ue = (p) => {
|
|
692
692
|
var c, k, E, M, z, A;
|
|
693
|
-
if (J = !0, o.isPopoverConfigEnabled() && o.isHoverEnabled() && ((k = (c = o.currentConfig) == null ? void 0 : c.popoverConfig) == null ? void 0 : k.trigger) === "hover") {
|
|
693
|
+
if (p.pointerType === "mouse" && (J = !0, o.isPopoverConfigEnabled() && o.isHoverEnabled() && ((k = (c = o.currentConfig) == null ? void 0 : c.popoverConfig) == null ? void 0 : k.trigger) === "hover")) {
|
|
694
694
|
if (P && clearTimeout(P), y !== void 0)
|
|
695
695
|
return;
|
|
696
696
|
((M = (E = o.currentConfig) == null ? void 0 : E.popoverConfig) == null ? void 0 : M.triggerDelay) > 0 ? y = setTimeout(
|
|
@@ -702,14 +702,14 @@ function Ne(t, e, i) {
|
|
|
702
702
|
}
|
|
703
703
|
}, se = (p) => {
|
|
704
704
|
var c, k;
|
|
705
|
-
J = !1, o.isHoverEnabled() && o.isPopoverConfigEnabled() && ((k = (c = o.currentConfig) == null ? void 0 : c.popoverConfig) == null ? void 0 : k.trigger) === "hover" && (y !== void 0 && (clearTimeout(y), y = void 0), q(!1));
|
|
705
|
+
p.pointerType === "mouse" && (J = !1, o.isHoverEnabled() && o.isPopoverConfigEnabled() && ((k = (c = o.currentConfig) == null ? void 0 : c.popoverConfig) == null ? void 0 : k.trigger) === "hover" && (y !== void 0 && (clearTimeout(y), y = void 0), q(!1)));
|
|
706
706
|
}, de = (p) => {
|
|
707
707
|
var k, E;
|
|
708
708
|
const c = o.contentType === "Audio" && o.data.appearance === "plane";
|
|
709
|
-
o.isPopoverConfigEnabled() && o.isHoverEnabled() && ((E = (k = o.currentConfig) == null ? void 0 : k.popoverConfig) == null ? void 0 : E.trigger) === "click" && (c ?
|
|
709
|
+
o.isPopoverConfigEnabled() && o.isHoverEnabled() && ((E = (k = o.currentConfig) == null ? void 0 : k.popoverConfig) == null ? void 0 : E.trigger) === "click" && (c ? h || (i(11, h = !0), o.hooks.emit("hover", { event: p, tag: o })) : (i(11, h = !h), h && o.hooks.emit("hover", { event: p, tag: o })));
|
|
710
710
|
};
|
|
711
711
|
function ge() {
|
|
712
|
-
O = !1, i(11,
|
|
712
|
+
O = !1, i(11, h = !1);
|
|
713
713
|
}
|
|
714
714
|
ye(() => () => {
|
|
715
715
|
y && clearTimeout(y), P && clearTimeout(P);
|
|
@@ -761,7 +761,7 @@ function Ne(t, e, i) {
|
|
|
761
761
|
d,
|
|
762
762
|
u,
|
|
763
763
|
a,
|
|
764
|
-
|
|
764
|
+
h,
|
|
765
765
|
B,
|
|
766
766
|
K,
|
|
767
767
|
Q,
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var e = Object.defineProperty;
|
|
2
2
|
var s = (o, t, i) => t in o ? e(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
|
|
3
3
|
var r = (o, t, i) => (s(o, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
|
-
import { Subscribe as
|
|
4
|
+
import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "../vendor/hammerjs/hammer.js";
|
|
@@ -15,7 +15,7 @@ import "../shared-utils/three/blink.js";
|
|
|
15
15
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
16
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
17
17
|
import "../vendor/earcut/src/earcut.js";
|
|
18
|
-
import { FiveUtil as
|
|
18
|
+
import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
|
|
19
19
|
import { DEFAULT_STATIC_PREFIX as p } from "../shared-utils/url/defaultUrls.js";
|
|
20
20
|
import "../shared-utils/five/FivePuppet.js";
|
|
21
21
|
let I = class {
|
|
@@ -23,7 +23,7 @@ let I = class {
|
|
|
23
23
|
/**
|
|
24
24
|
* @realsee/dnalogel 版本号
|
|
25
25
|
*/
|
|
26
|
-
r(this, "VERSION", "3.74.0");
|
|
26
|
+
r(this, "VERSION", "3.74.1-alpha.0");
|
|
27
27
|
r(this, "NAME");
|
|
28
28
|
r(this, "five");
|
|
29
29
|
r(this, "workUtil");
|
|
@@ -31,9 +31,9 @@ let I = class {
|
|
|
31
31
|
/**
|
|
32
32
|
* @description: 插件事件钩子
|
|
33
33
|
*/
|
|
34
|
-
r(this, "hooks", new
|
|
34
|
+
r(this, "hooks", new l());
|
|
35
35
|
r(this, "staticPrefix", p);
|
|
36
|
-
this.five = t, this.fiveUtil = new
|
|
36
|
+
this.five = t, this.fiveUtil = new m(t), this.workUtil = this.fiveUtil.workUtil, i != null && i.staticPrefix && (this.staticPrefix = i.staticPrefix);
|
|
37
37
|
}
|
|
38
38
|
set workCode(t) {
|
|
39
39
|
this.workUtil.workCode = t, this.onWorkCodeChange();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.74.0",
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.74.1-alpha.0",
|
|
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",
|