@realsee/dnalogel 2.3.9-alpha.4 → 2.3.9-alpha.6
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/PanoTagPlugin/typings/controller.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/dist/index.cjs.js +31 -31
- package/dist/index.js +3156 -3101
- package/dist/index.umd.js +31 -31
- package/dist/shared-utils/audio.d.ts +16 -4
- 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 +6 -6
- 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 +88 -129
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +93 -70
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +25 -25
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +128 -148
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +112 -105
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +52 -48
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +59 -43
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +45 -45
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +40 -39
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +107 -0
- package/libs/index.js +93 -92
- package/libs/shared-utils/audio.d.ts +16 -4
- package/libs/shared-utils/audio.js +42 -38
- package/package.json +1 -1
|
@@ -1,47 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
var w = (n, i, t) => new Promise((e, o) => {
|
|
2
|
+
var l = (f) => {
|
|
3
|
+
try {
|
|
4
|
+
a(t.next(f));
|
|
5
|
+
} catch (m) {
|
|
6
|
+
o(m);
|
|
7
|
+
}
|
|
8
|
+
}, r = (f) => {
|
|
9
|
+
try {
|
|
10
|
+
a(t.throw(f));
|
|
11
|
+
} catch (m) {
|
|
12
|
+
o(m);
|
|
13
|
+
}
|
|
14
|
+
}, a = (f) => f.done ? e(f.value) : Promise.resolve(f.value).then(l, r);
|
|
15
|
+
a((t = t.apply(n, i)).next());
|
|
16
|
+
});
|
|
17
|
+
import { SvelteComponent as N, init as R, safe_not_equal as S, append_styles as W, empty as C, insert as k, transition_in as _, transition_out as h, check_outros as H, detach as b, createEventDispatcher as z, element as p, space as D, attr as c, set_style as s, append as g, group_outros as I, create_component as E, mount_component as X, destroy_component as A, src_url_equal as y, handle_promise as v, update_await_block_branch as B, noop as d } from "../../../../vendor/svelte/internal/index.js";
|
|
18
|
+
import { getKeyframeInfo as F } from "../../../utils/getImageInfo.js";
|
|
19
|
+
import u from "../../../utils/px2rem.js";
|
|
20
|
+
import G from "../Shadow.js";
|
|
5
21
|
import "../../../../vendor/svelte/transition/index.js";
|
|
6
22
|
import "../../../../vendor/svelte/easing/index.js";
|
|
7
|
-
function
|
|
23
|
+
function J(n) {
|
|
8
24
|
W(n, "svelte-mhs8j5", "@keyframes svelte-mhs8j5-sprites-animation{0%{background-position:0 0}100%{background-position:var(--keyframe_offset_x) 0}}.icon-image.svelte-mhs8j5{display:block;width:100%}.icon-keyframe-container.svelte-mhs8j5{overflow:hidden}.icon-keyframe-wrapper.svelte-mhs8j5{transform-origin:0 0}.icon-keyframe.svelte-mhs8j5{background-repeat:no-repeat;animation-direction:normal;animation-iteration-count:infinite;animation-name:svelte-mhs8j5-sprites-animation}");
|
|
9
25
|
}
|
|
10
26
|
function j(n) {
|
|
11
|
-
n[
|
|
27
|
+
n[6] = n[14].url, n[7] = n[14].keyframesWidth, n[8] = n[14].keyframesHeight, n[9] = n[14].wrapperWidth, n[10] = n[14].wrapperHeight, n[11] = n[14].steps, n[12] = n[14].duration, n[13] = n[14].offsetX;
|
|
12
28
|
}
|
|
13
|
-
function
|
|
14
|
-
let i,
|
|
15
|
-
function l(
|
|
16
|
-
return
|
|
29
|
+
function K(n) {
|
|
30
|
+
let i, t, e, o = n[2] && q();
|
|
31
|
+
function l(f, m) {
|
|
32
|
+
return f[3] ? O : M;
|
|
17
33
|
}
|
|
18
|
-
let
|
|
34
|
+
let r = l(n), a = r(n);
|
|
19
35
|
return {
|
|
20
36
|
c() {
|
|
21
|
-
i = p("div"), o && o.c(),
|
|
37
|
+
i = p("div"), o && o.c(), t = D(), a.c(), c(i, "class", "icon"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : n[0]);
|
|
22
38
|
},
|
|
23
|
-
m(
|
|
24
|
-
k(
|
|
39
|
+
m(f, m) {
|
|
40
|
+
k(f, i, m), o && o.m(i, null), g(i, t), a.m(i, null), e = !0;
|
|
25
41
|
},
|
|
26
|
-
p(
|
|
27
|
-
|
|
42
|
+
p(f, m) {
|
|
43
|
+
f[2] ? o ? m & 4 && _(o, 1) : (o = q(), o.c(), _(o, 1), o.m(i, t)) : o && (I(), h(o, 1, 1, () => {
|
|
28
44
|
o = null;
|
|
29
|
-
}),
|
|
45
|
+
}), H()), r === (r = l(f)) && a ? a.p(f, m) : (a.d(1), a = r(f), a && (a.c(), a.m(i, null))), m & 1 && s(i, "width", typeof f[0] == "number" ? u(f[0]) : f[0]);
|
|
30
46
|
},
|
|
31
|
-
i(
|
|
47
|
+
i(f) {
|
|
32
48
|
e || (_(o), e = !0);
|
|
33
49
|
},
|
|
34
|
-
o(
|
|
50
|
+
o(f) {
|
|
35
51
|
h(o), e = !1;
|
|
36
52
|
},
|
|
37
|
-
d(
|
|
38
|
-
|
|
53
|
+
d(f) {
|
|
54
|
+
f && b(i), o && o.d(), a.d();
|
|
39
55
|
}
|
|
40
56
|
};
|
|
41
57
|
}
|
|
42
|
-
function
|
|
43
|
-
let i,
|
|
44
|
-
return i = new
|
|
58
|
+
function q(n) {
|
|
59
|
+
let i, t;
|
|
60
|
+
return i = new G({
|
|
45
61
|
props: {
|
|
46
62
|
center: !0,
|
|
47
63
|
blurRadius: 12,
|
|
@@ -49,127 +65,134 @@ function C(n) {
|
|
|
49
65
|
}
|
|
50
66
|
}), {
|
|
51
67
|
c() {
|
|
52
|
-
|
|
68
|
+
E(i.$$.fragment);
|
|
53
69
|
},
|
|
54
70
|
m(e, o) {
|
|
55
|
-
|
|
71
|
+
X(i, e, o), t = !0;
|
|
56
72
|
},
|
|
57
73
|
i(e) {
|
|
58
|
-
|
|
74
|
+
t || (_(i.$$.fragment, e), t = !0);
|
|
59
75
|
},
|
|
60
76
|
o(e) {
|
|
61
|
-
h(i.$$.fragment, e),
|
|
77
|
+
h(i.$$.fragment, e), t = !1;
|
|
62
78
|
},
|
|
63
79
|
d(e) {
|
|
64
|
-
|
|
80
|
+
A(i, e);
|
|
65
81
|
}
|
|
66
82
|
};
|
|
67
83
|
}
|
|
68
|
-
function
|
|
69
|
-
let i,
|
|
84
|
+
function M(n) {
|
|
85
|
+
let i, t;
|
|
70
86
|
return {
|
|
71
87
|
c() {
|
|
72
|
-
i = p("img"),
|
|
88
|
+
i = p("img"), c(i, "class", "icon-image svelte-mhs8j5"), y(i.src, t = n[1].url) || c(i, "src", t), c(i, "alt", "icon");
|
|
73
89
|
},
|
|
74
90
|
m(e, o) {
|
|
75
91
|
k(e, i, o);
|
|
76
92
|
},
|
|
77
93
|
p(e, o) {
|
|
78
|
-
o & 2 && !
|
|
94
|
+
o & 2 && !y(i.src, t = e[1].url) && c(i, "src", t);
|
|
79
95
|
},
|
|
80
96
|
d(e) {
|
|
81
97
|
e && b(i);
|
|
82
98
|
}
|
|
83
99
|
};
|
|
84
100
|
}
|
|
85
|
-
function
|
|
86
|
-
let i,
|
|
101
|
+
function O(n) {
|
|
102
|
+
let i, t, e = {
|
|
87
103
|
ctx: n,
|
|
88
104
|
current: null,
|
|
89
105
|
token: null,
|
|
90
106
|
hasCatch: !1,
|
|
91
|
-
pending:
|
|
92
|
-
then:
|
|
93
|
-
catch:
|
|
94
|
-
value:
|
|
107
|
+
pending: T,
|
|
108
|
+
then: Q,
|
|
109
|
+
catch: P,
|
|
110
|
+
value: 14
|
|
95
111
|
};
|
|
96
|
-
return
|
|
112
|
+
return v(t = n[4](n[1]), e), {
|
|
97
113
|
c() {
|
|
98
|
-
i =
|
|
114
|
+
i = C(), e.block.c();
|
|
99
115
|
},
|
|
100
116
|
m(o, l) {
|
|
101
117
|
k(o, i, l), e.block.m(o, e.anchor = l), e.mount = () => i.parentNode, e.anchor = i;
|
|
102
118
|
},
|
|
103
119
|
p(o, l) {
|
|
104
|
-
n = o, e.ctx = n, l & 2 &&
|
|
120
|
+
n = o, e.ctx = n, l & 2 && t !== (t = n[4](n[1])) && v(t, e) || B(e, n, l);
|
|
105
121
|
},
|
|
106
122
|
d(o) {
|
|
107
123
|
o && b(i), e.block.d(o), e.token = null, e = null;
|
|
108
124
|
}
|
|
109
125
|
};
|
|
110
126
|
}
|
|
111
|
-
function
|
|
127
|
+
function P(n) {
|
|
112
128
|
return { c: d, m: d, p: d, d };
|
|
113
129
|
}
|
|
114
|
-
function
|
|
130
|
+
function Q(n) {
|
|
115
131
|
j(n);
|
|
116
|
-
let i,
|
|
132
|
+
let i, t, e, o = `url(${n[6]})`, l = `steps(${n[11] - 1})`;
|
|
117
133
|
return {
|
|
118
134
|
c() {
|
|
119
|
-
i = p("div"),
|
|
135
|
+
i = p("div"), t = p("div"), e = p("div"), c(e, "class", "icon-keyframe svelte-mhs8j5"), s(e, "width", u(n[7])), s(e, "height", u(n[8])), s(e, "background-image", o), s(e, "animation-duration", n[12]), s(e, "animation-timing-function", l), s(e, "animation-delay", 0), s(e, "background-size", "100% 100%"), s(e, "--keyframe_offset_x", u(n[13])), c(t, "class", "icon-keyframe-wrapper svelte-mhs8j5"), s(t, "transform", typeof n[0] == "number" ? `scale(${n[0] / n[9]})` : void 0), c(i, "class", "icon-keyframe-container svelte-mhs8j5"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : u(n[9])), s(i, "height", typeof n[0] == "number" ? u(n[10] * (n[0] / n[9])) : u(n[10]));
|
|
120
136
|
},
|
|
121
|
-
m(
|
|
122
|
-
k(
|
|
137
|
+
m(r, a) {
|
|
138
|
+
k(r, i, a), g(i, t), g(t, e);
|
|
123
139
|
},
|
|
124
|
-
p(
|
|
125
|
-
j(
|
|
140
|
+
p(r, a) {
|
|
141
|
+
j(r), a & 2 && s(e, "width", u(r[7])), a & 2 && s(e, "height", u(r[8])), a & 2 && o !== (o = `url(${r[6]})`) && s(e, "background-image", o), a & 2 && s(e, "animation-duration", r[12]), a & 2 && l !== (l = `steps(${r[11] - 1})`) && s(e, "animation-timing-function", l), a & 2 && s(e, "--keyframe_offset_x", u(r[13])), a & 3 && s(t, "transform", typeof r[0] == "number" ? `scale(${r[0] / r[9]})` : void 0), a & 3 && s(i, "width", typeof r[0] == "number" ? u(r[0]) : u(r[9])), a & 3 && s(i, "height", typeof r[0] == "number" ? u(r[10] * (r[0] / r[9])) : u(r[10]));
|
|
126
142
|
},
|
|
127
|
-
d(
|
|
128
|
-
|
|
143
|
+
d(r) {
|
|
144
|
+
r && b(i);
|
|
129
145
|
}
|
|
130
146
|
};
|
|
131
147
|
}
|
|
132
|
-
function
|
|
148
|
+
function T(n) {
|
|
133
149
|
return { c: d, m: d, p: d, d };
|
|
134
150
|
}
|
|
135
|
-
function
|
|
136
|
-
let i,
|
|
151
|
+
function U(n) {
|
|
152
|
+
let i, t, e = n[1] && K(n);
|
|
137
153
|
return {
|
|
138
154
|
c() {
|
|
139
|
-
e && e.c(), i =
|
|
155
|
+
e && e.c(), i = C();
|
|
140
156
|
},
|
|
141
157
|
m(o, l) {
|
|
142
|
-
e && e.m(o, l), k(o, i, l),
|
|
158
|
+
e && e.m(o, l), k(o, i, l), t = !0;
|
|
143
159
|
},
|
|
144
160
|
p(o, [l]) {
|
|
145
|
-
o[1] ? e ? (e.p(o, l), l & 2 && _(e, 1)) : (e =
|
|
161
|
+
o[1] ? e ? (e.p(o, l), l & 2 && _(e, 1)) : (e = K(o), e.c(), _(e, 1), e.m(i.parentNode, i)) : e && (I(), h(e, 1, 1, () => {
|
|
146
162
|
e = null;
|
|
147
|
-
}),
|
|
163
|
+
}), H());
|
|
148
164
|
},
|
|
149
165
|
i(o) {
|
|
150
|
-
|
|
166
|
+
t || (_(e), t = !0);
|
|
151
167
|
},
|
|
152
168
|
o(o) {
|
|
153
|
-
h(e),
|
|
169
|
+
h(e), t = !1;
|
|
154
170
|
},
|
|
155
171
|
d(o) {
|
|
156
172
|
e && e.d(o), o && b(i);
|
|
157
173
|
}
|
|
158
174
|
};
|
|
159
175
|
}
|
|
160
|
-
function
|
|
161
|
-
let e, { width: o = null } = i, { icon: l = null } = i, { shadow:
|
|
162
|
-
|
|
163
|
-
|
|
176
|
+
function V(n, i, t) {
|
|
177
|
+
let e, { width: o = null } = i, { icon: l = null } = i, { shadow: r = !1 } = i;
|
|
178
|
+
const a = z();
|
|
179
|
+
function f(m) {
|
|
180
|
+
return w(this, null, function* () {
|
|
181
|
+
const L = yield F(m);
|
|
182
|
+
return a("iconLoaded"), L;
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
return n.$$set = (m) => {
|
|
186
|
+
"width" in m && t(0, o = m.width), "icon" in m && t(1, l = m.icon), "shadow" in m && t(2, r = m.shadow);
|
|
164
187
|
}, n.$$.update = () => {
|
|
165
|
-
n.$$.dirty & 2 &&
|
|
166
|
-
}, [o, l,
|
|
188
|
+
n.$$.dirty & 2 && t(3, e = (l == null ? void 0 : l.steps) >= 2), n.$$.dirty & 8 && !e && a("iconLoaded");
|
|
189
|
+
}, [o, l, r, e, f];
|
|
167
190
|
}
|
|
168
|
-
class
|
|
191
|
+
class oe extends N {
|
|
169
192
|
constructor(i) {
|
|
170
|
-
super(), R(this, i,
|
|
193
|
+
super(), R(this, i, V, U, S, { width: 0, icon: 1, shadow: 2 }, J);
|
|
171
194
|
}
|
|
172
195
|
}
|
|
173
196
|
export {
|
|
174
|
-
|
|
197
|
+
oe as default
|
|
175
198
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { SvelteComponent as A, init as F, safe_not_equal as M, append_styles as U, element as
|
|
1
|
+
import { SvelteComponent as A, init as F, safe_not_equal as M, append_styles as U, element as v, space as k, create_component as I, attr as h, set_style as f, toggle_class as w, insert as T, mount_component as L, append as x, listen as X, transition_in as R, transition_out as j, detach as $, destroy_component as q, getContext as B } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import E from "./Shadow.js";
|
|
3
3
|
import G from "./Icon/Icon.js";
|
|
4
4
|
import { Image_Default_Point as H } from "../../Assets/Icon.js";
|
|
5
|
-
import
|
|
5
|
+
import _ from "../../utils/px2rem.js";
|
|
6
6
|
import "../../../vendor/svelte/transition/index.js";
|
|
7
7
|
import "../../../vendor/svelte/easing/index.js";
|
|
8
8
|
import "../../utils/getImageInfo.js";
|
|
9
9
|
function J(t) {
|
|
10
|
-
U(t, "svelte-
|
|
10
|
+
U(t, "svelte-yex9rb", '@charset "UTF-8";.tag-point-click-helper.svelte-yex9rb.svelte-yex9rb{position:absolute;pointer-events:auto;cursor:pointer;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-yex9rb.svelte-yex9rb{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-yex9rb.svelte-yex9rb,.tag-unfolded-point.svelte-yex9rb.svelte-yex9rb{transition:all 0.5s}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-yex9rb .tag-folded-point.svelte-yex9rb{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-yex9rb .tag-folded-point.svelte-yex9rb{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{opacity:1;scale:1}');
|
|
11
11
|
}
|
|
12
12
|
function K(t) {
|
|
13
|
-
let s, a, o, p,
|
|
13
|
+
let s, a, o, p, g, d, c, n, i, l, y, b;
|
|
14
14
|
return p = new E({
|
|
15
15
|
props: {
|
|
16
16
|
center: !0,
|
|
@@ -25,15 +25,15 @@ function K(t) {
|
|
|
25
25
|
}
|
|
26
26
|
}), {
|
|
27
27
|
c() {
|
|
28
|
-
s =
|
|
28
|
+
s = v("div"), a = k(), o = v("div"), I(p.$$.fragment), g = k(), d = v("div"), c = k(), n = v("div"), I(i.$$.fragment), h(s, "class", "tag-point-click-helper svelte-yex9rb"), h(d, "class", "tag-unfolded-point svelte-yex9rb"), f(d, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(n, "class", "tag-folded-point svelte-yex9rb"), f(n, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(o, "class", "tag-point-wrapper svelte-yex9rb"), w(o, "unfolded", t[0]), w(o, "folded", t[3]), f(o, "width", _(t[1])), f(o, "height", _(t[1]));
|
|
29
29
|
},
|
|
30
|
-
m(e,
|
|
31
|
-
T(e, s,
|
|
30
|
+
m(e, r) {
|
|
31
|
+
T(e, s, r), T(e, a, r), T(e, o, r), L(p, o, null), x(o, g), x(o, d), x(o, c), x(o, n), L(i, n, null), l = !0, y || (b = X(s, "click", t[4]), y = !0);
|
|
32
32
|
},
|
|
33
|
-
p(e, [
|
|
34
|
-
|
|
35
|
-
const
|
|
36
|
-
|
|
33
|
+
p(e, [r]) {
|
|
34
|
+
r & 8 && f(d, "transition-delay", (e[3] ? e[5] : 0) + "ms");
|
|
35
|
+
const u = {};
|
|
36
|
+
r & 4 && (u.icon = e[2]), r & 2 && (u.width = e[1]), i.$set(u), r & 8 && f(n, "transition-delay", (e[3] ? e[5] : 0) + "ms"), (!l || r & 1) && w(o, "unfolded", e[0]), (!l || r & 8) && w(o, "folded", e[3]), r & 2 && f(o, "width", _(e[1])), r & 2 && f(o, "height", _(e[1]));
|
|
37
37
|
},
|
|
38
38
|
i(e) {
|
|
39
39
|
l || (R(p.$$.fragment, e), R(i.$$.fragment, e), l = !0);
|
|
@@ -42,34 +42,34 @@ function K(t) {
|
|
|
42
42
|
j(p.$$.fragment, e), j(i.$$.fragment, e), l = !1;
|
|
43
43
|
},
|
|
44
44
|
d(e) {
|
|
45
|
-
e && $(s), e && $(a), e && $(o), q(p), q(i),
|
|
45
|
+
e && $(s), e && $(a), e && $(o), q(p), q(i), y = !1, b();
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
function N(t, s, a) {
|
|
50
|
-
let o, p,
|
|
50
|
+
let o, p, g, d;
|
|
51
51
|
const c = B("hooks");
|
|
52
|
-
let { tag:
|
|
53
|
-
const
|
|
52
|
+
let { tag: n } = s, i, l = !1;
|
|
53
|
+
const y = () => {
|
|
54
54
|
i !== void 0 && clearTimeout(i), l = !0, i = setTimeout(
|
|
55
55
|
() => {
|
|
56
56
|
l = !1;
|
|
57
57
|
},
|
|
58
58
|
800
|
|
59
59
|
);
|
|
60
|
-
},
|
|
61
|
-
l || c.emit("click", { event:
|
|
62
|
-
}, e = (() =>
|
|
63
|
-
return t.$$set = (
|
|
64
|
-
"tag" in
|
|
60
|
+
}, b = (r) => {
|
|
61
|
+
l || c.emit("click", { event: r, target: "TagPoint", tag: n });
|
|
62
|
+
}, e = (() => n.contentType === "Text" && n.data.appearance === "plane" ? 500 : 800)();
|
|
63
|
+
return t.$$set = (r) => {
|
|
64
|
+
"tag" in r && a(6, n = r.tag);
|
|
65
65
|
}, t.$$.update = () => {
|
|
66
|
-
var
|
|
67
|
-
t.$$.dirty & 64 && a(0, o = (
|
|
66
|
+
var r, u, P, S;
|
|
67
|
+
t.$$.dirty & 64 && a(0, o = (r = n.state) == null ? void 0 : r.unfolded), t.$$.dirty & 1 && a(3, p = !o), t.$$.dirty & 64 && a(2, g = (P = (u = n.style) == null ? void 0 : u.point) != null && P.url ? (S = n.style) == null ? void 0 : S.point : { url: H }), t.$$.dirty & 64 && a(1, d = (() => {
|
|
68
68
|
var z, C, D;
|
|
69
|
-
const
|
|
70
|
-
return typeof
|
|
69
|
+
const m = (D = (C = (z = n.style) == null ? void 0 : z.point) == null ? void 0 : C.size) != null ? D : "S";
|
|
70
|
+
return typeof m == "number" ? m : m === "S" ? 18 : m === "M" ? 20 : m === "L" ? 24 : m === "XL" ? 28 : 18;
|
|
71
71
|
})());
|
|
72
|
-
},
|
|
72
|
+
}, y(), [o, d, g, p, b, e, n];
|
|
73
73
|
}
|
|
74
74
|
class oe extends A {
|
|
75
75
|
constructor(s) {
|