@realsee/dnalogel 2.11.0-alpha.1 → 2.11.0
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/utils/audio/SharedAudio.d.ts +4 -3
- package/dist/PanoVideoPlugin/VideoMeshController.d.ts +7 -0
- package/dist/index.cjs.js +45 -45
- package/dist/index.js +1972 -1926
- package/dist/index.umd.js +38 -38
- package/dist/shared-utils/audio.d.ts +3 -0
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- 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 +19 -19
- 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/PanoVideoPlugin.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/HelperOffset.html +8 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- 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/ObjectHelperControllers.html +9 -9
- 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 +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- 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/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.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 +12 -12
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagStyle.html +6 -6
- 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/PanoVideoPluginType.html +5 -5
- 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/ClassFunctionParameters.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/ModelElement.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/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.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/TagGLTFObject.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/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +10 -10
- package/libs/PanoTagPlugin/Components/Common/Audio.js +61 -42
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +67 -64
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +53 -50
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +61 -66
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +4 -3
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +69 -61
- package/libs/PanoVideoPlugin/VideoMeshController.d.ts +7 -0
- package/libs/PanoVideoPlugin/VideoMeshController.js +62 -39
- package/libs/base/BasePlugin.js +3 -3
- package/libs/index.js +1 -1
- package/libs/shared-utils/audio.d.ts +3 -0
- package/libs/shared-utils/audio.js +38 -60
- package/package.json +1 -1
|
@@ -1,143 +1,145 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { SvelteComponent as M, init as N, safe_not_equal as P, append_styles as S, empty as W, insert as w, transition_in as m, transition_out as g, check_outros as B, detach as $, element as c, create_component as j, attr as h, set_style as b, append as v, mount_component as k, destroy_component as y, space as D, group_outros as E, 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";
|
|
5
5
|
import "../../../utils/px2rem.js";
|
|
6
6
|
import "../../Common/Shadow.js";
|
|
7
7
|
import "../../../../vendor/svelte/transition/index.js";
|
|
8
8
|
import "../../../../vendor/svelte/easing/index.js";
|
|
9
|
-
import "../../../../shared-utils/audio.js";
|
|
10
9
|
import "../../../utils/audio/SharedAudio.js";
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
import "../../../../shared-utils/audio.js";
|
|
11
|
+
function O(o) {
|
|
12
|
+
S(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}");
|
|
13
13
|
}
|
|
14
14
|
function A(o) {
|
|
15
|
-
let
|
|
16
|
-
return e = new
|
|
15
|
+
let r, t, e, i;
|
|
16
|
+
return e = new L({
|
|
17
17
|
props: {
|
|
18
18
|
style: "width: max-content; height: max-content;",
|
|
19
19
|
enable: o[0].state.visible,
|
|
20
20
|
url: o[0].data.audioUrl,
|
|
21
21
|
hooksInfo: { tag: o[0] },
|
|
22
|
-
$$slots: { default: [
|
|
22
|
+
$$slots: { default: [V] },
|
|
23
23
|
$$scope: { ctx: o }
|
|
24
24
|
}
|
|
25
|
-
}), e.$on("play", o[11]), e.$on("pause", o[12]), e.$on("
|
|
25
|
+
}), e.$on("play", o[11]), e.$on("pause", o[12]), e.$on("error", o[13]), e.$on("timeupdate", o[14]), e.$on("duration", o[15]), e.$on("audioRef", o[16]), {
|
|
26
26
|
c() {
|
|
27
|
-
|
|
27
|
+
r = c("div"), t = c("div"), j(e.$$.fragment), h(t, "class", "audio-tag svelte-58hfjf"), b(t, "background-color", o[5]), b(t, "color", o[4]), h(r, "class", "audio-tag__wrapper svelte-58hfjf");
|
|
28
28
|
},
|
|
29
|
-
m(
|
|
30
|
-
|
|
29
|
+
m(n, a) {
|
|
30
|
+
w(n, r, a), v(r, t), k(e, t, null), i = !0;
|
|
31
31
|
},
|
|
32
|
-
p(
|
|
32
|
+
p(n, a) {
|
|
33
33
|
const s = {};
|
|
34
|
-
a & 1 && (s.enable =
|
|
34
|
+
a & 1 && (s.enable = n[0].state.visible), a & 1 && (s.url = n[0].data.audioUrl), a & 1 && (s.hooksInfo = { tag: n[0] }), a & 131144 && (s.$$scope = { dirty: a, ctx: n }), e.$set(s), a & 32 && b(t, "background-color", n[5]), a & 16 && b(t, "color", n[4]);
|
|
35
35
|
},
|
|
36
|
-
i(
|
|
37
|
-
i || (m(e.$$.fragment,
|
|
36
|
+
i(n) {
|
|
37
|
+
i || (m(e.$$.fragment, n), i = !0);
|
|
38
38
|
},
|
|
39
|
-
o(
|
|
40
|
-
|
|
39
|
+
o(n) {
|
|
40
|
+
g(e.$$.fragment, n), i = !1;
|
|
41
41
|
},
|
|
42
|
-
d(
|
|
43
|
-
|
|
42
|
+
d(n) {
|
|
43
|
+
n && $(r), y(e);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
let
|
|
47
|
+
function Q(o) {
|
|
48
|
+
let r;
|
|
49
49
|
return {
|
|
50
50
|
c() {
|
|
51
|
-
|
|
51
|
+
r = G(o[6]);
|
|
52
52
|
},
|
|
53
53
|
m(t, e) {
|
|
54
|
-
|
|
54
|
+
w(t, r, e);
|
|
55
55
|
},
|
|
56
56
|
p(t, e) {
|
|
57
|
-
e & 64 &&
|
|
57
|
+
e & 64 && H(r, t[6]);
|
|
58
58
|
},
|
|
59
59
|
d(t) {
|
|
60
|
-
t &&
|
|
60
|
+
t && $(r);
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
let
|
|
66
|
-
return e = new
|
|
64
|
+
function V(o) {
|
|
65
|
+
let r, t, e, i, n, a, s;
|
|
66
|
+
return e = new J({ props: { playing: o[3] } }), a = new K({
|
|
67
67
|
props: {
|
|
68
68
|
maxWidth: 72,
|
|
69
|
-
$$slots: { default: [
|
|
69
|
+
$$slots: { default: [Q] },
|
|
70
70
|
$$scope: { ctx: o }
|
|
71
71
|
}
|
|
72
72
|
}), {
|
|
73
73
|
c() {
|
|
74
|
-
|
|
74
|
+
r = c("div"), t = c("div"), j(e.$$.fragment), i = D(), n = c("div"), j(a.$$.fragment), h(t, "class", "audio-icon__wrapper svelte-58hfjf"), h(n, "class", "text svelte-58hfjf"), h(r, "class", "audio__inner svelte-58hfjf");
|
|
75
75
|
},
|
|
76
76
|
m(l, f) {
|
|
77
|
-
|
|
77
|
+
w(l, r, f), v(r, t), k(e, t, null), v(r, i), v(r, n), k(a, n, null), s = !0;
|
|
78
78
|
},
|
|
79
79
|
p(l, f) {
|
|
80
80
|
const u = {};
|
|
81
81
|
f & 8 && (u.playing = l[3]), e.$set(u);
|
|
82
82
|
const p = {};
|
|
83
|
-
f &
|
|
83
|
+
f & 131136 && (p.$$scope = { dirty: f, ctx: l }), a.$set(p);
|
|
84
84
|
},
|
|
85
85
|
i(l) {
|
|
86
86
|
s || (m(e.$$.fragment, l), m(a.$$.fragment, l), s = !0);
|
|
87
87
|
},
|
|
88
88
|
o(l) {
|
|
89
|
-
|
|
89
|
+
g(e.$$.fragment, l), g(a.$$.fragment, l), s = !1;
|
|
90
90
|
},
|
|
91
91
|
d(l) {
|
|
92
|
-
l &&
|
|
92
|
+
l && $(r), y(e), y(a);
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
let
|
|
96
|
+
function X(o) {
|
|
97
|
+
let r, t, e = o[0].state && A(o);
|
|
98
98
|
return {
|
|
99
99
|
c() {
|
|
100
|
-
e && e.c(),
|
|
100
|
+
e && e.c(), r = W();
|
|
101
101
|
},
|
|
102
|
-
m(i,
|
|
103
|
-
e && e.m(i,
|
|
102
|
+
m(i, n) {
|
|
103
|
+
e && e.m(i, n), w(i, r, n), t = !0;
|
|
104
104
|
},
|
|
105
|
-
p(i, [
|
|
106
|
-
i[0].state ? e ? (e.p(i,
|
|
105
|
+
p(i, [n]) {
|
|
106
|
+
i[0].state ? e ? (e.p(i, n), n & 1 && m(e, 1)) : (e = A(i), e.c(), m(e, 1), e.m(r.parentNode, r)) : e && (E(), g(e, 1, 1, () => {
|
|
107
107
|
e = null;
|
|
108
|
-
}),
|
|
108
|
+
}), B());
|
|
109
109
|
},
|
|
110
110
|
i(i) {
|
|
111
111
|
t || (m(e), t = !0);
|
|
112
112
|
},
|
|
113
113
|
o(i) {
|
|
114
|
-
|
|
114
|
+
g(e), t = !1;
|
|
115
115
|
},
|
|
116
116
|
d(i) {
|
|
117
|
-
e && e.d(i), i &&
|
|
117
|
+
e && e.d(i), i && $(r);
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
let e, i,
|
|
121
|
+
function Y(o, r, t) {
|
|
122
|
+
let e, i, n, a;
|
|
123
123
|
var s, l, f;
|
|
124
|
-
let { tag: u } =
|
|
124
|
+
let { tag: u } = r, p = 0, z = 0, _ = !1;
|
|
125
125
|
const C = () => {
|
|
126
|
-
t(3,
|
|
126
|
+
t(3, _ = !0);
|
|
127
127
|
}, I = () => {
|
|
128
|
-
t(3,
|
|
129
|
-
}, T = (
|
|
130
|
-
t(
|
|
128
|
+
t(3, _ = !1);
|
|
129
|
+
}, T = () => {
|
|
130
|
+
t(3, _ = !1);
|
|
131
131
|
}, R = (d) => {
|
|
132
|
+
t(1, p = d.detail);
|
|
133
|
+
}, U = (d) => {
|
|
132
134
|
t(2, z = d.detail);
|
|
133
135
|
};
|
|
134
|
-
function
|
|
135
|
-
|
|
136
|
+
function q(d) {
|
|
137
|
+
F.call(this, o, d);
|
|
136
138
|
}
|
|
137
139
|
return o.$$set = (d) => {
|
|
138
140
|
"tag" in d && t(0, u = d.tag);
|
|
139
141
|
}, o.$$.update = () => {
|
|
140
|
-
o.$$.dirty & 385 && t(6, e = t(8, l = t(7, s = u.data.title) !== null && s !== void 0 ? s : u.data.text) !== null && l !== void 0 ? l : ""), o.$$.dirty & 513 && t(10, i = t(9, f = u.data.theme) !== null && f !== void 0 ? f : "light"), o.$$.dirty & 1024 && t(5,
|
|
142
|
+
o.$$.dirty & 385 && t(6, e = t(8, l = t(7, s = u.data.title) !== null && s !== void 0 ? s : u.data.text) !== null && l !== void 0 ? l : ""), o.$$.dirty & 513 && t(10, i = t(9, f = u.data.theme) !== null && f !== void 0 ? f : "light"), o.$$.dirty & 1024 && t(5, n = (() => {
|
|
141
143
|
if (i === "dark")
|
|
142
144
|
return "rgba(0, 0, 0, 0.3)";
|
|
143
145
|
if (i === "light")
|
|
@@ -152,9 +154,9 @@ function X(o, n, t) {
|
|
|
152
154
|
u,
|
|
153
155
|
p,
|
|
154
156
|
z,
|
|
155
|
-
|
|
157
|
+
_,
|
|
156
158
|
a,
|
|
157
|
-
|
|
159
|
+
n,
|
|
158
160
|
e,
|
|
159
161
|
s,
|
|
160
162
|
l,
|
|
@@ -164,14 +166,15 @@ function X(o, n, t) {
|
|
|
164
166
|
I,
|
|
165
167
|
T,
|
|
166
168
|
R,
|
|
167
|
-
U
|
|
169
|
+
U,
|
|
170
|
+
q
|
|
168
171
|
];
|
|
169
172
|
}
|
|
170
|
-
class
|
|
171
|
-
constructor(
|
|
172
|
-
super(),
|
|
173
|
+
class se extends M {
|
|
174
|
+
constructor(r) {
|
|
175
|
+
super(), N(this, r, Y, X, P, { tag: 0 }, O);
|
|
173
176
|
}
|
|
174
177
|
}
|
|
175
178
|
export {
|
|
176
|
-
|
|
179
|
+
se as default
|
|
177
180
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as K, init as P, safe_not_equal as Q, append_styles as V, empty as X, insert as S, transition_in as g, transition_out as h, check_outros as E, detach as T, element as
|
|
1
|
+
import { SvelteComponent as K, init as P, safe_not_equal as Q, append_styles as V, empty as X, insert as S, transition_in as g, transition_out as h, check_outros as E, detach as T, element as w, create_component as k, space as D, attr as $, add_render_callback as G, set_style as Y, toggle_class as L, mount_component as y, append as c, add_resize_listener as Z, listen as x, group_outros as H, destroy_component as z, create_in_transition as ee, create_out_transition as te, bubble as ie } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { cubicInOut as N } from "../../../../vendor/svelte/easing/index.js";
|
|
3
3
|
import { fade as O } from "../../../../vendor/svelte/transition/index.js";
|
|
4
4
|
import ne from "../../Common/Audio.js";
|
|
@@ -6,8 +6,8 @@ import oe from "../../Common/Line/Straight.js";
|
|
|
6
6
|
import J from "../../Common/Shadow.js";
|
|
7
7
|
import le from "../../Common/Text/FlyMText.js";
|
|
8
8
|
import re from "../../Common/Icon/audioIcon.js";
|
|
9
|
-
import "../../../../shared-utils/audio.js";
|
|
10
9
|
import "../../../utils/audio/SharedAudio.js";
|
|
10
|
+
import "../../../../shared-utils/audio.js";
|
|
11
11
|
import "../../../../shared-utils/uuid.js";
|
|
12
12
|
import "../../Common/Text/FlyText.js";
|
|
13
13
|
import "animejs";
|
|
@@ -23,8 +23,8 @@ function ae(e) {
|
|
|
23
23
|
V(e, "svelte-1s6gk4a", ".audio-tag.svelte-1s6gk4a{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.audio-icon__wrapper.svelte-1s6gk4a{position:relative;vertical-align:top;width:100%;height:100%}.content.svelte-1s6gk4a{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-1s6gk4a{position:relative;width:100%;height:100%}.audio-icon.svelte-1s6gk4a{pointer-events:none;vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.audio.svelte-1s6gk4a{position:relative;width:100%;height:100%}");
|
|
24
24
|
}
|
|
25
25
|
function j(e) {
|
|
26
|
-
var
|
|
27
|
-
let n, i, o, t, a, u, m,
|
|
26
|
+
var I, M;
|
|
27
|
+
let n, i, o, t, a, u, m, r, s, d, v, _, b, R, U;
|
|
28
28
|
i = new J({
|
|
29
29
|
props: {
|
|
30
30
|
visible: e[6],
|
|
@@ -46,35 +46,35 @@ function j(e) {
|
|
|
46
46
|
props: {
|
|
47
47
|
unfolded: e[6],
|
|
48
48
|
length: e[3],
|
|
49
|
-
outDelay: e[4] + 20 * Math.min((
|
|
49
|
+
outDelay: e[4] + 20 * Math.min((M = (I = e[5]) == null ? void 0 : I.length) != null ? M : 10, 15),
|
|
50
50
|
useLinearColor: !0
|
|
51
51
|
}
|
|
52
52
|
}), {
|
|
53
53
|
c() {
|
|
54
|
-
n =
|
|
54
|
+
n = w("div"), k(i.$$.fragment), o = D(), t = w("div"), a = w("div"), u = w("div"), f && f.c(), m = D(), r = w("div"), k(s.$$.fragment), v = D(), k(_.$$.fragment), $(u, "class", "audio-icon svelte-1s6gk4a"), G(() => e[15].call(r)), Y(r, "display", "inline-block"), $(a, "class", "wrapper svelte-1s6gk4a"), $(t, "class", "content svelte-1s6gk4a"), $(n, "class", "audio-tag svelte-1s6gk4a"), L(n, "unfolded", e[6]);
|
|
55
55
|
},
|
|
56
|
-
m(
|
|
57
|
-
S(
|
|
56
|
+
m(l, p) {
|
|
57
|
+
S(l, n, p), y(i, n, null), c(n, o), c(n, t), c(t, a), c(a, u), f && f.m(u, null), c(a, m), c(a, r), y(s, r, null), d = Z(r, e[15].bind(r)), c(n, v), y(_, n, null), b = !0, R || (U = x(r, "click", e[7]), R = !0);
|
|
58
58
|
},
|
|
59
|
-
p(
|
|
59
|
+
p(l, p) {
|
|
60
60
|
var q, F;
|
|
61
61
|
const W = {};
|
|
62
|
-
p & 64 && (W.visible =
|
|
62
|
+
p & 64 && (W.visible = l[6]), p & 8 && (W.left = l[3] / 2 + "px"), i.$set(W), l[6] ? f ? (f.p(l, p), p & 64 && g(f, 1)) : (f = B(l), f.c(), g(f, 1), f.m(u, null)) : f && (H(), h(f, 1, 1, () => {
|
|
63
63
|
f = null;
|
|
64
64
|
}), E());
|
|
65
65
|
const A = {};
|
|
66
|
-
p & 64 && (A.visible =
|
|
66
|
+
p & 64 && (A.visible = l[6]), p & 2 && (A.textUnfolded = l[1]), p & 32 && (A.content = l[5]), s.$set(A);
|
|
67
67
|
const C = {};
|
|
68
|
-
p & 64 && (C.unfolded =
|
|
68
|
+
p & 64 && (C.unfolded = l[6]), p & 8 && (C.length = l[3]), p & 48 && (C.outDelay = l[4] + 20 * Math.min((F = (q = l[5]) == null ? void 0 : q.length) != null ? F : 10, 15)), _.$set(C), (!b || p & 64) && L(n, "unfolded", l[6]);
|
|
69
69
|
},
|
|
70
|
-
i(
|
|
71
|
-
|
|
70
|
+
i(l) {
|
|
71
|
+
b || (g(i.$$.fragment, l), g(f), g(s.$$.fragment, l), g(_.$$.fragment, l), b = !0);
|
|
72
72
|
},
|
|
73
|
-
o(
|
|
74
|
-
h(i.$$.fragment,
|
|
73
|
+
o(l) {
|
|
74
|
+
h(i.$$.fragment, l), h(f), h(s.$$.fragment, l), h(_.$$.fragment, l), b = !1;
|
|
75
75
|
},
|
|
76
|
-
d(
|
|
77
|
-
|
|
76
|
+
d(l) {
|
|
77
|
+
l && T(n), z(i), f && f.d(), z(s), d(), z(_), R = !1, U();
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
}
|
|
@@ -94,20 +94,20 @@ function B(e) {
|
|
|
94
94
|
$$slots: { default: [se] },
|
|
95
95
|
$$scope: { ctx: e }
|
|
96
96
|
}
|
|
97
|
-
}), t.$on("play", e[11]), t.$on("pause", e[12]), t.$on("
|
|
97
|
+
}), t.$on("play", e[11]), t.$on("pause", e[12]), t.$on("error", e[13]), t.$on("audioRef", e[14]), {
|
|
98
98
|
c() {
|
|
99
|
-
n =
|
|
99
|
+
n = w("div"), k(i.$$.fragment), o = D(), k(t.$$.fragment), $(n, "class", "audio svelte-1s6gk4a");
|
|
100
100
|
},
|
|
101
|
-
m(
|
|
102
|
-
S(
|
|
101
|
+
m(r, s) {
|
|
102
|
+
S(r, n, s), y(i, n, null), c(n, o), y(t, n, null), m = !0;
|
|
103
103
|
},
|
|
104
|
-
p(
|
|
105
|
-
e =
|
|
104
|
+
p(r, s) {
|
|
105
|
+
e = r;
|
|
106
106
|
const d = {};
|
|
107
|
-
s & 64 && (d.enable = e[6]), s & 1 && (d.url = e[0].data.audioUrl), s & 1 && (d.hooksInfo = { tag: e[0] }), s &
|
|
107
|
+
s & 64 && (d.enable = e[6]), s & 1 && (d.url = e[0].data.audioUrl), s & 1 && (d.hooksInfo = { tag: e[0] }), s & 65540 && (d.$$scope = { dirty: s, ctx: e }), t.$set(d);
|
|
108
108
|
},
|
|
109
|
-
i(
|
|
110
|
-
m || (g(i.$$.fragment,
|
|
109
|
+
i(r) {
|
|
110
|
+
m || (g(i.$$.fragment, r), g(t.$$.fragment, r), r && G(() => {
|
|
111
111
|
u && u.end(1), a = ee(n, O, {
|
|
112
112
|
duration: 1e3,
|
|
113
113
|
delay: 0,
|
|
@@ -115,16 +115,16 @@ function B(e) {
|
|
|
115
115
|
}), a.start();
|
|
116
116
|
}), m = !0);
|
|
117
117
|
},
|
|
118
|
-
o(
|
|
118
|
+
o(r) {
|
|
119
119
|
var s, d;
|
|
120
|
-
h(i.$$.fragment,
|
|
120
|
+
h(i.$$.fragment, r), h(t.$$.fragment, r), a && a.invalidate(), r && (u = te(n, O, {
|
|
121
121
|
duration: 1e3,
|
|
122
122
|
delay: 20 * Math.min((d = (s = e[5]) == null ? void 0 : s.length) != null ? d : 10, 15),
|
|
123
123
|
easing: N
|
|
124
124
|
})), m = !1;
|
|
125
125
|
},
|
|
126
|
-
d(
|
|
127
|
-
|
|
126
|
+
d(r) {
|
|
127
|
+
r && T(n), z(i), z(t), r && u && u.end();
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
}
|
|
@@ -132,10 +132,10 @@ function se(e) {
|
|
|
132
132
|
let n, i, o;
|
|
133
133
|
return i = new re({ props: { playing: e[2] } }), {
|
|
134
134
|
c() {
|
|
135
|
-
n =
|
|
135
|
+
n = w("div"), k(i.$$.fragment), $(n, "class", "audio-icon__wrapper svelte-1s6gk4a");
|
|
136
136
|
},
|
|
137
137
|
m(t, a) {
|
|
138
|
-
S(t, n, a),
|
|
138
|
+
S(t, n, a), y(i, n, null), o = !0;
|
|
139
139
|
},
|
|
140
140
|
p(t, a) {
|
|
141
141
|
const u = {};
|
|
@@ -148,7 +148,7 @@ function se(e) {
|
|
|
148
148
|
h(i.$$.fragment, t), o = !1;
|
|
149
149
|
},
|
|
150
150
|
d(t) {
|
|
151
|
-
t && T(n),
|
|
151
|
+
t && T(n), z(i);
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
}
|
|
@@ -179,41 +179,44 @@ function fe(e) {
|
|
|
179
179
|
}
|
|
180
180
|
function ue(e, n, i) {
|
|
181
181
|
let o, t, a;
|
|
182
|
-
var u, m,
|
|
183
|
-
let { tag: s } = n, d = !1,
|
|
184
|
-
function
|
|
182
|
+
var u, m, r;
|
|
183
|
+
let { tag: s } = n, d = !1, v = !1, _;
|
|
184
|
+
function b() {
|
|
185
185
|
i(1, d = !d);
|
|
186
186
|
}
|
|
187
|
-
const
|
|
188
|
-
i(2,
|
|
189
|
-
},
|
|
190
|
-
i(2,
|
|
187
|
+
const R = () => {
|
|
188
|
+
i(2, v = !0);
|
|
189
|
+
}, U = () => {
|
|
190
|
+
i(2, v = !1);
|
|
191
|
+
}, f = () => {
|
|
192
|
+
i(2, v = !1);
|
|
191
193
|
};
|
|
192
|
-
function
|
|
193
|
-
ie.call(this, e,
|
|
194
|
+
function I(l) {
|
|
195
|
+
ie.call(this, e, l);
|
|
194
196
|
}
|
|
195
197
|
function M() {
|
|
196
198
|
_ = this.clientWidth, i(3, _);
|
|
197
199
|
}
|
|
198
|
-
return e.$$set = (
|
|
199
|
-
"tag" in
|
|
200
|
+
return e.$$set = (l) => {
|
|
201
|
+
"tag" in l && i(0, s = l.tag);
|
|
200
202
|
}, e.$$.update = () => {
|
|
201
|
-
e.$$.dirty & 257 && i(6, o = !!(!(i(8, u = s.state) === null || u === void 0) && u.unfolded)), e.$$.dirty & 1537 && i(5, t = i(10,
|
|
203
|
+
e.$$.dirty & 257 && i(6, o = !!(!(i(8, u = s.state) === null || u === void 0) && u.unfolded)), e.$$.dirty & 1537 && i(5, t = i(10, r = i(9, m = s.data.title) !== null && m !== void 0 ? m : s.data.text) !== null && r !== void 0 ? r : ""), e.$$.dirty & 2 && i(4, a = d ? 450 : 0);
|
|
202
204
|
}, [
|
|
203
205
|
s,
|
|
204
206
|
d,
|
|
205
|
-
|
|
207
|
+
v,
|
|
206
208
|
_,
|
|
207
209
|
a,
|
|
208
210
|
t,
|
|
209
211
|
o,
|
|
210
|
-
|
|
212
|
+
b,
|
|
211
213
|
u,
|
|
212
214
|
m,
|
|
213
|
-
|
|
215
|
+
r,
|
|
216
|
+
R,
|
|
214
217
|
U,
|
|
215
|
-
I,
|
|
216
218
|
f,
|
|
219
|
+
I,
|
|
217
220
|
M
|
|
218
221
|
];
|
|
219
222
|
}
|
|
@@ -4,8 +4,8 @@ import v from "./AudioPlaneTag.js";
|
|
|
4
4
|
import "../../../../vendor/svelte/easing/index.js";
|
|
5
5
|
import "../../../../vendor/svelte/transition/index.js";
|
|
6
6
|
import "../../Common/Audio.js";
|
|
7
|
-
import "../../../../shared-utils/audio.js";
|
|
8
7
|
import "../../../utils/audio/SharedAudio.js";
|
|
8
|
+
import "../../../../shared-utils/audio.js";
|
|
9
9
|
import "../../Common/Line/Straight.js";
|
|
10
10
|
import "../../../../shared-utils/uuid.js";
|
|
11
11
|
import "../../Common/Shadow.js";
|
|
@@ -80,8 +80,8 @@ import "../../../shared-utils/animationFrame/BetterTween.js";
|
|
|
80
80
|
import "../../../shared-utils/animationFrame/index.js";
|
|
81
81
|
import "./AudioTag/AudioTag.js";
|
|
82
82
|
import "../Common/Audio.js";
|
|
83
|
-
import "../../../shared-utils/audio.js";
|
|
84
83
|
import "../../utils/audio/SharedAudio.js";
|
|
84
|
+
import "../../../shared-utils/audio.js";
|
|
85
85
|
import "../Common/Icon/audioIcon.js";
|
|
86
86
|
import "./AudioTag/AudioPlaneTag.js";
|
|
87
87
|
import "../Common/Icon/Icon.js";
|
|
@@ -79,8 +79,8 @@ import "../utils/tag/tagCheck.js";
|
|
|
79
79
|
import "./Tag/AudioTag/index.js";
|
|
80
80
|
import "./Tag/AudioTag/AudioTag.js";
|
|
81
81
|
import "./Common/Audio.js";
|
|
82
|
-
import "../../shared-utils/audio.js";
|
|
83
82
|
import "../utils/audio/SharedAudio.js";
|
|
83
|
+
import "../../shared-utils/audio.js";
|
|
84
84
|
import "./Common/Icon/audioIcon.js";
|
|
85
85
|
import "./Tag/AudioTag/AudioPlaneTag.js";
|
|
86
86
|
import "./Tag/MediaPlane.js";
|
|
@@ -79,8 +79,8 @@ import "../utils/tag/tagCheck.js";
|
|
|
79
79
|
import "./Tag/AudioTag/index.js";
|
|
80
80
|
import "./Tag/AudioTag/AudioTag.js";
|
|
81
81
|
import "./Common/Audio.js";
|
|
82
|
-
import "../../shared-utils/audio.js";
|
|
83
82
|
import "../utils/audio/SharedAudio.js";
|
|
83
|
+
import "../../shared-utils/audio.js";
|
|
84
84
|
import "./Common/Icon/audioIcon.js";
|
|
85
85
|
import "./Tag/AudioTag/AudioPlaneTag.js";
|
|
86
86
|
import "./Tag/MediaPlane.js";
|