@realsee/dnalogel 2.10.4 → 2.11.0-alpha.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/CSS3DRenderPlugin/Controller.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/index.d.ts +0 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +3 -1
- package/dist/base/BasePlugin.d.ts +4 -0
- package/dist/index.cjs.js +57 -57
- package/dist/index.js +4157 -3912
- package/dist/index.umd.js +50 -50
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +35 -25
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +39 -29
- 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 +99 -143
- 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 +5 -4
- package/docs/functions/CameraMovementPlugin.html +5 -4
- package/docs/functions/CruisePlugin.html +5 -4
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +5 -4
- package/docs/functions/MapviewFloorplanPlugin.html +5 -4
- package/docs/functions/ModelChassisCompassPlugin.html +5 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
- package/docs/functions/ModelFloorplanPlugin.html +5 -4
- package/docs/functions/ModelItemLabelPlugin.html +5 -4
- package/docs/functions/ModelRoomLabelPlugin.html +5 -4
- package/docs/functions/ModelTVVideoPlugin.html +5 -4
- package/docs/functions/ModelViewPlugin.html +5 -4
- package/docs/functions/Object3DHelperPlugin.html +5 -4
- package/docs/functions/PanoCompassPlugin.html +5 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
- package/docs/functions/PanoDoorLabelPlugin.html +5 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
- package/docs/functions/PanoMeasurePlugin.html +5 -4
- package/docs/functions/PanoRulerPlugin.html +5 -4
- package/docs/functions/PanoRulerProPlugin.html +5 -4
- package/docs/functions/PanoSpatialTagPlugin.html +5 -4
- package/docs/functions/PanoTagPlugin.html +5 -4
- package/docs/functions/PanoVideoPlugin.html +5 -4
- package/docs/functions/TopviewFloorplanPlugin.html +5 -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 +6 -5
- package/docs/index.html +5 -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 +6 -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 +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -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 +6 -5
- package/docs/interfaces/Rooms.html +6 -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 +28 -10
- package/docs/interfaces/TagStyle.html +67 -0
- package/docs/interfaces/Tags.html +10 -10
- 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 +6 -4
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/AudioAppearance.html +6 -5
- package/docs/types/AudioTagTypeConfigKey.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/ClassFunctionParameters.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeConfigKeySplit.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +6 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelElement.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PanoVideoPluginParameterType.html +6 -5
- package/docs/types/PanoVideoPluginReturnType.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/PlaneTagElement.html +6 -5
- package/docs/types/Point2DElement.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DElement.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagElement.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +7 -6
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagGLTFObject.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagIconSize.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TagPointType.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/VERSION.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/Controller.js +24 -23
- package/libs/PanoTagPlugin/Components/Common/Audio.js +84 -83
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +261 -121
- package/libs/PanoTagPlugin/Components/Common/Media.js +28 -28
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +61 -61
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +15 -13
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +2 -3
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +45 -45
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +72 -68
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +88 -85
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +60 -60
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +13 -13
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +48 -48
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +44 -55
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +114 -107
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +36 -25
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +50 -49
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +53 -50
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +49 -49
- package/libs/PanoTagPlugin/Components/Tag/index.js +164 -153
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +85 -77
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -3
- package/libs/PanoTagPlugin/controller/index.d.ts +0 -2
- package/libs/PanoTagPlugin/controller/index.js +48 -49
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +121 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
- package/libs/PanoTagPlugin/tsconfig.js +9 -0
- package/libs/PanoTagPlugin/typings/controller.js +1 -1
- package/libs/PanoTagPlugin/typings/index.js +5 -6
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -5
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
- package/libs/PanoTagPlugin/utils/getImageInfo.js +54 -36
- package/libs/PanoTagPlugin/utils/index.js +35 -36
- package/libs/PanoTagPlugin/utils/planeNormal.js +2 -3
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +3 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +7 -8
- package/libs/base/BasePlugin.d.ts +4 -0
- package/libs/base/BasePlugin.js +3 -2
- package/libs/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { SvelteComponent as L, init as W, safe_not_equal as z, append_styles as N, element as k, attr as w, set_style as _, insert as
|
|
2
|
-
import
|
|
3
|
-
function D(
|
|
4
|
-
N(
|
|
1
|
+
import { SvelteComponent as L, init as W, safe_not_equal as z, append_styles as N, element as k, attr as w, set_style as _, insert as d, transition_out as p, check_outros as q, transition_in as b, detach as u, group_outros as C, create_slot as E, update_slot_base as M, get_all_dirty_from_scope as S, get_slot_changes as T, space as j, empty as A, noop as m, text as x, set_data as g, append as B } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import v from "../../../utils/px2rem.js";
|
|
3
|
+
function D(n) {
|
|
4
|
+
N(n, "svelte-i9wdo4", ".text.svelte-i9wdo4{display:-webkit-box;display:-ms-box;display:-moz-box;position:relative;width:-moz-max-content;width:max-content;max-width:100%;-webkit-box-orient:vertical;-ms-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@keyframes svelte-i9wdo4-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}.caret.svelte-i9wdo4{position:absolute;width:0.0625rem;height:100%;background-color:#fff;animation:svelte-i9wdo4-blink 1.2s infinite}.placeholder.svelte-i9wdo4{opacity:0.5}");
|
|
5
5
|
}
|
|
6
|
-
function F(
|
|
6
|
+
function F(n) {
|
|
7
7
|
let t;
|
|
8
|
-
const i =
|
|
8
|
+
const i = n[6].default, e = E(i, n, n[5], null);
|
|
9
9
|
return {
|
|
10
10
|
c() {
|
|
11
11
|
e && e.c();
|
|
@@ -34,35 +34,35 @@ function F(o) {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
function G(
|
|
37
|
+
function G(n) {
|
|
38
38
|
var a, c;
|
|
39
|
-
let t, i, e = ((a =
|
|
39
|
+
let t, i, e = ((a = n[3]) == null ? void 0 : a.inputting) && h(), l = ((c = n[3]) == null ? void 0 : c.placeholder) && y(n);
|
|
40
40
|
return {
|
|
41
41
|
c() {
|
|
42
42
|
e && e.c(), t = j(), l && l.c(), i = A();
|
|
43
43
|
},
|
|
44
|
-
m(f,
|
|
45
|
-
e && e.m(f,
|
|
44
|
+
m(f, o) {
|
|
45
|
+
e && e.m(f, o), d(f, t, o), l && l.m(f, o), d(f, i, o);
|
|
46
46
|
},
|
|
47
|
-
p(f,
|
|
47
|
+
p(f, o) {
|
|
48
48
|
var s, r;
|
|
49
|
-
(s = f[3]) != null && s.inputting ? e || (e =
|
|
49
|
+
(s = f[3]) != null && s.inputting ? e || (e = h(), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null), (r = f[3]) != null && r.placeholder ? l ? l.p(f, o) : (l = y(f), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null);
|
|
50
50
|
},
|
|
51
51
|
i: m,
|
|
52
52
|
o: m,
|
|
53
53
|
d(f) {
|
|
54
|
-
e && e.d(f), f &&
|
|
54
|
+
e && e.d(f), f && u(t), l && l.d(f), f && u(i);
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
function H(
|
|
58
|
+
function H(n) {
|
|
59
59
|
let t;
|
|
60
60
|
return {
|
|
61
61
|
c() {
|
|
62
|
-
t = x(
|
|
62
|
+
t = x(n[2]);
|
|
63
63
|
},
|
|
64
64
|
m(i, e) {
|
|
65
|
-
|
|
65
|
+
d(i, t, e);
|
|
66
66
|
},
|
|
67
67
|
p(i, e) {
|
|
68
68
|
e & 4 && g(t, i[2]);
|
|
@@ -70,78 +70,78 @@ function H(o) {
|
|
|
70
70
|
i: m,
|
|
71
71
|
o: m,
|
|
72
72
|
d(i) {
|
|
73
|
-
i &&
|
|
73
|
+
i && u(t);
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function h(n) {
|
|
78
78
|
let t;
|
|
79
79
|
return {
|
|
80
80
|
c() {
|
|
81
81
|
t = k("div"), w(t, "class", "caret svelte-i9wdo4");
|
|
82
82
|
},
|
|
83
83
|
m(i, e) {
|
|
84
|
-
|
|
84
|
+
d(i, t, e);
|
|
85
85
|
},
|
|
86
86
|
d(i) {
|
|
87
|
-
i &&
|
|
87
|
+
i && u(t);
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
|
-
function y(
|
|
92
|
-
let t, i =
|
|
91
|
+
function y(n) {
|
|
92
|
+
let t, i = n[3].placeholder + "", e;
|
|
93
93
|
return {
|
|
94
94
|
c() {
|
|
95
95
|
t = k("span"), e = x(i), w(t, "class", "placeholder svelte-i9wdo4");
|
|
96
96
|
},
|
|
97
97
|
m(l, a) {
|
|
98
|
-
|
|
98
|
+
d(l, t, a), B(t, e);
|
|
99
99
|
},
|
|
100
100
|
p(l, a) {
|
|
101
101
|
a & 8 && i !== (i = l[3].placeholder + "") && g(e, i);
|
|
102
102
|
},
|
|
103
103
|
d(l) {
|
|
104
|
-
l &&
|
|
104
|
+
l && u(t);
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
function I(
|
|
108
|
+
function I(n) {
|
|
109
109
|
let t, i, e, l;
|
|
110
110
|
const a = [H, G, F], c = [];
|
|
111
|
-
function f(
|
|
112
|
-
return
|
|
111
|
+
function f(o, s) {
|
|
112
|
+
return o[2] ? 0 : o[4] ? 1 : 2;
|
|
113
113
|
}
|
|
114
|
-
return i = f(
|
|
114
|
+
return i = f(n), e = c[i] = a[i](n), {
|
|
115
115
|
c() {
|
|
116
|
-
t = k("div"), e.c(), w(t, "class", "text svelte-i9wdo4"), _(t, "max-width", typeof
|
|
116
|
+
t = k("div"), e.c(), w(t, "class", "text svelte-i9wdo4"), _(t, "max-width", typeof n[1] == "number" ? v(n[1]) : n[1]), _(t, "-webkit-line-clamp", n[0]);
|
|
117
117
|
},
|
|
118
|
-
m(
|
|
119
|
-
|
|
118
|
+
m(o, s) {
|
|
119
|
+
d(o, t, s), c[i].m(t, null), l = !0;
|
|
120
120
|
},
|
|
121
|
-
p(
|
|
121
|
+
p(o, [s]) {
|
|
122
122
|
let r = i;
|
|
123
|
-
i = f(
|
|
123
|
+
i = f(o), i === r ? c[i].p(o, s) : (C(), p(c[r], 1, 1, () => {
|
|
124
124
|
c[r] = null;
|
|
125
|
-
}), q(), e = c[i], e ? e.p(
|
|
125
|
+
}), q(), e = c[i], e ? e.p(o, s) : (e = c[i] = a[i](o), e.c()), b(e, 1), e.m(t, null)), s & 2 && _(t, "max-width", typeof o[1] == "number" ? v(o[1]) : o[1]), s & 1 && _(t, "-webkit-line-clamp", o[0]);
|
|
126
126
|
},
|
|
127
|
-
i(
|
|
127
|
+
i(o) {
|
|
128
128
|
l || (b(e), l = !0);
|
|
129
129
|
},
|
|
130
|
-
o(
|
|
130
|
+
o(o) {
|
|
131
131
|
p(e), l = !1;
|
|
132
132
|
},
|
|
133
|
-
d(
|
|
134
|
-
|
|
133
|
+
d(o) {
|
|
134
|
+
o && u(t), c[i].d();
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
function J(
|
|
139
|
-
let e, { $$slots: l = {}, $$scope: a } = t, { maxLine: c = 1 } = t, { maxWidth: f = null } = t, { text:
|
|
140
|
-
return
|
|
141
|
-
"maxLine" in r && i(0, c = r.maxLine), "maxWidth" in r && i(1, f = r.maxWidth), "text" in r && i(2,
|
|
142
|
-
},
|
|
143
|
-
|
|
144
|
-
}, [c, f,
|
|
138
|
+
function J(n, t, i) {
|
|
139
|
+
let e, { $$slots: l = {}, $$scope: a } = t, { maxLine: c = 1 } = t, { maxWidth: f = null } = t, { text: o = null } = t, { edit: s = null } = t;
|
|
140
|
+
return n.$$set = (r) => {
|
|
141
|
+
"maxLine" in r && i(0, c = r.maxLine), "maxWidth" in r && i(1, f = r.maxWidth), "text" in r && i(2, o = r.text), "edit" in r && i(3, s = r.edit), "$$scope" in r && i(5, a = r.$$scope);
|
|
142
|
+
}, n.$$.update = () => {
|
|
143
|
+
n.$$.dirty & 8 && i(4, e = (s == null ? void 0 : s.placeholder) || (s == null ? void 0 : s.inputting));
|
|
144
|
+
}, [c, f, o, s, e, a, l];
|
|
145
145
|
}
|
|
146
146
|
class P extends L {
|
|
147
147
|
constructor(t) {
|
|
@@ -1,173 +1,177 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { SvelteComponent as q, init as M, safe_not_equal as N, append_styles as P, empty as S, insert as v, transition_in as m, transition_out as h, check_outros as W, detach as w, element as c, create_component as j, attr as g, set_style as _, append as b, mount_component as k, destroy_component as y, space as B, group_outros as D, bubble as E, text as F, set_data as G } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import H from "../../Common/Icon/audioIcon.js";
|
|
3
|
+
import J from "../../Common/Text/MText.js";
|
|
4
|
+
import K 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
9
|
import "../../../../shared-utils/audio.js";
|
|
10
10
|
import "../../../utils/audio/SharedAudio.js";
|
|
11
|
-
function
|
|
12
|
-
|
|
11
|
+
function L(o) {
|
|
12
|
+
P(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
15
|
let n, t, e, i;
|
|
16
|
-
return e = new
|
|
16
|
+
return e = new K({
|
|
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: [Q] },
|
|
23
23
|
$$scope: { ctx: o }
|
|
24
24
|
}
|
|
25
|
-
}), e.$on("play", o[
|
|
25
|
+
}), e.$on("play", o[11]), e.$on("pause", o[12]), e.$on("timeupdate", o[13]), e.$on("duration", o[14]), e.$on("audioRef", o[15]), {
|
|
26
26
|
c() {
|
|
27
|
-
n =
|
|
27
|
+
n = c("div"), t = c("div"), j(e.$$.fragment), g(t, "class", "audio-tag svelte-58hfjf"), _(t, "background-color", o[5]), _(t, "color", o[4]), g(n, "class", "audio-tag__wrapper svelte-58hfjf");
|
|
28
28
|
},
|
|
29
29
|
m(r, a) {
|
|
30
|
-
v(r, n, a), b(n, t),
|
|
30
|
+
v(r, n, a), b(n, t), k(e, t, null), i = !0;
|
|
31
31
|
},
|
|
32
32
|
p(r, a) {
|
|
33
|
-
const
|
|
34
|
-
a & 1 && (
|
|
33
|
+
const s = {};
|
|
34
|
+
a & 1 && (s.enable = r[0].state.visible), a & 1 && (s.url = r[0].data.audioUrl), a & 1 && (s.hooksInfo = { tag: r[0] }), a & 65608 && (s.$$scope = { dirty: a, ctx: r }), e.$set(s), a & 32 && _(t, "background-color", r[5]), a & 16 && _(t, "color", r[4]);
|
|
35
35
|
},
|
|
36
36
|
i(r) {
|
|
37
37
|
i || (m(e.$$.fragment, r), i = !0);
|
|
38
38
|
},
|
|
39
39
|
o(r) {
|
|
40
|
-
|
|
40
|
+
h(e.$$.fragment, r), i = !1;
|
|
41
41
|
},
|
|
42
42
|
d(r) {
|
|
43
|
-
r &&
|
|
43
|
+
r && w(n), y(e);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function O(o) {
|
|
48
48
|
let n;
|
|
49
49
|
return {
|
|
50
50
|
c() {
|
|
51
|
-
n =
|
|
51
|
+
n = F(o[6]);
|
|
52
52
|
},
|
|
53
53
|
m(t, e) {
|
|
54
54
|
v(t, n, e);
|
|
55
55
|
},
|
|
56
56
|
p(t, e) {
|
|
57
|
-
e & 64 &&
|
|
57
|
+
e & 64 && G(n, t[6]);
|
|
58
58
|
},
|
|
59
59
|
d(t) {
|
|
60
|
-
t &&
|
|
60
|
+
t && w(n);
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
let n, t, e, i, r, a,
|
|
66
|
-
return e = new
|
|
64
|
+
function Q(o) {
|
|
65
|
+
let n, t, e, i, r, a, s;
|
|
66
|
+
return e = new H({ props: { playing: o[3] } }), a = new J({
|
|
67
67
|
props: {
|
|
68
68
|
maxWidth: 72,
|
|
69
|
-
$$slots: { default: [
|
|
69
|
+
$$slots: { default: [O] },
|
|
70
70
|
$$scope: { ctx: o }
|
|
71
71
|
}
|
|
72
72
|
}), {
|
|
73
73
|
c() {
|
|
74
|
-
n =
|
|
74
|
+
n = c("div"), t = c("div"), j(e.$$.fragment), i = B(), r = c("div"), j(a.$$.fragment), g(t, "class", "audio-icon__wrapper svelte-58hfjf"), g(r, "class", "text svelte-58hfjf"), g(n, "class", "audio__inner svelte-58hfjf");
|
|
75
75
|
},
|
|
76
|
-
m(
|
|
77
|
-
v(
|
|
76
|
+
m(l, f) {
|
|
77
|
+
v(l, n, f), b(n, t), k(e, t, null), b(n, i), b(n, r), k(a, r, null), s = !0;
|
|
78
78
|
},
|
|
79
|
-
p(
|
|
80
|
-
const
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
|
|
79
|
+
p(l, f) {
|
|
80
|
+
const u = {};
|
|
81
|
+
f & 8 && (u.playing = l[3]), e.$set(u);
|
|
82
|
+
const p = {};
|
|
83
|
+
f & 65600 && (p.$$scope = { dirty: f, ctx: l }), a.$set(p);
|
|
84
84
|
},
|
|
85
|
-
i(
|
|
86
|
-
|
|
85
|
+
i(l) {
|
|
86
|
+
s || (m(e.$$.fragment, l), m(a.$$.fragment, l), s = !0);
|
|
87
87
|
},
|
|
88
|
-
o(
|
|
89
|
-
|
|
88
|
+
o(l) {
|
|
89
|
+
h(e.$$.fragment, l), h(a.$$.fragment, l), s = !1;
|
|
90
90
|
},
|
|
91
|
-
d(
|
|
92
|
-
|
|
91
|
+
d(l) {
|
|
92
|
+
l && w(n), y(e), y(a);
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function V(o) {
|
|
97
97
|
let n, t, e = o[0].state && A(o);
|
|
98
98
|
return {
|
|
99
99
|
c() {
|
|
100
|
-
e && e.c(), n =
|
|
100
|
+
e && e.c(), n = S();
|
|
101
101
|
},
|
|
102
102
|
m(i, r) {
|
|
103
103
|
e && e.m(i, r), v(i, n, r), t = !0;
|
|
104
104
|
},
|
|
105
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 && (
|
|
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 && (D(), h(e, 1, 1, () => {
|
|
107
107
|
e = null;
|
|
108
|
-
}),
|
|
108
|
+
}), W());
|
|
109
109
|
},
|
|
110
110
|
i(i) {
|
|
111
111
|
t || (m(e), t = !0);
|
|
112
112
|
},
|
|
113
113
|
o(i) {
|
|
114
|
-
|
|
114
|
+
h(e), t = !1;
|
|
115
115
|
},
|
|
116
116
|
d(i) {
|
|
117
|
-
e && e.d(i), i &&
|
|
117
|
+
e && e.d(i), i && w(n);
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
let e, i, r, a
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
t(3,
|
|
127
|
-
}, I = (
|
|
128
|
-
t(
|
|
129
|
-
}, T = (
|
|
130
|
-
t(
|
|
121
|
+
function X(o, n, t) {
|
|
122
|
+
let e, i, r, a;
|
|
123
|
+
var s, l, f;
|
|
124
|
+
let { tag: u } = n, p = 0, z = 0, $ = !1;
|
|
125
|
+
const C = () => {
|
|
126
|
+
t(3, $ = !0);
|
|
127
|
+
}, I = () => {
|
|
128
|
+
t(3, $ = !1);
|
|
129
|
+
}, T = (d) => {
|
|
130
|
+
t(1, p = d.detail);
|
|
131
|
+
}, R = (d) => {
|
|
132
|
+
t(2, z = d.detail);
|
|
131
133
|
};
|
|
132
|
-
function
|
|
133
|
-
|
|
134
|
+
function U(d) {
|
|
135
|
+
E.call(this, o, d);
|
|
134
136
|
}
|
|
135
|
-
return o.$$set = (
|
|
136
|
-
"tag" in
|
|
137
|
+
return o.$$set = (d) => {
|
|
138
|
+
"tag" in d && t(0, u = d.tag);
|
|
137
139
|
}, o.$$.update = () => {
|
|
138
|
-
|
|
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
|
+
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, r = (() => {
|
|
140
141
|
if (i === "dark")
|
|
141
142
|
return "rgba(0, 0, 0, 0.3)";
|
|
142
143
|
if (i === "light")
|
|
143
144
|
return "rgba(255, 255, 255, 0.3)";
|
|
144
|
-
})()), o.$$.dirty &
|
|
145
|
+
})()), o.$$.dirty & 1024 && t(4, a = (() => {
|
|
145
146
|
if (i === "dark")
|
|
146
147
|
return "white";
|
|
147
148
|
if (i === "light")
|
|
148
149
|
return "rgba(0, 0, 0, 0.6)";
|
|
149
150
|
})());
|
|
150
151
|
}, [
|
|
151
|
-
l,
|
|
152
|
-
s,
|
|
153
152
|
u,
|
|
154
|
-
|
|
153
|
+
p,
|
|
154
|
+
z,
|
|
155
|
+
$,
|
|
155
156
|
a,
|
|
156
157
|
r,
|
|
157
158
|
e,
|
|
159
|
+
s,
|
|
160
|
+
l,
|
|
161
|
+
f,
|
|
158
162
|
i,
|
|
159
|
-
h,
|
|
160
163
|
C,
|
|
161
164
|
I,
|
|
162
165
|
T,
|
|
163
|
-
R
|
|
166
|
+
R,
|
|
167
|
+
U
|
|
164
168
|
];
|
|
165
169
|
}
|
|
166
|
-
class
|
|
170
|
+
class le extends q {
|
|
167
171
|
constructor(n) {
|
|
168
|
-
super(),
|
|
172
|
+
super(), M(this, n, X, V, N, { tag: 0 }, L);
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
175
|
export {
|
|
172
|
-
|
|
176
|
+
le as default
|
|
173
177
|
};
|