@realsee/dnalogel 3.64.10-alpha.0 → 3.64.10-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoDoorLabelPlugin/Controller.d.ts +0 -1
- package/dist/Sculpt/Meshes/Polygon.d.ts +3 -1
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +2 -1
- package/dist/index.cjs.js +59 -59
- package/dist/index.js +3724 -3806
- package/dist/index.umd.js +47 -47
- package/dist/shared-utils/three/CSS3DRenderer/index.d.ts +4 -3
- 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/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.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.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.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 +3 -3
- 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/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/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.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.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.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.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.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.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.tag.html +1 -1
- 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/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/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.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/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.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.EventMap.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/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/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/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.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/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.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.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/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 +2 -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/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/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- 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/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.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 +1 -1
- 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/Position.html +1 -1
- package/docs/types/PositionFrom.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/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/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/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.animeMap.html +1 -1
- 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/ModelMakerPlugin/Controller.js +15 -17
- package/libs/ModelMakerPlugin/index.js +3 -5
- package/libs/PanoDoorLabelPlugin/Controller.d.ts +0 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +139 -138
- package/libs/Sculpt/Meshes/Polygon.d.ts +3 -1
- package/libs/Sculpt/Meshes/Polygon.js +41 -42
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +2 -1
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +18 -18
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +146 -149
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/CSS3DRenderer/index.d.ts +4 -3
- package/libs/shared-utils/three/earcut3D.js +1 -1
- package/libs/shared-utils/three/generatePolygonGeometry.js +1 -4
- package/package.json +1 -1
- package/dist/Sculpt/Meshes/Polyhedron.d.ts +0 -26
- package/dist/Sculpt/Meshes/PolyhedronWithEdge.d.ts +0 -31
- package/dist/shared-utils/three/generatePolyhedronGeometry.d.ts +0 -7
- package/libs/Sculpt/Meshes/Polyhedron.d.ts +0 -26
- package/libs/Sculpt/Meshes/Polyhedron.js +0 -49
- package/libs/Sculpt/Meshes/PolyhedronWithEdge.d.ts +0 -31
- package/libs/Sculpt/Meshes/PolyhedronWithEdge.js +0 -66
- package/libs/shared-utils/three/generatePolyhedronGeometry.d.ts +0 -7
- package/libs/shared-utils/three/generatePolyhedronGeometry.js +0 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
1
|
+
var W = Object.defineProperty;
|
|
2
2
|
var T = Object.getOwnPropertySymbols;
|
|
3
3
|
var P = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var b = (l, p, e) => p in l ?
|
|
4
|
+
var b = (l, p, e) => p in l ? W(l, p, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[p] = e, E = (l, p) => {
|
|
5
5
|
for (var e in p || (p = {}))
|
|
6
6
|
P.call(p, e) && b(l, e, p[e]);
|
|
7
7
|
if (T)
|
|
@@ -31,7 +31,7 @@ import * as d from "three";
|
|
|
31
31
|
import { ModelMakerBoxItem as j } from "./item/boxItem.js";
|
|
32
32
|
import { PrismMesh as F } from "../Sculpt/Meshes/Prism.js";
|
|
33
33
|
import { anyPositionToVector3 as L } from "../shared-utils/positionToVector3.js";
|
|
34
|
-
import {
|
|
34
|
+
import { PolygonWithEdgeMesh as A } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
35
35
|
import "../shared-utils/tag.js";
|
|
36
36
|
import "../vendor/hammerjs/hammer.js";
|
|
37
37
|
import "../shared-utils/three/PointSelector/index.js";
|
|
@@ -39,9 +39,9 @@ import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
|
39
39
|
import { waitFiveModelLoaded as H } from "../shared-utils/five/fiveModelLoad.js";
|
|
40
40
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
41
41
|
import "@realsee/five/line";
|
|
42
|
-
import { notNil as
|
|
42
|
+
import { notNil as g } from "../shared-utils/isNil.js";
|
|
43
43
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
44
|
-
import { boxVertex as
|
|
44
|
+
import { boxVertex as y } from "../shared-utils/three/boundingBox.js";
|
|
45
45
|
import "../vendor/animejs/lib/anime.es.js";
|
|
46
46
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
47
47
|
import "../shared-utils/five/FivePuppet.js";
|
|
@@ -88,11 +88,9 @@ import "../Sculpt/Meshes/Polyline.js";
|
|
|
88
88
|
import "../Sculpt/Meshes/LineWithDots.js";
|
|
89
89
|
import "../Sculpt/Meshes/Point.js";
|
|
90
90
|
import "../shared-utils/three/closeVectors.js";
|
|
91
|
-
import "../Sculpt/Meshes/Polyhedron.js";
|
|
92
91
|
import "../Sculpt/Meshes/Polygon.js";
|
|
93
92
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
94
93
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
95
|
-
import "../shared-utils/three/generatePolyhedronGeometry.js";
|
|
96
94
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
97
95
|
import "../shared-utils/three/temp.js";
|
|
98
96
|
import "../shared-utils/dom/resizeObserver.js";
|
|
@@ -124,7 +122,7 @@ import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
|
124
122
|
import "../shared-utils/math/rad2Deg.js";
|
|
125
123
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
126
124
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
127
|
-
class
|
|
125
|
+
class St extends D {
|
|
128
126
|
constructor(e, s) {
|
|
129
127
|
var a, i;
|
|
130
128
|
super(e);
|
|
@@ -207,7 +205,7 @@ class jt extends D {
|
|
|
207
205
|
var n;
|
|
208
206
|
if (i.type === "triangles") {
|
|
209
207
|
const o = new A();
|
|
210
|
-
|
|
208
|
+
g(i.id) && (o.uuid = i.id.toString()), o.setPoints(i.object_data.points, { checkLinesIntersect: !1 }), o.setStyle(s(i)), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
|
|
211
209
|
const t = new B({
|
|
212
210
|
five: this.five,
|
|
213
211
|
tagWrapper: this.tagWrapper,
|
|
@@ -219,7 +217,7 @@ class jt extends D {
|
|
|
219
217
|
this.items.push(t);
|
|
220
218
|
} else if (i.type === "prism") {
|
|
221
219
|
const o = new F();
|
|
222
|
-
|
|
220
|
+
g(i.id) && (o.uuid = i.id.toString()), this.zFightingOffset += Q.Z_FIGHTING_OFFSET;
|
|
223
221
|
const t = i.object_data.points.map((m) => {
|
|
224
222
|
var v;
|
|
225
223
|
return [m[0], m[1] + ((v = i.object_data.fixedY) != null ? v : 0), m[2]];
|
|
@@ -238,13 +236,13 @@ class jt extends D {
|
|
|
238
236
|
this.items.push(u);
|
|
239
237
|
} else if (i.type === "box") {
|
|
240
238
|
const o = new F();
|
|
241
|
-
|
|
239
|
+
g(i.id) && (o.uuid = i.id.toString());
|
|
242
240
|
const { start: t, end: r, rotation: c = [0, 0, 0, 0] } = i.object_data, u = new d.Vector3().fromArray(t), m = new d.Vector3().fromArray(r), v = new d.Euler().fromArray(c), R = new d.Quaternion().setFromEuler(v), M = R.clone().inverse(), _ = new d.Vector3().lerpVectors(u, m, 0.5), C = _.clone().negate(), x = u.clone().add(C).applyQuaternion(M), V = m.clone().add(C).applyQuaternion(M), f = new d.Box3(x.clone().max(V), x.clone().min(V));
|
|
243
241
|
o.setPoints({
|
|
244
|
-
points: [
|
|
245
|
-
heightPoint:
|
|
242
|
+
points: [y(f, 2), y(f, 3), y(f, 7), y(f, 6)],
|
|
243
|
+
heightPoint: y(f, 1)
|
|
246
244
|
}), o.position.copy(_), o.quaternion.copy(R), o.setStyle(s(i));
|
|
247
|
-
const
|
|
245
|
+
const k = new j({
|
|
248
246
|
five: this.five,
|
|
249
247
|
tagWrapper: this.tagWrapper,
|
|
250
248
|
model: o,
|
|
@@ -252,13 +250,13 @@ class jt extends D {
|
|
|
252
250
|
type: i.type,
|
|
253
251
|
rawData: i
|
|
254
252
|
});
|
|
255
|
-
this.items.push(
|
|
253
|
+
this.items.push(k);
|
|
256
254
|
}
|
|
257
255
|
}), this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e), this.five.needsRender = !0;
|
|
258
256
|
});
|
|
259
257
|
}
|
|
260
258
|
setState(e) {
|
|
261
|
-
|
|
259
|
+
g(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), g(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
|
|
262
260
|
}
|
|
263
261
|
getItemById(e) {
|
|
264
262
|
return this.items.find((s) => s.rawData.id === e);
|
|
@@ -298,5 +296,5 @@ class jt extends D {
|
|
|
298
296
|
}
|
|
299
297
|
}
|
|
300
298
|
export {
|
|
301
|
-
|
|
299
|
+
St as Controller
|
|
302
300
|
};
|
|
@@ -77,16 +77,14 @@ import "../shared-utils/three/earcut3D.js";
|
|
|
77
77
|
import "../vendor/earcut/src/earcut.js";
|
|
78
78
|
import "../shared-utils/three/getNormal.js";
|
|
79
79
|
import "../shared-utils/three/geometryUtil.js";
|
|
80
|
-
import "../Sculpt/Meshes/
|
|
80
|
+
import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
81
81
|
import "../Sculpt/Meshes/Polyline.js";
|
|
82
82
|
import "../Sculpt/Meshes/LineWithDots.js";
|
|
83
83
|
import "../Sculpt/Meshes/Point.js";
|
|
84
84
|
import "../shared-utils/three/closeVectors.js";
|
|
85
|
-
import "../Sculpt/Meshes/Polyhedron.js";
|
|
86
85
|
import "../Sculpt/Meshes/Polygon.js";
|
|
87
86
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
88
87
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
89
|
-
import "../shared-utils/three/generatePolyhedronGeometry.js";
|
|
90
88
|
import "./utils/tagRenderer.js";
|
|
91
89
|
import "./utils/Text.js";
|
|
92
90
|
import "../vendor/svelte/internal/index.js";
|
|
@@ -97,7 +95,7 @@ import "./item/prismItem.js";
|
|
|
97
95
|
import "./item/polygonItem.js";
|
|
98
96
|
import "../CruisePlugin/utils/sleep.js";
|
|
99
97
|
import "../shared-utils/constants.js";
|
|
100
|
-
const
|
|
98
|
+
const Uo = (...o) => new r(...o);
|
|
101
99
|
export {
|
|
102
|
-
|
|
100
|
+
Uo as ModelMakerPlugin
|
|
103
101
|
};
|
|
@@ -13,7 +13,6 @@ export declare class PanoDoorLabelPluginController extends BasePlugin.Controller
|
|
|
13
13
|
private MinVisibledistance;
|
|
14
14
|
private MaxVisibledistance;
|
|
15
15
|
private OffsetHeight;
|
|
16
|
-
private rooms;
|
|
17
16
|
private floorplanServerData;
|
|
18
17
|
/** 每个点位 visible 标签的缓存 */
|
|
19
18
|
private visibleLabelMap;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
var N = Object.defineProperty, Q = Object.defineProperties;
|
|
2
2
|
var j = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var O = Object.getOwnPropertySymbols;
|
|
4
4
|
var R = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var t in
|
|
7
|
-
R.call(
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
$.call(
|
|
11
|
-
return
|
|
12
|
-
}, U = (
|
|
13
|
-
var B = (
|
|
5
|
+
var L = (a, l, t) => l in a ? N(a, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[l] = t, E = (a, l) => {
|
|
6
|
+
for (var t in l || (l = {}))
|
|
7
|
+
R.call(l, t) && L(a, t, l[t]);
|
|
8
|
+
if (O)
|
|
9
|
+
for (var t of O(l))
|
|
10
|
+
$.call(l, t) && L(a, t, l[t]);
|
|
11
|
+
return a;
|
|
12
|
+
}, U = (a, l) => Q(a, j(l));
|
|
13
|
+
var B = (a, l) => {
|
|
14
14
|
var t = {};
|
|
15
|
-
for (var i in
|
|
16
|
-
R.call(
|
|
17
|
-
if (
|
|
18
|
-
for (var i of
|
|
19
|
-
|
|
15
|
+
for (var i in a)
|
|
16
|
+
R.call(a, i) && l.indexOf(i) < 0 && (t[i] = a[i]);
|
|
17
|
+
if (a != null && O)
|
|
18
|
+
for (var i of O(a))
|
|
19
|
+
l.indexOf(i) < 0 && $.call(a, i) && (t[i] = a[i]);
|
|
20
20
|
return t;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
23
|
-
import { Raycaster as q, Vector3 as
|
|
22
|
+
var f = (a, l, t) => (L(a, typeof l != "symbol" ? l + "" : l, t), t);
|
|
23
|
+
import { Raycaster as q, Vector3 as A, Quaternion as X, Euler as G } from "three";
|
|
24
24
|
import { Controller as Y } from "../base/BasePlugin.js";
|
|
25
25
|
import Z from "./DoorLabelItem.js";
|
|
26
26
|
import { getCameraToward as J, isTwoRectOverlaped as K, getDistance as tt, getToward as it } from "./utils.js";
|
|
@@ -90,76 +90,75 @@ const ot = { userAction: !0 };
|
|
|
90
90
|
class ui extends Y {
|
|
91
91
|
constructor(t) {
|
|
92
92
|
super(t);
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
f(this, "state", { enabled: !0, visible: !0 });
|
|
94
|
+
f(this, "container");
|
|
95
|
+
f(this, "MinVisibledistance", 1.8);
|
|
96
|
+
f(this, "MaxVisibledistance", 5);
|
|
97
|
+
f(this, "OffsetHeight", -1.3);
|
|
98
98
|
// 标签页面高度偏移值
|
|
99
|
-
|
|
100
|
-
c(this, "floorplanServerData");
|
|
99
|
+
f(this, "floorplanServerData");
|
|
101
100
|
/** 每个点位 visible 标签的缓存 */
|
|
102
|
-
|
|
101
|
+
f(this, "visibleLabelMap", /* @__PURE__ */ new Map());
|
|
103
102
|
/** 标签项Prop值 */
|
|
104
|
-
|
|
103
|
+
f(this, "labelItems", []);
|
|
105
104
|
/** 数据 */
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
f(this, "doorLabels");
|
|
106
|
+
f(this, "roomObservers");
|
|
107
|
+
f(this, "loadData", (t, i) => {
|
|
109
108
|
i && (this.MaxVisibledistance = i.MaxVisibledistance, this.MinVisibledistance = i.MinVisibledistance, this.OffsetHeight = i.OffsetHeight), this.labelItems = [], this.doorLabels = [], this.floorplanServerData = t, et(this.five).then(() => {
|
|
110
109
|
this.initData(), this.fixDoorVisibleAndPosition(), this.applyState();
|
|
111
110
|
});
|
|
112
111
|
});
|
|
113
|
-
|
|
114
|
-
var t, i,
|
|
115
|
-
(t = this.five) == null || t.off("wantsToMoveToPano", this.hideAllLabels), (i = this.five) == null || i.off("modelLoaded", this.fixDoorVisibleAndPosition), (
|
|
112
|
+
f(this, "dispose", () => {
|
|
113
|
+
var t, i, r, o, n, s, e;
|
|
114
|
+
(t = this.five) == null || t.off("wantsToMoveToPano", this.hideAllLabels), (i = this.five) == null || i.off("modelLoaded", this.fixDoorVisibleAndPosition), (r = this.five) == null || r.off("panoArrived", this.fixDoorVisibleAndPosition), (o = this.five) == null || o.off("initAnimationEnded", this.fixDoorPosition), (n = this.five) == null || n.off("cameraUpdate", this.fixDoorPosition), (s = this.five) == null || s.off("mouseWheel", this.fixDoorPosition), (e = this.five) == null || e.off("pinchGesture", this.fixDoorPosition), this.applyState({ enabled: !1 });
|
|
116
115
|
});
|
|
117
|
-
|
|
118
|
-
var
|
|
119
|
-
const t = this.floorplanServerData.computed_data.floor_datas || [],
|
|
120
|
-
const
|
|
121
|
-
if (
|
|
122
|
-
const
|
|
123
|
-
if (
|
|
124
|
-
return { panoIndex:
|
|
116
|
+
f(this, "initRoomObservers", () => {
|
|
117
|
+
var o, n;
|
|
118
|
+
const t = this.floorplanServerData.computed_data.floor_datas || [], r = (((n = (o = this.five) == null ? void 0 : o.work) == null ? void 0 : n.observers) || []).map((s) => {
|
|
119
|
+
const e = s.panoIndex, b = s.floorIndex, c = t == null ? void 0 : t.find((h) => h.floor_index === b);
|
|
120
|
+
if (c) {
|
|
121
|
+
const h = c.rooms.find((m) => m.observer_indexs.includes(e));
|
|
122
|
+
if (h)
|
|
123
|
+
return { panoIndex: e, floorIndex: b, name: h.name };
|
|
125
124
|
}
|
|
126
125
|
}).filter(Boolean);
|
|
127
|
-
this.roomObservers =
|
|
126
|
+
this.roomObservers = r;
|
|
128
127
|
});
|
|
129
|
-
|
|
128
|
+
f(this, "hideAllLabels", () => {
|
|
130
129
|
this.labelItems.forEach((t) => {
|
|
131
130
|
t.visible = !1, t.inSight = !1;
|
|
132
131
|
});
|
|
133
132
|
});
|
|
134
|
-
|
|
133
|
+
f(this, "fixDoorVisibleAndPosition", () => {
|
|
135
134
|
this.initRoomObservers();
|
|
136
135
|
const { panoIndex: t } = this.five;
|
|
137
|
-
if (!this.state.visible || this.five.model.empty || t === null || !this.roomObservers.find((
|
|
136
|
+
if (!this.state.visible || this.five.model.empty || t === null || !this.roomObservers.find((s) => s.panoIndex === t))
|
|
138
137
|
return;
|
|
139
|
-
const i = this.roomObservers.find((
|
|
138
|
+
const i = this.roomObservers.find((s) => s.panoIndex === t), o = this.five.work.observers.find((s) => s.panoIndex === t).position.clone(), n = (() => {
|
|
140
139
|
if (this.visibleLabelMap.has(t))
|
|
141
140
|
return this.visibleLabelMap.get(t);
|
|
142
141
|
{
|
|
143
|
-
const
|
|
144
|
-
return this.doorLabels.forEach((
|
|
145
|
-
if (
|
|
142
|
+
const s = [];
|
|
143
|
+
return this.doorLabels.forEach((e, b) => {
|
|
144
|
+
if (e.roomName === i.name)
|
|
146
145
|
return;
|
|
147
|
-
const
|
|
148
|
-
if (
|
|
146
|
+
const c = e.position.clone(), h = c.distanceTo(o);
|
|
147
|
+
if (h < this.MinVisibledistance || h > this.MaxVisibledistance)
|
|
149
148
|
return;
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
const [
|
|
153
|
-
|
|
154
|
-
}), this.visibleLabelMap.set(t,
|
|
149
|
+
const m = new q(), d = c.clone().sub(o).normalize();
|
|
150
|
+
m.set(o, d);
|
|
151
|
+
const [v] = this.five.model.intersectRaycaster(m);
|
|
152
|
+
v && v.distance + 0.1 < h || s.push(b);
|
|
153
|
+
}), this.visibleLabelMap.set(t, s), s;
|
|
155
154
|
}
|
|
156
155
|
})();
|
|
157
|
-
this.labelItems.forEach((
|
|
158
|
-
|
|
156
|
+
this.labelItems.forEach((s, e) => {
|
|
157
|
+
s.visible = n.includes(e);
|
|
159
158
|
}), this.fixDoorPosition();
|
|
160
159
|
});
|
|
161
|
-
|
|
162
|
-
var
|
|
160
|
+
f(this, "fixDoorPosition", () => {
|
|
161
|
+
var b, c, h, m, d, v, x, _, k, H, W, z;
|
|
163
162
|
if (!this.state.enabled || !this.state.visible)
|
|
164
163
|
return;
|
|
165
164
|
const { panoIndex: t, camera: i } = this.five;
|
|
@@ -167,86 +166,88 @@ class ui extends Y {
|
|
|
167
166
|
return;
|
|
168
167
|
if (this.five.currentMode !== "Panorama")
|
|
169
168
|
return this.hideAllLabels();
|
|
170
|
-
const
|
|
171
|
-
if (this.labelItems.forEach((
|
|
172
|
-
var
|
|
173
|
-
if (
|
|
174
|
-
const
|
|
175
|
-
|
|
169
|
+
const r = this.five.getElement(), o = r.clientWidth, n = r.clientHeight, s = i.getWorldDirection(new A()), e = [];
|
|
170
|
+
if (this.labelItems.forEach((p, u) => {
|
|
171
|
+
var I;
|
|
172
|
+
if (p.visible) {
|
|
173
|
+
const g = i.position.distanceTo(p.position), S = p.position.clone().add(new A(0, this.OffsetHeight, 0)), w = S.clone().sub(i.position).normalize().angleTo(s), y = S.clone().project(i), P = (y.x + 1) / 2.2 * 100, T = (-y.y + 1) / 2.2 * 100, F = P >= 0 && P <= 100 && T >= 0 && T <= 100 && g > this.MinVisibledistance && g <= this.MaxVisibledistance;
|
|
174
|
+
p.left = P, p.top = T, p.inSight = F && w < Math.PI / 2, p.cameraToward = J(this.five), F ? e.push({ disFromCameraToLabel: g, left: P, top: T, index: u }) : p.transform = "translate(-50%, -50%)";
|
|
176
175
|
} else
|
|
177
|
-
|
|
178
|
-
const
|
|
179
|
-
(
|
|
180
|
-
}),
|
|
181
|
-
let
|
|
182
|
-
|
|
183
|
-
for (let u = 1; u <
|
|
184
|
-
const { index:
|
|
185
|
-
if (!
|
|
176
|
+
p.inSight = !1;
|
|
177
|
+
const M = p, { svelteApp: D } = M, C = B(M, ["svelteApp"]);
|
|
178
|
+
(I = p.svelteApp) == null || I.$set({ props: C });
|
|
179
|
+
}), e.length > 1) {
|
|
180
|
+
let p = 0;
|
|
181
|
+
e.sort((u, D) => D.disFromCameraToLabel - u.disFromCameraToLabel);
|
|
182
|
+
for (let u = 1; u < e.length; u++) {
|
|
183
|
+
const { index: D, left: C, top: M } = e[u - 1], { index: I, left: g, top: S } = e[u], V = this.container.children[D], w = this.container.children[I];
|
|
184
|
+
if (!V || !w)
|
|
186
185
|
return;
|
|
187
|
-
const
|
|
188
|
-
left:
|
|
189
|
-
top:
|
|
190
|
-
width: (
|
|
191
|
-
height: (
|
|
192
|
-
},
|
|
193
|
-
left:
|
|
194
|
-
top:
|
|
195
|
-
width: (
|
|
196
|
-
height: (z = (W = (
|
|
186
|
+
const y = {
|
|
187
|
+
left: o * C / 100,
|
|
188
|
+
top: n * M / 100,
|
|
189
|
+
width: (h = (c = (b = V.children) == null ? void 0 : b[0]) == null ? void 0 : c.clientWidth) != null ? h : 0,
|
|
190
|
+
height: (v = (d = (m = V.children) == null ? void 0 : m[0]) == null ? void 0 : d.clientHeight) != null ? v : 0
|
|
191
|
+
}, P = {
|
|
192
|
+
left: o * g / 100,
|
|
193
|
+
top: n * S / 100,
|
|
194
|
+
width: (k = (_ = (x = w.children) == null ? void 0 : x[0]) == null ? void 0 : _.clientWidth) != null ? k : 0,
|
|
195
|
+
height: (z = (W = (H = w.children) == null ? void 0 : H[0]) == null ? void 0 : W.clientHeight) != null ? z : 0
|
|
197
196
|
};
|
|
198
|
-
K(
|
|
197
|
+
K(y, P) && (p++, this.labelItems[D].transform = `translate(-50%, ${(p - 1) * 100 - 50}%)`, this.labelItems[I].transform = `translate(-50%, ${p * 100 - 50}%)`);
|
|
199
198
|
}
|
|
200
199
|
}
|
|
201
200
|
});
|
|
202
|
-
|
|
201
|
+
f(this, "onClick", (t, i) => {
|
|
203
202
|
if (!this.roomObservers)
|
|
204
203
|
return;
|
|
205
|
-
const { work:
|
|
206
|
-
let
|
|
207
|
-
for (const
|
|
208
|
-
if (this.roomObservers.find((
|
|
209
|
-
const
|
|
210
|
-
|
|
204
|
+
const { work: r } = this.five;
|
|
205
|
+
let o, n, s = 1 / 0;
|
|
206
|
+
for (const e of r.observers)
|
|
207
|
+
if (this.roomObservers.find((c) => c.panoIndex === e.panoIndex && c.name === t)) {
|
|
208
|
+
const c = e.standingPosition, h = i.distanceTo(c);
|
|
209
|
+
h < s && (o = e.panoIndex, n = c.clone().sub(i).normalize(), s = h);
|
|
211
210
|
}
|
|
212
|
-
if (
|
|
213
|
-
const
|
|
214
|
-
if (
|
|
215
|
-
const
|
|
216
|
-
|
|
217
|
-
const
|
|
218
|
-
|
|
211
|
+
if (n !== null && o !== null) {
|
|
212
|
+
const e = {};
|
|
213
|
+
if (s > 0) {
|
|
214
|
+
const c = new A(0, 0, -1), h = n.clone(), m = new X();
|
|
215
|
+
m.setFromUnitVectors(c, h);
|
|
216
|
+
const d = new G();
|
|
217
|
+
d.setFromQuaternion(m, "YXZ"), e.longitude = d.y;
|
|
219
218
|
}
|
|
220
|
-
this.five.emit("wantsToMoveToPano",
|
|
219
|
+
this.five.emit("wantsToMoveToPano", o, {}, !0) || this.five.moveToPano(o, { longitude: e.longitude });
|
|
221
220
|
}
|
|
222
221
|
});
|
|
223
|
-
|
|
224
|
-
var
|
|
225
|
-
this.doorLabels = []
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
b
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
222
|
+
f(this, "initData", () => {
|
|
223
|
+
var o;
|
|
224
|
+
this.doorLabels = [], this.labelItems.forEach((n) => {
|
|
225
|
+
var s;
|
|
226
|
+
return (s = n.svelteApp) == null ? void 0 : s.$destroy();
|
|
227
|
+
}), this.labelItems = [];
|
|
228
|
+
const t = this.five.panoIndex, i = this.floorplanServerData.computed_data.observers[t].floor_index, r = this.floorplanServerData.computed_data.floor_datas[i];
|
|
229
|
+
(o = this.floorplanServerData.computed_data.doors) == null || o.forEach((n) => {
|
|
230
|
+
const s = this.five.work.observers.filter((m, d) => {
|
|
231
|
+
var v;
|
|
232
|
+
return !!((v = r == null ? void 0 : r.rooms) != null && v.find((x) => x.observer_indexs.includes(d)));
|
|
233
|
+
}), e = n.position;
|
|
234
|
+
let b = 1 / 0, c;
|
|
235
|
+
s.forEach((m) => {
|
|
236
|
+
const d = m.standingPosition, v = {
|
|
237
|
+
x: d.x,
|
|
238
|
+
y: d.y,
|
|
239
|
+
z: d.z
|
|
240
|
+
}, x = tt(e, v);
|
|
241
|
+
x < b && (b = x, c = v);
|
|
242
|
+
}), c && (e.y = c.y + 0.01);
|
|
243
|
+
const h = new A(e.x, e.y, e.z);
|
|
244
|
+
h.add(new A(-0.2, 1.8, 0).applyEuler(new G(0, n.rad, 0))), this.doorLabels.push({
|
|
245
|
+
roomName: n.name,
|
|
246
|
+
name: n.name,
|
|
247
|
+
position: h,
|
|
248
|
+
toward: it(n.rad)
|
|
248
249
|
});
|
|
249
|
-
}), this.labelItems = this.doorLabels.map((
|
|
250
|
+
}), this.labelItems = this.doorLabels.map((n) => U(E({}, n), {
|
|
250
251
|
left: 0,
|
|
251
252
|
top: 0,
|
|
252
253
|
visible: !1,
|
|
@@ -260,10 +261,10 @@ class ui extends Y {
|
|
|
260
261
|
this.state.enabled && (this.container = t);
|
|
261
262
|
}
|
|
262
263
|
setState(t, i) {
|
|
263
|
-
const
|
|
264
|
-
this.state =
|
|
265
|
-
const
|
|
266
|
-
|
|
264
|
+
const r = this.state;
|
|
265
|
+
this.state = E(E({}, r), t);
|
|
266
|
+
const o = r.enabled && r.visible, n = this.state.enabled && this.state.visible;
|
|
267
|
+
o !== n && this.applyState();
|
|
267
268
|
}
|
|
268
269
|
show() {
|
|
269
270
|
this.setState({ visible: !0 });
|
|
@@ -279,28 +280,28 @@ class ui extends Y {
|
|
|
279
280
|
}
|
|
280
281
|
stateChangedCallback(t, i) {
|
|
281
282
|
if (this.hooks.hasListener("stateChange")) {
|
|
282
|
-
const
|
|
283
|
+
const r = {
|
|
283
284
|
state: this.state,
|
|
284
285
|
prevState: t,
|
|
285
286
|
userAction: i ? i.userAction : ot.userAction
|
|
286
287
|
};
|
|
287
|
-
this.hooks.emit("stateChange",
|
|
288
|
+
this.hooks.emit("stateChange", r);
|
|
288
289
|
}
|
|
289
290
|
}
|
|
290
291
|
applyState(t) {
|
|
291
292
|
const i = t != null ? t : this.state;
|
|
292
|
-
i.enabled !== !1 && i.visible !== !1 ? (this.labelItems.forEach((
|
|
293
|
-
|
|
293
|
+
i.enabled !== !1 && i.visible !== !1 ? (this.labelItems.forEach((o) => {
|
|
294
|
+
o.svelteApp = new Z({
|
|
294
295
|
target: this.container,
|
|
295
296
|
props: {
|
|
296
|
-
props:
|
|
297
|
+
props: o,
|
|
297
298
|
onClick: () => {
|
|
298
|
-
this.onClick(
|
|
299
|
+
this.onClick(o.name, o.position);
|
|
299
300
|
}
|
|
300
301
|
}
|
|
301
302
|
});
|
|
302
|
-
}), this.fixDoorPosition()) : this.labelItems.forEach((
|
|
303
|
-
|
|
303
|
+
}), this.fixDoorPosition()) : this.labelItems.forEach((o) => {
|
|
304
|
+
o.svelteApp.$destroy();
|
|
304
305
|
});
|
|
305
306
|
}
|
|
306
307
|
initState() {
|
|
@@ -37,7 +37,9 @@ export declare class PolygonMesh extends ColoredMesh<THREE.BufferGeometry> {
|
|
|
37
37
|
constructor(params?: Partial<PolygonStyle & PolygonData>);
|
|
38
38
|
updateMatrixWorld(force?: boolean): void;
|
|
39
39
|
setStyle(params: Partial<ColoredMeshStyle>): void;
|
|
40
|
-
setPoints(points: AnyPositions
|
|
40
|
+
setPoints(points: AnyPositions, config?: {
|
|
41
|
+
checkLinesIntersect?: boolean;
|
|
42
|
+
}): void;
|
|
41
43
|
/**
|
|
42
44
|
* @description: 获取一个点投影在当前平面上的点
|
|
43
45
|
*/
|