@realsee/dnalogel 2.9.0-0 → 2.9.0-2
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/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +6 -6
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -1
- package/dist/PanoVideoPlugin/Controller.d.ts +31 -0
- package/dist/PanoVideoPlugin/VideoMeshController.d.ts +85 -0
- package/dist/PanoVideoPlugin/index.d.ts +16 -0
- package/dist/PanoVideoPlugin/typings.d.ts +64 -0
- package/dist/PanoVideoPlugin/utils/shader.d.ts +2 -0
- package/dist/index.cjs.js +70 -50
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4997 -4730
- package/dist/index.umd.js +61 -41
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +32 -31
- package/docs/classes/CruisePluginController.html +25 -24
- package/docs/classes/Magnifier.html +21 -20
- package/docs/classes/ModelRoomLabelController.html +12 -11
- package/docs/classes/Object3DHelperController.html +25 -24
- package/docs/classes/PaintBrush.html +16 -15
- package/docs/classes/PanoMeasurePluginLine.html +24 -23
- package/docs/classes/PanoMeasurePluginModel.html +23 -22
- package/docs/classes/PanoMeasurePluginPoint.html +15 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -26
- package/docs/classes/PanoTagPluginController.html +52 -51
- package/docs/classes/Util.BetterTween.html +9 -8
- package/docs/classes/Util.FivePointSelector.html +13 -12
- package/docs/classes/Util.Interval.html +13 -12
- package/docs/classes/Util.Magnifier.html +18 -17
- package/docs/classes/Util.PointDomHelper.html +12 -11
- package/docs/classes/Util.PointHelper.html +12 -11
- package/docs/classes/Util.Rectangle.html +14 -13
- package/docs/enums/CameraMovementEffect.html +8 -7
- package/docs/enums/ContentType.html +20 -19
- package/docs/enums/DIRECTION.html +10 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/DimensionType.html +8 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/PaintBrushTypeEnum.html +9 -8
- package/docs/enums/PointType.html +8 -7
- package/docs/enums/Rotation.html +9 -8
- package/docs/functions/CSS3DRenderPlugin.html +9 -5
- package/docs/functions/CameraMovementPlugin.html +9 -5
- package/docs/functions/CruisePlugin.html +9 -5
- package/docs/functions/GuideLinePlugin.html +9 -5
- package/docs/functions/ItemLabelPlugin.html +9 -5
- package/docs/functions/MapviewFloorplanPlugin.html +9 -5
- package/docs/functions/ModelChassisCompassPlugin.html +9 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +9 -5
- package/docs/functions/ModelFloorplanPlugin.html +9 -5
- package/docs/functions/ModelItemLabelPlugin.html +9 -5
- package/docs/functions/ModelRoomLabelPlugin.html +9 -5
- package/docs/functions/ModelTVVideoPlugin.html +9 -5
- package/docs/functions/ModelViewPlugin.html +9 -5
- package/docs/functions/Object3DHelperPlugin.html +9 -5
- package/docs/functions/PanoCompassPlugin.html +9 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +9 -5
- package/docs/functions/PanoDoorLabelPlugin.html +9 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +9 -5
- package/docs/functions/PanoMeasurePlugin.html +9 -5
- package/docs/functions/PanoRulerPlugin.html +9 -5
- package/docs/functions/PanoRulerProPlugin.html +9 -5
- package/docs/functions/PanoSpatialTagPlugin.html +9 -5
- package/docs/functions/PanoTagPlugin.html +9 -5
- package/docs/functions/PanoVideoPlugin.html +284 -0
- package/docs/functions/TopviewFloorplanPlugin.html +9 -5
- package/docs/functions/Util.getCoordsFromClient.html +6 -5
- package/docs/functions/Util.getCoordsFromElement.html +6 -5
- package/docs/functions/Util.getFrameTime.html +6 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
- package/docs/functions/Util.isNil.html +6 -5
- package/docs/functions/Util.nextFrame.html +6 -5
- package/docs/functions/Util.notNil.html +6 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
- package/docs/functions/Util.tweenProgress.html +6 -5
- package/docs/functions/pluginFlag.html +9 -5
- package/docs/index.html +8 -4
- package/docs/interfaces/AddTagConfig.html +7 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
- package/docs/interfaces/EventMap.html +16 -15
- package/docs/interfaces/FloorplanBounding.html +9 -8
- package/docs/interfaces/FloorplanData.html +11 -10
- package/docs/interfaces/FloorplanEntrance.html +12 -11
- package/docs/interfaces/FloorplanExtraObject.html +11 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
- package/docs/interfaces/FloorplanFloorData.html +10 -9
- package/docs/interfaces/FloorplanImagePosition.html +8 -7
- package/docs/interfaces/FloorplanObserver.html +10 -9
- package/docs/interfaces/FloorplanOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanPosition.html +8 -7
- package/docs/interfaces/FloorplanRoomItem.html +14 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
- package/docs/interfaces/FloorplanServerBounding.html +9 -8
- package/docs/interfaces/FloorplanServerComputedData.html +11 -10
- package/docs/interfaces/FloorplanServerData.html +8 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
- package/docs/interfaces/FloorplanServerEntrance.html +12 -11
- package/docs/interfaces/FloorplanServerFloorData.html +10 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
- package/docs/interfaces/FloorplanServerObserver.html +10 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanServerPosition.html +8 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
- package/docs/interfaces/HelperOffset.html +9 -8
- package/docs/interfaces/ItemLabelPluginData.html +7 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
- package/docs/interfaces/MinMax.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
- package/docs/interfaces/ModelViewPluginExportType.html +12 -11
- package/docs/interfaces/Object3DHelperState.html +9 -8
- package/docs/interfaces/ObjectHelperControllers.html +10 -9
- package/docs/interfaces/PaintBrushAction.html +13 -12
- package/docs/interfaces/PaintBrushConfigs.html +13 -12
- package/docs/interfaces/PaintBrushState.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +9 -5
- package/docs/interfaces/PanoMeasureParameterType.html +13 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
- package/docs/interfaces/PanoRulerProPluginState.html +9 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +9 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +9 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +74 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +89 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +66 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +165 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +66 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +97 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +114 -0
- package/docs/interfaces/Point.html +9 -8
- package/docs/interfaces/Room.html +10 -9
- package/docs/interfaces/RoomInfo.html +8 -7
- package/docs/interfaces/RoomLabel.html +15 -14
- package/docs/interfaces/RoomRules.html +9 -5
- package/docs/interfaces/Rooms.html +9 -5
- package/docs/interfaces/Scissor.html +10 -9
- package/docs/interfaces/State.html +9 -8
- package/docs/interfaces/TagCache.html +13 -12
- package/docs/interfaces/TagConfig.html +11 -10
- package/docs/interfaces/TagIconUrl.html +10 -9
- package/docs/interfaces/Tags.html +10 -9
- package/docs/interfaces/TemporaryState.html +7 -6
- package/docs/interfaces/Util.MagnifierParameter.html +12 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
- package/docs/modules/PanoVideoPluginType.html +62 -0
- package/docs/modules/Util.html +6 -5
- package/docs/modules.html +13 -5
- package/docs/types/ArrayPosition.html +9 -5
- package/docs/types/AudioAppearance.html +9 -5
- package/docs/types/AudioTagTypeConfigKey.html +9 -5
- package/docs/types/CSS3DRenderExportType.html +9 -5
- package/docs/types/CSS3DRenderPluginExportType.html +9 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +9 -5
- package/docs/types/ClassFunctionParameters.html +9 -5
- package/docs/types/Color.html +9 -5
- package/docs/types/ContentTypeConfigKey.html +9 -5
- package/docs/types/ContentTypeConfigKeySplit.html +9 -5
- package/docs/types/ContentTypeMap.html +9 -5
- package/docs/types/Create3DDomContainerReturnType.html +9 -5
- package/docs/types/Create3DElementReturnType.html +9 -5
- package/docs/types/CruisePluginExportType.html +9 -5
- package/docs/types/Direction-1.html +9 -5
- package/docs/types/Direction4.html +9 -5
- package/docs/types/FloorplanRuleLabels.html +9 -5
- package/docs/types/FloorplanServerRuleLabels.html +9 -5
- package/docs/types/GuideLinePluginExportType.html +9 -5
- package/docs/types/HelperEventMap.html +9 -5
- package/docs/types/LoadTagConfig.html +9 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +9 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +9 -5
- package/docs/types/MediaData.html +9 -5
- package/docs/types/MediaStore.html +9 -5
- package/docs/types/ModelElement.html +9 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +9 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +9 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +9 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +9 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +9 -5
- package/docs/types/MoveArgs.html +9 -5
- package/docs/types/MoveOpts.html +9 -5
- package/docs/types/Object3DHelperEventMap.html +9 -5
- package/docs/types/ObjectFit.html +9 -5
- package/docs/types/PaintBrushEventMap.html +9 -5
- package/docs/types/PanoCompassPluginData.html +9 -5
- package/docs/types/PanoCompassPluginExportType.html +9 -5
- package/docs/types/PanoCompassPluginParameterType.html +9 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +9 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +9 -5
- package/docs/types/PanoIndex.html +9 -5
- package/docs/types/PanoMeasurePluginEvent.html +9 -5
- package/docs/types/PanoMeasureReturnType.html +9 -5
- package/docs/types/PanoSpatialTagPluginId.html +9 -5
- package/docs/types/PanoTagPluginExportInterface.html +9 -5
- package/docs/types/PanoTagPluginParamsInterface.html +9 -5
- package/docs/types/PanoVideoPluginParameterType.html +265 -0
- package/docs/types/PanoVideoPluginReturnType.html +265 -0
- package/docs/types/PlaneTag.html +9 -5
- package/docs/types/PlaneTagElement.html +9 -5
- package/docs/types/Point2DElement.html +9 -5
- package/docs/types/Point2DTag.html +9 -5
- package/docs/types/Point3DElement.html +9 -5
- package/docs/types/Point3DTag.html +9 -5
- package/docs/types/PointTag.html +9 -5
- package/docs/types/PointTagElement.html +9 -5
- package/docs/types/Position.html +9 -5
- package/docs/types/RotateArgs.html +9 -5
- package/docs/types/RotateOpts.html +9 -5
- package/docs/types/RuleLabelsKey.html +9 -5
- package/docs/types/RuleLabelsValue.html +9 -5
- package/docs/types/StickType.html +9 -5
- package/docs/types/Tag.html +9 -5
- package/docs/types/Tag2D.html +9 -5
- package/docs/types/Tag3D.html +9 -5
- package/docs/types/TagContentType.html +9 -5
- package/docs/types/TagDimensionType.html +9 -5
- package/docs/types/TagElement.html +9 -5
- package/docs/types/TagEvents.html +9 -5
- package/docs/types/TagGLTFObject.html +9 -5
- package/docs/types/TagHooks.html +9 -5
- package/docs/types/TagIconSize.html +9 -5
- package/docs/types/TagId.html +9 -5
- package/docs/types/TagPointType.html +9 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +9 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +9 -5
- package/docs/types/WorkCode.html +9 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +9 -5
- package/docs/variables/PLUGIN.html +9 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +9 -5
- package/docs/variables/ROOM_TYPE_MAP.html +9 -5
- package/docs/variables/VERSION.html +9 -5
- package/docs/variables/itemLabelPluginServerParams.html +9 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +9 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +9 -5
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +13 -13
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +1 -0
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +9 -4
- package/libs/PanoTagPlugin/Components/Common/Media.js +23 -23
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +11 -12
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +183 -145
- package/libs/PanoTagPlugin/Components/Tag/index.js +111 -112
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +2 -2
- package/libs/PanoTagPlugin/controller/TagComputer.js +10 -7
- package/libs/PanoTagPlugin/controller/index.js +5 -6
- package/libs/PanoTagPlugin/index.js +11 -12
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +6 -6
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/px2rem.js +3 -3
- package/libs/PanoTagPlugin/utils/tagPosition.js +16 -17
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/index.d.ts +1 -0
- package/libs/index.js +107 -101
- package/package.json +5 -3
- package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
|
@@ -1,173 +1,173 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import "three";
|
|
6
|
-
import "@realsee/five/gltf-loader";
|
|
7
|
-
import { name2Rgba as O } from "../../../utils/color.js";
|
|
1
|
+
import { SvelteComponent as U, init as q, safe_not_equal as M, append_styles as N, empty as P, insert as v, transition_in as m, transition_out as g, check_outros as S, detach as $, element as p, create_component as w, attr as c, set_style as _, append as b, mount_component as j, destroy_component as k, space as W, group_outros as B, bubble as D, text as E, set_data as F } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import G from "../../Common/Icon/audioIcon.js";
|
|
3
|
+
import H from "../../Common/Text/MText.js";
|
|
4
|
+
import J from "../../Common/Audio.js";
|
|
8
5
|
import "../../../utils/px2rem.js";
|
|
9
6
|
import "../../Common/Shadow.js";
|
|
10
7
|
import "../../../../vendor/svelte/transition/index.js";
|
|
11
8
|
import "../../../../vendor/svelte/easing/index.js";
|
|
12
9
|
import "../../../../shared-utils/audio.js";
|
|
13
10
|
import "../../../utils/audio/SharedAudio.js";
|
|
14
|
-
function
|
|
15
|
-
|
|
11
|
+
function K(o) {
|
|
12
|
+
N(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}");
|
|
16
13
|
}
|
|
17
|
-
function
|
|
18
|
-
let
|
|
19
|
-
return e = new
|
|
14
|
+
function A(o) {
|
|
15
|
+
let n, t, e, i;
|
|
16
|
+
return e = new J({
|
|
20
17
|
props: {
|
|
21
18
|
style: "width: max-content; height: max-content;",
|
|
22
19
|
enable: o[0].state.visible,
|
|
23
20
|
url: o[0].data.audioUrl,
|
|
24
21
|
hooksInfo: { tag: o[0] },
|
|
25
|
-
$$slots: { default: [
|
|
22
|
+
$$slots: { default: [O] },
|
|
26
23
|
$$scope: { ctx: o }
|
|
27
24
|
}
|
|
28
|
-
}), e.$on("play", o[
|
|
25
|
+
}), e.$on("play", o[8]), e.$on("pause", o[9]), e.$on("timeupdate", o[10]), e.$on("duration", o[11]), e.$on("audioRef", o[12]), {
|
|
29
26
|
c() {
|
|
30
|
-
|
|
27
|
+
n = p("div"), t = p("div"), w(e.$$.fragment), c(t, "class", "audio-tag svelte-58hfjf"), _(t, "background-color", o[5]), _(t, "color", o[4]), c(n, "class", "audio-tag__wrapper svelte-58hfjf");
|
|
31
28
|
},
|
|
32
|
-
m(
|
|
33
|
-
|
|
29
|
+
m(r, a) {
|
|
30
|
+
v(r, n, a), b(n, t), j(e, t, null), i = !0;
|
|
34
31
|
},
|
|
35
|
-
p(
|
|
36
|
-
const
|
|
37
|
-
a & 1 && (
|
|
32
|
+
p(r, a) {
|
|
33
|
+
const l = {};
|
|
34
|
+
a & 1 && (l.enable = r[0].state.visible), a & 1 && (l.url = r[0].data.audioUrl), a & 1 && (l.hooksInfo = { tag: r[0] }), a & 8264 && (l.$$scope = { dirty: a, ctx: r }), e.$set(l), a & 32 && _(t, "background-color", r[5]), a & 16 && _(t, "color", r[4]);
|
|
38
35
|
},
|
|
39
|
-
i(
|
|
40
|
-
i || (
|
|
36
|
+
i(r) {
|
|
37
|
+
i || (m(e.$$.fragment, r), i = !0);
|
|
41
38
|
},
|
|
42
|
-
o(
|
|
43
|
-
|
|
39
|
+
o(r) {
|
|
40
|
+
g(e.$$.fragment, r), i = !1;
|
|
44
41
|
},
|
|
45
|
-
d(
|
|
46
|
-
|
|
42
|
+
d(r) {
|
|
43
|
+
r && $(n), k(e);
|
|
47
44
|
}
|
|
48
45
|
};
|
|
49
46
|
}
|
|
50
|
-
function
|
|
51
|
-
let
|
|
47
|
+
function L(o) {
|
|
48
|
+
let n;
|
|
52
49
|
return {
|
|
53
50
|
c() {
|
|
54
|
-
|
|
51
|
+
n = E(o[6]);
|
|
55
52
|
},
|
|
56
53
|
m(t, e) {
|
|
57
|
-
|
|
54
|
+
v(t, n, e);
|
|
58
55
|
},
|
|
59
56
|
p(t, e) {
|
|
60
|
-
e & 64 &&
|
|
57
|
+
e & 64 && F(n, t[6]);
|
|
61
58
|
},
|
|
62
59
|
d(t) {
|
|
63
|
-
t &&
|
|
60
|
+
t && $(n);
|
|
64
61
|
}
|
|
65
62
|
};
|
|
66
63
|
}
|
|
67
|
-
function
|
|
68
|
-
let
|
|
69
|
-
return e = new
|
|
64
|
+
function O(o) {
|
|
65
|
+
let n, t, e, i, r, a, l;
|
|
66
|
+
return e = new G({ props: { playing: o[3] } }), a = new H({
|
|
70
67
|
props: {
|
|
71
68
|
maxWidth: 72,
|
|
72
|
-
$$slots: { default: [
|
|
69
|
+
$$slots: { default: [L] },
|
|
73
70
|
$$scope: { ctx: o }
|
|
74
71
|
}
|
|
75
72
|
}), {
|
|
76
73
|
c() {
|
|
77
|
-
|
|
74
|
+
n = p("div"), t = p("div"), w(e.$$.fragment), i = W(), r = p("div"), w(a.$$.fragment), c(t, "class", "audio-icon__wrapper svelte-58hfjf"), c(r, "class", "text svelte-58hfjf"), c(n, "class", "audio__inner svelte-58hfjf");
|
|
78
75
|
},
|
|
79
|
-
m(
|
|
80
|
-
|
|
76
|
+
m(s, u) {
|
|
77
|
+
v(s, n, u), b(n, t), j(e, t, null), b(n, i), b(n, r), j(a, r, null), l = !0;
|
|
81
78
|
},
|
|
82
|
-
p(
|
|
83
|
-
const
|
|
84
|
-
u &
|
|
79
|
+
p(s, u) {
|
|
80
|
+
const d = {};
|
|
81
|
+
u & 8 && (d.playing = s[3]), e.$set(d);
|
|
85
82
|
const h = {};
|
|
86
|
-
u & 8256 && (h.$$scope = { dirty: u, ctx:
|
|
83
|
+
u & 8256 && (h.$$scope = { dirty: u, ctx: s }), a.$set(h);
|
|
87
84
|
},
|
|
88
|
-
i(
|
|
89
|
-
|
|
85
|
+
i(s) {
|
|
86
|
+
l || (m(e.$$.fragment, s), m(a.$$.fragment, s), l = !0);
|
|
90
87
|
},
|
|
91
|
-
o(
|
|
92
|
-
|
|
88
|
+
o(s) {
|
|
89
|
+
g(e.$$.fragment, s), g(a.$$.fragment, s), l = !1;
|
|
93
90
|
},
|
|
94
|
-
d(
|
|
95
|
-
|
|
91
|
+
d(s) {
|
|
92
|
+
s && $(n), k(e), k(a);
|
|
96
93
|
}
|
|
97
94
|
};
|
|
98
95
|
}
|
|
99
|
-
function
|
|
100
|
-
let
|
|
96
|
+
function Q(o) {
|
|
97
|
+
let n, t, e = o[0].state && A(o);
|
|
101
98
|
return {
|
|
102
99
|
c() {
|
|
103
|
-
e && e.c(),
|
|
100
|
+
e && e.c(), n = P();
|
|
104
101
|
},
|
|
105
|
-
m(i,
|
|
106
|
-
e && e.m(i,
|
|
102
|
+
m(i, r) {
|
|
103
|
+
e && e.m(i, r), v(i, n, r), t = !0;
|
|
107
104
|
},
|
|
108
|
-
p(i, [
|
|
109
|
-
i[0].state ? e ? (e.p(i,
|
|
105
|
+
p(i, [r]) {
|
|
106
|
+
i[0].state ? e ? (e.p(i, r), r & 1 && m(e, 1)) : (e = A(i), e.c(), m(e, 1), e.m(n.parentNode, n)) : e && (B(), g(e, 1, 1, () => {
|
|
110
107
|
e = null;
|
|
111
|
-
}),
|
|
108
|
+
}), S());
|
|
112
109
|
},
|
|
113
110
|
i(i) {
|
|
114
|
-
t || (
|
|
111
|
+
t || (m(e), t = !0);
|
|
115
112
|
},
|
|
116
113
|
o(i) {
|
|
117
|
-
|
|
114
|
+
g(e), t = !1;
|
|
118
115
|
},
|
|
119
116
|
d(i) {
|
|
120
|
-
e && e.d(i), i &&
|
|
117
|
+
e && e.d(i), i && $(n);
|
|
121
118
|
}
|
|
122
119
|
};
|
|
123
120
|
}
|
|
124
|
-
function
|
|
125
|
-
let e, i,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
t(
|
|
130
|
-
}, h = () => {
|
|
131
|
-
t(2, s = !1);
|
|
132
|
-
}, A = (f) => {
|
|
133
|
-
t(3, l = f.detail);
|
|
121
|
+
function V(o, n, t) {
|
|
122
|
+
let e, i, r, a, { tag: l } = n, s = 0, u = 0, d = !1;
|
|
123
|
+
const h = () => {
|
|
124
|
+
t(3, d = !0);
|
|
125
|
+
}, C = () => {
|
|
126
|
+
t(3, d = !1);
|
|
134
127
|
}, I = (f) => {
|
|
135
|
-
t(
|
|
128
|
+
t(1, s = f.detail);
|
|
129
|
+
}, T = (f) => {
|
|
130
|
+
t(2, u = f.detail);
|
|
136
131
|
};
|
|
137
132
|
function R(f) {
|
|
138
|
-
|
|
133
|
+
D.call(this, o, f);
|
|
139
134
|
}
|
|
140
135
|
return o.$$set = (f) => {
|
|
141
|
-
"tag" in f && t(0,
|
|
136
|
+
"tag" in f && t(0, l = f.tag);
|
|
142
137
|
}, o.$$.update = () => {
|
|
143
|
-
var f,
|
|
144
|
-
o.$$.dirty & 1 && t(6, e = (
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
138
|
+
var f, y, z;
|
|
139
|
+
o.$$.dirty & 1 && t(6, e = (y = (f = l.data.title) != null ? f : l.data.text) != null ? y : ""), o.$$.dirty & 1 && t(7, i = (z = l.data.theme) != null ? z : "light"), o.$$.dirty & 128 && t(5, r = (() => {
|
|
140
|
+
if (i === "dark")
|
|
141
|
+
return "rgba(0, 0, 0, 0.3)";
|
|
142
|
+
if (i === "light")
|
|
143
|
+
return "rgba(255, 255, 255, 0.3)";
|
|
144
|
+
})()), o.$$.dirty & 128 && t(4, a = (() => {
|
|
145
|
+
if (i === "dark")
|
|
146
|
+
return "white";
|
|
147
|
+
if (i === "light")
|
|
148
|
+
return "rgba(0, 0, 0, 0.6)";
|
|
150
149
|
})());
|
|
151
150
|
}, [
|
|
152
|
-
a,
|
|
153
|
-
i,
|
|
154
|
-
s,
|
|
155
151
|
l,
|
|
152
|
+
s,
|
|
156
153
|
u,
|
|
157
|
-
|
|
154
|
+
d,
|
|
155
|
+
a,
|
|
156
|
+
r,
|
|
158
157
|
e,
|
|
159
|
-
|
|
158
|
+
i,
|
|
160
159
|
h,
|
|
161
|
-
|
|
160
|
+
C,
|
|
162
161
|
I,
|
|
162
|
+
T,
|
|
163
163
|
R
|
|
164
164
|
];
|
|
165
165
|
}
|
|
166
|
-
class
|
|
167
|
-
constructor(
|
|
168
|
-
super(),
|
|
166
|
+
class ae extends U {
|
|
167
|
+
constructor(n) {
|
|
168
|
+
super(), q(this, n, V, Q, M, { tag: 0 }, K);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
export {
|
|
172
|
-
|
|
172
|
+
ae as default
|
|
173
173
|
};
|
|
@@ -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";
|
|
@@ -23,7 +23,6 @@ import "../../../utils/doUtil.js";
|
|
|
23
23
|
import "../../Common/Icon/audioIcon.js";
|
|
24
24
|
import "../../../utils/px2rem.js";
|
|
25
25
|
import "../../Common/Text/MText.js";
|
|
26
|
-
import "../../../utils/color.js";
|
|
27
26
|
function q(n) {
|
|
28
27
|
let t, o;
|
|
29
28
|
return t = new w({ props: { tag: n[0] } }), t.$on("audioRef", n[2]), {
|
|
@@ -38,10 +37,10 @@ function q(n) {
|
|
|
38
37
|
r & 1 && (a.tag = e[0]), t.$set(a);
|
|
39
38
|
},
|
|
40
39
|
i(e) {
|
|
41
|
-
o || (
|
|
40
|
+
o || (m(t.$$.fragment, e), o = !0);
|
|
42
41
|
},
|
|
43
42
|
o(e) {
|
|
44
|
-
|
|
43
|
+
l(t.$$.fragment, e), o = !1;
|
|
45
44
|
},
|
|
46
45
|
d(e) {
|
|
47
46
|
d(t, e);
|
|
@@ -62,10 +61,10 @@ function v(n) {
|
|
|
62
61
|
r & 1 && (a.tag = e[0]), t.$set(a);
|
|
63
62
|
},
|
|
64
63
|
i(e) {
|
|
65
|
-
o || (
|
|
64
|
+
o || (m(t.$$.fragment, e), o = !0);
|
|
66
65
|
},
|
|
67
66
|
o(e) {
|
|
68
|
-
|
|
67
|
+
l(t.$$.fragment, e), o = !1;
|
|
69
68
|
},
|
|
70
69
|
d(e) {
|
|
71
70
|
d(t, e);
|
|
@@ -87,15 +86,15 @@ function C(n) {
|
|
|
87
86
|
},
|
|
88
87
|
p(i, [f]) {
|
|
89
88
|
let c = t;
|
|
90
|
-
t = u(i), t === c ? ~t && p[t].p(i, f) : (o && (R(),
|
|
89
|
+
t = u(i), t === c ? ~t && p[t].p(i, f) : (o && (R(), l(p[c], 1, 1, () => {
|
|
91
90
|
p[c] = null;
|
|
92
|
-
}), h()), ~t ? (o = p[t], o ? o.p(i, f) : (o = p[t] = a[t](i), o.c()),
|
|
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);
|
|
93
92
|
},
|
|
94
93
|
i(i) {
|
|
95
|
-
r || (
|
|
94
|
+
r || (m(o), r = !0);
|
|
96
95
|
},
|
|
97
96
|
o(i) {
|
|
98
|
-
|
|
97
|
+
l(o), r = !1;
|
|
99
98
|
},
|
|
100
99
|
d(i) {
|
|
101
100
|
~t && p[t].d(i), i && A(e);
|
|
@@ -114,11 +113,11 @@ function N(n, t, o) {
|
|
|
114
113
|
n.$$.dirty & 1 && o(1, e = (u = r.data.appearance) != null ? u : "line");
|
|
115
114
|
}, [r, e, p];
|
|
116
115
|
}
|
|
117
|
-
class
|
|
116
|
+
class et extends g {
|
|
118
117
|
constructor(t) {
|
|
119
118
|
super(), $(this, t, N, C, k, { tag: 0 });
|
|
120
119
|
}
|
|
121
120
|
}
|
|
122
121
|
export {
|
|
123
|
-
|
|
122
|
+
et as default
|
|
124
123
|
};
|