@realsee/dnalogel 3.81.4 → 3.81.5-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/CHANGELOG.md +4 -0
- package/dist/floorplan/Components/StyledImage.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanGuidePlugin/typing.d.ts +6 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +6 -0
- package/dist/floorplan/typings/floorplanData.d.ts +21 -0
- package/dist/floorplan/typings/floorplanServerData.d.ts +21 -0
- package/dist/floorplan/utils/styledFloorplan.d.ts +3 -0
- package/dist/index.cjs.js +85 -85
- package/dist/index.js +9756 -9433
- package/dist/index.umd.js +77 -77
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/DigitalHuman.html +2 -2
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +2 -2
- package/docs/classes/DigitalPlayground.html +2 -2
- package/docs/classes/DigitalStateMachine.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/DigitalPerformancePlugin.html +1 -1
- package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -1
- package/docs/functions/FloorplanGuidePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.blinkWithPreset.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.cleanup.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.generatePolygonGeometry.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getGeometryArea.html +1 -1
- package/docs/functions/Util.getGeometryInfo.html +1 -1
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.replaceStaticPrefix.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.sculpt.transformUnit.html +2 -2
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.triangleArea.html +2 -2
- package/docs/functions/Util.triangleCenter.html +2 -2
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/functions/validatePolygon.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/BoxAnimationConfig.html +2 -2
- package/docs/interfaces/BoxPosition.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ChapterLocation.html +2 -2
- package/docs/interfaces/ChapterTimeInfo.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalCameraState.html +2 -2
- package/docs/interfaces/DigitalChapter.html +2 -2
- package/docs/interfaces/DigitalDataPlayer.html +2 -2
- package/docs/interfaces/DigitalDataState.html +2 -2
- package/docs/interfaces/DigitalEffectKeyframe.html +2 -2
- package/docs/interfaces/DigitalEffectState.html +2 -2
- package/docs/interfaces/DigitalItemKeyframe.html +2 -2
- package/docs/interfaces/DigitalItemState.html +2 -2
- package/docs/interfaces/DigitalModelKeyframe.html +2 -2
- package/docs/interfaces/DigitalModelPlayer.html +2 -2
- package/docs/interfaces/DigitalModelPlayerEffect.html +2 -2
- package/docs/interfaces/DigitalModelPlayerItem.html +2 -2
- package/docs/interfaces/DigitalModelState.html +2 -2
- package/docs/interfaces/DigitalPerformancePluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.CameraState.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +2 -2
- package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +2 -2
- package/docs/interfaces/DigitalScript.html +2 -2
- package/docs/interfaces/DigitalSubTitleKeyframe.html +2 -2
- package/docs/interfaces/DigitalSubTitlePlayer.html +2 -2
- package/docs/interfaces/DigitalSubTitleState.html +2 -2
- package/docs/interfaces/ExtendedAnimationConfig.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +4 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +4 -4
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +4 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +9 -9
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +4 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +4 -4
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +4 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +10 -10
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerStyledFloorplan.html +3 -0
- package/docs/interfaces/FloorplanServerStyledImage.html +6 -0
- package/docs/interfaces/GlobalProgress.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/ProgressBarEvents.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/SculptConfig.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/StyledFloorplan.html +3 -0
- package/docs/interfaces/StyledFloorplanImage.html +6 -0
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconAnimationConfig.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/TraceManager.html +2 -2
- package/docs/interfaces/TracePoint.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.ObjectInitialState.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/DigitalPerformanceV2.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +8 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/BoxTag.html +2 -2
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/DigitalPerformancePluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +2 -2
- package/docs/types/DigitalPerformanceV2.CameraTransition.html +2 -2
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -1
- package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -1
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanAffineTransform.html +1 -0
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerAffineTransform.html +1 -0
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/KeyframeType.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MaskPosition.html +2 -2
- package/docs/types/MaskTag.html +2 -2
- package/docs/types/MeasureEndReason.html +1 -1
- package/docs/types/MeasurePluginConfig.html +2 -2
- package/docs/types/MeasurePluginEventMap.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/PolygonPosition.html +2 -2
- package/docs/types/PolygonTag.html +2 -2
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/ProgressListener.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StateType.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +2 -2
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/Util.SupportedTarget.html +2 -2
- package/docs/types/Util.Target.html +2 -2
- package/docs/types/Util.ThreeObject.html +2 -2
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.ANIME_PRESETS.html +2 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/base/BasePlugin.js +5 -5
- package/libs/floorplan/Components/StyledImage.js +90 -0
- package/libs/floorplan/Components/StyledImage.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanGuidePlugin/Components/Camera.js +118 -103
- package/libs/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/CurrentFloor.js +168 -126
- package/libs/floorplan/FloorplanGuidePlugin/Components/Main.js +268 -209
- package/libs/floorplan/FloorplanGuidePlugin/Components/ObserverDots.js +94 -86
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +92 -88
- package/libs/floorplan/FloorplanGuidePlugin/index.js +5 -3
- package/libs/floorplan/FloorplanGuidePlugin/typing.d.ts +6 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +177 -119
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +127 -115
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +20 -17
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +6 -0
- package/libs/floorplan/typings/floorplanData.d.ts +21 -0
- package/libs/floorplan/typings/floorplanServerData.d.ts +21 -0
- package/libs/floorplan/utils/formatData.js +67 -43
- package/libs/floorplan/utils/styledFloorplan.d.ts +3 -0
- package/libs/floorplan/utils/styledFloorplan.js +28 -0
- package/libs/index.js +162 -160
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var e = Object.defineProperty;
|
|
2
2
|
var s = (o, t, i) => t in o ? e(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
|
|
3
3
|
var r = (o, t, i) => (s(o, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
|
-
import { Subscribe as
|
|
4
|
+
import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "../vendor/hammerjs/hammer.js";
|
|
@@ -15,7 +15,7 @@ import "../shared-utils/three/blink.js";
|
|
|
15
15
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
16
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
17
17
|
import "../vendor/earcut/src/earcut.js";
|
|
18
|
-
import { FiveUtil as
|
|
18
|
+
import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
|
|
19
19
|
import { DEFAULT_STATIC_PREFIX as p } from "../shared-utils/url/defaultUrls.js";
|
|
20
20
|
import "../shared-utils/five/FivePuppet.js";
|
|
21
21
|
let I = class {
|
|
@@ -23,7 +23,7 @@ let I = class {
|
|
|
23
23
|
/**
|
|
24
24
|
* @realsee/dnalogel 版本号
|
|
25
25
|
*/
|
|
26
|
-
r(this, "VERSION", "3.81.
|
|
26
|
+
r(this, "VERSION", "3.81.5-alpha.0");
|
|
27
27
|
r(this, "NAME");
|
|
28
28
|
r(this, "five");
|
|
29
29
|
r(this, "workUtil");
|
|
@@ -31,9 +31,9 @@ let I = class {
|
|
|
31
31
|
/**
|
|
32
32
|
* @description: 插件事件钩子
|
|
33
33
|
*/
|
|
34
|
-
r(this, "hooks", new
|
|
34
|
+
r(this, "hooks", new l());
|
|
35
35
|
r(this, "staticPrefix", p);
|
|
36
|
-
this.five = t, this.fiveUtil = new
|
|
36
|
+
this.five = t, this.fiveUtil = new m(t), this.workUtil = this.fiveUtil.workUtil, i != null && i.staticPrefix && (this.staticPrefix = i.staticPrefix);
|
|
37
37
|
}
|
|
38
38
|
set workCode(t) {
|
|
39
39
|
this.workUtil.workCode = t, this.onWorkCodeChange();
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { SvelteComponent as g, init as h, safe_not_equal as u, append_styles as c, element as f, src_url_equal as m, attr as o, set_style as l, insert as _, append as v, noop as d, detach as p } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
function w(i) {
|
|
3
|
+
c(i, "svelte-17nccx", ".floorplan-plugin__styled-image.svelte-17nccx{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}img.svelte-17nccx{display:block;max-width:none;transform-origin:0 0}");
|
|
4
|
+
}
|
|
5
|
+
function x(i) {
|
|
6
|
+
let t, e, a;
|
|
7
|
+
return {
|
|
8
|
+
c() {
|
|
9
|
+
t = f("div"), e = f("img"), m(e.src, a = /*image*/
|
|
10
|
+
i[0].url) || o(e, "src", a), o(e, "alt", ""), o(e, "draggable", "false"), o(e, "class", "svelte-17nccx"), l(
|
|
11
|
+
e,
|
|
12
|
+
"width",
|
|
13
|
+
/*transform*/
|
|
14
|
+
i[1] ? `${/*image*/
|
|
15
|
+
i[0].width}px` : "100%"
|
|
16
|
+
), l(
|
|
17
|
+
e,
|
|
18
|
+
"height",
|
|
19
|
+
/*transform*/
|
|
20
|
+
i[1] ? `${/*image*/
|
|
21
|
+
i[0].height}px` : "100%"
|
|
22
|
+
), l(
|
|
23
|
+
e,
|
|
24
|
+
"transform",
|
|
25
|
+
/*transform*/
|
|
26
|
+
i[1] ? `matrix(${/*transform*/
|
|
27
|
+
i[1].join(",")})` : void 0
|
|
28
|
+
), o(t, "class", "floorplan-plugin__styled-image svelte-17nccx"), l(
|
|
29
|
+
t,
|
|
30
|
+
"z-index",
|
|
31
|
+
/*zIndex*/
|
|
32
|
+
i[2]
|
|
33
|
+
);
|
|
34
|
+
},
|
|
35
|
+
m(n, s) {
|
|
36
|
+
_(n, t, s), v(t, e);
|
|
37
|
+
},
|
|
38
|
+
p(n, [s]) {
|
|
39
|
+
s & /*image*/
|
|
40
|
+
1 && !m(e.src, a = /*image*/
|
|
41
|
+
n[0].url) && o(e, "src", a), s & /*transform, image*/
|
|
42
|
+
3 && l(
|
|
43
|
+
e,
|
|
44
|
+
"width",
|
|
45
|
+
/*transform*/
|
|
46
|
+
n[1] ? `${/*image*/
|
|
47
|
+
n[0].width}px` : "100%"
|
|
48
|
+
), s & /*transform, image*/
|
|
49
|
+
3 && l(
|
|
50
|
+
e,
|
|
51
|
+
"height",
|
|
52
|
+
/*transform*/
|
|
53
|
+
n[1] ? `${/*image*/
|
|
54
|
+
n[0].height}px` : "100%"
|
|
55
|
+
), s & /*transform*/
|
|
56
|
+
2 && l(
|
|
57
|
+
e,
|
|
58
|
+
"transform",
|
|
59
|
+
/*transform*/
|
|
60
|
+
n[1] ? `matrix(${/*transform*/
|
|
61
|
+
n[1].join(",")})` : void 0
|
|
62
|
+
), s & /*zIndex*/
|
|
63
|
+
4 && l(
|
|
64
|
+
t,
|
|
65
|
+
"z-index",
|
|
66
|
+
/*zIndex*/
|
|
67
|
+
n[2]
|
|
68
|
+
);
|
|
69
|
+
},
|
|
70
|
+
i: d,
|
|
71
|
+
o: d,
|
|
72
|
+
d(n) {
|
|
73
|
+
n && p(t);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function z(i, t, e) {
|
|
78
|
+
let { image: a } = t, { transform: n } = t, { zIndex: s = 5 } = t;
|
|
79
|
+
return i.$$set = (r) => {
|
|
80
|
+
"image" in r && e(0, a = r.image), "transform" in r && e(1, n = r.transform), "zIndex" in r && e(2, s = r.zIndex);
|
|
81
|
+
}, [a, n, s];
|
|
82
|
+
}
|
|
83
|
+
class b extends g {
|
|
84
|
+
constructor(t) {
|
|
85
|
+
super(), h(this, t, z, x, u, { image: 0, transform: 1, zIndex: 2 }, w);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
b as StyledImage
|
|
90
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,155 +1,170 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { CAMERA_IMAGE as
|
|
3
|
-
import { throttle as
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponent as G, init as O, safe_not_equal as j, append_styles as J, element as D, attr as S, set_style as l, insert as K, append as E, noop as H, detach as L, onMount as N } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { CAMERA_IMAGE as P } from "../../Assets/camera.js";
|
|
3
|
+
import { throttle as Q } from "../../../shared-utils/throttle.js";
|
|
4
|
+
import { styledCameraRotation as V } from "../../utils/styledFloorplan.js";
|
|
5
|
+
function X(n) {
|
|
6
|
+
J(n, "svelte-3rukxu", ".plugin-radar__camera-wrapper.svelte-3rukxu{width:100%;height:100%;position:absolute;pointer-events:none;z-index:20}.plugin-radar__camera-position.svelte-3rukxu{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear;transform-origin:0 0;z-index:20}.plugin-radar__camera-rotate.svelte-3rukxu{position:absolute;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%;z-index:20}");
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
-
let
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
function Y(n) {
|
|
9
|
+
let a, t, r, m = `${/*cameraSize*/
|
|
10
|
+
n[1]}px`, g = `${/*cameraSize*/
|
|
11
|
+
n[1]}px`, c = `-${/*cameraOffset*/
|
|
12
|
+
n[2]}px`, i = `-${/*cameraOffset*/
|
|
13
|
+
n[2]}px`, u = `${/*cameraOffset*/
|
|
14
|
+
n[2]}px ${/*cameraOffset*/
|
|
15
|
+
n[2]}px`;
|
|
15
16
|
return {
|
|
16
17
|
c() {
|
|
17
|
-
|
|
18
|
-
(
|
|
18
|
+
a = D("div"), t = D("div"), r = D("div"), S(r, "class", "plugin-radar__camera-rotate svelte-3rukxu"), l(r, "background-image", "url(" + /*cameraImageUrl*/
|
|
19
|
+
(n[0] || P) + ")"), l(
|
|
19
20
|
r,
|
|
20
21
|
"transform",
|
|
21
22
|
/*rotateTransform*/
|
|
22
|
-
|
|
23
|
-
),
|
|
24
|
-
|
|
23
|
+
n[4]
|
|
24
|
+
), l(r, "width", m), l(r, "height", g), l(r, "left", c), l(r, "top", i), l(r, "transform-origin", u), S(t, "class", "plugin-radar__camera-position svelte-3rukxu"), l(
|
|
25
|
+
t,
|
|
25
26
|
"transform",
|
|
26
27
|
/*positionTransform*/
|
|
27
|
-
|
|
28
|
-
),
|
|
29
|
-
|
|
28
|
+
n[3]
|
|
29
|
+
), S(a, "class", "plugin-radar__camera-wrapper svelte-3rukxu"), l(
|
|
30
|
+
a,
|
|
30
31
|
"opacity",
|
|
31
32
|
/*hasCurrentFloorData*/
|
|
32
|
-
|
|
33
|
+
n[5] ? 1 : 0
|
|
33
34
|
);
|
|
34
35
|
},
|
|
35
|
-
m(
|
|
36
|
-
|
|
36
|
+
m(o, f) {
|
|
37
|
+
K(o, a, f), E(a, t), E(t, r);
|
|
37
38
|
},
|
|
38
|
-
p(
|
|
39
|
-
|
|
40
|
-
1 &&
|
|
41
|
-
(
|
|
42
|
-
const
|
|
39
|
+
p(o, [f]) {
|
|
40
|
+
f & /*cameraImageUrl*/
|
|
41
|
+
1 && l(r, "background-image", "url(" + /*cameraImageUrl*/
|
|
42
|
+
(o[0] || P) + ")");
|
|
43
|
+
const d = f & /*cameraImageUrl*/
|
|
43
44
|
1;
|
|
44
|
-
(
|
|
45
|
-
|
|
45
|
+
(d || f & /*rotateTransform, cameraImageUrl*/
|
|
46
|
+
17) && l(
|
|
46
47
|
r,
|
|
47
48
|
"transform",
|
|
48
49
|
/*rotateTransform*/
|
|
49
|
-
|
|
50
|
-
), (
|
|
51
|
-
3 &&
|
|
52
|
-
|
|
50
|
+
o[4]
|
|
51
|
+
), (d || f & /*cameraSize, cameraImageUrl*/
|
|
52
|
+
3 && m !== (m = `${/*cameraSize*/
|
|
53
|
+
o[1]}px`)) && l(r, "width", m), (d || f & /*cameraSize, cameraImageUrl*/
|
|
53
54
|
3 && g !== (g = `${/*cameraSize*/
|
|
54
|
-
|
|
55
|
-
5 &&
|
|
56
|
-
|
|
57
|
-
5 &&
|
|
58
|
-
|
|
59
|
-
5 &&
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
55
|
+
o[1]}px`)) && l(r, "height", g), (d || f & /*cameraOffset, cameraImageUrl*/
|
|
56
|
+
5 && c !== (c = `-${/*cameraOffset*/
|
|
57
|
+
o[2]}px`)) && l(r, "left", c), (d || f & /*cameraOffset, cameraImageUrl*/
|
|
58
|
+
5 && i !== (i = `-${/*cameraOffset*/
|
|
59
|
+
o[2]}px`)) && l(r, "top", i), (d || f & /*cameraOffset, cameraImageUrl*/
|
|
60
|
+
5 && u !== (u = `${/*cameraOffset*/
|
|
61
|
+
o[2]}px ${/*cameraOffset*/
|
|
62
|
+
o[2]}px`)) && l(r, "transform-origin", u), f & /*positionTransform*/
|
|
63
|
+
8 && l(
|
|
64
|
+
t,
|
|
64
65
|
"transform",
|
|
65
66
|
/*positionTransform*/
|
|
66
|
-
|
|
67
|
-
),
|
|
68
|
-
32 &&
|
|
69
|
-
|
|
67
|
+
o[3]
|
|
68
|
+
), f & /*hasCurrentFloorData*/
|
|
69
|
+
32 && l(
|
|
70
|
+
a,
|
|
70
71
|
"opacity",
|
|
71
72
|
/*hasCurrentFloorData*/
|
|
72
|
-
|
|
73
|
+
o[5] ? 1 : 0
|
|
73
74
|
);
|
|
74
75
|
},
|
|
75
|
-
i:
|
|
76
|
-
o:
|
|
77
|
-
d(
|
|
78
|
-
|
|
76
|
+
i: H,
|
|
77
|
+
o: H,
|
|
78
|
+
d(o) {
|
|
79
|
+
o && L(a);
|
|
79
80
|
}
|
|
80
81
|
};
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
function
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
function M(t, U) {
|
|
89
|
-
const c = t.bounding, x = t.observers[U];
|
|
90
|
-
if (!x)
|
|
91
|
-
return "";
|
|
92
|
-
const O = (c.max.x - c.min.x) * s, F = (c.max.y - c.min.y) * s, P = Math.floor(x.positionInImage.x * O), T = Math.floor(x.positionInImage.y * F);
|
|
93
|
-
return `translate(${P}px, ${T}px)`;
|
|
83
|
+
function Z(n, a, t) {
|
|
84
|
+
var W, U;
|
|
85
|
+
let r, m, g, c, { five: i } = a, { pxmm: u } = a, { floorplanData: o } = a, { cameraImageUrl: f } = a, { cameraSize: d = 36 } = a, { cameraOffset: w = 28.5 } = a, { contentWidth: y } = a, { contentHeight: b } = a, { styledFloorplanEnable: p = !1 } = a, k = i.getCurrentState().panoIndex, v = i.getCurrentState().longitude, x = (U = (W = i.work.observers[i.getCurrentState().panoIndex]) == null ? void 0 : W.floorIndex) != null ? U : 0, _ = "";
|
|
86
|
+
function R(e, h) {
|
|
87
|
+
const I = h ? V(h) : 0;
|
|
88
|
+
return `rotate(${Math.floor(e / Math.PI * 180) * -1 + 45 + I}deg)`;
|
|
94
89
|
}
|
|
95
|
-
function
|
|
96
|
-
|
|
90
|
+
function A(e) {
|
|
91
|
+
t(12, k = e);
|
|
97
92
|
}
|
|
98
|
-
function
|
|
99
|
-
|
|
93
|
+
function M(e) {
|
|
94
|
+
t(14, x = i.work.observers[e].floorIndex);
|
|
100
95
|
}
|
|
101
|
-
const
|
|
102
|
-
(
|
|
103
|
-
|
|
96
|
+
const z = Q(
|
|
97
|
+
(e) => {
|
|
98
|
+
t(13, v = e.longitude);
|
|
104
99
|
},
|
|
105
100
|
1e3 / 60
|
|
106
101
|
);
|
|
107
|
-
return
|
|
108
|
-
|
|
109
|
-
})),
|
|
110
|
-
"five" in
|
|
111
|
-
},
|
|
112
|
-
e
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
102
|
+
return N(() => (i.on("panoWillArrive", A), i.on("panoArrived", M), i.on("cameraDirectionUpdate", z), function() {
|
|
103
|
+
i.off("panoWillArrive", A), i.off("panoArrived", M), i.off("cameraDirectionUpdate", z);
|
|
104
|
+
})), n.$$set = (e) => {
|
|
105
|
+
"five" in e && t(6, i = e.five), "pxmm" in e && t(7, u = e.pxmm), "floorplanData" in e && t(8, o = e.floorplanData), "cameraImageUrl" in e && t(0, f = e.cameraImageUrl), "cameraSize" in e && t(1, d = e.cameraSize), "cameraOffset" in e && t(2, w = e.cameraOffset), "contentWidth" in e && t(9, y = e.contentWidth), "contentHeight" in e && t(10, b = e.contentHeight), "styledFloorplanEnable" in e && t(11, p = e.styledFloorplanEnable);
|
|
106
|
+
}, n.$$.update = () => {
|
|
107
|
+
var e, h, I;
|
|
108
|
+
if (n.$$.dirty & /*floorplanData, floorIndex*/
|
|
109
|
+
16640 && t(16, r = o.floorDatas[x]), n.$$.dirty & /*styledFloorplanEnable, floorplanData, floorIndex*/
|
|
110
|
+
18688 && t(15, m = p ? (e = o.styledFloorplan) == null ? void 0 : e.floors.find((s) => s.floorIndex === x) : void 0), n.$$.dirty & /*styledFloor, floorData*/
|
|
111
|
+
98304 && t(5, g = !!m || r.rooms.length > 0), n.$$.dirty & /*floorplanData, panoIndex, styledFloorplanEnable, contentWidth, contentHeight, pxmm*/
|
|
112
|
+
8064) {
|
|
113
|
+
const s = o.observers[k], F = (p ? (h = o.styledFloorplan) == null ? void 0 : h.floors.find((C) => C.floorIndex === (s == null ? void 0 : s.floorIndex)) : void 0) && ((I = s == null ? void 0 : s.styledFloorplanPositionInImage) == null ? void 0 : I.guide);
|
|
114
|
+
if (!s)
|
|
115
|
+
t(3, _ = "");
|
|
116
|
+
else if (F)
|
|
117
|
+
t(3, _ = `translate(${Math.floor(F.x * y)}px, ${Math.floor(F.y * b)}px)`);
|
|
118
|
+
else {
|
|
119
|
+
const C = (o.bounding.max.x - o.bounding.min.x) * u, T = (o.bounding.max.y - o.bounding.min.y) * u, q = Math.floor(s.positionInImage.x * C), B = Math.floor(s.positionInImage.y * T);
|
|
120
|
+
t(3, _ = `translate(${q}px, ${B}px)`);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
n.$$.dirty & /*longitude, styledFloor*/
|
|
124
|
+
40960 && t(4, c = R(v, m == null ? void 0 : m.guide.floorplanToImage));
|
|
117
125
|
}, [
|
|
118
|
-
|
|
119
|
-
m,
|
|
120
|
-
b,
|
|
121
|
-
p,
|
|
122
|
-
g,
|
|
123
|
-
u,
|
|
124
|
-
a,
|
|
125
|
-
s,
|
|
126
|
-
n,
|
|
126
|
+
f,
|
|
127
127
|
d,
|
|
128
|
-
|
|
128
|
+
w,
|
|
129
129
|
_,
|
|
130
|
+
c,
|
|
131
|
+
g,
|
|
132
|
+
i,
|
|
133
|
+
u,
|
|
134
|
+
o,
|
|
135
|
+
y,
|
|
136
|
+
b,
|
|
137
|
+
p,
|
|
138
|
+
k,
|
|
139
|
+
v,
|
|
140
|
+
x,
|
|
141
|
+
m,
|
|
130
142
|
r
|
|
131
143
|
];
|
|
132
144
|
}
|
|
133
|
-
class
|
|
134
|
-
constructor(
|
|
135
|
-
super(),
|
|
145
|
+
class re extends G {
|
|
146
|
+
constructor(a) {
|
|
147
|
+
super(), O(
|
|
136
148
|
this,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
149
|
+
a,
|
|
150
|
+
Z,
|
|
151
|
+
Y,
|
|
152
|
+
j,
|
|
141
153
|
{
|
|
142
154
|
five: 6,
|
|
143
155
|
pxmm: 7,
|
|
144
156
|
floorplanData: 8,
|
|
145
157
|
cameraImageUrl: 0,
|
|
146
158
|
cameraSize: 1,
|
|
147
|
-
cameraOffset: 2
|
|
159
|
+
cameraOffset: 2,
|
|
160
|
+
contentWidth: 9,
|
|
161
|
+
contentHeight: 10,
|
|
162
|
+
styledFloorplanEnable: 11
|
|
148
163
|
},
|
|
149
|
-
|
|
164
|
+
X
|
|
150
165
|
);
|
|
151
166
|
}
|
|
152
167
|
}
|
|
153
168
|
export {
|
|
154
|
-
|
|
169
|
+
re as default
|
|
155
170
|
};
|