@realsee/dnalogel 2.1.0-alpha.26 → 2.1.0-alpha.27
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.es.js +21286 -0
- package/dist/index.js +34 -33
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +9 -9
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoTagPluginController.html +23 -23
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +7 -7
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/LinkType.html +1 -1
- package/docs/enums/PaintBrushTypeEnum.html +1 -1
- package/docs/enums/PointType.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/Object3DHelperState.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +1 -1
- package/docs/interfaces/PaintBrushState.html +1 -1
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +5 -5
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/modules.html +21 -21
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +81 -81
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +69 -68
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import { Image_Play_Large as
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { S as C, i as N, s as F, a as U, r as q, c as _, n as y, g as p, e as m, b as u, G as S, o as L, l as b, I as d, q as z, p as k, K as P, L as G } from "../../../index.164f1850.js";
|
|
2
|
+
import { Image_Play_Large as j, Image_Play_Small as B } from "../../Assets/Icon.js";
|
|
3
|
+
function K(o) {
|
|
4
|
+
U(o, "svelte-cwtvzu", ".media-item.svelte-cwtvzu.svelte-cwtvzu{height:100%}.media-content.svelte-cwtvzu.svelte-cwtvzu{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-cwtvzu.svelte-cwtvzu{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0}.video-play-button-container.showPlayButton.svelte-cwtvzu.svelte-cwtvzu{display:block}.video-icon.large.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem}.video-icon.small.svelte-cwtvzu.svelte-cwtvzu{width:1.75rem;height:1.75rem}.video-icon.svelte-cwtvzu .video-icon-img.svelte-cwtvzu{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-cwtvzu .video-icon-img.canPlay.svelte-cwtvzu{cursor:pointer}");
|
|
5
5
|
}
|
|
6
|
-
function I(
|
|
7
|
-
let e
|
|
8
|
-
function a
|
|
9
|
-
if (
|
|
6
|
+
function I(o) {
|
|
7
|
+
let e;
|
|
8
|
+
function t(a, c) {
|
|
9
|
+
if (a[0].type === "Image")
|
|
10
|
+
return V;
|
|
11
|
+
if (a[0].type === "Video")
|
|
10
12
|
return M;
|
|
11
|
-
if (u[0].type === "Video")
|
|
12
|
-
return K;
|
|
13
13
|
}
|
|
14
|
-
let s =
|
|
14
|
+
let s = t(o), i = s && s(o);
|
|
15
15
|
return {
|
|
16
16
|
c() {
|
|
17
|
-
e =
|
|
17
|
+
e = m("div"), i && i.c(), u(e, "class", "media-item svelte-cwtvzu");
|
|
18
18
|
},
|
|
19
|
-
m(
|
|
20
|
-
|
|
19
|
+
m(a, c) {
|
|
20
|
+
_(a, e, c), i && i.m(e, null);
|
|
21
21
|
},
|
|
22
|
-
p(
|
|
23
|
-
s === (s = a
|
|
22
|
+
p(a, c) {
|
|
23
|
+
s === (s = t(a)) && i ? i.p(a, c) : (i && i.d(1), i = s && s(a), i && (i.c(), i.m(e, null)));
|
|
24
24
|
},
|
|
25
|
-
d(
|
|
26
|
-
|
|
25
|
+
d(a) {
|
|
26
|
+
a && p(e), i && i.d();
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
let e, t,
|
|
30
|
+
function M(o) {
|
|
31
|
+
let e, t, s, i, a, c, n, f, v, w, g;
|
|
32
32
|
return {
|
|
33
33
|
c() {
|
|
34
|
-
var
|
|
35
|
-
e =
|
|
34
|
+
var l;
|
|
35
|
+
e = m("video"), c = L(), n = m("div"), f = m("div"), v = m("div"), u(e, "class", "media-content svelte-cwtvzu"), u(e, "style", t = `object-fit: ${o[3]};`), b(e.src, s = o[0].url) || u(e, "src", s), u(e, "poster", i = (l = o[0].videoCoverUrl) != null ? l : void 0), u(e, "preload", a = o[0].videoCoverUrl ? void 0 : "auto"), e.playsInline = !0, u(e, "paused", ""), e.loop = !1, u(e, "crossorigin", ""), e.controls = !1, d(e, "showPlayButton", o[5]), u(v, "class", "video-icon-img svelte-cwtvzu"), z(v, "background-image", "url(" + (o[1] === "large" ? j : B) + ")"), d(v, "canPlay", o[2]), u(f, "class", "video-icon svelte-cwtvzu"), d(f, "large", o[1] === "large"), d(f, "small", o[1] === "small"), u(n, "class", "video-play-button-container svelte-cwtvzu"), d(n, "showPlayButton", o[5]);
|
|
36
36
|
},
|
|
37
|
-
m(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
],
|
|
37
|
+
m(l, r) {
|
|
38
|
+
_(l, e, r), o[7](e), _(l, c, r), _(l, n, r), k(n, f), k(f, v), w || (g = [
|
|
39
|
+
P(e, "click", o[6]),
|
|
40
|
+
P(v, "click", o[8])
|
|
41
|
+
], w = !0);
|
|
42
42
|
},
|
|
43
|
-
p(
|
|
44
|
-
var
|
|
45
|
-
|
|
43
|
+
p(l, r) {
|
|
44
|
+
var h;
|
|
45
|
+
r & 8 && t !== (t = `object-fit: ${l[3]};`) && u(e, "style", t), r & 1 && !b(e.src, s = l[0].url) && u(e, "src", s), r & 1 && i !== (i = (h = l[0].videoCoverUrl) != null ? h : void 0) && u(e, "poster", i), r & 1 && a !== (a = l[0].videoCoverUrl ? void 0 : "auto") && u(e, "preload", a), r & 32 && d(e, "showPlayButton", l[5]), r & 2 && z(v, "background-image", "url(" + (l[1] === "large" ? j : B) + ")"), r & 4 && d(v, "canPlay", l[2]), r & 2 && d(f, "large", l[1] === "large"), r & 2 && d(f, "small", l[1] === "small"), r & 32 && d(n, "showPlayButton", l[5]);
|
|
46
46
|
},
|
|
47
|
-
d(
|
|
48
|
-
|
|
47
|
+
d(l) {
|
|
48
|
+
l && p(e), o[7](null), l && p(c), l && p(n), w = !1, G(g);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
let e, t,
|
|
52
|
+
function V(o) {
|
|
53
|
+
let e, t, s, i;
|
|
54
54
|
return {
|
|
55
55
|
c() {
|
|
56
|
-
e =
|
|
56
|
+
e = m("img"), u(e, "class", "media-content svelte-cwtvzu"), u(e, "style", t = `object-fit: ${o[3]};`), b(e.src, s = o[0].url) || u(e, "src", s), u(e, "alt", i = o[0].name);
|
|
57
57
|
},
|
|
58
|
-
m(
|
|
59
|
-
|
|
58
|
+
m(a, c) {
|
|
59
|
+
_(a, e, c);
|
|
60
60
|
},
|
|
61
|
-
p(
|
|
62
|
-
|
|
61
|
+
p(a, c) {
|
|
62
|
+
c & 8 && t !== (t = `object-fit: ${a[3]};`) && u(e, "style", t), c & 1 && !b(e.src, s = a[0].url) && u(e, "src", s), c & 1 && i !== (i = a[0].name) && u(e, "alt", i);
|
|
63
63
|
},
|
|
64
|
-
d(
|
|
65
|
-
|
|
64
|
+
d(a) {
|
|
65
|
+
a && p(e);
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
let e, t =
|
|
69
|
+
function A(o) {
|
|
70
|
+
let e, t = o[0] && I(o);
|
|
71
71
|
return {
|
|
72
72
|
c() {
|
|
73
|
-
t && t.c(), e =
|
|
73
|
+
t && t.c(), e = q();
|
|
74
74
|
},
|
|
75
|
-
m(
|
|
76
|
-
t && t.m(
|
|
75
|
+
m(s, i) {
|
|
76
|
+
t && t.m(s, i), _(s, e, i);
|
|
77
77
|
},
|
|
78
|
-
p(
|
|
79
|
-
|
|
78
|
+
p(s, [i]) {
|
|
79
|
+
s[0] ? t ? t.p(s, i) : (t = I(s), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
80
80
|
},
|
|
81
|
-
i:
|
|
82
|
-
o:
|
|
83
|
-
d(
|
|
84
|
-
t && t.d(
|
|
81
|
+
i: y,
|
|
82
|
+
o: y,
|
|
83
|
+
d(s) {
|
|
84
|
+
t && t.d(s), s && p(e);
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
let { media:
|
|
90
|
-
const
|
|
91
|
-
function w(
|
|
92
|
-
|
|
93
|
-
|
|
88
|
+
function D(o, e, t) {
|
|
89
|
+
let { media: s } = e, { playButtonIfNeed: i = "small" } = e, { canPlay: a = !0 } = e, { objectFit: c = "cover" } = e, n, f = !1;
|
|
90
|
+
const v = () => n == null ? void 0 : n.pause();
|
|
91
|
+
function w(l) {
|
|
92
|
+
S[l ? "unshift" : "push"](() => {
|
|
93
|
+
n = l, t(4, n);
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
|
-
const
|
|
97
|
-
!
|
|
96
|
+
const g = () => {
|
|
97
|
+
!a || n && n.play();
|
|
98
98
|
};
|
|
99
|
-
return
|
|
100
|
-
"media" in
|
|
101
|
-
},
|
|
102
|
-
|
|
99
|
+
return o.$$set = (l) => {
|
|
100
|
+
"media" in l && t(0, s = l.media), "playButtonIfNeed" in l && t(1, i = l.playButtonIfNeed), "canPlay" in l && t(2, a = l.canPlay), "objectFit" in l && t(3, c = l.objectFit);
|
|
101
|
+
}, o.$$.update = () => {
|
|
102
|
+
o.$$.dirty & 16 && n && (t(5, f = n.paused), t(
|
|
103
103
|
4,
|
|
104
|
-
|
|
105
|
-
t(5,
|
|
104
|
+
n.onplay = () => {
|
|
105
|
+
t(5, f = !1);
|
|
106
106
|
},
|
|
107
|
-
|
|
107
|
+
n
|
|
108
108
|
), t(
|
|
109
109
|
4,
|
|
110
|
-
|
|
111
|
-
t(5,
|
|
110
|
+
n.onpause = () => {
|
|
111
|
+
t(5, f = !0);
|
|
112
112
|
},
|
|
113
|
-
|
|
113
|
+
n
|
|
114
114
|
));
|
|
115
115
|
}, [
|
|
116
|
-
a,
|
|
117
116
|
s,
|
|
118
|
-
o,
|
|
119
|
-
u,
|
|
120
117
|
i,
|
|
118
|
+
a,
|
|
119
|
+
c,
|
|
120
|
+
n,
|
|
121
|
+
f,
|
|
121
122
|
v,
|
|
122
|
-
p,
|
|
123
123
|
w,
|
|
124
|
-
|
|
124
|
+
g
|
|
125
125
|
];
|
|
126
126
|
}
|
|
127
|
-
class
|
|
127
|
+
class J extends C {
|
|
128
128
|
constructor(e) {
|
|
129
|
-
super(),
|
|
129
|
+
super(), N(
|
|
130
130
|
this,
|
|
131
131
|
e,
|
|
132
|
+
D,
|
|
132
133
|
A,
|
|
133
|
-
|
|
134
|
-
N,
|
|
134
|
+
F,
|
|
135
135
|
{
|
|
136
136
|
media: 0,
|
|
137
137
|
playButtonIfNeed: 1,
|
|
138
138
|
canPlay: 2,
|
|
139
139
|
objectFit: 3
|
|
140
140
|
},
|
|
141
|
-
|
|
141
|
+
K
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
export {
|
|
146
|
-
|
|
146
|
+
J as default
|
|
147
147
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as j, i as q, s as Y, a as A, r as R, c as h, f as d, t as c, d as D, g as w, j as y, o as $, e as
|
|
1
|
+
import { S as j, i as q, s as Y, a as A, r as R, c as h, f as d, t as c, d as D, g as w, j as y, o as $, e as N, b as z, m as k, h as C, B as E, C as F, k as v } from "../../../index.164f1850.js";
|
|
2
2
|
import G from "../../../shared-utils/uuid.js";
|
|
3
3
|
import H from "../Common/Text.js";
|
|
4
4
|
import J from "../Common/Line/Polyline.js";
|
|
@@ -13,18 +13,18 @@ import "../../../index.6a0eead1.js";
|
|
|
13
13
|
import "../../utils/noTypecheck.js";
|
|
14
14
|
import "../Common/MediaItem.js";
|
|
15
15
|
import "../../Assets/Icon.js";
|
|
16
|
-
function O(
|
|
17
|
-
A(
|
|
16
|
+
function O(r) {
|
|
17
|
+
A(r, "svelte-1p8f9wy", ".line.svelte-1p8f9wy{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%);z-index:10}.text.svelte-1p8f9wy{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;z-index:10;font-weight:600}.media-wrapper.svelte-1p8f9wy{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;z-index:10;font-weight:600}");
|
|
18
18
|
}
|
|
19
|
-
function T(
|
|
20
|
-
const e =
|
|
19
|
+
function T(r, l, i) {
|
|
20
|
+
const e = r.slice();
|
|
21
21
|
return e[8] = l[i].id, e[1] = l[i].content, e;
|
|
22
22
|
}
|
|
23
|
-
function B(
|
|
24
|
-
let l, i, e, o,
|
|
23
|
+
function B(r) {
|
|
24
|
+
let l, i, e, o, a, s = [], m = /* @__PURE__ */ new Map(), p, u, b;
|
|
25
25
|
l = new L({
|
|
26
26
|
props: {
|
|
27
|
-
visible:
|
|
27
|
+
visible: r[4],
|
|
28
28
|
left: 61,
|
|
29
29
|
bottom: 57,
|
|
30
30
|
width: 2,
|
|
@@ -33,62 +33,62 @@ function B(a) {
|
|
|
33
33
|
}
|
|
34
34
|
}), o = new J({
|
|
35
35
|
props: {
|
|
36
|
-
unfolded:
|
|
36
|
+
unfolded: r[4],
|
|
37
37
|
duration: 1e3,
|
|
38
38
|
outDelay: 400
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
let g =
|
|
41
|
+
let g = r[2];
|
|
42
42
|
const I = (t) => t[8];
|
|
43
43
|
for (let t = 0; t < g.length; t += 1) {
|
|
44
|
-
let n = T(
|
|
45
|
-
m.set(_,
|
|
44
|
+
let n = T(r, g, t), _ = I(n);
|
|
45
|
+
m.set(_, s[t] = M(_, n));
|
|
46
46
|
}
|
|
47
|
-
let
|
|
47
|
+
let f = r[3] && P(r);
|
|
48
48
|
return {
|
|
49
49
|
c() {
|
|
50
|
-
y(l.$$.fragment), i = $(), e =
|
|
51
|
-
for (let t = 0; t <
|
|
52
|
-
|
|
53
|
-
p = $(),
|
|
50
|
+
y(l.$$.fragment), i = $(), e = N("div"), y(o.$$.fragment), a = $();
|
|
51
|
+
for (let t = 0; t < s.length; t += 1)
|
|
52
|
+
s[t].c();
|
|
53
|
+
p = $(), f && f.c(), u = R(), z(e, "class", "line svelte-1p8f9wy");
|
|
54
54
|
},
|
|
55
55
|
m(t, n) {
|
|
56
|
-
k(l, t, n), h(t, i, n), h(t, e, n), k(o, e, null), h(t,
|
|
57
|
-
for (let _ = 0; _ <
|
|
58
|
-
|
|
59
|
-
h(t, p, n),
|
|
56
|
+
k(l, t, n), h(t, i, n), h(t, e, n), k(o, e, null), h(t, a, n);
|
|
57
|
+
for (let _ = 0; _ < s.length; _ += 1)
|
|
58
|
+
s[_].m(t, n);
|
|
59
|
+
h(t, p, n), f && f.m(t, n), h(t, u, n), b = !0;
|
|
60
60
|
},
|
|
61
61
|
p(t, n) {
|
|
62
62
|
const _ = {};
|
|
63
63
|
n & 16 && (_.visible = t[4]), l.$set(_);
|
|
64
64
|
const S = {};
|
|
65
|
-
n & 16 && (S.unfolded = t[4]), o.$set(S), n & 20 && (g = t[2],
|
|
66
|
-
|
|
65
|
+
n & 16 && (S.unfolded = t[4]), o.$set(S), n & 20 && (g = t[2], C(), s = E(s, n, I, 1, t, g, m, p.parentNode, F, M, p, T), D()), t[3] ? f ? (f.p(t, n), n & 8 && d(f, 1)) : (f = P(t), f.c(), d(f, 1), f.m(u.parentNode, u)) : f && (C(), c(f, 1, 1, () => {
|
|
66
|
+
f = null;
|
|
67
67
|
}), D());
|
|
68
68
|
},
|
|
69
69
|
i(t) {
|
|
70
70
|
if (!b) {
|
|
71
71
|
d(l.$$.fragment, t), d(o.$$.fragment, t);
|
|
72
72
|
for (let n = 0; n < g.length; n += 1)
|
|
73
|
-
d(
|
|
74
|
-
d(
|
|
73
|
+
d(s[n]);
|
|
74
|
+
d(f), b = !0;
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
o(t) {
|
|
78
78
|
c(l.$$.fragment, t), c(o.$$.fragment, t);
|
|
79
|
-
for (let n = 0; n <
|
|
80
|
-
c(
|
|
81
|
-
c(
|
|
79
|
+
for (let n = 0; n < s.length; n += 1)
|
|
80
|
+
c(s[n]);
|
|
81
|
+
c(f), b = !1;
|
|
82
82
|
},
|
|
83
83
|
d(t) {
|
|
84
|
-
v(l, t), t && w(i), t && w(e), v(o), t && w(
|
|
85
|
-
for (let n = 0; n <
|
|
86
|
-
|
|
87
|
-
t && w(p),
|
|
84
|
+
v(l, t), t && w(i), t && w(e), v(o), t && w(a);
|
|
85
|
+
for (let n = 0; n < s.length; n += 1)
|
|
86
|
+
s[n].d(t);
|
|
87
|
+
t && w(p), f && f.d(t), t && w(u);
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
|
-
function M(
|
|
91
|
+
function M(r, l) {
|
|
92
92
|
let i, e, o;
|
|
93
93
|
return e = new H({
|
|
94
94
|
props: {
|
|
@@ -97,37 +97,38 @@ function M(a, l) {
|
|
|
97
97
|
inDelay: 500
|
|
98
98
|
}
|
|
99
99
|
}), {
|
|
100
|
-
key:
|
|
100
|
+
key: r,
|
|
101
101
|
first: null,
|
|
102
102
|
c() {
|
|
103
|
-
i =
|
|
103
|
+
i = N("div"), y(e.$$.fragment), z(i, "class", "text svelte-1p8f9wy"), this.first = i;
|
|
104
104
|
},
|
|
105
|
-
m(
|
|
106
|
-
h(
|
|
105
|
+
m(a, s) {
|
|
106
|
+
h(a, i, s), k(e, i, null), o = !0;
|
|
107
107
|
},
|
|
108
|
-
p(
|
|
109
|
-
l =
|
|
108
|
+
p(a, s) {
|
|
109
|
+
l = a;
|
|
110
110
|
const m = {};
|
|
111
|
-
|
|
111
|
+
s & 16 && (m.unfolded = l[4]), s & 4 && (m.content = l[1]), e.$set(m);
|
|
112
112
|
},
|
|
113
|
-
i(
|
|
114
|
-
o || (d(e.$$.fragment,
|
|
113
|
+
i(a) {
|
|
114
|
+
o || (d(e.$$.fragment, a), o = !0);
|
|
115
115
|
},
|
|
116
|
-
o(
|
|
117
|
-
c(e.$$.fragment,
|
|
116
|
+
o(a) {
|
|
117
|
+
c(e.$$.fragment, a), o = !1;
|
|
118
118
|
},
|
|
119
|
-
d(
|
|
120
|
-
|
|
119
|
+
d(a) {
|
|
120
|
+
a && w(i), v(e);
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
function P(
|
|
124
|
+
function P(r) {
|
|
125
125
|
let l, i, e;
|
|
126
126
|
return i = new K({
|
|
127
127
|
props: {
|
|
128
128
|
autoplayConfig: { autoplay: !1 },
|
|
129
|
-
unfolded:
|
|
130
|
-
mediaData:
|
|
129
|
+
unfolded: r[4],
|
|
130
|
+
mediaData: r[3],
|
|
131
|
+
enableCarousel: !1,
|
|
131
132
|
canPlay: !1,
|
|
132
133
|
playButtonIfNeed: "small",
|
|
133
134
|
inDelay: 500,
|
|
@@ -135,14 +136,14 @@ function P(a) {
|
|
|
135
136
|
}
|
|
136
137
|
}), {
|
|
137
138
|
c() {
|
|
138
|
-
l =
|
|
139
|
+
l = N("div"), y(i.$$.fragment), z(l, "class", "media-wrapper svelte-1p8f9wy");
|
|
139
140
|
},
|
|
140
|
-
m(o,
|
|
141
|
-
h(o, l,
|
|
141
|
+
m(o, a) {
|
|
142
|
+
h(o, l, a), k(i, l, null), e = !0;
|
|
142
143
|
},
|
|
143
|
-
p(o,
|
|
144
|
-
const
|
|
145
|
-
|
|
144
|
+
p(o, a) {
|
|
145
|
+
const s = {};
|
|
146
|
+
a & 16 && (s.unfolded = o[4]), a & 8 && (s.mediaData = o[3]), i.$set(s);
|
|
146
147
|
},
|
|
147
148
|
i(o) {
|
|
148
149
|
e || (d(i.$$.fragment, o), e = !0);
|
|
@@ -155,17 +156,17 @@ function P(a) {
|
|
|
155
156
|
}
|
|
156
157
|
};
|
|
157
158
|
}
|
|
158
|
-
function Q(
|
|
159
|
-
let l, i, e =
|
|
159
|
+
function Q(r) {
|
|
160
|
+
let l, i, e = r[0].state && B(r);
|
|
160
161
|
return {
|
|
161
162
|
c() {
|
|
162
163
|
e && e.c(), l = R();
|
|
163
164
|
},
|
|
164
|
-
m(o,
|
|
165
|
-
e && e.m(o,
|
|
165
|
+
m(o, a) {
|
|
166
|
+
e && e.m(o, a), h(o, l, a), i = !0;
|
|
166
167
|
},
|
|
167
|
-
p(o, [
|
|
168
|
-
o[0].state ? e ? (e.p(o,
|
|
168
|
+
p(o, [a]) {
|
|
169
|
+
o[0].state ? e ? (e.p(o, a), a & 1 && d(e, 1)) : (e = B(o), e.c(), d(e, 1), e.m(l.parentNode, l)) : e && (C(), c(e, 1, 1, () => {
|
|
169
170
|
e = null;
|
|
170
171
|
}), D());
|
|
171
172
|
},
|
|
@@ -180,15 +181,15 @@ function Q(a) {
|
|
|
180
181
|
}
|
|
181
182
|
};
|
|
182
183
|
}
|
|
183
|
-
function U(
|
|
184
|
-
let e, o,
|
|
185
|
-
var
|
|
184
|
+
function U(r, l, i) {
|
|
185
|
+
let e, o, a;
|
|
186
|
+
var s, m, p;
|
|
186
187
|
let { tag: u } = l, b;
|
|
187
|
-
return
|
|
188
|
+
return r.$$set = (g) => {
|
|
188
189
|
"tag" in g && i(0, u = g.tag);
|
|
189
|
-
},
|
|
190
|
-
|
|
191
|
-
}, [u, o, b,
|
|
190
|
+
}, r.$$.update = () => {
|
|
191
|
+
r.$$.dirty & 1 && i(4, e = u.state ? u.state.unfolded : !1), r.$$.dirty & 225 && i(1, o = (i(6, m = i(5, s = u.data.text) === null || s === void 0 ? void 0 : s.length) !== null && m !== void 0 ? m : 0) > 7 ? (i(7, p = u.data.text) === null || p === void 0 ? void 0 : p.substring(0, 6)) + "..." : u.data.text), r.$$.dirty & 1 && i(3, a = u.data.mediaData), r.$$.dirty & 2 && i(2, b = o ? [{ id: G(), content: o }] : []);
|
|
192
|
+
}, [u, o, b, a, e, s, m, p];
|
|
192
193
|
}
|
|
193
194
|
class ue extends j {
|
|
194
195
|
constructor(l) {
|
|
@@ -59,7 +59,7 @@ import "../../CSS3DRenderPlugin/CSS3DRender.js";
|
|
|
59
59
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
60
60
|
import "../../CSS3DRenderPlugin/utils/evenNumber.js";
|
|
61
61
|
import "../../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
|
|
62
|
-
const b = "1.2.
|
|
62
|
+
const b = "1.2.2", g = `DnalogelPlugin-PanoTagPlugin@${b}`, O = !1, ze = (h) => `${g}--${h}`;
|
|
63
63
|
class je extends S {
|
|
64
64
|
constructor(e, t) {
|
|
65
65
|
super(e);
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
7
7
|
"description": "如视 VR 看房插件合集",
|
|
8
8
|
"private": false,
|
|
9
|
-
"version": "2.1.0-alpha.
|
|
9
|
+
"version": "2.1.0-alpha.27",
|
|
10
10
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "sh bin/build-production.sh",
|