@realsee/dnalogel 2.1.0-alpha.28 → 2.1.0-alpha.29
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 +59 -59
- package/dist/index.es.js +7354 -7304
- package/dist/index.js +7354 -7304
- package/dist/index.umd.js +43 -43
- 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/Audio.js +39 -41
- package/libs/PanoTagPlugin/Components/Common/Media.js +1060 -1031
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +49 -57
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +27 -27
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +22 -22
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +7 -7
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +64 -66
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +100 -99
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +35 -33
- package/libs/PanoTagPlugin/Components/Tag/index.js +60 -63
- package/libs/PanoTagPlugin/Components/TagContainer.js +187 -0
- package/libs/PanoTagPlugin/Components/TagWrapper.js +61 -62
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -1
- package/libs/PanoTagPlugin/controller/index.js +52 -42
- package/libs/PanoTagPlugin/index.js +2 -2
- package/libs/PanoTagPlugin/tag.config.js +1 -0
- package/libs/{TagComputer.0920083a.js → TagComputer.92e6d9a9.js} +0 -0
- package/libs/index.js +2 -2
- package/package.json +1 -1
- package/libs/PanoTagPlugin/Components/PointTag.js +0 -162
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { S as k, i as A, s as T, a as P, e as _, b as y, I as p, c as S, B as z, d as C, f as v, t as w, g as b, w as j, j as q, o as B, m as I, p as M, y as W, k as D, h as E, C as F } from "../../index.164f1850.js";
|
|
2
|
-
import G from "./TagWrapper.js";
|
|
3
|
-
import "three";
|
|
4
|
-
import "../utils/noTypecheck.js";
|
|
5
|
-
import "../typings/tag.js";
|
|
6
|
-
import "./Tag/index.js";
|
|
7
|
-
import "./Tag/TextTag.js";
|
|
8
|
-
import "./Common/Line/Straight.js";
|
|
9
|
-
import "../../index.dca207cb.js";
|
|
10
|
-
import "../../index.6a0eead1.js";
|
|
11
|
-
import "../../shared-utils/uuid.js";
|
|
12
|
-
import "./Common/Shadow.js";
|
|
13
|
-
import "./Common/MultiLineText.js";
|
|
14
|
-
import "./Common/Text.js";
|
|
15
|
-
import "../../shared-utils/isNil.js";
|
|
16
|
-
import "../utils/search.js";
|
|
17
|
-
import "../utils/constants.js";
|
|
18
|
-
import "./Common/Arrow.js";
|
|
19
|
-
import "../Assets/Icon.js";
|
|
20
|
-
import "../utils/doUtil.js";
|
|
21
|
-
import "./Tag/ImageTextTag.js";
|
|
22
|
-
import "./Common/Line/Polyline.js";
|
|
23
|
-
import "./Common/Media.js";
|
|
24
|
-
import "./Common/MediaItem.js";
|
|
25
|
-
import "./Tag/MarketingTag.js";
|
|
26
|
-
import "./Tag/AudioTag.js";
|
|
27
|
-
import "./Common/Audio.js";
|
|
28
|
-
import "./Tag/MediaPlane.js";
|
|
29
|
-
import "./Tag/LinkTag.js";
|
|
30
|
-
import "./Tag/CustomTag.js";
|
|
31
|
-
import "./Common/Point/PointSwitch.js";
|
|
32
|
-
import "./Common/Point/CustomPoint.js";
|
|
33
|
-
import "./Common/Point/DefaultPoint.js";
|
|
34
|
-
function H(r) {
|
|
35
|
-
P(r, "svelte-1eci49s", ".tag--container.svelte-1eci49s{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}.tag.hide.svelte-1eci49s{display:none}.withAnimation.svelte-1eci49s{transition:opacity 0.3s linear}.tag--container.hide.svelte-1eci49s{opacity:0;pointer-events:none}.tag--container.hide.svelte-1eci49s *{pointer-events:none}");
|
|
36
|
-
}
|
|
37
|
-
function u(r, e, i) {
|
|
38
|
-
const n = r.slice();
|
|
39
|
-
return n[6] = e[i], n;
|
|
40
|
-
}
|
|
41
|
-
function d(r, e) {
|
|
42
|
-
let i, n, l, s;
|
|
43
|
-
const m = [
|
|
44
|
-
{
|
|
45
|
-
tag: e[6],
|
|
46
|
-
hooks: e[2],
|
|
47
|
-
state: e[3],
|
|
48
|
-
mediaStore: e[4],
|
|
49
|
-
temporaryState: e[5],
|
|
50
|
-
withAnimation: e[0]
|
|
51
|
-
}
|
|
52
|
-
];
|
|
53
|
-
let o = {};
|
|
54
|
-
for (let t = 0; t < m.length; t += 1)
|
|
55
|
-
o = j(o, m[t]);
|
|
56
|
-
return n = new G({ props: o }), {
|
|
57
|
-
key: r,
|
|
58
|
-
first: null,
|
|
59
|
-
c() {
|
|
60
|
-
var t, a, f;
|
|
61
|
-
i = _("div"), q(n.$$.fragment), l = B(), y(i, "class", "tag svelte-1eci49s"), p(i, "hide", !((t = e[6].pointTagStyle) != null && t.leftPercent) || !((a = e[6].pointTagStyle) != null && a.topPercent) || e[6].enabled === !1 || !e[6].state || ((f = e[6].temporaryState) == null ? void 0 : f.visible) === !1), this.first = i;
|
|
62
|
-
},
|
|
63
|
-
m(t, a) {
|
|
64
|
-
S(t, i, a), I(n, i, null), M(i, l), s = !0;
|
|
65
|
-
},
|
|
66
|
-
p(t, a) {
|
|
67
|
-
var h, g, c;
|
|
68
|
-
e = t;
|
|
69
|
-
const f = a & 63 ? W(m, [
|
|
70
|
-
{
|
|
71
|
-
tag: e[6],
|
|
72
|
-
hooks: e[2],
|
|
73
|
-
state: e[3],
|
|
74
|
-
mediaStore: e[4],
|
|
75
|
-
temporaryState: e[5],
|
|
76
|
-
withAnimation: e[0]
|
|
77
|
-
}
|
|
78
|
-
]) : {};
|
|
79
|
-
n.$set(f), (!s || a & 2) && p(i, "hide", !((h = e[6].pointTagStyle) != null && h.leftPercent) || !((g = e[6].pointTagStyle) != null && g.topPercent) || e[6].enabled === !1 || !e[6].state || ((c = e[6].temporaryState) == null ? void 0 : c.visible) === !1);
|
|
80
|
-
},
|
|
81
|
-
i(t) {
|
|
82
|
-
s || (v(n.$$.fragment, t), s = !0);
|
|
83
|
-
},
|
|
84
|
-
o(t) {
|
|
85
|
-
w(n.$$.fragment, t), s = !1;
|
|
86
|
-
},
|
|
87
|
-
d(t) {
|
|
88
|
-
t && b(i), D(n);
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
function J(r) {
|
|
93
|
-
let e, i = [], n = /* @__PURE__ */ new Map(), l, s = r[1];
|
|
94
|
-
const m = (o) => o[6].id;
|
|
95
|
-
for (let o = 0; o < s.length; o += 1) {
|
|
96
|
-
let t = u(r, s, o), a = m(t);
|
|
97
|
-
n.set(a, i[o] = d(a, t));
|
|
98
|
-
}
|
|
99
|
-
return {
|
|
100
|
-
c() {
|
|
101
|
-
e = _("div");
|
|
102
|
-
for (let o = 0; o < i.length; o += 1)
|
|
103
|
-
i[o].c();
|
|
104
|
-
y(e, "class", "tag--container svelte-1eci49s"), p(e, "hide", !r[3].visible || !r[5].visible), p(e, "withAnimation", r[0]);
|
|
105
|
-
},
|
|
106
|
-
m(o, t) {
|
|
107
|
-
S(o, e, t);
|
|
108
|
-
for (let a = 0; a < i.length; a += 1)
|
|
109
|
-
i[a].m(e, null);
|
|
110
|
-
l = !0;
|
|
111
|
-
},
|
|
112
|
-
p(o, [t]) {
|
|
113
|
-
t & 63 && (s = o[1], E(), i = z(i, t, m, 1, o, s, n, e, F, d, null, u), C()), (!l || t & 40) && p(e, "hide", !o[3].visible || !o[5].visible), (!l || t & 1) && p(e, "withAnimation", o[0]);
|
|
114
|
-
},
|
|
115
|
-
i(o) {
|
|
116
|
-
if (!l) {
|
|
117
|
-
for (let t = 0; t < s.length; t += 1)
|
|
118
|
-
v(i[t]);
|
|
119
|
-
l = !0;
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
o(o) {
|
|
123
|
-
for (let t = 0; t < i.length; t += 1)
|
|
124
|
-
w(i[t]);
|
|
125
|
-
l = !1;
|
|
126
|
-
},
|
|
127
|
-
d(o) {
|
|
128
|
-
o && b(e);
|
|
129
|
-
for (let t = 0; t < i.length; t += 1)
|
|
130
|
-
i[t].d();
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
function K(r, e, i) {
|
|
135
|
-
let { withAnimation: n = !1 } = e, { tags: l = [] } = e, { hooks: s } = e, { state: m } = e, { mediaStore: o } = e, { temporaryState: t } = e;
|
|
136
|
-
return r.$$set = (a) => {
|
|
137
|
-
"withAnimation" in a && i(0, n = a.withAnimation), "tags" in a && i(1, l = a.tags), "hooks" in a && i(2, s = a.hooks), "state" in a && i(3, m = a.state), "mediaStore" in a && i(4, o = a.mediaStore), "temporaryState" in a && i(5, t = a.temporaryState);
|
|
138
|
-
}, [n, l, s, m, o, t];
|
|
139
|
-
}
|
|
140
|
-
class we extends k {
|
|
141
|
-
constructor(e) {
|
|
142
|
-
super(), A(
|
|
143
|
-
this,
|
|
144
|
-
e,
|
|
145
|
-
K,
|
|
146
|
-
J,
|
|
147
|
-
T,
|
|
148
|
-
{
|
|
149
|
-
withAnimation: 0,
|
|
150
|
-
tags: 1,
|
|
151
|
-
hooks: 2,
|
|
152
|
-
state: 3,
|
|
153
|
-
mediaStore: 4,
|
|
154
|
-
temporaryState: 5
|
|
155
|
-
},
|
|
156
|
-
H
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
export {
|
|
161
|
-
we as default
|
|
162
|
-
};
|