@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/CHANGELOG.md +8 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.js +14 -17
- package/dist/index.umd.js +18 -18
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -3
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPoint.js +7 -7
- package/libs/PanoTagPlugin/Components/TagContainer.js +102 -107
- package/libs/PanoTagPlugin/Components/TagItem.js +20 -20
- package/libs/Sculpt/Meshes/Point.js +3 -1
- 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 P, init as Z, safe_not_equal as j, append_styles as A, empty as q, insert as
|
|
1
|
+
import { SvelteComponent as P, init as Z, safe_not_equal as j, append_styles as A, empty as q, insert as h, transition_in as d, transition_out as _, check_outros as E, detach as g, setContext as y, onMount as B, element as D, attr as c, toggle_class as z, set_style as C, group_outros as N, update_keyed_each as F, outro_and_destroy_block as G, add_render_callback as H, create_in_transition as J, create_component as K, mount_component as L, destroy_component as Q, binding_callbacks as R } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import U from "./TagItem.js";
|
|
3
3
|
import { fade as V } from "../../vendor/svelte/transition/index.js";
|
|
4
4
|
import { getOrCreatePopoverContainer as W } from "../utils/popoverContainer.js";
|
|
@@ -190,25 +190,25 @@ import "./Common/AudioPlayer.js";
|
|
|
190
190
|
import "./Common/TagPopover/TagPopoverToolBar.js";
|
|
191
191
|
import "./Common/TagPopover/ArrowRightIcon.js";
|
|
192
192
|
import "./Common/TagPopover/ShareIcon.js";
|
|
193
|
-
function X(
|
|
194
|
-
A(
|
|
193
|
+
function X(n) {
|
|
194
|
+
A(n, "svelte-9ehqs9", ".tag--container.svelte-9ehqs9{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translate3d(0, 0, 0);transition:opacity 0.2s linear;overflow:hidden}.tag--container.hide.svelte-9ehqs9{opacity:0 !important;pointer-events:none}.tag--container.hide.svelte-9ehqs9 *{pointer-events:none !important}");
|
|
195
195
|
}
|
|
196
|
-
function w(
|
|
197
|
-
const i =
|
|
196
|
+
function w(n, t, o) {
|
|
197
|
+
const i = n.slice();
|
|
198
198
|
return i[12] = t[o], i;
|
|
199
199
|
}
|
|
200
|
-
function T(
|
|
201
|
-
let t, o = [], i = /* @__PURE__ */ new Map(),
|
|
200
|
+
function T(n) {
|
|
201
|
+
let t, o = [], i = /* @__PURE__ */ new Map(), m, p, l, f = (
|
|
202
202
|
/*tags*/
|
|
203
|
-
|
|
203
|
+
n[0]
|
|
204
204
|
);
|
|
205
205
|
const u = (e) => (
|
|
206
206
|
/*tag*/
|
|
207
207
|
e[12].id
|
|
208
208
|
);
|
|
209
|
-
for (let e = 0; e <
|
|
210
|
-
let r = w(
|
|
211
|
-
i.set(
|
|
209
|
+
for (let e = 0; e < f.length; e += 1) {
|
|
210
|
+
let r = w(n, f, e), s = u(r);
|
|
211
|
+
i.set(s, o[e] = I(s, r));
|
|
212
212
|
}
|
|
213
213
|
return {
|
|
214
214
|
c() {
|
|
@@ -216,70 +216,65 @@ function T(m) {
|
|
|
216
216
|
t = D("div");
|
|
217
217
|
for (let r = 0; r < o.length; r += 1)
|
|
218
218
|
o[r].c();
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
219
|
+
c(t, "class", "tag--container svelte-9ehqs9"), c(t, "data-infive", m = !/*state*/
|
|
220
|
+
n[4].visible || !/*temporaryState*/
|
|
221
|
+
n[5].visible ? "1" : "0"), z(t, "hide", !/*state*/
|
|
222
|
+
n[4].visible || !/*temporaryState*/
|
|
223
|
+
n[5].visible), C(
|
|
224
224
|
t,
|
|
225
225
|
"z-index",
|
|
226
226
|
/*zIndex*/
|
|
227
|
-
(e =
|
|
228
|
-
)
|
|
229
|
-
m[4].visible || !/*temporaryState*/
|
|
230
|
-
m[5].visible ? null : 1);
|
|
227
|
+
(e = n[6]) != null ? e : ""
|
|
228
|
+
);
|
|
231
229
|
},
|
|
232
230
|
m(e, r) {
|
|
233
|
-
|
|
234
|
-
for (let
|
|
235
|
-
o[
|
|
236
|
-
|
|
231
|
+
h(e, t, r);
|
|
232
|
+
for (let s = 0; s < o.length; s += 1)
|
|
233
|
+
o[s] && o[s].m(t, null);
|
|
234
|
+
n[10](t), l = !0;
|
|
237
235
|
},
|
|
238
236
|
p(e, r) {
|
|
239
|
-
var
|
|
237
|
+
var s;
|
|
240
238
|
r & /*state, temporaryState, tags, mediaStore, rendererMap, contentTypeMap, wrapperElement, popoverContainerEl*/
|
|
241
|
-
447 && (
|
|
242
|
-
e[0], N(), o = F(o, r, u, 1, e,
|
|
243
|
-
48 &&
|
|
239
|
+
447 && (f = /*tags*/
|
|
240
|
+
e[0], N(), o = F(o, r, u, 1, e, f, i, t, G, I, null, w), E()), (!l || r & /*state, temporaryState*/
|
|
241
|
+
48 && m !== (m = !/*state*/
|
|
244
242
|
e[4].visible || !/*temporaryState*/
|
|
245
|
-
e[5].visible ? "1" : "0")) &&
|
|
246
|
-
48) &&
|
|
243
|
+
e[5].visible ? "1" : "0")) && c(t, "data-infive", m), (!l || r & /*state, temporaryState*/
|
|
244
|
+
48) && z(t, "hide", !/*state*/
|
|
247
245
|
e[4].visible || !/*temporaryState*/
|
|
248
246
|
e[5].visible), r & /*zIndex*/
|
|
249
|
-
64 &&
|
|
247
|
+
64 && C(
|
|
250
248
|
t,
|
|
251
249
|
"z-index",
|
|
252
250
|
/*zIndex*/
|
|
253
|
-
(
|
|
254
|
-
)
|
|
255
|
-
48 && _(t, "opacity", !/*state*/
|
|
256
|
-
e[4].visible || !/*temporaryState*/
|
|
257
|
-
e[5].visible ? null : 1);
|
|
251
|
+
(s = e[6]) != null ? s : ""
|
|
252
|
+
);
|
|
258
253
|
},
|
|
259
254
|
i(e) {
|
|
260
|
-
if (!
|
|
261
|
-
for (let r = 0; r <
|
|
255
|
+
if (!l) {
|
|
256
|
+
for (let r = 0; r < f.length; r += 1)
|
|
262
257
|
d(o[r]);
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}),
|
|
258
|
+
p || H(() => {
|
|
259
|
+
p = J(t, V, {}), p.start();
|
|
260
|
+
}), l = !0;
|
|
266
261
|
}
|
|
267
262
|
},
|
|
268
263
|
o(e) {
|
|
269
264
|
for (let r = 0; r < o.length; r += 1)
|
|
270
|
-
|
|
271
|
-
|
|
265
|
+
_(o[r]);
|
|
266
|
+
l = !1;
|
|
272
267
|
},
|
|
273
268
|
d(e) {
|
|
274
|
-
e &&
|
|
269
|
+
e && g(t);
|
|
275
270
|
for (let r = 0; r < o.length; r += 1)
|
|
276
271
|
o[r].d();
|
|
277
|
-
|
|
272
|
+
n[10](null);
|
|
278
273
|
}
|
|
279
274
|
};
|
|
280
275
|
}
|
|
281
|
-
function I(
|
|
282
|
-
let o, i,
|
|
276
|
+
function I(n, t) {
|
|
277
|
+
let o, i, m;
|
|
283
278
|
return i = new U({
|
|
284
279
|
props: {
|
|
285
280
|
state: (
|
|
@@ -316,103 +311,103 @@ function I(m, t) {
|
|
|
316
311
|
)
|
|
317
312
|
}
|
|
318
313
|
}), {
|
|
319
|
-
key:
|
|
314
|
+
key: n,
|
|
320
315
|
first: null,
|
|
321
316
|
c() {
|
|
322
317
|
o = q(), K(i.$$.fragment), this.first = o;
|
|
323
318
|
},
|
|
324
|
-
m(
|
|
325
|
-
|
|
319
|
+
m(p, l) {
|
|
320
|
+
h(p, o, l), L(i, p, l), m = !0;
|
|
326
321
|
},
|
|
327
|
-
p(
|
|
328
|
-
t =
|
|
329
|
-
const
|
|
330
|
-
|
|
331
|
-
16 && (
|
|
332
|
-
t[4]),
|
|
333
|
-
32 && (
|
|
334
|
-
t[5]),
|
|
335
|
-
1 && (
|
|
336
|
-
t[12]),
|
|
337
|
-
2 && (
|
|
338
|
-
t[1]),
|
|
339
|
-
4 && (
|
|
340
|
-
t[2]),
|
|
341
|
-
8 && (
|
|
342
|
-
t[3]),
|
|
343
|
-
128 && (
|
|
344
|
-
t[7]),
|
|
345
|
-
256 && (
|
|
346
|
-
t[8]), i.$set(
|
|
322
|
+
p(p, l) {
|
|
323
|
+
t = p;
|
|
324
|
+
const f = {};
|
|
325
|
+
l & /*state*/
|
|
326
|
+
16 && (f.state = /*state*/
|
|
327
|
+
t[4]), l & /*temporaryState*/
|
|
328
|
+
32 && (f.temporaryState = /*temporaryState*/
|
|
329
|
+
t[5]), l & /*tags*/
|
|
330
|
+
1 && (f.tag = /*tag*/
|
|
331
|
+
t[12]), l & /*mediaStore*/
|
|
332
|
+
2 && (f.mediaStore = /*mediaStore*/
|
|
333
|
+
t[1]), l & /*rendererMap*/
|
|
334
|
+
4 && (f.rendererMap = /*rendererMap*/
|
|
335
|
+
t[2]), l & /*contentTypeMap*/
|
|
336
|
+
8 && (f.contentTypeMap = /*contentTypeMap*/
|
|
337
|
+
t[3]), l & /*wrapperElement*/
|
|
338
|
+
128 && (f.wrapperElement = /*wrapperElement*/
|
|
339
|
+
t[7]), l & /*popoverContainerEl*/
|
|
340
|
+
256 && (f.popoverContainer = /*popoverContainerEl*/
|
|
341
|
+
t[8]), i.$set(f);
|
|
347
342
|
},
|
|
348
|
-
i(
|
|
349
|
-
|
|
343
|
+
i(p) {
|
|
344
|
+
m || (d(i.$$.fragment, p), m = !0);
|
|
350
345
|
},
|
|
351
|
-
o(
|
|
352
|
-
|
|
346
|
+
o(p) {
|
|
347
|
+
_(i.$$.fragment, p), m = !1;
|
|
353
348
|
},
|
|
354
|
-
d(
|
|
355
|
-
|
|
349
|
+
d(p) {
|
|
350
|
+
p && g(o), Q(i, p);
|
|
356
351
|
}
|
|
357
352
|
};
|
|
358
353
|
}
|
|
359
|
-
function Y(
|
|
354
|
+
function Y(n) {
|
|
360
355
|
let t, o, i = (
|
|
361
356
|
/*state*/
|
|
362
|
-
|
|
357
|
+
n[4].enabled && T(n)
|
|
363
358
|
);
|
|
364
359
|
return {
|
|
365
360
|
c() {
|
|
366
361
|
i && i.c(), t = q();
|
|
367
362
|
},
|
|
368
|
-
m(
|
|
369
|
-
i && i.m(
|
|
363
|
+
m(m, p) {
|
|
364
|
+
i && i.m(m, p), h(m, t, p), o = !0;
|
|
370
365
|
},
|
|
371
|
-
p(
|
|
366
|
+
p(m, [p]) {
|
|
372
367
|
/*state*/
|
|
373
|
-
|
|
374
|
-
16 && d(i, 1)) : (i = T(
|
|
368
|
+
m[4].enabled ? i ? (i.p(m, p), p & /*state*/
|
|
369
|
+
16 && d(i, 1)) : (i = T(m), i.c(), d(i, 1), i.m(t.parentNode, t)) : i && (N(), _(i, 1, 1, () => {
|
|
375
370
|
i = null;
|
|
376
371
|
}), E());
|
|
377
372
|
},
|
|
378
|
-
i(
|
|
373
|
+
i(m) {
|
|
379
374
|
o || (d(i), o = !0);
|
|
380
375
|
},
|
|
381
|
-
o(
|
|
382
|
-
|
|
376
|
+
o(m) {
|
|
377
|
+
_(i), o = !1;
|
|
383
378
|
},
|
|
384
|
-
d(
|
|
385
|
-
i && i.d(
|
|
379
|
+
d(m) {
|
|
380
|
+
i && i.d(m), m && g(t);
|
|
386
381
|
}
|
|
387
382
|
};
|
|
388
383
|
}
|
|
389
|
-
function x(
|
|
390
|
-
let { tags: i = [] } = t, { hooks:
|
|
391
|
-
|
|
392
|
-
o(8,
|
|
384
|
+
function x(n, t, o) {
|
|
385
|
+
let { tags: i = [] } = t, { hooks: m } = t, { mediaStore: p } = t, { rendererMap: l } = t, { contentTypeMap: f } = t, { state: u } = t, { temporaryState: e } = t, { zIndex: r = void 0 } = t, s = null, b = null, v = 2e3;
|
|
386
|
+
y("hooks", m), y("mediaStore", p), B(() => {
|
|
387
|
+
o(8, b = W(v));
|
|
393
388
|
});
|
|
394
|
-
function O(
|
|
395
|
-
R[
|
|
396
|
-
|
|
389
|
+
function O(a) {
|
|
390
|
+
R[a ? "unshift" : "push"](() => {
|
|
391
|
+
s = a, o(7, s);
|
|
397
392
|
});
|
|
398
393
|
}
|
|
399
|
-
return
|
|
400
|
-
"tags" in
|
|
401
|
-
},
|
|
402
|
-
var
|
|
403
|
-
|
|
404
|
-
1 && i && i.length > 0 && (
|
|
394
|
+
return n.$$set = (a) => {
|
|
395
|
+
"tags" in a && o(0, i = a.tags), "hooks" in a && o(9, m = a.hooks), "mediaStore" in a && o(1, p = a.mediaStore), "rendererMap" in a && o(2, l = a.rendererMap), "contentTypeMap" in a && o(3, f = a.contentTypeMap), "state" in a && o(4, u = a.state), "temporaryState" in a && o(5, e = a.temporaryState), "zIndex" in a && o(6, r = a.zIndex);
|
|
396
|
+
}, n.$$.update = () => {
|
|
397
|
+
var a, k, M, S;
|
|
398
|
+
n.$$.dirty & /*tags*/
|
|
399
|
+
1 && i && i.length > 0 && (v = (S = (M = (k = (a = i[0]) == null ? void 0 : a.config) == null ? void 0 : k.popoverConfig) == null ? void 0 : M.zIndex) != null ? S : 2e6);
|
|
405
400
|
}, [
|
|
406
401
|
i,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
402
|
+
p,
|
|
403
|
+
l,
|
|
404
|
+
f,
|
|
410
405
|
u,
|
|
411
406
|
e,
|
|
412
407
|
r,
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
408
|
+
s,
|
|
409
|
+
b,
|
|
410
|
+
m,
|
|
416
411
|
O
|
|
417
412
|
];
|
|
418
413
|
}
|
|
@@ -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,
|
|
@@ -134,7 +134,9 @@ class st extends T {
|
|
|
134
134
|
t && !this.dom && (this.dom = new B(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
|
|
135
135
|
const o = (h) => {
|
|
136
136
|
this.dom && this.dom.__text !== h && (this.dom.__text = h, h instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(h)) : h ? this.dom.container.innerHTML = H(h, {
|
|
137
|
-
style: ""
|
|
137
|
+
style: "",
|
|
138
|
+
offsetY: -20
|
|
139
|
+
// 移动label到点的上方,否则会遮挡鼠标选点
|
|
138
140
|
}) : this.dom.container.innerHTML = "");
|
|
139
141
|
};
|
|
140
142
|
t ? (o(t), this.dom.setPosition(this.position.clone())) : o(null);
|
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 m } 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 l } 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.
|
|
26
|
+
r(this, "VERSION", "3.74.2");
|
|
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 m());
|
|
35
35
|
r(this, "staticPrefix", p);
|
|
36
|
-
this.five = t, this.fiveUtil = new
|
|
36
|
+
this.five = t, this.fiveUtil = new l(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.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.74.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",
|