@realsee/dnalogel 2.3.4 → 2.3.5-dev.1
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/utils/positionToVector3.d.ts +2 -2
- package/dist/ModelViewPlugin/Plugin.d.ts +8 -0
- package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
- package/dist/PanoTagPlugin/controller/index.d.ts +14 -12
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +12 -11
- package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
- package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/dist/index.cjs.js +51 -51
- package/dist/index.js +7181 -6289
- package/dist/index.umd.js +43 -43
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +196 -164
- 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 +75 -35
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +19 -15
- 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 +19 -15
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +35 -13
- package/docs/functions/CameraMovementPlugin.html +35 -13
- package/docs/functions/CruisePlugin.html +35 -13
- package/docs/functions/GuideLinePlugin.html +36 -14
- package/docs/functions/ItemLabelPlugin.html +35 -13
- package/docs/functions/MapviewFloorplanPlugin.html +35 -13
- package/docs/functions/ModelChassisCompassPlugin.html +35 -13
- package/docs/functions/ModelEntryDoorGuidePlugin.html +35 -13
- package/docs/functions/ModelFloorplanPlugin.html +35 -13
- package/docs/functions/ModelItemLabelPlugin.html +35 -13
- package/docs/functions/ModelRoomLabelPlugin.html +35 -13
- package/docs/functions/ModelTVVideoPlugin.html +35 -13
- package/docs/functions/ModelViewPlugin.html +35 -13
- package/docs/functions/Object3DHelperPlugin.html +35 -13
- package/docs/functions/PanoCompassPlugin.html +35 -13
- package/docs/functions/PanoCursorRaycasterPlugin.html +35 -13
- package/docs/functions/PanoDoorLabelPlugin.html +35 -13
- package/docs/functions/PanoFloorplanRadarPlugin.html +35 -13
- package/docs/functions/PanoMeasurePlugin.html +35 -13
- package/docs/functions/PanoRulerPlugin.html +35 -13
- package/docs/functions/PanoRulerProPlugin.html +35 -13
- package/docs/functions/PanoSpatialTagPlugin.html +35 -13
- package/docs/functions/PanoTagPlugin.html +41 -23
- package/docs/functions/TopviewFloorplanPlugin.html +35 -13
- 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 +36 -14
- package/docs/index.html +35 -13
- package/docs/interfaces/AddTagConfig.html +64 -0
- 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 +298 -0
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/MinMax.html +71 -0
- 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 +57 -9
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +36 -14
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +36 -14
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +36 -14
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +36 -14
- package/docs/interfaces/Rooms.html +36 -14
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +89 -0
- package/docs/interfaces/TagCache.html +92 -0
- package/docs/interfaces/TagConfig.html +15 -19
- package/docs/interfaces/TagIconUrl.html +91 -0
- package/docs/interfaces/Tags.html +14 -12
- package/docs/interfaces/TemporaryState.html +64 -0
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +65 -21
- package/docs/types/ArrayPosition.html +37 -15
- package/docs/types/CSS3DRenderExportType.html +36 -14
- package/docs/types/CSS3DRenderPluginExportType.html +36 -14
- package/docs/types/CSS3DRenderPluginParameterType.html +36 -14
- package/docs/types/Color.html +36 -14
- package/docs/types/ContentTypeConfigKey.html +37 -15
- package/docs/types/ContentTypeMap.html +247 -0
- package/docs/types/Create3DDomContainerReturnType.html +36 -14
- package/docs/types/Create3DElementReturnType.html +36 -14
- package/docs/types/CruisePluginExportType.html +36 -14
- package/docs/types/Direction-1.html +36 -14
- package/docs/types/Direction4.html +36 -14
- package/docs/types/FloorplanRuleLabels.html +36 -14
- package/docs/types/FloorplanServerRuleLabels.html +36 -14
- package/docs/types/GuideLinePluginExportType.html +36 -14
- package/docs/types/HelperEventMap.html +36 -14
- package/docs/types/MapviewFloorplanPluginParameterType.html +36 -14
- package/docs/types/MapviewFloorplanPluginReturnType.html +36 -14
- package/docs/types/MediaData.html +36 -14
- package/docs/types/MediaStore.html +247 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +36 -14
- package/docs/types/ModelFloorplanPluginParameterType.html +36 -14
- package/docs/types/ModelFloorplanPluginReturnType.html +36 -14
- package/docs/types/ModelRoomLabelPluginParameters.html +36 -14
- package/docs/types/ModelRoomLabelPluginReturnType.html +36 -14
- package/docs/types/MoveArgs.html +36 -14
- package/docs/types/MoveOpts.html +36 -14
- package/docs/types/Object3DHelperEventMap.html +36 -14
- package/docs/types/ObjectFit.html +36 -14
- package/docs/types/PaintBrushEventMap.html +36 -14
- package/docs/types/PanoCompassPluginData.html +36 -14
- package/docs/types/PanoCompassPluginExportType.html +36 -14
- package/docs/types/PanoCompassPluginParameterType.html +36 -14
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +36 -14
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +36 -14
- package/docs/types/PanoIndex.html +247 -0
- package/docs/types/PanoMeasurePluginEvent.html +36 -14
- package/docs/types/PanoMeasureReturnType.html +36 -14
- package/docs/types/PanoSpatialTagPluginId.html +36 -14
- package/docs/types/PanoTagPluginExportInterface.html +36 -14
- package/docs/types/PanoTagPluginParamsInterface.html +36 -14
- package/docs/types/PlaneTag.html +39 -19
- package/docs/types/PlaneTagElement.html +252 -0
- package/docs/types/Point2DElement.html +252 -0
- package/docs/types/Point2DTag.html +254 -0
- package/docs/types/Point3DElement.html +252 -0
- package/docs/types/Point3DTag.html +254 -0
- package/docs/types/PointTag.html +39 -23
- package/docs/types/PointTagElement.html +252 -0
- package/docs/types/Position.html +36 -14
- package/docs/types/RotateArgs.html +36 -14
- package/docs/types/RotateOpts.html +36 -14
- package/docs/types/RuleLabelsKey.html +36 -14
- package/docs/types/RuleLabelsValue.html +36 -14
- package/docs/types/StickType.html +247 -0
- package/docs/types/Tag.html +40 -22
- package/docs/types/Tag2D.html +41 -20
- package/docs/types/Tag3D.html +41 -20
- package/docs/types/TagContentType.html +247 -0
- package/docs/types/TagDimensionType.html +247 -0
- package/docs/types/TagElement.html +254 -0
- package/docs/types/TagEvents.html +282 -0
- package/docs/types/TagHooks.html +247 -0
- package/docs/types/TagIconSize.html +250 -0
- package/docs/types/TagId.html +36 -14
- package/docs/types/TagPointType.html +250 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +36 -14
- package/docs/types/TopviewFloorplanPluginReturnType.html +36 -14
- package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +39 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +36 -14
- package/docs/variables/PLUGIN.html +36 -14
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +36 -14
- package/docs/variables/ROOM_TYPE_MAP.html +36 -14
- package/docs/variables/VERSION.html +36 -14
- package/docs/variables/itemLabelPluginServerParams.html +36 -14
- package/docs/variables/modelItemLabelPluginServerParams.html +36 -14
- package/docs/variables/modelRoomLabelPluginServerParams.html +36 -14
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -2
- package/libs/ModelViewPlugin/Plugin.d.ts +8 -0
- package/libs/ModelViewPlugin/Plugin.js +83 -73
- package/libs/Object3DHelperPlugin/Controller.js +36 -34
- package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
- package/libs/PanoTagPlugin/Components/Common/Audio.js +138 -133
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +173 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +32 -32
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +94 -59
- package/libs/PanoTagPlugin/Components/Common/Media.js +212 -194
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +109 -80
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +78 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +135 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +147 -0
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +209 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +204 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +98 -0
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +100 -130
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +49 -98
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +47 -44
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +98 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +122 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +98 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +130 -133
- package/libs/PanoTagPlugin/Components/TagContainer.js +89 -105
- package/libs/PanoTagPlugin/Components/TagItem.js +139 -0
- package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
- package/libs/PanoTagPlugin/controller/TagComputer.js +168 -151
- package/libs/PanoTagPlugin/controller/index.d.ts +14 -12
- package/libs/PanoTagPlugin/controller/index.js +128 -133
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +31 -20
- package/libs/PanoTagPlugin/tag.config.js +23 -16
- package/libs/PanoTagPlugin/typings/controller.d.ts +12 -11
- package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/libs/PanoTagPlugin/typings/tag/Tag.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
- package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/color.js +17 -0
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/getImageInfo.js +50 -0
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/format.js +17 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +10 -0
- package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
- package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
- package/libs/index.js +112 -101
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +17 -20
- package/libs/vendor/svelte/internal/index.js +381 -341
- package/package.json +3 -3
- package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/docs/enums/LinkType.html +0 -67
- package/docs/interfaces/ContentTypeMap.html +0 -212
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
- package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
- package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
- package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/libs/PanoTagPlugin/typings/tag.js +0 -7
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { SvelteComponent as P, init as j, safe_not_equal as A, append_styles as B, empty as E, insert as T, transition_in as u, group_outros as F, transition_out as $, check_outros as G, detach as x, create_component as k, space as D, element as _, attr as v, toggle_class as b, mount_component as y, append as g, destroy_component as z } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Straight as H } from "../../Common/Line/Straight.js";
|
|
3
|
+
import { MText as M } from "../../Common/Text/MText.js";
|
|
4
|
+
function I(a) {
|
|
5
|
+
B(a, "svelte-7a4m", ".plane__container.svelte-7a4m.svelte-7a4m{position:absolute;left:50%;transform:translate(-50%, -100%);width:-moz-max-content;width:max-content}.plane__wrapper.svelte-7a4m.svelte-7a4m{transition:transform 500ms linear, opacity 200ms linear;padding:0.625rem;background-color:rgba(0, 0, 0, 0.5);border:0.03125rem solid rgba(255, 255, 255, 0.5);border-radius:0.25rem}.unfolded.svelte-7a4m .plane__wrapper.svelte-7a4m{transform:translateY(-0.9375rem);transition-delay:200ms, 500ms;opacity:1}.folded.svelte-7a4m .plane__wrapper.svelte-7a4m{transform:translateY(0);opacity:0}.plane.svelte-7a4m.svelte-7a4m{max-width:11.75rem}.title.svelte-7a4m.svelte-7a4m{font-weight:bold;font-size:0.75rem;line-height:1.125rem;margin-bottom:0.25rem}.description.svelte-7a4m.svelte-7a4m{font-size:0.6875rem;line-height:1rem}");
|
|
6
|
+
}
|
|
7
|
+
function N(a) {
|
|
8
|
+
var C, L;
|
|
9
|
+
let i, l, e, n, r, m, s, c, d, f, p;
|
|
10
|
+
return i = new H({
|
|
11
|
+
props: {
|
|
12
|
+
unfolded: a[1],
|
|
13
|
+
direction: "vertical",
|
|
14
|
+
length: 15,
|
|
15
|
+
duration: 500,
|
|
16
|
+
inDelay: 200,
|
|
17
|
+
useLinearColor: !0
|
|
18
|
+
}
|
|
19
|
+
}), s = new M({
|
|
20
|
+
props: {
|
|
21
|
+
text: a[2],
|
|
22
|
+
edit: (C = a[0].data.edit) == null ? void 0 : C.title
|
|
23
|
+
}
|
|
24
|
+
}), f = new M({
|
|
25
|
+
props: {
|
|
26
|
+
text: a[0].data.description,
|
|
27
|
+
edit: (L = a[0].data.edit) == null ? void 0 : L.description,
|
|
28
|
+
maxLine: 3
|
|
29
|
+
}
|
|
30
|
+
}), {
|
|
31
|
+
c() {
|
|
32
|
+
k(i.$$.fragment), l = D(), e = _("div"), n = _("div"), r = _("div"), m = _("div"), k(s.$$.fragment), c = D(), d = _("div"), k(f.$$.fragment), v(m, "class", "title svelte-7a4m"), v(d, "class", "description svelte-7a4m"), v(r, "class", "plane svelte-7a4m"), v(n, "class", "plane__wrapper svelte-7a4m"), v(e, "class", "plane__container svelte-7a4m"), b(e, "unfolded", a[1]), b(e, "folded", a[3]);
|
|
33
|
+
},
|
|
34
|
+
m(t, o) {
|
|
35
|
+
y(i, t, o), T(t, l, o), T(t, e, o), g(e, n), g(n, r), g(r, m), y(s, m, null), g(r, c), g(r, d), y(f, d, null), p = !0;
|
|
36
|
+
},
|
|
37
|
+
p(t, o) {
|
|
38
|
+
var Y, q;
|
|
39
|
+
const S = {};
|
|
40
|
+
o & 2 && (S.unfolded = t[1]), i.$set(S);
|
|
41
|
+
const h = {};
|
|
42
|
+
o & 4 && (h.text = t[2]), o & 1 && (h.edit = (Y = t[0].data.edit) == null ? void 0 : Y.title), s.$set(h);
|
|
43
|
+
const w = {};
|
|
44
|
+
o & 1 && (w.text = t[0].data.description), o & 1 && (w.edit = (q = t[0].data.edit) == null ? void 0 : q.description), f.$set(w), (!p || o & 2) && b(e, "unfolded", t[1]), (!p || o & 8) && b(e, "folded", t[3]);
|
|
45
|
+
},
|
|
46
|
+
i(t) {
|
|
47
|
+
p || (u(i.$$.fragment, t), u(s.$$.fragment, t), u(f.$$.fragment, t), p = !0);
|
|
48
|
+
},
|
|
49
|
+
o(t) {
|
|
50
|
+
$(i.$$.fragment, t), $(s.$$.fragment, t), $(f.$$.fragment, t), p = !1;
|
|
51
|
+
},
|
|
52
|
+
d(t) {
|
|
53
|
+
z(i, t), t && x(l), t && x(e), z(s), z(f);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function J(a) {
|
|
58
|
+
let i, l, e = a[0].state && N(a);
|
|
59
|
+
return {
|
|
60
|
+
c() {
|
|
61
|
+
e && e.c(), i = E();
|
|
62
|
+
},
|
|
63
|
+
m(n, r) {
|
|
64
|
+
e && e.m(n, r), T(n, i, r), l = !0;
|
|
65
|
+
},
|
|
66
|
+
p(n, [r]) {
|
|
67
|
+
n[0].state ? e ? (e.p(n, r), r & 1 && u(e, 1)) : (e = N(n), e.c(), u(e, 1), e.m(i.parentNode, i)) : e && (F(), $(e, 1, 1, () => {
|
|
68
|
+
e = null;
|
|
69
|
+
}), G());
|
|
70
|
+
},
|
|
71
|
+
i(n) {
|
|
72
|
+
l || (u(e), l = !0);
|
|
73
|
+
},
|
|
74
|
+
o(n) {
|
|
75
|
+
$(e), l = !1;
|
|
76
|
+
},
|
|
77
|
+
d(n) {
|
|
78
|
+
e && e.d(n), n && x(i);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function K(a, i, l) {
|
|
83
|
+
let e, n, r, { tag: m } = i;
|
|
84
|
+
return a.$$set = (s) => {
|
|
85
|
+
"tag" in s && l(0, m = s.tag);
|
|
86
|
+
}, a.$$.update = () => {
|
|
87
|
+
var s, c, d;
|
|
88
|
+
a.$$.dirty & 1 && l(1, e = !!((s = m.state) != null && s.unfolded)), a.$$.dirty & 2 && l(3, n = !e), a.$$.dirty & 1 && l(2, r = (d = (c = m.data.title) != null ? c : m.data.text) != null ? d : "");
|
|
89
|
+
}, [m, e, r, n];
|
|
90
|
+
}
|
|
91
|
+
class U extends P {
|
|
92
|
+
constructor(i) {
|
|
93
|
+
super(), j(this, i, K, J, A, { tag: 0 }, I);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export {
|
|
97
|
+
U as TextPlaneTag
|
|
98
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { SvelteComponent as S, init as C, safe_not_equal as R, append_styles as W, empty as q, insert as w, transition_in as u, group_outros as F, transition_out as _, check_outros as I, detach as v, create_component as k, space as D, element as L, attr as N, add_render_callback as j, mount_component as z, add_resize_listener as x, listen as A, destroy_component as T } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Straight as B } from "../../Common/Line/Straight.js";
|
|
3
|
+
import { Shadow as E } from "../../Common/Shadow.js";
|
|
4
|
+
import { FlyMText as G } from "../../Common/Text/FlyMText.js";
|
|
5
|
+
function H(n) {
|
|
6
|
+
W(n, "svelte-nlvd3x", ".content.svelte-nlvd3x{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
|
|
7
|
+
}
|
|
8
|
+
function M(n) {
|
|
9
|
+
var g, m;
|
|
10
|
+
let l, s, t, o, i, r, a, d, p, c;
|
|
11
|
+
return l = new E({
|
|
12
|
+
props: {
|
|
13
|
+
visible: n[2],
|
|
14
|
+
left: n[3] / 2 + "px",
|
|
15
|
+
bottom: 12,
|
|
16
|
+
width: 2,
|
|
17
|
+
blurRadius: 120,
|
|
18
|
+
spreadRadius: 60
|
|
19
|
+
}
|
|
20
|
+
}), t = new B({
|
|
21
|
+
props: {
|
|
22
|
+
unfolded: n[2],
|
|
23
|
+
length: n[3],
|
|
24
|
+
outDelay: n[4] + 40 * Math.min((m = (g = n[6][0]) == null ? void 0 : g.content.length) != null ? m : 10, 15),
|
|
25
|
+
useLinearColor: !0
|
|
26
|
+
}
|
|
27
|
+
}), r = new G({
|
|
28
|
+
props: {
|
|
29
|
+
visible: n[2],
|
|
30
|
+
textUnfolded: n[1],
|
|
31
|
+
content: n[5]
|
|
32
|
+
}
|
|
33
|
+
}), {
|
|
34
|
+
c() {
|
|
35
|
+
k(l.$$.fragment), s = D(), k(t.$$.fragment), o = D(), i = L("div"), k(r.$$.fragment), N(i, "class", "content svelte-nlvd3x"), j(() => n[8].call(i));
|
|
36
|
+
},
|
|
37
|
+
m(e, f) {
|
|
38
|
+
z(l, e, f), w(e, s, f), z(t, e, f), w(e, o, f), w(e, i, f), z(r, i, null), a = x(i, n[8].bind(i)), d = !0, p || (c = A(i, "click", n[7]), p = !0);
|
|
39
|
+
},
|
|
40
|
+
p(e, f) {
|
|
41
|
+
var y, U;
|
|
42
|
+
const $ = {};
|
|
43
|
+
f & 4 && ($.visible = e[2]), f & 8 && ($.left = e[3] / 2 + "px"), l.$set($);
|
|
44
|
+
const h = {};
|
|
45
|
+
f & 4 && (h.unfolded = e[2]), f & 8 && (h.length = e[3]), f & 16 && (h.outDelay = e[4] + 40 * Math.min((U = (y = e[6][0]) == null ? void 0 : y.content.length) != null ? U : 10, 15)), t.$set(h);
|
|
46
|
+
const b = {};
|
|
47
|
+
f & 4 && (b.visible = e[2]), f & 2 && (b.textUnfolded = e[1]), f & 32 && (b.content = e[5]), r.$set(b);
|
|
48
|
+
},
|
|
49
|
+
i(e) {
|
|
50
|
+
d || (u(l.$$.fragment, e), u(t.$$.fragment, e), u(r.$$.fragment, e), d = !0);
|
|
51
|
+
},
|
|
52
|
+
o(e) {
|
|
53
|
+
_(l.$$.fragment, e), _(t.$$.fragment, e), _(r.$$.fragment, e), d = !1;
|
|
54
|
+
},
|
|
55
|
+
d(e) {
|
|
56
|
+
T(l, e), e && v(s), T(t, e), e && v(o), e && v(i), T(r), a(), p = !1, c();
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function J(n) {
|
|
61
|
+
let l, s, t = n[0].state && M(n);
|
|
62
|
+
return {
|
|
63
|
+
c() {
|
|
64
|
+
t && t.c(), l = q();
|
|
65
|
+
},
|
|
66
|
+
m(o, i) {
|
|
67
|
+
t && t.m(o, i), w(o, l, i), s = !0;
|
|
68
|
+
},
|
|
69
|
+
p(o, [i]) {
|
|
70
|
+
o[0].state ? t ? (t.p(o, i), i & 1 && u(t, 1)) : (t = M(o), t.c(), u(t, 1), t.m(l.parentNode, l)) : t && (F(), _(t, 1, 1, () => {
|
|
71
|
+
t = null;
|
|
72
|
+
}), I());
|
|
73
|
+
},
|
|
74
|
+
i(o) {
|
|
75
|
+
s || (u(t), s = !0);
|
|
76
|
+
},
|
|
77
|
+
o(o) {
|
|
78
|
+
_(t), s = !1;
|
|
79
|
+
},
|
|
80
|
+
d(o) {
|
|
81
|
+
t && t.d(o), o && v(l);
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function K(n, l, s) {
|
|
86
|
+
let t, o, i, { tag: r } = l, a, d = !1, p = [];
|
|
87
|
+
function c() {
|
|
88
|
+
s(1, d = !d);
|
|
89
|
+
}
|
|
90
|
+
function g() {
|
|
91
|
+
a = this.clientWidth, s(3, a);
|
|
92
|
+
}
|
|
93
|
+
return n.$$set = (m) => {
|
|
94
|
+
"tag" in m && s(0, r = m.tag);
|
|
95
|
+
}, n.$$.update = () => {
|
|
96
|
+
var m, e, f;
|
|
97
|
+
n.$$.dirty & 1 && s(2, t = !!((m = r.state) != null && m.unfolded)), n.$$.dirty & 1 && s(5, o = (f = (e = r.data.title) != null ? e : r.data.text) != null ? f : ""), n.$$.dirty & 4 && (t || setTimeout(
|
|
98
|
+
() => {
|
|
99
|
+
s(1, d = !1);
|
|
100
|
+
},
|
|
101
|
+
20
|
|
102
|
+
)), n.$$.dirty & 2 && s(4, i = d ? 450 : 0);
|
|
103
|
+
}, [
|
|
104
|
+
r,
|
|
105
|
+
d,
|
|
106
|
+
t,
|
|
107
|
+
a,
|
|
108
|
+
i,
|
|
109
|
+
o,
|
|
110
|
+
p,
|
|
111
|
+
c,
|
|
112
|
+
g
|
|
113
|
+
];
|
|
114
|
+
}
|
|
115
|
+
class X extends S {
|
|
116
|
+
constructor(l) {
|
|
117
|
+
super(), C(this, l, K, J, R, { tag: 0 }, H);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
export {
|
|
121
|
+
X as TextTag
|
|
122
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { SvelteComponent as $, init as d, safe_not_equal as k, empty as b, insert as x, group_outros as T, transition_out as l, check_outros as y, transition_in as u, detach as h, create_component as p, mount_component as m, destroy_component as g } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { TextTag as w } from "./TextTag.js";
|
|
3
|
+
import { TextPlaneTag as q } from "./TextPlaneTag.js";
|
|
4
|
+
function v(i) {
|
|
5
|
+
let t, n;
|
|
6
|
+
return t = new q({ props: { tag: i[0] } }), {
|
|
7
|
+
c() {
|
|
8
|
+
p(t.$$.fragment);
|
|
9
|
+
},
|
|
10
|
+
m(e, r) {
|
|
11
|
+
m(t, e, r), n = !0;
|
|
12
|
+
},
|
|
13
|
+
p(e, r) {
|
|
14
|
+
const a = {};
|
|
15
|
+
r & 1 && (a.tag = e[0]), t.$set(a);
|
|
16
|
+
},
|
|
17
|
+
i(e) {
|
|
18
|
+
n || (u(t.$$.fragment, e), n = !0);
|
|
19
|
+
},
|
|
20
|
+
o(e) {
|
|
21
|
+
l(t.$$.fragment, e), n = !1;
|
|
22
|
+
},
|
|
23
|
+
d(e) {
|
|
24
|
+
g(t, e);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function C(i) {
|
|
29
|
+
let t, n;
|
|
30
|
+
return t = new w({ props: { tag: i[0] } }), {
|
|
31
|
+
c() {
|
|
32
|
+
p(t.$$.fragment);
|
|
33
|
+
},
|
|
34
|
+
m(e, r) {
|
|
35
|
+
m(t, e, r), n = !0;
|
|
36
|
+
},
|
|
37
|
+
p(e, r) {
|
|
38
|
+
const a = {};
|
|
39
|
+
r & 1 && (a.tag = e[0]), t.$set(a);
|
|
40
|
+
},
|
|
41
|
+
i(e) {
|
|
42
|
+
n || (u(t.$$.fragment, e), n = !0);
|
|
43
|
+
},
|
|
44
|
+
o(e) {
|
|
45
|
+
l(t.$$.fragment, e), n = !1;
|
|
46
|
+
},
|
|
47
|
+
d(e) {
|
|
48
|
+
g(t, e);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function N(i) {
|
|
53
|
+
let t, n, e, r;
|
|
54
|
+
const a = [C, v], c = [];
|
|
55
|
+
function _(o, f) {
|
|
56
|
+
return o[1] === "line" ? 0 : o[1] === "plane" ? 1 : -1;
|
|
57
|
+
}
|
|
58
|
+
return ~(t = _(i)) && (n = c[t] = a[t](i)), {
|
|
59
|
+
c() {
|
|
60
|
+
n && n.c(), e = b();
|
|
61
|
+
},
|
|
62
|
+
m(o, f) {
|
|
63
|
+
~t && c[t].m(o, f), x(o, e, f), r = !0;
|
|
64
|
+
},
|
|
65
|
+
p(o, [f]) {
|
|
66
|
+
let s = t;
|
|
67
|
+
t = _(o), t === s ? ~t && c[t].p(o, f) : (n && (T(), l(c[s], 1, 1, () => {
|
|
68
|
+
c[s] = null;
|
|
69
|
+
}), y()), ~t ? (n = c[t], n ? n.p(o, f) : (n = c[t] = a[t](o), n.c()), u(n, 1), n.m(e.parentNode, e)) : n = null);
|
|
70
|
+
},
|
|
71
|
+
i(o) {
|
|
72
|
+
r || (u(n), r = !0);
|
|
73
|
+
},
|
|
74
|
+
o(o) {
|
|
75
|
+
l(n), r = !1;
|
|
76
|
+
},
|
|
77
|
+
d(o) {
|
|
78
|
+
~t && c[t].d(o), o && h(e);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function P(i, t, n) {
|
|
83
|
+
let e, { tag: r } = t;
|
|
84
|
+
return i.$$set = (a) => {
|
|
85
|
+
"tag" in a && n(0, r = a.tag);
|
|
86
|
+
}, i.$$.update = () => {
|
|
87
|
+
var a;
|
|
88
|
+
i.$$.dirty & 1 && n(1, e = (a = r.data.appearance) != null ? a : "line");
|
|
89
|
+
}, [r, e];
|
|
90
|
+
}
|
|
91
|
+
class A extends $ {
|
|
92
|
+
constructor(t) {
|
|
93
|
+
super(), d(this, t, P, N, k, { tag: 0 });
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export {
|
|
97
|
+
A as TextTag_1
|
|
98
|
+
};
|