@realsee/dnalogel 2.3.9-alpha.6 → 2.3.9-alpha.8
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 +38 -38
- package/dist/index.js +1727 -1752
- package/dist/index.umd.js +26 -26
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +41 -41
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +16 -16
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +10 -10
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/PanoTagPlugin/Components/Common/Audio.js +26 -26
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +96 -119
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +15 -17
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
- package/libs/PanoTagPlugin/controller/index.js +5 -6
- package/libs/PanoTagPlugin/index.js +11 -12
- package/libs/index.js +92 -93
- package/libs/shared-utils/audio.js +29 -29
- package/package.json +1 -1
|
@@ -1,195 +1,172 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import S from "../../../utils/timeToString.js";
|
|
1
|
+
import { SvelteComponent as q, init as D, safe_not_equal as E, append_styles as M, empty as N, insert as $, transition_in as d, transition_out as c, check_outros as P, detach as w, createEventDispatcher as S, element as p, create_component as k, attr as m, set_style as b, append as v, mount_component as j, destroy_component as y, space as W, group_outros as B, bubble as F, text as G, set_data as H } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import J from "../../Common/Icon/audioIcon.js";
|
|
3
|
+
import K from "../../Common/Text/MText.js";
|
|
4
|
+
import L from "../../Common/Audio.js";
|
|
6
5
|
import "three";
|
|
7
|
-
import {
|
|
8
|
-
import { name2Rgba as V } from "../../../utils/color.js";
|
|
6
|
+
import { name2Rgba as O } from "../../../utils/color.js";
|
|
9
7
|
import "../../../utils/px2rem.js";
|
|
10
8
|
import "../../Common/Shadow.js";
|
|
11
9
|
import "../../../../vendor/svelte/transition/index.js";
|
|
12
10
|
import "../../../../vendor/svelte/easing/index.js";
|
|
13
11
|
import "../../../../shared-utils/audio.js";
|
|
14
12
|
import "../../../utils/audio/SharedAudio.js";
|
|
15
|
-
function
|
|
16
|
-
|
|
13
|
+
function Q(o) {
|
|
14
|
+
M(o, "svelte-58hfjf", ".audio-tag__wrapper.svelte-58hfjf{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.audio-tag.svelte-58hfjf{position:relative;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:0.1875rem;padding-right:0.625rem;border-radius:624999.9375rem;border:0.03125rem solid rgba(255, 255, 255, 0.2)}.audio__inner.svelte-58hfjf{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.text.svelte-58hfjf{font-weight:bold;font-size:0.75rem;margin-left:0.25rem}.audio-icon__wrapper.svelte-58hfjf{position:relative;vertical-align:top;pointer-events:none;width:1.375rem;height:1.375rem}");
|
|
17
15
|
}
|
|
18
|
-
function
|
|
19
|
-
let
|
|
20
|
-
return e = new
|
|
16
|
+
function z(o) {
|
|
17
|
+
let r, t, e, i;
|
|
18
|
+
return e = new L({
|
|
21
19
|
props: {
|
|
22
20
|
style: "width: max-content; height: max-content;",
|
|
23
|
-
enable:
|
|
24
|
-
url:
|
|
25
|
-
hooksInfo: { tag:
|
|
26
|
-
$$slots: { default: [
|
|
27
|
-
$$scope: { ctx:
|
|
21
|
+
enable: o[0].state.visible,
|
|
22
|
+
url: o[0].data.audioUrl,
|
|
23
|
+
hooksInfo: { tag: o[0] },
|
|
24
|
+
$$slots: { default: [X] },
|
|
25
|
+
$$scope: { ctx: o }
|
|
28
26
|
}
|
|
29
|
-
}), e.$on("play",
|
|
27
|
+
}), e.$on("play", o[7]), e.$on("pause", o[8]), e.$on("timeupdate", o[9]), e.$on("duration", o[10]), e.$on("audioRef", o[11]), {
|
|
30
28
|
c() {
|
|
31
|
-
|
|
29
|
+
r = p("div"), t = p("div"), k(e.$$.fragment), m(t, "class", "audio-tag svelte-58hfjf"), b(t, "background-color", o[1]), b(t, "color", o[5]), m(r, "class", "audio-tag__wrapper svelte-58hfjf");
|
|
32
30
|
},
|
|
33
|
-
m(
|
|
34
|
-
|
|
31
|
+
m(n, a) {
|
|
32
|
+
$(n, r, a), v(r, t), j(e, t, null), i = !0;
|
|
35
33
|
},
|
|
36
|
-
p(
|
|
37
|
-
const
|
|
38
|
-
a & 1 && (
|
|
34
|
+
p(n, a) {
|
|
35
|
+
const s = {};
|
|
36
|
+
a & 1 && (s.enable = n[0].state.visible), a & 1 && (s.url = n[0].data.audioUrl), a & 1 && (s.hooksInfo = { tag: n[0] }), a & 8260 && (s.$$scope = { dirty: a, ctx: n }), e.$set(s), a & 2 && b(t, "background-color", n[1]), a & 32 && b(t, "color", n[5]);
|
|
39
37
|
},
|
|
40
|
-
i(
|
|
41
|
-
i || (
|
|
38
|
+
i(n) {
|
|
39
|
+
i || (d(e.$$.fragment, n), i = !0);
|
|
42
40
|
},
|
|
43
|
-
o(
|
|
44
|
-
|
|
41
|
+
o(n) {
|
|
42
|
+
c(e.$$.fragment, n), i = !1;
|
|
45
43
|
},
|
|
46
|
-
d(
|
|
47
|
-
|
|
44
|
+
d(n) {
|
|
45
|
+
n && w(r), y(e);
|
|
48
46
|
}
|
|
49
47
|
};
|
|
50
48
|
}
|
|
51
|
-
function
|
|
52
|
-
|
|
53
|
-
let o = S(z(n[2] ? n[3] : (e = n[4]) != null ? e : 0)) + "", t;
|
|
49
|
+
function V(o) {
|
|
50
|
+
let r;
|
|
54
51
|
return {
|
|
55
52
|
c() {
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
m(i, r) {
|
|
59
|
-
v(i, t, r);
|
|
60
|
-
},
|
|
61
|
-
p(i, r) {
|
|
62
|
-
var a;
|
|
63
|
-
r & 28 && o !== (o = S(z(i[2] ? i[3] : (a = i[4]) != null ? a : 0)) + "") && E(t, o);
|
|
64
|
-
},
|
|
65
|
-
d(i) {
|
|
66
|
-
i && y(t);
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function Z(n) {
|
|
71
|
-
let o;
|
|
72
|
-
return {
|
|
73
|
-
c() {
|
|
74
|
-
o = U(n[6]);
|
|
53
|
+
r = G(o[6]);
|
|
75
54
|
},
|
|
76
55
|
m(t, e) {
|
|
77
|
-
|
|
56
|
+
$(t, r, e);
|
|
78
57
|
},
|
|
79
58
|
p(t, e) {
|
|
80
|
-
e & 64 &&
|
|
59
|
+
e & 64 && H(r, t[6]);
|
|
81
60
|
},
|
|
82
61
|
d(t) {
|
|
83
|
-
t &&
|
|
62
|
+
t && w(r);
|
|
84
63
|
}
|
|
85
64
|
};
|
|
86
65
|
}
|
|
87
|
-
function
|
|
88
|
-
let
|
|
89
|
-
e = new
|
|
90
|
-
let s = typeof (n[2] ? n[3] : n[4]) == "number" && P(n);
|
|
91
|
-
return d = new O({
|
|
66
|
+
function X(o) {
|
|
67
|
+
let r, t, e, i, n, a, s;
|
|
68
|
+
return e = new J({ props: { playing: o[2] } }), a = new K({
|
|
92
69
|
props: {
|
|
93
70
|
maxWidth: 72,
|
|
94
|
-
$$slots: { default: [
|
|
95
|
-
$$scope: { ctx:
|
|
71
|
+
$$slots: { default: [V] },
|
|
72
|
+
$$scope: { ctx: o }
|
|
96
73
|
}
|
|
97
74
|
}), {
|
|
98
75
|
c() {
|
|
99
|
-
|
|
76
|
+
r = p("div"), t = p("div"), k(e.$$.fragment), i = W(), n = p("div"), k(a.$$.fragment), m(t, "class", "audio-icon__wrapper svelte-58hfjf"), m(n, "class", "text svelte-58hfjf"), m(r, "class", "audio__inner svelte-58hfjf");
|
|
100
77
|
},
|
|
101
|
-
m(l,
|
|
102
|
-
|
|
78
|
+
m(l, u) {
|
|
79
|
+
$(l, r, u), v(r, t), j(e, t, null), v(r, i), v(r, n), j(a, n, null), s = !0;
|
|
103
80
|
},
|
|
104
|
-
p(l,
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
const
|
|
108
|
-
|
|
81
|
+
p(l, u) {
|
|
82
|
+
const g = {};
|
|
83
|
+
u & 4 && (g.playing = l[2]), e.$set(g);
|
|
84
|
+
const h = {};
|
|
85
|
+
u & 8256 && (h.$$scope = { dirty: u, ctx: l }), a.$set(h);
|
|
109
86
|
},
|
|
110
87
|
i(l) {
|
|
111
|
-
|
|
88
|
+
s || (d(e.$$.fragment, l), d(a.$$.fragment, l), s = !0);
|
|
112
89
|
},
|
|
113
90
|
o(l) {
|
|
114
|
-
|
|
91
|
+
c(e.$$.fragment, l), c(a.$$.fragment, l), s = !1;
|
|
115
92
|
},
|
|
116
93
|
d(l) {
|
|
117
|
-
l &&
|
|
94
|
+
l && w(r), y(e), y(a);
|
|
118
95
|
}
|
|
119
96
|
};
|
|
120
97
|
}
|
|
121
|
-
function
|
|
122
|
-
let
|
|
98
|
+
function Y(o) {
|
|
99
|
+
let r, t, e = o[0].state && z(o);
|
|
123
100
|
return {
|
|
124
101
|
c() {
|
|
125
|
-
e && e.c(),
|
|
102
|
+
e && e.c(), r = N();
|
|
126
103
|
},
|
|
127
|
-
m(i,
|
|
128
|
-
e && e.m(i,
|
|
104
|
+
m(i, n) {
|
|
105
|
+
e && e.m(i, n), $(i, r, n), t = !0;
|
|
129
106
|
},
|
|
130
|
-
p(i, [
|
|
131
|
-
i[0].state ? e ? (e.p(i,
|
|
107
|
+
p(i, [n]) {
|
|
108
|
+
i[0].state ? e ? (e.p(i, n), n & 1 && d(e, 1)) : (e = z(i), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (B(), c(e, 1, 1, () => {
|
|
132
109
|
e = null;
|
|
133
|
-
}),
|
|
110
|
+
}), P());
|
|
134
111
|
},
|
|
135
112
|
i(i) {
|
|
136
|
-
t || (
|
|
113
|
+
t || (d(e), t = !0);
|
|
137
114
|
},
|
|
138
115
|
o(i) {
|
|
139
|
-
|
|
116
|
+
c(e), t = !1;
|
|
140
117
|
},
|
|
141
118
|
d(i) {
|
|
142
|
-
e && e.d(i), i &&
|
|
119
|
+
e && e.d(i), i && w(r);
|
|
143
120
|
}
|
|
144
121
|
};
|
|
145
122
|
}
|
|
146
|
-
function
|
|
147
|
-
let e, i,
|
|
148
|
-
|
|
149
|
-
let
|
|
150
|
-
const
|
|
151
|
-
t(2,
|
|
152
|
-
},
|
|
153
|
-
t(2,
|
|
154
|
-
},
|
|
155
|
-
t(3,
|
|
156
|
-
},
|
|
157
|
-
t(4,
|
|
123
|
+
function Z(o, r, t) {
|
|
124
|
+
let e, i, n, { tag: a } = r;
|
|
125
|
+
S();
|
|
126
|
+
let s = !1, l = 0, u = 0;
|
|
127
|
+
const g = () => {
|
|
128
|
+
t(2, s = !0);
|
|
129
|
+
}, h = () => {
|
|
130
|
+
t(2, s = !1);
|
|
131
|
+
}, A = (f) => {
|
|
132
|
+
t(3, l = f.detail);
|
|
133
|
+
}, I = (f) => {
|
|
134
|
+
t(4, u = f.detail);
|
|
158
135
|
};
|
|
159
|
-
function
|
|
160
|
-
|
|
136
|
+
function R(f) {
|
|
137
|
+
F.call(this, o, f);
|
|
161
138
|
}
|
|
162
|
-
return
|
|
139
|
+
return o.$$set = (f) => {
|
|
163
140
|
"tag" in f && t(0, a = f.tag);
|
|
164
|
-
},
|
|
165
|
-
var f,
|
|
166
|
-
|
|
167
|
-
var
|
|
168
|
-
return a.data.backgroundColor === "dark" ? "rgba(0, 0, 0, 0.3)" : a.data.backgroundColor === "light" ? "rgba(255, 255, 255, 0.3)" : (
|
|
169
|
-
})()),
|
|
170
|
-
const { r:
|
|
171
|
-
return (
|
|
141
|
+
}, o.$$.update = () => {
|
|
142
|
+
var f, C;
|
|
143
|
+
o.$$.dirty & 1 && t(6, e = (C = (f = a.data.title) != null ? f : a.data.text) != null ? C : ""), o.$$.dirty & 1 && t(1, i = (() => {
|
|
144
|
+
var _;
|
|
145
|
+
return a.data.backgroundColor === "dark" ? "rgba(0, 0, 0, 0.3)" : a.data.backgroundColor === "light" ? "rgba(255, 255, 255, 0.3)" : (_ = a.data.backgroundColor) != null ? _ : "rgba(0, 0, 0, 0.3)";
|
|
146
|
+
})()), o.$$.dirty & 2 && t(5, n = (() => {
|
|
147
|
+
const { r: _, g: T, b: U } = O(i);
|
|
148
|
+
return (_ * 299 + T * 587 + U * 114) / 1e3 >= 128 ? "rgba(0, 0, 0, 0.6)" : "white";
|
|
172
149
|
})());
|
|
173
150
|
}, [
|
|
174
151
|
a,
|
|
175
152
|
i,
|
|
176
|
-
u,
|
|
177
|
-
d,
|
|
178
|
-
p,
|
|
179
|
-
r,
|
|
180
|
-
e,
|
|
181
153
|
s,
|
|
182
154
|
l,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
155
|
+
u,
|
|
156
|
+
n,
|
|
157
|
+
e,
|
|
158
|
+
g,
|
|
159
|
+
h,
|
|
160
|
+
A,
|
|
161
|
+
I,
|
|
162
|
+
R
|
|
186
163
|
];
|
|
187
164
|
}
|
|
188
|
-
class
|
|
189
|
-
constructor(
|
|
190
|
-
super(),
|
|
165
|
+
class pe extends q {
|
|
166
|
+
constructor(r) {
|
|
167
|
+
super(), D(this, r, Z, Y, E, { tag: 0 }, Q);
|
|
191
168
|
}
|
|
192
169
|
}
|
|
193
170
|
export {
|
|
194
|
-
|
|
171
|
+
pe as default
|
|
195
172
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as g, init as $, safe_not_equal as k, empty as b, insert as y, transition_out as
|
|
1
|
+
import { SvelteComponent as g, init as $, safe_not_equal as k, empty as b, insert as y, transition_out as l, check_outros as h, transition_in as m, detach as A, group_outros as R, create_component as s, mount_component as _, destroy_component as d } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import T from "./AudioTag.js";
|
|
3
3
|
import w from "./AudioPlaneTag.js";
|
|
4
4
|
import "../../../../vendor/svelte/easing/index.js";
|
|
@@ -22,8 +22,6 @@ import "../../../utils/doUtil.js";
|
|
|
22
22
|
import "../../Common/Icon/audioIcon.js";
|
|
23
23
|
import "../../../utils/px2rem.js";
|
|
24
24
|
import "../../Common/Text/MText.js";
|
|
25
|
-
import "../../../utils/timeToString.js";
|
|
26
|
-
import "../../../utils/noTypecheck.js";
|
|
27
25
|
import "../../../utils/color.js";
|
|
28
26
|
function q(n) {
|
|
29
27
|
let t, o;
|
|
@@ -39,10 +37,10 @@ function q(n) {
|
|
|
39
37
|
r & 1 && (a.tag = e[0]), t.$set(a);
|
|
40
38
|
},
|
|
41
39
|
i(e) {
|
|
42
|
-
o || (
|
|
40
|
+
o || (m(t.$$.fragment, e), o = !0);
|
|
43
41
|
},
|
|
44
42
|
o(e) {
|
|
45
|
-
|
|
43
|
+
l(t.$$.fragment, e), o = !1;
|
|
46
44
|
},
|
|
47
45
|
d(e) {
|
|
48
46
|
d(t, e);
|
|
@@ -63,10 +61,10 @@ function v(n) {
|
|
|
63
61
|
r & 1 && (a.tag = e[0]), t.$set(a);
|
|
64
62
|
},
|
|
65
63
|
i(e) {
|
|
66
|
-
o || (
|
|
64
|
+
o || (m(t.$$.fragment, e), o = !0);
|
|
67
65
|
},
|
|
68
66
|
o(e) {
|
|
69
|
-
|
|
67
|
+
l(t.$$.fragment, e), o = !1;
|
|
70
68
|
},
|
|
71
69
|
d(e) {
|
|
72
70
|
d(t, e);
|
|
@@ -76,27 +74,27 @@ function v(n) {
|
|
|
76
74
|
function C(n) {
|
|
77
75
|
let t, o, e, r;
|
|
78
76
|
const a = [v, q], p = [];
|
|
79
|
-
function u(i,
|
|
77
|
+
function u(i, f) {
|
|
80
78
|
return i[1] === "line" ? 0 : i[1] === "plane" ? 1 : -1;
|
|
81
79
|
}
|
|
82
80
|
return ~(t = u(n)) && (o = p[t] = a[t](n)), {
|
|
83
81
|
c() {
|
|
84
82
|
o && o.c(), e = b();
|
|
85
83
|
},
|
|
86
|
-
m(i,
|
|
87
|
-
~t && p[t].m(i,
|
|
84
|
+
m(i, f) {
|
|
85
|
+
~t && p[t].m(i, f), y(i, e, f), r = !0;
|
|
88
86
|
},
|
|
89
|
-
p(i, [
|
|
87
|
+
p(i, [f]) {
|
|
90
88
|
let c = t;
|
|
91
|
-
t = u(i), t === c ? ~t && p[t].p(i,
|
|
89
|
+
t = u(i), t === c ? ~t && p[t].p(i, f) : (o && (R(), l(p[c], 1, 1, () => {
|
|
92
90
|
p[c] = null;
|
|
93
|
-
}), h()), ~t ? (o = p[t], o ? o.p(i,
|
|
91
|
+
}), h()), ~t ? (o = p[t], o ? o.p(i, f) : (o = p[t] = a[t](i), o.c()), m(o, 1), o.m(e.parentNode, e)) : o = null);
|
|
94
92
|
},
|
|
95
93
|
i(i) {
|
|
96
|
-
r || (
|
|
94
|
+
r || (m(o), r = !0);
|
|
97
95
|
},
|
|
98
96
|
o(i) {
|
|
99
|
-
|
|
97
|
+
l(o), r = !1;
|
|
100
98
|
},
|
|
101
99
|
d(i) {
|
|
102
100
|
~t && p[t].d(i), i && A(e);
|
|
@@ -115,11 +113,11 @@ function N(n, t, o) {
|
|
|
115
113
|
n.$$.dirty & 1 && o(1, e = (u = r.data.appearance) != null ? u : "line");
|
|
116
114
|
}, [r, e, p];
|
|
117
115
|
}
|
|
118
|
-
class
|
|
116
|
+
class et extends g {
|
|
119
117
|
constructor(t) {
|
|
120
118
|
super(), $(this, t, N, C, k, { tag: 0 });
|
|
121
119
|
}
|
|
122
120
|
}
|
|
123
121
|
export {
|
|
124
|
-
|
|
122
|
+
et as default
|
|
125
123
|
};
|
|
@@ -65,7 +65,6 @@ import "../../../shared-utils/audio.js";
|
|
|
65
65
|
import "../../utils/audio/SharedAudio.js";
|
|
66
66
|
import "../Common/Icon/audioIcon.js";
|
|
67
67
|
import "./AudioTag/AudioPlaneTag.js";
|
|
68
|
-
import "../../utils/timeToString.js";
|
|
69
68
|
import "../../utils/color.js";
|
|
70
69
|
import "../Common/Icon/Icon.js";
|
|
71
70
|
import "../../utils/getImageInfo.js";
|
|
@@ -372,7 +371,7 @@ function BA(o, A, t) {
|
|
|
372
371
|
E
|
|
373
372
|
];
|
|
374
373
|
}
|
|
375
|
-
class
|
|
374
|
+
class Je extends V {
|
|
376
375
|
constructor(A) {
|
|
377
376
|
super(), N(
|
|
378
377
|
this,
|
|
@@ -393,5 +392,5 @@ class Pe extends V {
|
|
|
393
392
|
}
|
|
394
393
|
}
|
|
395
394
|
export {
|
|
396
|
-
|
|
395
|
+
Je as default
|
|
397
396
|
};
|
|
@@ -64,7 +64,6 @@ import "../../shared-utils/audio.js";
|
|
|
64
64
|
import "../utils/audio/SharedAudio.js";
|
|
65
65
|
import "./Common/Icon/audioIcon.js";
|
|
66
66
|
import "./Tag/AudioTag/AudioPlaneTag.js";
|
|
67
|
-
import "../utils/timeToString.js";
|
|
68
67
|
import "../utils/color.js";
|
|
69
68
|
import "./Tag/MediaPlane.js";
|
|
70
69
|
import "./Tag/LinkTag.js";
|
|
@@ -187,7 +186,7 @@ function F(l, t, o) {
|
|
|
187
186
|
"withAnimation" in a && o(0, e = a.withAnimation), "tags" in a && o(1, n = a.tags), "hooks" in a && o(5, r = a.hooks), "mediaStore" in a && o(2, p = a.mediaStore), "state" in a && o(3, i = a.state), "temporaryState" in a && o(4, m = a.temporaryState);
|
|
188
187
|
}, [e, n, p, i, m, r];
|
|
189
188
|
}
|
|
190
|
-
class
|
|
189
|
+
class ie extends S {
|
|
191
190
|
constructor(t) {
|
|
192
191
|
super(), v(
|
|
193
192
|
this,
|
|
@@ -208,5 +207,5 @@ class oe extends S {
|
|
|
208
207
|
}
|
|
209
208
|
}
|
|
210
209
|
export {
|
|
211
|
-
|
|
210
|
+
ie as default
|
|
212
211
|
};
|
|
@@ -64,7 +64,6 @@ import "../../shared-utils/audio.js";
|
|
|
64
64
|
import "../utils/audio/SharedAudio.js";
|
|
65
65
|
import "./Common/Icon/audioIcon.js";
|
|
66
66
|
import "./Tag/AudioTag/AudioPlaneTag.js";
|
|
67
|
-
import "../utils/timeToString.js";
|
|
68
67
|
import "../utils/color.js";
|
|
69
68
|
import "./Tag/MediaPlane.js";
|
|
70
69
|
import "./Tag/LinkTag.js";
|
|
@@ -230,7 +229,7 @@ function it(o, e, t) {
|
|
|
230
229
|
m
|
|
231
230
|
];
|
|
232
231
|
}
|
|
233
|
-
class
|
|
232
|
+
class ve extends K {
|
|
234
233
|
constructor(e) {
|
|
235
234
|
super(), M(
|
|
236
235
|
this,
|
|
@@ -250,5 +249,5 @@ class Se extends K {
|
|
|
250
249
|
}
|
|
251
250
|
}
|
|
252
251
|
export {
|
|
253
|
-
|
|
252
|
+
ve as default
|
|
254
253
|
};
|
|
@@ -109,7 +109,6 @@ import "../Components/Common/Audio.js";
|
|
|
109
109
|
import "../utils/audio/SharedAudio.js";
|
|
110
110
|
import "../Components/Common/Icon/audioIcon.js";
|
|
111
111
|
import "../Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
112
|
-
import "../utils/timeToString.js";
|
|
113
112
|
import "../utils/color.js";
|
|
114
113
|
import "../Components/Tag/MediaPlane.js";
|
|
115
114
|
import "../Components/Tag/LinkTag.js";
|
|
@@ -122,8 +121,8 @@ import "./TagCacheController.js";
|
|
|
122
121
|
import "../../base/BasePlugin.js";
|
|
123
122
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
124
123
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
125
|
-
const y = "2.0.5", v = `DnalogelPlugin-PanoTagPlugin@${y}`, G = !1,
|
|
126
|
-
class
|
|
124
|
+
const y = "2.0.5", v = `DnalogelPlugin-PanoTagPlugin@${y}`, G = !1, Lt = (h) => `${v}--${h}`;
|
|
125
|
+
class Ot extends W {
|
|
127
126
|
constructor(e, t) {
|
|
128
127
|
super(e);
|
|
129
128
|
d(this, "version", y);
|
|
@@ -466,7 +465,7 @@ class It extends W {
|
|
|
466
465
|
}
|
|
467
466
|
}
|
|
468
467
|
export {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
468
|
+
Ot as PanoTagPluginController,
|
|
469
|
+
Ot as default,
|
|
470
|
+
Lt as pluginFlag
|
|
472
471
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./controller/index.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { ContentType as
|
|
4
|
-
import { DimensionType as
|
|
2
|
+
import { default as Wo, pluginFlag as Xo } from "./controller/index.js";
|
|
3
|
+
import { ContentType as Zo } from "./typings/tag/TagData.js";
|
|
4
|
+
import { DimensionType as $o, PointType as or } from "./typings/tag/Utils.js";
|
|
5
5
|
import "@realsee/five";
|
|
6
6
|
import "three";
|
|
7
7
|
import "object-assign-deep";
|
|
@@ -71,7 +71,6 @@ import "../shared-utils/audio.js";
|
|
|
71
71
|
import "./utils/audio/SharedAudio.js";
|
|
72
72
|
import "./Components/Common/Icon/audioIcon.js";
|
|
73
73
|
import "./Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
74
|
-
import "./utils/timeToString.js";
|
|
75
74
|
import "./utils/color.js";
|
|
76
75
|
import "./Components/Tag/MediaPlane.js";
|
|
77
76
|
import "./Components/Tag/LinkTag.js";
|
|
@@ -97,13 +96,13 @@ import "../CSS3DRenderPlugin/index.js";
|
|
|
97
96
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
98
97
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
99
98
|
import "./utils/tag/format.js";
|
|
100
|
-
const
|
|
99
|
+
const So = (o, r) => new t(o, r);
|
|
101
100
|
export {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
101
|
+
Zo as ContentType,
|
|
102
|
+
$o as DimensionType,
|
|
103
|
+
So as PanoTagPlugin,
|
|
104
|
+
Wo as PanoTagPluginController,
|
|
105
|
+
or as PointType,
|
|
106
|
+
So as default,
|
|
107
|
+
Xo as pluginFlag
|
|
109
108
|
};
|