@realsee/dnalogel 2.20.0-dev.9 → 2.20.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/GuideLinePlugin/Controller.d.ts +3 -3
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +16 -0
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -1
- package/dist/index.cjs.js +26 -26
- package/dist/index.js +1279 -1236
- package/dist/index.umd.js +20 -20
- package/dist/shared-utils/three/PointDomHelper.d.ts +2 -2
- package/dist/shared-utils/three/PointHelper.d.ts +2 -1
- package/dist/typings/typings.d.ts +9 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +79 -31
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +22 -22
- package/docs/classes/PanoMeasurePluginModel.html +21 -21
- package/docs/classes/PanoMeasurePluginPoint.html +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +11 -11
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +16 -16
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +13 -13
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PartialObjectDeep.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +5 -5
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/GuideLinePlugin/Controller.d.ts +3 -3
- package/libs/GuideLinePlugin/Controller.js +2 -2
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +108 -76
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +16 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -17
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +56 -56
- package/libs/PanoTagPlugin/Components/TagItem.js +99 -99
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +83 -77
- package/libs/PanoTagPlugin/controller/TagRender.js +6 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +45 -44
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +54 -54
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +8 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +30 -28
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointDomHelper.d.ts +2 -2
- package/libs/shared-utils/three/PointHelper.d.ts +2 -1
- package/libs/typings/typings.d.ts +9 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as n from "three";
|
|
2
|
-
import { Vector3 as
|
|
2
|
+
import { Vector3 as x } from "three";
|
|
3
3
|
import { polylineNormals as G } from "../../vendor/polyline-normals/index.js";
|
|
4
4
|
import "../../vendor/polyline-miter-util/index.js";
|
|
5
5
|
import "../../vendor/gl-vec2/add.js";
|
|
@@ -12,33 +12,35 @@ function Q(e) {
|
|
|
12
12
|
const i = e.width, g = e.unitLength / i, c = i / 2, E = e.path;
|
|
13
13
|
if (E.length === 0)
|
|
14
14
|
return { geometry: new n.BufferGeometry(), maxU: 0 };
|
|
15
|
-
const
|
|
15
|
+
const u = new n.CurvePath();
|
|
16
16
|
E.forEach((t) => {
|
|
17
|
-
const
|
|
18
|
-
|
|
17
|
+
const m = I(t);
|
|
18
|
+
m && u.add(m);
|
|
19
19
|
});
|
|
20
|
-
const
|
|
21
|
-
|
|
20
|
+
const w = Math.ceil(u.getLength() * 100);
|
|
21
|
+
u.arcLengthDivisions = w;
|
|
22
|
+
const o = u.getPoints(w), y = o.length, L = G(o.map((t) => [t.x, t.z])), B = (y - 1) * z * M, d = 2 * y, C = d * X, U = d * k, r = new Uint32Array(B), s = new Float32Array(C), a = new Float32Array(U);
|
|
23
|
+
let N = 0, R = 0;
|
|
22
24
|
for (let t = 0; t < o.length; t++) {
|
|
23
|
-
const [
|
|
24
|
-
s[t * 6 + 0] =
|
|
25
|
-
const
|
|
26
|
-
s[t * 6 + 3] =
|
|
27
|
-
const
|
|
28
|
-
if (
|
|
29
|
-
const V = new n.Vector3().lerpVectors(
|
|
25
|
+
const [m, A] = L[t][0], T = o[t], { x: _, y: b, z: P } = T, f = new x(_ + m * c, b + 0.05, P + A * c);
|
|
26
|
+
s[t * 6 + 0] = f.x, s[t * 6 + 1] = f.y, s[t * 6 + 2] = f.z;
|
|
27
|
+
const h = new x(_ - m * c, b + 0.05, P - A * c);
|
|
28
|
+
s[t * 6 + 3] = h.x, s[t * 6 + 4] = h.y, s[t * 6 + 5] = h.z, N += t > 0 ? o[t - 1].clone().sub(o[t]).length() : 0;
|
|
29
|
+
const v = N / i / g;
|
|
30
|
+
if (R = v, a[t * 4 + 0] = 0, a[t * 4 + 1] = v, a[t * 4 + 2] = 1, a[t * 4 + 3] = v, e.skipPositions) {
|
|
31
|
+
const V = new n.Vector3().lerpVectors(f, h, 0.5);
|
|
30
32
|
if (e.skipPositions.some((F) => F.distanceTo(V) < 0.26))
|
|
31
33
|
continue;
|
|
32
34
|
}
|
|
33
35
|
t !== o.length - 1 && (r[t * 6 + 0] = t * 2 + 0, r[t * 6 + 1] = t * 2 + 2, r[t * 6 + 2] = t * 2 + 1, r[t * 6 + 3] = t * 2 + 2, r[t * 6 + 4] = t * 2 + 3, r[t * 6 + 5] = t * 2 + 1);
|
|
34
36
|
}
|
|
35
|
-
const
|
|
36
|
-
return
|
|
37
|
+
const l = new n.BufferGeometry();
|
|
38
|
+
return l.setAttribute("position", new n.BufferAttribute(s, 3)), l.setAttribute("uv", new n.BufferAttribute(a, 2)), l.setIndex(new n.BufferAttribute(r, 1)), { geometry: l, maxU: R, curvePath: u, curvePoints: o };
|
|
37
39
|
}
|
|
38
40
|
function I(e) {
|
|
39
41
|
if (O(e)) {
|
|
40
|
-
const i = [e.closed, e.curve_type, e.tension],
|
|
41
|
-
return new n.CatmullRomCurve3(
|
|
42
|
+
const i = [e.closed, e.curve_type, e.tension], p = e.points.map((c) => new n.Vector3().fromArray(c));
|
|
43
|
+
return new n.CatmullRomCurve3(p, ...i);
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
function O(e) {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var P = Object.defineProperty, A = Object.defineProperties;
|
|
2
|
+
var B = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var M = Object.getOwnPropertySymbols;
|
|
4
|
+
var E = Object.prototype.hasOwnProperty, G = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var R = (o, t, e) => t in o ? P(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, C = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
E.call(t, e) && R(o, e, t[e]);
|
|
8
|
+
if (M)
|
|
9
|
+
for (var e of M(t))
|
|
10
|
+
G.call(t, e) && R(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
import { SvelteComponent as
|
|
14
|
-
import { Raycaster as
|
|
15
|
-
import
|
|
16
|
-
import { svelteResizeObserver as
|
|
12
|
+
}, D = (o, t) => A(o, B(t));
|
|
13
|
+
import { SvelteComponent as J, init as K, safe_not_equal as N, append_styles as Q, element as X, attr as Y, insert as O, action_destroyer as Z, listen as S, update_keyed_each as $, check_outros as ee, transition_in as T, transition_out as W, detach as V, run_all as te, afterUpdate as oe, onDestroy as ne, globals as re, empty as ie, create_component as se, mount_component as le, destroy_component as ce, group_outros as ae, outro_and_destroy_block as fe } from "../vendor/svelte/internal/index.js";
|
|
14
|
+
import { Raycaster as me, Vector3 as w } from "three";
|
|
15
|
+
import ue from "./RoomLabelItem.js";
|
|
16
|
+
import { svelteResizeObserver as de } from "../shared-utils/svelte/resizeObserver.js";
|
|
17
17
|
import "./Assets/roomLabelBg.js";
|
|
18
18
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
19
|
-
const { Map: pe } =
|
|
20
|
-
function
|
|
21
|
-
|
|
19
|
+
const { Map: pe } = re;
|
|
20
|
+
function he(o) {
|
|
21
|
+
Q(o, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function U(o, t, e) {
|
|
24
24
|
const c = o.slice();
|
|
25
25
|
return c[13] = t[e], c;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function H(o, t) {
|
|
28
28
|
let e, c, r;
|
|
29
|
-
return c = new
|
|
29
|
+
return c = new ue({
|
|
30
30
|
props: {
|
|
31
31
|
roomLabel: (
|
|
32
32
|
/*roomLabelItem*/
|
|
@@ -41,33 +41,33 @@ function O(o, t) {
|
|
|
41
41
|
key: o,
|
|
42
42
|
first: null,
|
|
43
43
|
c() {
|
|
44
|
-
e =
|
|
44
|
+
e = ie(), se(c.$$.fragment), this.first = e;
|
|
45
45
|
},
|
|
46
|
-
m(n,
|
|
47
|
-
|
|
46
|
+
m(n, m) {
|
|
47
|
+
O(n, e, m), le(c, n, m), r = !0;
|
|
48
48
|
},
|
|
49
|
-
p(n,
|
|
49
|
+
p(n, m) {
|
|
50
50
|
t = n;
|
|
51
51
|
const a = {};
|
|
52
|
-
|
|
52
|
+
m & /*roomLabels*/
|
|
53
53
|
1 && (a.roomLabel = /*roomLabelItem*/
|
|
54
|
-
t[13]),
|
|
54
|
+
t[13]), m & /*five*/
|
|
55
55
|
2 && (a.five = /*five*/
|
|
56
56
|
t[1]), c.$set(a);
|
|
57
57
|
},
|
|
58
58
|
i(n) {
|
|
59
|
-
r || (
|
|
59
|
+
r || (T(c.$$.fragment, n), r = !0);
|
|
60
60
|
},
|
|
61
61
|
o(n) {
|
|
62
|
-
|
|
62
|
+
W(c.$$.fragment, n), r = !1;
|
|
63
63
|
},
|
|
64
64
|
d(n) {
|
|
65
|
-
n &&
|
|
65
|
+
n && V(e), ce(c, n);
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
let t, e = [], c = new pe(), r, n,
|
|
69
|
+
function _e(o) {
|
|
70
|
+
let t, e = [], c = new pe(), r, n, m, a = (
|
|
71
71
|
/*roomLabels*/
|
|
72
72
|
o[0]
|
|
73
73
|
);
|
|
@@ -76,29 +76,29 @@ function ge(o) {
|
|
|
76
76
|
i[13].id
|
|
77
77
|
);
|
|
78
78
|
for (let i = 0; i < a.length; i += 1) {
|
|
79
|
-
let s =
|
|
80
|
-
c.set(u, e[i] =
|
|
79
|
+
let s = U(o, a, i), u = d(s);
|
|
80
|
+
c.set(u, e[i] = H(u, s));
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
t =
|
|
84
|
+
t = X("div");
|
|
85
85
|
for (let i = 0; i < e.length; i += 1)
|
|
86
86
|
e[i].c();
|
|
87
|
-
|
|
87
|
+
Y(t, "class", "room-labels-container svelte-9eg4zi");
|
|
88
88
|
},
|
|
89
89
|
m(i, s) {
|
|
90
|
-
|
|
90
|
+
O(i, t, s);
|
|
91
91
|
for (let u = 0; u < e.length; u += 1)
|
|
92
92
|
e[u] && e[u].m(t, null);
|
|
93
|
-
r = !0, n || (
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
r = !0, n || (m = [
|
|
94
|
+
Z(de.call(null, t)),
|
|
95
|
+
S(
|
|
96
96
|
t,
|
|
97
97
|
"clientWidth",
|
|
98
98
|
/*clientWidth_handler*/
|
|
99
99
|
o[6]
|
|
100
100
|
),
|
|
101
|
-
|
|
101
|
+
S(
|
|
102
102
|
t,
|
|
103
103
|
"clientHeight",
|
|
104
104
|
/*clientHeight_handler*/
|
|
@@ -109,55 +109,55 @@ function ge(o) {
|
|
|
109
109
|
p(i, [s]) {
|
|
110
110
|
s & /*roomLabels, five*/
|
|
111
111
|
3 && (a = /*roomLabels*/
|
|
112
|
-
i[0],
|
|
112
|
+
i[0], ae(), e = $(e, s, d, 1, i, a, c, t, fe, H, null, U), ee());
|
|
113
113
|
},
|
|
114
114
|
i(i) {
|
|
115
115
|
if (!r) {
|
|
116
116
|
for (let s = 0; s < a.length; s += 1)
|
|
117
|
-
|
|
117
|
+
T(e[s]);
|
|
118
118
|
r = !0;
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
o(i) {
|
|
122
122
|
for (let s = 0; s < e.length; s += 1)
|
|
123
|
-
|
|
123
|
+
W(e[s]);
|
|
124
124
|
r = !1;
|
|
125
125
|
},
|
|
126
126
|
d(i) {
|
|
127
|
-
i &&
|
|
127
|
+
i && V(t);
|
|
128
128
|
for (let s = 0; s < e.length; s += 1)
|
|
129
129
|
e[s].d();
|
|
130
|
-
n = !1,
|
|
130
|
+
n = !1, te(m);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
var
|
|
136
|
-
let c, { five: r } = t, { roomLabels: n } = t,
|
|
134
|
+
function ge(o, t, e) {
|
|
135
|
+
var F;
|
|
136
|
+
let c, { five: r } = t, { roomLabels: n } = t, m, a, d = (F = r.model.shownFloor) != null ? F : null;
|
|
137
137
|
function i(l) {
|
|
138
138
|
if (!(d === null || l.floorIndex === d))
|
|
139
139
|
return !1;
|
|
140
|
-
const
|
|
141
|
-
|
|
142
|
-
const [
|
|
143
|
-
return !(
|
|
140
|
+
const _ = new me(), p = r.camera.position.clone(), b = new w(l.position.x, l.position.y, l.position.z), f = b.distanceTo(p);
|
|
141
|
+
_.set(p.clone(), b.clone().sub(p).normalize());
|
|
142
|
+
const [h] = r.model.intersectRaycaster(_);
|
|
143
|
+
return !(h && h.distance + 1 < f);
|
|
144
144
|
}
|
|
145
|
-
function s(l,
|
|
146
|
-
const
|
|
147
|
-
return `translate(${
|
|
145
|
+
function s(l, g) {
|
|
146
|
+
const p = new w(l.position.x, l.position.y, l.position.z).clone().project(r.camera), b = Math.ceil((p.x + 1) / 2 * g.x), f = Math.ceil((-p.y + 1) / 2 * g.y);
|
|
147
|
+
return `translate(${b}px, ${f}px)`;
|
|
148
148
|
}
|
|
149
149
|
function u(l) {
|
|
150
|
-
const { rendererSize:
|
|
151
|
-
function p(
|
|
152
|
-
const
|
|
153
|
-
if (
|
|
154
|
-
return
|
|
155
|
-
const { x:
|
|
156
|
-
return
|
|
150
|
+
const { rendererSize: g } = l, _ = /* @__PURE__ */ new Map();
|
|
151
|
+
function p(f) {
|
|
152
|
+
const h = _.get(f.id);
|
|
153
|
+
if (h)
|
|
154
|
+
return h;
|
|
155
|
+
const { x: L, y: v, z: k } = f.position, y = new w(L, v, k).clone().distanceTo(r.camera.position);
|
|
156
|
+
return _.set(f.id, y), y;
|
|
157
157
|
}
|
|
158
|
-
return n.map((
|
|
159
|
-
const
|
|
160
|
-
return
|
|
158
|
+
return n.map((f) => {
|
|
159
|
+
const h = i(f), L = h ? s(f, g) : f.transform, v = p(f), y = n.filter((x) => x.visible && p(x) < v).length * 10;
|
|
160
|
+
return D(C({}, f), { visible: h, transform: L, zIndex: y });
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
function I() {
|
|
@@ -166,38 +166,38 @@ function be(o, t, e) {
|
|
|
166
166
|
function z(l) {
|
|
167
167
|
e(4, d = l);
|
|
168
168
|
}
|
|
169
|
-
r.on("cameraUpdate", I), r.on("modelShownFloorChange", z),
|
|
169
|
+
r.on("cameraUpdate", I), r.on("modelShownFloorChange", z), oe(() => {
|
|
170
170
|
e(0, n = u({ rendererSize: c, shownFloor: d }));
|
|
171
|
-
}),
|
|
171
|
+
}), ne(() => {
|
|
172
172
|
r.off("cameraUpdate", I), r.off("modelShownFloorChange", z);
|
|
173
173
|
});
|
|
174
|
-
const
|
|
175
|
-
e(2,
|
|
176
|
-
},
|
|
174
|
+
const j = (l) => {
|
|
175
|
+
e(2, m = l.detail);
|
|
176
|
+
}, q = (l) => {
|
|
177
177
|
e(3, a = l.detail);
|
|
178
178
|
};
|
|
179
179
|
return o.$$set = (l) => {
|
|
180
180
|
"five" in l && e(1, r = l.five), "roomLabels" in l && e(0, n = l.roomLabels);
|
|
181
181
|
}, o.$$.update = () => {
|
|
182
182
|
o.$$.dirty & /*containerWidth, containerHeight*/
|
|
183
|
-
12 && e(5, c = { x:
|
|
183
|
+
12 && e(5, c = { x: m, y: a }), o.$$.dirty & /*rendererSize, shownFloor*/
|
|
184
184
|
48 && e(0, n = u({ rendererSize: c, shownFloor: d }));
|
|
185
185
|
}, [
|
|
186
186
|
n,
|
|
187
187
|
r,
|
|
188
|
-
|
|
188
|
+
m,
|
|
189
189
|
a,
|
|
190
190
|
d,
|
|
191
191
|
c,
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
j,
|
|
193
|
+
q
|
|
194
194
|
];
|
|
195
195
|
}
|
|
196
|
-
class
|
|
196
|
+
class Fe extends J {
|
|
197
197
|
constructor(t) {
|
|
198
|
-
super(),
|
|
198
|
+
super(), K(this, t, ge, _e, N, { five: 1, roomLabels: 0 }, he);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
export {
|
|
202
|
-
|
|
202
|
+
Fe as default
|
|
203
203
|
};
|
|
@@ -4,7 +4,8 @@ import type { PanoMeasurePluginEvent } from '../typings/event.type';
|
|
|
4
4
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
5
5
|
import type { Polyline } from '../Model/polyline';
|
|
6
6
|
import Magnifier, { type MagnifierParameter } from '../Modules/Magnifier';
|
|
7
|
-
import { Five
|
|
7
|
+
import type { Five } from '@realsee/five';
|
|
8
|
+
import { Subscribe } from '@realsee/five';
|
|
8
9
|
import { type UIControllerParams } from '../Modules/UIController';
|
|
9
10
|
import { type GuideControllerParams } from '../Modules/GuideController';
|
|
10
11
|
export type Mode = 'Watch' | 'Edit' | 'Mixed' | 'View';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as F, init as M, safe_not_equal as U, append_styles as W, element as
|
|
1
|
+
import { SvelteComponent as F, init as M, safe_not_equal as U, append_styles as W, element as h, space as _, create_component as I, attr as z, set_style as y, toggle_class as b, insert as X, append as c, mount_component as R, listen as B, transition_in as j, transition_out as q, detach as E, destroy_component as A, getContext as G, bubble as H } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import J from "./Shadow.js";
|
|
3
3
|
import K from "./Icon/Icon.js";
|
|
4
4
|
import { Image_Default_Point as N } from "../../Assets/Icon.js";
|
|
@@ -9,18 +9,18 @@ import "../../utils/noTypecheck.js";
|
|
|
9
9
|
import "../../utils/getImageInfo.js";
|
|
10
10
|
import "../../utils/px2rem.js";
|
|
11
11
|
function O(t) {
|
|
12
|
-
W(t, "svelte-
|
|
12
|
+
W(t, "svelte-7aiuwz", '@charset "UTF-8";.tag-point-click-helper.svelte-7aiuwz.svelte-7aiuwz{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-7aiuwz.svelte-7aiuwz{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-folded-point.svelte-7aiuwz.svelte-7aiuwz,.tag-unfolded-point.svelte-7aiuwz.svelte-7aiuwz{transition:all 0.5s}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:1;scale:1}');
|
|
13
13
|
}
|
|
14
14
|
function Q(t) {
|
|
15
|
-
let
|
|
16
|
-
return
|
|
15
|
+
let i, r, d, u, m, p, w, o, a, l, g, v;
|
|
16
|
+
return u = new J({
|
|
17
17
|
props: {
|
|
18
18
|
center: !0,
|
|
19
19
|
blurRadius: 15,
|
|
20
20
|
spreadRadius: 5,
|
|
21
21
|
opacity: 0.3
|
|
22
22
|
}
|
|
23
|
-
}),
|
|
23
|
+
}), a = new K({
|
|
24
24
|
props: {
|
|
25
25
|
icon: (
|
|
26
26
|
/*url*/
|
|
@@ -31,13 +31,13 @@ function Q(t) {
|
|
|
31
31
|
t[1]
|
|
32
32
|
)
|
|
33
33
|
}
|
|
34
|
-
}),
|
|
34
|
+
}), a.$on(
|
|
35
35
|
"iconLoaded",
|
|
36
36
|
/*iconLoaded_handler*/
|
|
37
37
|
t[7]
|
|
38
38
|
), {
|
|
39
39
|
c() {
|
|
40
|
-
|
|
40
|
+
i = h("div"), r = h("div"), d = _(), I(u.$$.fragment), m = _(), p = h("div"), w = _(), o = h("div"), I(a.$$.fragment), z(r, "class", "tag-point-click-helper svelte-7aiuwz"), z(p, "class", "tag-unfolded-point svelte-7aiuwz"), y(
|
|
41
41
|
p,
|
|
42
42
|
"transition-delay",
|
|
43
43
|
/*folded*/
|
|
@@ -45,7 +45,7 @@ function Q(t) {
|
|
|
45
45
|
/*foldDelay*/
|
|
46
46
|
t[5]
|
|
47
47
|
) : 0) + "ms"
|
|
48
|
-
),
|
|
48
|
+
), z(o, "class", "tag-folded-point svelte-7aiuwz"), y(
|
|
49
49
|
o,
|
|
50
50
|
"transition-delay",
|
|
51
51
|
/*folded*/
|
|
@@ -53,21 +53,21 @@ function Q(t) {
|
|
|
53
53
|
/*foldDelay*/
|
|
54
54
|
t[5]
|
|
55
55
|
) : 0) + "ms"
|
|
56
|
-
),
|
|
57
|
-
|
|
56
|
+
), z(i, "class", "tag-point-wrapper svelte-7aiuwz"), b(
|
|
57
|
+
i,
|
|
58
58
|
"unfolded",
|
|
59
59
|
/*unfolded*/
|
|
60
60
|
t[0]
|
|
61
|
-
),
|
|
62
|
-
|
|
61
|
+
), b(
|
|
62
|
+
i,
|
|
63
63
|
"folded",
|
|
64
64
|
/*folded*/
|
|
65
65
|
t[3]
|
|
66
66
|
);
|
|
67
67
|
},
|
|
68
68
|
m(e, s) {
|
|
69
|
-
X(e,
|
|
70
|
-
|
|
69
|
+
X(e, i, s), c(i, r), c(i, d), R(u, i, null), c(i, m), c(i, p), c(i, w), c(i, o), R(a, o, null), l = !0, g || (v = B(
|
|
70
|
+
r,
|
|
71
71
|
"click",
|
|
72
72
|
/*handlePointClick*/
|
|
73
73
|
t[4]
|
|
@@ -75,7 +75,7 @@ function Q(t) {
|
|
|
75
75
|
},
|
|
76
76
|
p(e, [s]) {
|
|
77
77
|
s & /*folded*/
|
|
78
|
-
8 &&
|
|
78
|
+
8 && y(
|
|
79
79
|
p,
|
|
80
80
|
"transition-delay",
|
|
81
81
|
/*folded*/
|
|
@@ -84,13 +84,13 @@ function Q(t) {
|
|
|
84
84
|
e[5]
|
|
85
85
|
) : 0) + "ms"
|
|
86
86
|
);
|
|
87
|
-
const
|
|
87
|
+
const n = {};
|
|
88
88
|
s & /*url*/
|
|
89
|
-
4 && (
|
|
89
|
+
4 && (n.icon = /*url*/
|
|
90
90
|
e[2]), s & /*width*/
|
|
91
|
-
2 && (
|
|
92
|
-
e[1]),
|
|
93
|
-
8 &&
|
|
91
|
+
2 && (n.width = /*width*/
|
|
92
|
+
e[1]), a.$set(n), s & /*folded*/
|
|
93
|
+
8 && y(
|
|
94
94
|
o,
|
|
95
95
|
"transition-delay",
|
|
96
96
|
/*folded*/
|
|
@@ -99,86 +99,86 @@ function Q(t) {
|
|
|
99
99
|
e[5]
|
|
100
100
|
) : 0) + "ms"
|
|
101
101
|
), (!l || s & /*unfolded*/
|
|
102
|
-
1) &&
|
|
103
|
-
|
|
102
|
+
1) && b(
|
|
103
|
+
i,
|
|
104
104
|
"unfolded",
|
|
105
105
|
/*unfolded*/
|
|
106
106
|
e[0]
|
|
107
107
|
), (!l || s & /*folded*/
|
|
108
|
-
8) &&
|
|
109
|
-
|
|
108
|
+
8) && b(
|
|
109
|
+
i,
|
|
110
110
|
"folded",
|
|
111
111
|
/*folded*/
|
|
112
112
|
e[3]
|
|
113
113
|
);
|
|
114
114
|
},
|
|
115
115
|
i(e) {
|
|
116
|
-
l || (
|
|
116
|
+
l || (j(u.$$.fragment, e), j(a.$$.fragment, e), l = !0);
|
|
117
117
|
},
|
|
118
118
|
o(e) {
|
|
119
|
-
q(
|
|
119
|
+
q(u.$$.fragment, e), q(a.$$.fragment, e), l = !1;
|
|
120
120
|
},
|
|
121
121
|
d(e) {
|
|
122
|
-
e && E(
|
|
122
|
+
e && E(i), A(u), A(a), g = !1, v();
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
|
-
function V(t,
|
|
127
|
-
let
|
|
126
|
+
function V(t, i, r) {
|
|
127
|
+
let d, u, m, p;
|
|
128
128
|
const w = G("hooks");
|
|
129
|
-
let { tag: o } =
|
|
129
|
+
let { tag: o } = i, a, l = !1;
|
|
130
130
|
const g = () => {
|
|
131
|
-
|
|
131
|
+
a !== void 0 && clearTimeout(a), l = !0, a = setTimeout(
|
|
132
132
|
() => {
|
|
133
133
|
l = !1;
|
|
134
134
|
},
|
|
135
135
|
800
|
|
136
136
|
);
|
|
137
|
-
},
|
|
138
|
-
l || w.emit("click", { event:
|
|
137
|
+
}, v = (n) => {
|
|
138
|
+
l || w.emit("click", { event: n, target: "TagPoint", tag: o });
|
|
139
139
|
}, e = (() => o.contentType === "Text" && o.data.appearance === "plane" ? 500 : 800)();
|
|
140
|
-
function s(
|
|
141
|
-
H.call(this, t,
|
|
140
|
+
function s(n) {
|
|
141
|
+
H.call(this, t, n);
|
|
142
142
|
}
|
|
143
|
-
return t.$$set = (
|
|
144
|
-
"tag" in
|
|
143
|
+
return t.$$set = (n) => {
|
|
144
|
+
"tag" in n && r(6, o = n.tag);
|
|
145
145
|
}, t.$$.update = () => {
|
|
146
|
-
var
|
|
146
|
+
var n, k, T, L;
|
|
147
147
|
t.$$.dirty & /*tag*/
|
|
148
|
-
64 &&
|
|
149
|
-
1 &&
|
|
150
|
-
64 &&
|
|
151
|
-
64 &&
|
|
152
|
-
var $,
|
|
153
|
-
const P = (
|
|
148
|
+
64 && r(0, d = (n = o.state) == null ? void 0 : n.unfolded), t.$$.dirty & /*unfolded*/
|
|
149
|
+
1 && r(3, u = !d), t.$$.dirty & /*tag*/
|
|
150
|
+
64 && r(2, m = (T = (k = o.style) == null ? void 0 : k.point) != null && T.url ? (L = o.style) == null ? void 0 : L.point : { url: N }), t.$$.dirty & /*tag*/
|
|
151
|
+
64 && r(1, p = (() => {
|
|
152
|
+
var $, C, S, D;
|
|
153
|
+
const P = (C = ($ = o.style) == null ? void 0 : $.point) == null ? void 0 : C.width;
|
|
154
154
|
if (typeof P == "number")
|
|
155
155
|
return P;
|
|
156
|
-
const
|
|
157
|
-
if (typeof
|
|
158
|
-
return
|
|
159
|
-
if (
|
|
156
|
+
const f = (D = (S = o.style) == null ? void 0 : S.point) == null ? void 0 : D.size;
|
|
157
|
+
if (typeof f == "number")
|
|
158
|
+
return f;
|
|
159
|
+
if (f === "S")
|
|
160
160
|
return 18;
|
|
161
|
-
if (
|
|
161
|
+
if (f === "M")
|
|
162
162
|
return 20;
|
|
163
|
-
if (
|
|
163
|
+
if (f === "L")
|
|
164
164
|
return 24;
|
|
165
|
-
if (
|
|
165
|
+
if (f === "XL")
|
|
166
166
|
return 28;
|
|
167
167
|
})());
|
|
168
168
|
}, g(), [
|
|
169
|
-
|
|
169
|
+
d,
|
|
170
170
|
p,
|
|
171
171
|
m,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
u,
|
|
173
|
+
v,
|
|
174
174
|
e,
|
|
175
175
|
o,
|
|
176
176
|
s
|
|
177
177
|
];
|
|
178
178
|
}
|
|
179
179
|
class lt extends F {
|
|
180
|
-
constructor(
|
|
181
|
-
super(), M(this,
|
|
180
|
+
constructor(i) {
|
|
181
|
+
super(), M(this, i, V, Q, U, { tag: 6 }, O);
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
export {
|