@realsee/dnalogel 2.3.9-alpha.3 → 2.3.9-alpha.5
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 +2 -2
- package/dist/index.js +20 -16
- package/dist/index.umd.js +2 -2
- package/dist/shared-utils/audio.d.ts +1 -1
- 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 +13 -13
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +25 -25
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +62 -60
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +40 -40
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/shared-utils/audio.d.ts +1 -1
- package/libs/shared-utils/audio.js +10 -8
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { SvelteComponent as j, init as A, safe_not_equal as B, append_styles as E, empty as F, insert as
|
|
1
|
+
import { SvelteComponent as j, init as A, safe_not_equal as B, append_styles as E, empty as F, insert as z, transition_in as u, transition_out as v, check_outros as G, detach as T, create_component as k, space as D, element as w, attr as _, set_style as M, toggle_class as g, mount_component as y, append as h, destroy_component as Y, group_outros as H } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import I from "../../Common/Line/Straight.js";
|
|
3
3
|
import N from "../../Common/Text/MText.js";
|
|
4
4
|
import "../../../../vendor/svelte/transition/index.js";
|
|
5
5
|
import "../../../../vendor/svelte/easing/index.js";
|
|
6
6
|
import "../../../../shared-utils/uuid.js";
|
|
7
7
|
import "../../../utils/px2rem.js";
|
|
8
|
-
function J(
|
|
9
|
-
E(
|
|
8
|
+
function J(l) {
|
|
9
|
+
E(l, "svelte-1lhi5w1", ".plane__container.svelte-1lhi5w1.svelte-1lhi5w1{position:absolute;left:50%;transform:translate(-50%, -100%);width:-moz-max-content;width:max-content}.plane__wrapper.svelte-1lhi5w1.svelte-1lhi5w1{transition:transform 500ms linear, opacity 200ms linear;padding:0.625rem;background-color:rgba(0, 0, 0, 0.5);border:0.03125rem solid rgba(255, 255, 255, 0.3);border-radius:0.25rem}.unfolded.svelte-1lhi5w1 .plane__wrapper.svelte-1lhi5w1{transition-delay:200ms, 500ms;opacity:1}.folded.svelte-1lhi5w1 .plane__wrapper.svelte-1lhi5w1{opacity:0}.plane.svelte-1lhi5w1.svelte-1lhi5w1{max-width:11.75rem}.title.svelte-1lhi5w1.svelte-1lhi5w1{white-space:pre-wrap;font-weight:bold;font-size:0.75rem;line-height:1.125rem;margin-bottom:0.25rem}.description.svelte-1lhi5w1.svelte-1lhi5w1{white-space:pre-wrap;font-size:0.6875rem;line-height:1rem}");
|
|
10
10
|
}
|
|
11
|
-
function P(
|
|
12
|
-
var
|
|
13
|
-
let n,
|
|
11
|
+
function P(l) {
|
|
12
|
+
var x, C;
|
|
13
|
+
let n, a, e, i, r, d, s, c, p, f, m;
|
|
14
14
|
return n = new I({
|
|
15
15
|
props: {
|
|
16
|
-
unfolded:
|
|
16
|
+
unfolded: l[1],
|
|
17
17
|
direction: "vertical",
|
|
18
18
|
length: 15,
|
|
19
19
|
duration: 500,
|
|
@@ -22,75 +22,75 @@ function P(i) {
|
|
|
22
22
|
}
|
|
23
23
|
}), s = new N({
|
|
24
24
|
props: {
|
|
25
|
-
text:
|
|
26
|
-
edit: (
|
|
25
|
+
text: l[2],
|
|
26
|
+
edit: (x = l[0].data.edit) == null ? void 0 : x.title
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
28
|
+
}), f = new N({
|
|
29
29
|
props: {
|
|
30
|
-
text:
|
|
31
|
-
edit: (C =
|
|
30
|
+
text: l[0].data.description,
|
|
31
|
+
edit: (C = l[0].data.edit) == null ? void 0 : C.description,
|
|
32
32
|
maxLine: 3
|
|
33
33
|
}
|
|
34
34
|
}), {
|
|
35
35
|
c() {
|
|
36
|
-
|
|
36
|
+
k(n.$$.fragment), a = D(), e = w("div"), i = w("div"), r = w("div"), d = w("div"), k(s.$$.fragment), c = D(), p = w("div"), k(f.$$.fragment), _(d, "class", "title svelte-1lhi5w1"), _(p, "class", "description svelte-1lhi5w1"), _(r, "class", "plane svelte-1lhi5w1"), _(i, "class", "plane__wrapper svelte-1lhi5w1"), M(i, "transform", l[1] ? "translateY(-15px)" : "translateY(0)"), _(e, "class", "plane__container svelte-1lhi5w1"), g(e, "unfolded", l[1]), g(e, "folded", l[3]);
|
|
37
37
|
},
|
|
38
38
|
m(t, o) {
|
|
39
|
-
|
|
39
|
+
y(n, t, o), z(t, a, o), z(t, e, o), h(e, i), h(i, r), h(r, d), y(s, d, null), h(r, c), h(r, p), y(f, p, null), m = !0;
|
|
40
40
|
},
|
|
41
41
|
p(t, o) {
|
|
42
42
|
var S, q;
|
|
43
43
|
const L = {};
|
|
44
44
|
o & 2 && (L.unfolded = t[1]), n.$set(L);
|
|
45
|
+
const $ = {};
|
|
46
|
+
o & 4 && ($.text = t[2]), o & 1 && ($.edit = (S = t[0].data.edit) == null ? void 0 : S.title), s.$set($);
|
|
45
47
|
const b = {};
|
|
46
|
-
o &
|
|
47
|
-
const h = {};
|
|
48
|
-
o & 1 && (h.text = t[0].data.description), o & 1 && (h.edit = (q = t[0].data.edit) == null ? void 0 : q.description), m.$set(h), o & 2 && M(r, "transform", t[1] ? "translateY(-15px)" : "translateY(0)"), (!p || o & 2) && $(e, "unfolded", t[1]), (!p || o & 8) && $(e, "folded", t[3]);
|
|
48
|
+
o & 1 && (b.text = t[0].data.description), o & 1 && (b.edit = (q = t[0].data.edit) == null ? void 0 : q.description), f.$set(b), o & 2 && M(i, "transform", t[1] ? "translateY(-15px)" : "translateY(0)"), (!m || o & 2) && g(e, "unfolded", t[1]), (!m || o & 8) && g(e, "folded", t[3]);
|
|
49
49
|
},
|
|
50
50
|
i(t) {
|
|
51
|
-
|
|
51
|
+
m || (u(n.$$.fragment, t), u(s.$$.fragment, t), u(f.$$.fragment, t), m = !0);
|
|
52
52
|
},
|
|
53
53
|
o(t) {
|
|
54
|
-
|
|
54
|
+
v(n.$$.fragment, t), v(s.$$.fragment, t), v(f.$$.fragment, t), m = !1;
|
|
55
55
|
},
|
|
56
56
|
d(t) {
|
|
57
|
-
|
|
57
|
+
Y(n, t), t && T(a), t && T(e), Y(s), Y(f);
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
function K(
|
|
62
|
-
let n,
|
|
61
|
+
function K(l) {
|
|
62
|
+
let n, a, e = l[0].state && P(l);
|
|
63
63
|
return {
|
|
64
64
|
c() {
|
|
65
65
|
e && e.c(), n = F();
|
|
66
66
|
},
|
|
67
|
-
m(
|
|
68
|
-
e && e.m(
|
|
67
|
+
m(i, r) {
|
|
68
|
+
e && e.m(i, r), z(i, n, r), a = !0;
|
|
69
69
|
},
|
|
70
|
-
p(
|
|
71
|
-
|
|
70
|
+
p(i, [r]) {
|
|
71
|
+
i[0].state ? e ? (e.p(i, r), r & 1 && u(e, 1)) : (e = P(i), e.c(), u(e, 1), e.m(n.parentNode, n)) : e && (H(), v(e, 1, 1, () => {
|
|
72
72
|
e = null;
|
|
73
73
|
}), G());
|
|
74
74
|
},
|
|
75
|
-
i(
|
|
76
|
-
|
|
75
|
+
i(i) {
|
|
76
|
+
a || (u(e), a = !0);
|
|
77
77
|
},
|
|
78
|
-
o(
|
|
79
|
-
|
|
78
|
+
o(i) {
|
|
79
|
+
v(e), a = !1;
|
|
80
80
|
},
|
|
81
|
-
d(
|
|
82
|
-
e && e.d(
|
|
81
|
+
d(i) {
|
|
82
|
+
e && e.d(i), i && T(n);
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
function O(
|
|
87
|
-
let e,
|
|
88
|
-
return
|
|
89
|
-
"tag" in s &&
|
|
90
|
-
},
|
|
91
|
-
var s,
|
|
92
|
-
|
|
93
|
-
}, [d, e,
|
|
86
|
+
function O(l, n, a) {
|
|
87
|
+
let e, i, r, { tag: d } = n;
|
|
88
|
+
return l.$$set = (s) => {
|
|
89
|
+
"tag" in s && a(0, d = s.tag);
|
|
90
|
+
}, l.$$.update = () => {
|
|
91
|
+
var s, c, p;
|
|
92
|
+
l.$$.dirty & 1 && a(1, e = !!((s = d.state) != null && s.unfolded)), l.$$.dirty & 2 && a(3, i = !e), l.$$.dirty & 1 && a(2, r = (p = (c = d.data.title) != null ? c : d.data.text) != null ? p : "");
|
|
93
|
+
}, [d, e, r, i];
|
|
94
94
|
}
|
|
95
95
|
class ee extends j {
|
|
96
96
|
constructor(n) {
|
|
@@ -121,7 +121,7 @@ import "./TagCacheController.js";
|
|
|
121
121
|
import "../../base/BasePlugin.js";
|
|
122
122
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
123
123
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
124
|
-
const A = "2.0.
|
|
124
|
+
const A = "2.0.4", v = `DnalogelPlugin-PanoTagPlugin@${A}`, $ = !1, Ut = (h) => `${v}--${h}`;
|
|
125
125
|
class Lt extends N {
|
|
126
126
|
constructor(e, t) {
|
|
127
127
|
super(e);
|
|
@@ -7,7 +7,7 @@ export declare function waitForBlankAudioGenerated(checkInterval?: number, timeo
|
|
|
7
7
|
*/
|
|
8
8
|
export declare function generateBlankAudio(length: number): void;
|
|
9
9
|
export declare class IAudio extends Audio {
|
|
10
|
-
preload: "
|
|
10
|
+
preload: "auto";
|
|
11
11
|
get isBlankAudio(): boolean;
|
|
12
12
|
get src(): string;
|
|
13
13
|
set src(paramsSrc: string);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var r = (e, V, A) => (
|
|
1
|
+
var l = Object.defineProperty;
|
|
2
|
+
var m = (e, V, A) => V in e ? l(e, V, { enumerable: !0, configurable: !0, writable: !0, value: A }) : e[V] = A;
|
|
3
|
+
var r = (e, V, A) => (m(e, typeof V != "symbol" ? V + "" : V, A), A);
|
|
4
4
|
var a = (e, V, A) => new Promise((t, c) => {
|
|
5
5
|
var u = (n) => {
|
|
6
6
|
try {
|
|
@@ -25,14 +25,16 @@ function L(e) {
|
|
|
25
25
|
function K(e) {
|
|
26
26
|
return a(this, null, function* () {
|
|
27
27
|
const V = (() => e instanceof d ? e : L(e))(), A = yield new Promise((t) => {
|
|
28
|
-
V.duration ? V.isBlankAudio ? t(0) : t(V.duration) : V.addEventListener("loadedmetadata", () => {
|
|
28
|
+
V.duration ? V.isBlankAudio ? t(0) : t(V.duration) : (V.addEventListener("loadedmetadata", () => {
|
|
29
29
|
V.isBlankAudio ? t(0) : t(V.duration);
|
|
30
|
-
})
|
|
30
|
+
}), V.addEventListener("canplaythrough", () => {
|
|
31
|
+
V.isBlankAudio ? t(0) : t(V.duration);
|
|
32
|
+
}));
|
|
31
33
|
});
|
|
32
34
|
return typeof e == "string" && V.clear(), A;
|
|
33
35
|
});
|
|
34
36
|
}
|
|
35
|
-
function
|
|
37
|
+
function g(e) {
|
|
36
38
|
const V = e - s.length;
|
|
37
39
|
if (!(V <= 0))
|
|
38
40
|
for (let A = 0; A < V; A++)
|
|
@@ -44,7 +46,7 @@ function f(e) {
|
|
|
44
46
|
class d extends Audio {
|
|
45
47
|
constructor(A) {
|
|
46
48
|
super(A);
|
|
47
|
-
r(this, "preload", "
|
|
49
|
+
r(this, "preload", "auto");
|
|
48
50
|
r(this, "realSrc", "");
|
|
49
51
|
r(this, "inited", !1);
|
|
50
52
|
r(this, "removeDocumentEventListener");
|
|
@@ -70,6 +72,6 @@ class d extends Audio {
|
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
74
|
export {
|
|
73
|
-
|
|
75
|
+
g as generateBlankAudio,
|
|
74
76
|
K as getAudioDuration
|
|
75
77
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.3.9-alpha.
|
|
10
|
+
"version": "2.3.9-alpha.5",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|