@realsee/dnalogel 3.61.13 → 3.61.15
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 +8 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.js +27 -22
- package/dist/index.umd.js +5 -5
- 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 +10 -10
- 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 +4 -4
- 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/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.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.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/GuideLinePluginType.RouteConfig.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/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/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/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/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.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 +44 -43
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +54 -50
- package/libs/Sculpt/Meshes/Line.js +36 -36
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var G = Object.defineProperty, K = Object.defineProperties;
|
|
2
2
|
var Q = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var C = Object.getOwnPropertySymbols;
|
|
4
4
|
var D = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var k = Math.pow, M = (c, i, e) => i in c ? G(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e, p = (c, i) => {
|
|
6
6
|
for (var e in i || (i = {}))
|
|
7
7
|
D.call(i, e) && M(c, e, i[e]);
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
8
|
+
if (C)
|
|
9
|
+
for (var e of C(i))
|
|
10
10
|
j.call(i, e) && M(c, e, i[e]);
|
|
11
11
|
return c;
|
|
12
12
|
}, w = (c, i) => K(c, Q(i));
|
|
@@ -14,13 +14,13 @@ var A = (c, i) => {
|
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var t in c)
|
|
16
16
|
D.call(c, t) && i.indexOf(t) < 0 && (e[t] = c[t]);
|
|
17
|
-
if (c != null &&
|
|
18
|
-
for (var t of
|
|
17
|
+
if (c != null && C)
|
|
18
|
+
for (var t of C(c))
|
|
19
19
|
i.indexOf(t) < 0 && j.call(c, t) && (e[t] = c[t]);
|
|
20
20
|
return e;
|
|
21
21
|
};
|
|
22
22
|
var f = (c, i, e) => (M(c, typeof i != "symbol" ? i + "" : i, e), e);
|
|
23
|
-
var
|
|
23
|
+
var P = (c, i, e) => new Promise((t, r) => {
|
|
24
24
|
var s = (n) => {
|
|
25
25
|
try {
|
|
26
26
|
o(e.next(n));
|
|
@@ -40,7 +40,7 @@ import { Subscribe as Y } from "../../../shared-utils/Subscribe.js";
|
|
|
40
40
|
import { calculateTagConfig as U } from "../../utils/tag/calculateTagConfig.js";
|
|
41
41
|
import { getTagStickType as ee } from "../../utils/tag/format.js";
|
|
42
42
|
import "../../../shared-utils/tag.js";
|
|
43
|
-
import { isPanoramaLike as T, isModelLike as
|
|
43
|
+
import { isPanoramaLike as T, isModelLike as x } from "../../../shared-utils/five/mode.js";
|
|
44
44
|
import * as B from "three";
|
|
45
45
|
import "../../../vendor/hammerjs/hammer.js";
|
|
46
46
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
@@ -60,9 +60,9 @@ import { lookPoint as re } from "../../../shared-utils/five/lookPoint.js";
|
|
|
60
60
|
import { uuid as le } from "../../../shared-utils/uuid.js";
|
|
61
61
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
62
62
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
63
|
-
import { objectAssignDeepExports as
|
|
63
|
+
import { objectAssignDeepExports as y } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
64
64
|
import { getTagPosition as $, getTagCenterPosition as z } from "../../utils/tagPosition.js";
|
|
65
|
-
import { checkRange as
|
|
65
|
+
import { checkRange as I } from "../../utils/checkRange.js";
|
|
66
66
|
import { isMediaPlaneTag as ae, isMediaModelTag as S } from "../../utils/tag/tagCheck.js";
|
|
67
67
|
import { getUrlExt as N } from "../../../shared-utils/url/getUrl.js";
|
|
68
68
|
import { getFloorIndex as fe } from "../../../shared-utils/five/getFloorIndex.js";
|
|
@@ -166,7 +166,7 @@ class Ri {
|
|
|
166
166
|
const r = JSON.parse(JSON.stringify(e.data)), s = (n = e.initialConfig) != null ? n : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
|
|
167
167
|
e.initialConfig = s;
|
|
168
168
|
const l = U(e, i.config), o = this.getConfig(e);
|
|
169
|
-
e.config = o, this.id = (d = e.id) != null ? d : le(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = o.initialData) != null && u.important ?
|
|
169
|
+
e.config = o, this.id = (d = e.id) != null ? d : le(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = o.initialData) != null && u.important ? y(e.data, r, o.initialData) : y(e.data, o.initialData, r), this.state = p({
|
|
170
170
|
visible: void 0,
|
|
171
171
|
unfolded: !this.can("fold")
|
|
172
172
|
}, o.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
|
|
@@ -174,7 +174,7 @@ class Ri {
|
|
|
174
174
|
if (!a)
|
|
175
175
|
return;
|
|
176
176
|
const m = i.workUtil.transform;
|
|
177
|
-
return Array.isArray(a) && a.length === 4 ? a.map(O).map((
|
|
177
|
+
return Array.isArray(a) && a.length === 4 ? a.map(O).map((g) => L(g, m).toArray()) : L(O(a), m).toArray();
|
|
178
178
|
})(), this.matrix = e.matrix ? (() => {
|
|
179
179
|
const a = new B.Matrix4().fromArray(e.matrix);
|
|
180
180
|
return a.premultiply(i.workUtil.transform), a.elements;
|
|
@@ -220,7 +220,7 @@ class Ri {
|
|
|
220
220
|
* @description 找到标签
|
|
221
221
|
*/
|
|
222
222
|
find(i) {
|
|
223
|
-
return
|
|
223
|
+
return P(this, null, function* () {
|
|
224
224
|
var r;
|
|
225
225
|
const e = this.fiveState;
|
|
226
226
|
if (!this.fiveState)
|
|
@@ -231,7 +231,7 @@ class Ri {
|
|
|
231
231
|
if (R(s))
|
|
232
232
|
return this;
|
|
233
233
|
const l = this.workUtil.getObserverPosition(s), o = this.centerPosition.clone().sub(l).normalize();
|
|
234
|
-
this.five.setState(
|
|
234
|
+
this.five.setState(p({
|
|
235
235
|
mode: "Panorama",
|
|
236
236
|
workCode: this.workUtil.workCode,
|
|
237
237
|
panoIndex: s
|
|
@@ -245,11 +245,11 @@ class Ri {
|
|
|
245
245
|
* @description 闪烁
|
|
246
246
|
*/
|
|
247
247
|
blink(i) {
|
|
248
|
-
return
|
|
248
|
+
return P(this, null, function* () {
|
|
249
249
|
var o, n, d, h;
|
|
250
250
|
yield this.ready();
|
|
251
251
|
const e = (o = this.enabled) != null ? o : !0, t = (n = this.state) == null ? void 0 : n.visible, r = e && t;
|
|
252
|
-
r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" ? yield new Promise((u) =>
|
|
252
|
+
r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" ? yield new Promise((u) => P(this, null, function* () {
|
|
253
253
|
if (this.dom || this.contentDom) {
|
|
254
254
|
u();
|
|
255
255
|
return;
|
|
@@ -257,7 +257,7 @@ class Ri {
|
|
|
257
257
|
const a = setInterval(() => {
|
|
258
258
|
(this.dom || this.contentDom) && (u(), clearInterval(a));
|
|
259
259
|
}, 16.7);
|
|
260
|
-
})) : this.stickType === "Model" && !((d = this.model) != null && d.object) ? yield (h = this.model) == null ? void 0 : h.promise : this.stickType === "Plane" && (yield new Promise((u) =>
|
|
260
|
+
})) : this.stickType === "Model" && !((d = this.model) != null && d.object) ? yield (h = this.model) == null ? void 0 : h.promise : this.stickType === "Plane" && (yield new Promise((u) => P(this, null, function* () {
|
|
261
261
|
if (this.mediaPlane) {
|
|
262
262
|
u();
|
|
263
263
|
return;
|
|
@@ -275,7 +275,7 @@ class Ri {
|
|
|
275
275
|
console.warn("tagDom is empty");
|
|
276
276
|
return;
|
|
277
277
|
}
|
|
278
|
-
yield (r ? se : ne)(s,
|
|
278
|
+
yield (r ? se : ne)(s, p({
|
|
279
279
|
begin: () => {
|
|
280
280
|
r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
281
281
|
},
|
|
@@ -329,7 +329,7 @@ class Ri {
|
|
|
329
329
|
* @param deepMerge 是否深度合并 data,默认为 true
|
|
330
330
|
*/
|
|
331
331
|
setData(i, e = !0) {
|
|
332
|
-
e ? this.data =
|
|
332
|
+
e ? this.data = y(this.data, i) : this.data = p(p({}, this.data), i), this.hooks.emit("dataChanged", this.data);
|
|
333
333
|
}
|
|
334
334
|
/**
|
|
335
335
|
* @description 修改标签位置
|
|
@@ -342,7 +342,7 @@ class Ri {
|
|
|
342
342
|
* @param deepMerge 是否深度合并 data,默认为 true
|
|
343
343
|
*/
|
|
344
344
|
set(i, e = !0) {
|
|
345
|
-
this.plugin.tagsLengthWillUpdate = !0, e ?
|
|
345
|
+
this.plugin.tagsLengthWillUpdate = !0, e ? y(this, i) : Object.assign(this, i), this.cache.clear();
|
|
346
346
|
}
|
|
347
347
|
updateConfig() {
|
|
348
348
|
var t;
|
|
@@ -351,7 +351,7 @@ class Ri {
|
|
|
351
351
|
const e = this.getConfig();
|
|
352
352
|
if (this.config = e, this.config.initialData) {
|
|
353
353
|
const r = JSON.parse(JSON.stringify(this.data));
|
|
354
|
-
this.data = (t = e.initialData) != null && t.important ?
|
|
354
|
+
this.data = (t = e.initialData) != null && t.important ? y(this.data, r, e.initialData) : y(this.data, e.initialData, r);
|
|
355
355
|
}
|
|
356
356
|
this.cache.clear();
|
|
357
357
|
}
|
|
@@ -368,7 +368,7 @@ class Ri {
|
|
|
368
368
|
return (n = s != null ? s : t) != null ? n : {};
|
|
369
369
|
}
|
|
370
370
|
getDistance(i, e = 3) {
|
|
371
|
-
const t =
|
|
371
|
+
const t = p(p({}, this.five.getCurrentState()), i), { panoIndex: r, mode: s } = t, l = s === "Panorama" ? this.workUtil.getObserverPosition(r) : this.five.camera.position, o = this.centerPosition;
|
|
372
372
|
return !l || !o ? -1 : l.distanceTo(o);
|
|
373
373
|
}
|
|
374
374
|
/**
|
|
@@ -377,12 +377,12 @@ class Ri {
|
|
|
377
377
|
getSquaredDistance() {
|
|
378
378
|
const i = this.five.camera.position;
|
|
379
379
|
let e;
|
|
380
|
-
return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position,
|
|
380
|
+
return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position, k(e[0] - i.x, 2) + k(e[1] - i.y, 2) + k(e[2] - i.z, 2);
|
|
381
381
|
}
|
|
382
382
|
getVisible(i) {
|
|
383
383
|
if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
|
|
384
384
|
return !1;
|
|
385
|
-
const e =
|
|
385
|
+
const e = p(p({}, this.five.getCurrentState()), i);
|
|
386
386
|
let t = this.cache.getVisible(this, e);
|
|
387
387
|
return R(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
|
|
388
388
|
}
|
|
@@ -438,9 +438,9 @@ class Ri {
|
|
|
438
438
|
return i != null ? i : "Dom";
|
|
439
439
|
}
|
|
440
440
|
computeVisible(i) {
|
|
441
|
-
const e =
|
|
441
|
+
const e = p(p({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = e, s = [];
|
|
442
442
|
return (() => {
|
|
443
|
-
var d, u, a;
|
|
443
|
+
var d, u, a, m;
|
|
444
444
|
const n = (d = this.getConfig().visibleConfig) != null ? d : {};
|
|
445
445
|
if (typeof n == "function")
|
|
446
446
|
return {
|
|
@@ -453,13 +453,13 @@ class Ri {
|
|
|
453
453
|
return { value: !1, checkedList: s, reason: "config.keep is hidden" };
|
|
454
454
|
if (n.keep === "visible")
|
|
455
455
|
return { value: !0, checkedList: s, reason: "config.keep is visible" };
|
|
456
|
-
const
|
|
457
|
-
if ((
|
|
458
|
-
return
|
|
456
|
+
const g = this.computeVisibleByFiveMode(n, r);
|
|
457
|
+
if ((g == null ? void 0 : g.value) === !1)
|
|
458
|
+
return g;
|
|
459
459
|
if (n.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (r === "Floorplan" || r === "Mapview")) {
|
|
460
|
-
const h = this.computeVisibleByFloorIndex(), { value:
|
|
461
|
-
if (
|
|
462
|
-
return
|
|
460
|
+
const h = this.computeVisibleByFloorIndex(), { value: v } = h, b = A(h, ["value"]);
|
|
461
|
+
if (v === !1)
|
|
462
|
+
return p({ value: !1, checkedList: s, reason: "followModelVisibility check failed" }, b);
|
|
463
463
|
}
|
|
464
464
|
if (T(r) && n.visiblePanoIndex !== void 0 && n.visiblePanoIndex !== "all" && t !== void 0) {
|
|
465
465
|
if (s.push("visiblePanoIndex"), Array.isArray(n.visiblePanoIndex) && !n.visiblePanoIndex.includes(t))
|
|
@@ -476,14 +476,14 @@ class Ri {
|
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
478
|
if (n.visibleDistance !== void 0 && (s.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
|
|
479
|
-
const
|
|
480
|
-
if (
|
|
479
|
+
const v = this.getDistance(e, 1);
|
|
480
|
+
if (I(v, n.visibleDistance) === !1)
|
|
481
481
|
return {
|
|
482
482
|
value: !1,
|
|
483
483
|
checkedList: s,
|
|
484
484
|
panoIndex: t,
|
|
485
485
|
visibleDistance: n.visibleDistance,
|
|
486
|
-
reason: `distance is not in visibleDistance. distance: ${
|
|
486
|
+
reason: `distance is not in visibleDistance. distance: ${v}, visibleDistance: ${n.visibleDistance.min} - ${n.visibleDistance.max}`
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
489
|
if (n.intersectRaycaster !== !1 && (typeof n.intersectRaycaster != "object" || n.intersectRaycaster.enabled !== !1)) {
|
|
@@ -493,9 +493,13 @@ class Ri {
|
|
|
493
493
|
checkedList: s,
|
|
494
494
|
reason: `intersectRaycaster check failed: panoIndex is ${t}`
|
|
495
495
|
};
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
496
|
+
if (t === ((m = this.fiveState) == null ? void 0 : m.panoIndex))
|
|
497
|
+
s.push("intersectCheckSkiped");
|
|
498
|
+
else {
|
|
499
|
+
const v = this.computeVisibleByIntersect(t);
|
|
500
|
+
if (v.value === !1)
|
|
501
|
+
return Object.assign(v, { checkedList: s });
|
|
502
|
+
}
|
|
499
503
|
}
|
|
500
504
|
return {
|
|
501
505
|
value: !0,
|
|
@@ -515,7 +519,7 @@ class Ri {
|
|
|
515
519
|
if (s || (s = (o = (l = this.fiveState) == null ? void 0 : l.mode) != null ? o : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(s))
|
|
516
520
|
return s.includes(e);
|
|
517
521
|
if (s === "ModelLike")
|
|
518
|
-
return
|
|
522
|
+
return x(e);
|
|
519
523
|
if (s === "PanoramaLike")
|
|
520
524
|
return !T(e);
|
|
521
525
|
if (s === "all")
|
|
@@ -527,7 +531,7 @@ class Ri {
|
|
|
527
531
|
var l;
|
|
528
532
|
const s = t();
|
|
529
533
|
if (E((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
|
|
530
|
-
if (
|
|
534
|
+
if (x(e) && s ? this.entryFromModel = !1 : this.entryFromModel = !0, x(e))
|
|
531
535
|
return !0;
|
|
532
536
|
} else
|
|
533
537
|
this.entryFromModel = !1;
|
|
@@ -556,11 +560,11 @@ class Ri {
|
|
|
556
560
|
let l = 0, o = 0;
|
|
557
561
|
for (const a of s) {
|
|
558
562
|
const m = new B.Vector3().subVectors(a, r).normalize();
|
|
559
|
-
let
|
|
563
|
+
let g;
|
|
560
564
|
V.set(r, m);
|
|
561
565
|
const [v] = this.fiveUtil.model.intersectRaycaster(V);
|
|
562
|
-
|
|
563
|
-
const
|
|
566
|
+
g = v == null ? void 0 : v.distance;
|
|
567
|
+
const b = (() => {
|
|
564
568
|
if (!S(this))
|
|
565
569
|
return;
|
|
566
570
|
const H = this.plugin.tags.filter(S).map((Z) => {
|
|
@@ -569,7 +573,7 @@ class Ri {
|
|
|
569
573
|
}).filter(E), [X] = V.intersectObjects(H, !0);
|
|
570
574
|
return X;
|
|
571
575
|
})(), _ = r.distanceTo(a), W = (d = e.distanceAccuracy) != null ? d : 0.01;
|
|
572
|
-
|
|
576
|
+
g = Math.min(g != null ? g : 1 / 0, (h = b == null ? void 0 : b.distance) != null ? h : 1 / 0), g + W >= _ ? l++ : o++;
|
|
573
577
|
const q = (u = e.needPassed) != null ? u : 1;
|
|
574
578
|
if (l >= q)
|
|
575
579
|
return { value: !0 };
|
|
@@ -611,13 +615,13 @@ class Ri {
|
|
|
611
615
|
return !1;
|
|
612
616
|
if (e.keep === "unfolded")
|
|
613
617
|
return !0;
|
|
614
|
-
if (e.unfoldDistance &&
|
|
618
|
+
if (e.unfoldDistance && I(this.getDistance({ panoIndex: i }), e.unfoldDistance) === !1)
|
|
615
619
|
return !1;
|
|
616
620
|
}
|
|
617
621
|
}
|
|
618
622
|
computeUnfoldedByCamera() {
|
|
619
623
|
var e;
|
|
620
|
-
if (this.entryFromModel &&
|
|
624
|
+
if (this.entryFromModel && x(this.five.state.mode))
|
|
621
625
|
return !1;
|
|
622
626
|
const i = this.getConfig().unfoldedConfig;
|
|
623
627
|
if (i) {
|
|
@@ -631,7 +635,7 @@ class Ri {
|
|
|
631
635
|
return;
|
|
632
636
|
if (i.autoUnfold.strategy === "ScreenPostion") {
|
|
633
637
|
const t = this.computeTagProject();
|
|
634
|
-
if (t &&
|
|
638
|
+
if (t && I(t.x, i.autoUnfold.autoUnfoldProjectX) === !1)
|
|
635
639
|
return !1;
|
|
636
640
|
}
|
|
637
641
|
if (i.autoUnfold.strategy === "MinimumDistance") {
|
|
@@ -644,9 +648,9 @@ class Ri {
|
|
|
644
648
|
}).map((o) => ({ tag: o, id: o.id, tagConfig: o.getConfig().unfoldedConfig })).filter(({ tagConfig: o }) => {
|
|
645
649
|
var n, d;
|
|
646
650
|
return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((n = o.autoUnfold) == null ? void 0 : n.enable) === !1 || ((d = o.autoUnfold) == null ? void 0 : d.strategy) !== "MinimumDistance");
|
|
647
|
-
}).map((o) => w(
|
|
651
|
+
}).map((o) => w(p({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: n }) => {
|
|
648
652
|
const d = n.autoUnfold.distance;
|
|
649
|
-
return !(d &&
|
|
653
|
+
return !(d && I(o, d) === !1);
|
|
650
654
|
}).sort((o, n) => o.distance - n.distance).findIndex((o) => o.id === this.id);
|
|
651
655
|
if (s === -1 || s <= ((e = i.autoUnfold.maxNumber) != null ? e : 1) - 1 === !1)
|
|
652
656
|
return !1;
|
|
@@ -684,7 +688,7 @@ class Ri {
|
|
|
684
688
|
return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
|
|
685
689
|
if (!this.enabled)
|
|
686
690
|
return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
|
|
687
|
-
const i = w(
|
|
691
|
+
const i = w(p({}, this.computeVisible()), {
|
|
688
692
|
tagInstance: this
|
|
689
693
|
});
|
|
690
694
|
return i.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: i } : this.state.visible ? { reason: "应该是能看见才对", info: i } : i.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: i } : { reason: (e = i.reason.type) != null ? e : i.reason, info: i };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var _ = Object.defineProperty, w = Object.defineProperties;
|
|
2
2
|
var E = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var S = Object.getOwnPropertySymbols;
|
|
4
4
|
var b = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var p = (r,
|
|
6
|
-
for (var e in
|
|
7
|
-
b.call(
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
v.call(
|
|
5
|
+
var p = (r, o, e) => o in r ? _(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, f = (r, o) => {
|
|
6
|
+
for (var e in o || (o = {}))
|
|
7
|
+
b.call(o, e) && p(r, e, o[e]);
|
|
8
|
+
if (S)
|
|
9
|
+
for (var e of S(o))
|
|
10
|
+
v.call(o, e) && p(r, e, o[e]);
|
|
11
11
|
return r;
|
|
12
|
-
}, g = (r,
|
|
13
|
-
var h = (r,
|
|
12
|
+
}, g = (r, o) => w(r, E(o));
|
|
13
|
+
var h = (r, o, e) => (p(r, typeof o != "symbol" ? o + "" : o, e), e);
|
|
14
14
|
import * as y from "three";
|
|
15
15
|
import { DEFAULT_LINE_COLOR as D, DEFAULT_LINE_WIDTH as I, DEFAULT_HIGHLIGHT_OPACITY as H } from "../typings/style.js";
|
|
16
16
|
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
@@ -24,18 +24,18 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
24
24
|
import { removeAllTag as x } from "../utils/removeAllTag.js";
|
|
25
25
|
import { getLengthHTML as P } from "../utils/Meshes/getLengthHTML.js";
|
|
26
26
|
import { localToWorld as L } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
27
|
-
import { LineGeometry as
|
|
27
|
+
import { LineGeometry as T } from "../../shared-utils/three/core/LineGeometry.js";
|
|
28
28
|
import { LineMaterial as V } from "../../shared-utils/three/core/LineMaterial.js";
|
|
29
29
|
import { THREE_Line2 as M } from "../../shared-utils/three/core/Line2.js";
|
|
30
30
|
import { LineMaterial2 as A } from "../../shared-utils/three/core/LineMaterial2.js";
|
|
31
31
|
import "../../shared-utils/three/core/Sphere.js";
|
|
32
32
|
import "../../vendor/animejs/lib/anime.es.js";
|
|
33
|
-
import { notNil as
|
|
33
|
+
import { notNil as c } from "../../shared-utils/isNil.js";
|
|
34
34
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
35
|
import "../../shared-utils/five/FivePuppet.js";
|
|
36
36
|
class le extends O {
|
|
37
37
|
constructor(e) {
|
|
38
|
-
var l,
|
|
38
|
+
var l, m, a, d;
|
|
39
39
|
super();
|
|
40
40
|
h(this, "name", "LineMesh");
|
|
41
41
|
h(this, "type", "Line2");
|
|
@@ -49,24 +49,24 @@ class le extends O {
|
|
|
49
49
|
h(this, "paramsStyle", {});
|
|
50
50
|
h(this, "lastRenderDomItem");
|
|
51
51
|
h(this, "_visible", !0);
|
|
52
|
-
this.paramsStyle = f({ dashed: !1 }, e), this.geometry = new
|
|
52
|
+
this.paramsStyle = f({ dashed: !1 }, e), this.geometry = new T();
|
|
53
53
|
const i = {
|
|
54
54
|
color: new y.Color((l = e == null ? void 0 : e.lineColor) != null ? l : D),
|
|
55
|
-
linewidth: (
|
|
55
|
+
linewidth: (m = e == null ? void 0 : e.lineWidth) != null ? m : I,
|
|
56
56
|
dashScale: 40,
|
|
57
57
|
opacity: (a = e == null ? void 0 : e.lineOpacity) != null ? a : 1,
|
|
58
58
|
depthWrite: !1,
|
|
59
59
|
transparent: !0
|
|
60
60
|
}, t = new V(g(f({}, i), { dashed: !1, depthTest: !0 })), s = new A(g(f({}, i), { dashed: !0, depthTest: !1 }));
|
|
61
61
|
if (this.line1 = new M(this.geometry, t), this.line2 = new M(this.geometry, s), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
|
|
62
|
-
const
|
|
63
|
-
|
|
62
|
+
const n = (d = this.five.renderer) == null ? void 0 : d.getSize(new y.Vector2());
|
|
63
|
+
n && this.setResolution(n.width, n.height);
|
|
64
64
|
}
|
|
65
65
|
e && this.setStyle(e), e != null && e.points && this.setPoints(e.points), this.addEventListener("removed", () => {
|
|
66
66
|
x(this);
|
|
67
67
|
}), Object.defineProperty(this, "visible", {
|
|
68
|
-
set: (
|
|
69
|
-
this.doms && this.doms.forEach((u) => u.container.style.display =
|
|
68
|
+
set: (n) => {
|
|
69
|
+
this.doms && this.doms.forEach((u) => u.container.style.display = n ? "block" : "none"), this._visible = n;
|
|
70
70
|
},
|
|
71
71
|
get: () => this._visible
|
|
72
72
|
});
|
|
@@ -126,16 +126,16 @@ class le extends O {
|
|
|
126
126
|
setPoints(e) {
|
|
127
127
|
if (this.points.length === 0 && e.length === 0)
|
|
128
128
|
return;
|
|
129
|
-
const i = e.map(C).filter(
|
|
129
|
+
const i = e.map(C).filter(c);
|
|
130
130
|
if (this.points = i, i.length < 2) {
|
|
131
|
-
const s = new
|
|
131
|
+
const s = new T();
|
|
132
132
|
this.line1.geometry = s, this.line2.geometry = s, this.updateDomItems();
|
|
133
133
|
return;
|
|
134
134
|
}
|
|
135
135
|
const t = i.flatMap((s) => [s.x, s.y, s.z]);
|
|
136
136
|
if (t.length > 2) {
|
|
137
137
|
this.line1.geometry.dispose();
|
|
138
|
-
const s = new
|
|
138
|
+
const s = new T();
|
|
139
139
|
this.line1.geometry = s, this.line2.geometry = s;
|
|
140
140
|
}
|
|
141
141
|
this.line1.geometry.setPositions(t), this.line1.computeLineDistances(), this.updateDomItems(), this.needsRender = !0;
|
|
@@ -147,14 +147,14 @@ class le extends O {
|
|
|
147
147
|
(s.x !== e || s.y !== i) && (s.set(e, i), this.needsRender = !0);
|
|
148
148
|
}
|
|
149
149
|
setStyle(e) {
|
|
150
|
-
var s, l,
|
|
151
|
-
if (this.paramsStyle = f(f({}, this.paramsStyle), e),
|
|
150
|
+
var s, l, m, a;
|
|
151
|
+
if (this.paramsStyle = f(f({}, this.paramsStyle), e), c(e.lineColor)) {
|
|
152
152
|
const d = new y.Color(e.lineColor);
|
|
153
153
|
this.line1.material.three_color = d, this.line2.material.three_color = d;
|
|
154
154
|
}
|
|
155
|
-
|
|
156
|
-
const i = (l = (s = e.occlusionVisibility) != null ? s : this.paramsStyle.occlusionVisibility) != null ? l : !0, t = (a = (
|
|
157
|
-
i ? t === "depthTest"
|
|
155
|
+
c(e.lineWidth) && (this.line1.material.linewidth = e.lineWidth, this.line2.material.linewidth = e.lineWidth), c(e.dashed) && (this.line1.material.dashed = e.dashed), c(e.lineOpacity) && (this.line1.material.opacity = e.lineOpacity, this.line2.material.opacity = e.lineOpacity), this.updateDomItems();
|
|
156
|
+
const i = (l = (s = e.occlusionVisibility) != null ? s : this.paramsStyle.occlusionVisibility) != null ? l : !0, t = (a = (m = e.occlusionMode) != null ? m : this.paramsStyle.occlusionMode) != null ? a : "translucence";
|
|
157
|
+
i ? this.dashed ? (this.remove(this.line2), this.line1.material.dashed = !0, this.line1.material.depthTest = !1) : t === "depthTest" ? (this.remove(this.line2), this.line1.material.dashed = !1, this.line1.material.depthTest = !1) : t === "translucence" && (this.line1.material.depthTest = !0, this.line2.material.depthTest = !1, this.line1.material.dashed = !0, this.line2.material.dashed = !0, this.addIfNotExists(this.line2)) : (this.remove(this.line2), this.line1.material.depthTest = !0, this.line1.material.dashed = this.paramsStyle.dashed), this.needsRender = !0;
|
|
158
158
|
}
|
|
159
159
|
highlight() {
|
|
160
160
|
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.line1.material.opacity, this.line1.material.opacity = this.opacityBeforeHighlight * H, this.line2.material.opacity = this.line1.material.opacity, this.needsRender = !0);
|
|
@@ -173,25 +173,25 @@ class le extends O {
|
|
|
173
173
|
const i = this.points.map((t, s) => {
|
|
174
174
|
if (s !== 0)
|
|
175
175
|
return [this.points[s - 1], t];
|
|
176
|
-
}).filter(
|
|
176
|
+
}).filter(c).map((t) => L(this, t));
|
|
177
177
|
i.forEach(([t, s], l) => {
|
|
178
178
|
var d;
|
|
179
|
-
const
|
|
179
|
+
const m = W(t, s);
|
|
180
180
|
this.doms[l] = (d = this.doms[l]) != null ? d : (() => {
|
|
181
|
-
const
|
|
182
|
-
return
|
|
183
|
-
})(), this.doms[l].setPosition(
|
|
184
|
-
const a = (
|
|
181
|
+
const n = new R(this.five);
|
|
182
|
+
return n.intersectCheck = !1, n.simulate3D = !0, n;
|
|
183
|
+
})(), this.doms[l].setPosition(m, [t, s]);
|
|
184
|
+
const a = (n) => {
|
|
185
185
|
var u;
|
|
186
|
-
this.doms[l].__text !==
|
|
187
|
-
style: `color: #${
|
|
186
|
+
this.doms[l].__text !== n && (this.doms[l].__text = n, n instanceof HTMLElement ? (this.doms[l].container.innerHTML = "", this.doms[l].container.appendChild(n)) : n ? this.doms[l].container.innerHTML = P(n, {
|
|
187
|
+
style: `color: #${c((u = this.style) == null ? void 0 : u.lineColor) ? new y.Color(this.style.lineColor).getHexString() : "ffffff"}`
|
|
188
188
|
}) : this.doms[l].container.innerHTML = "");
|
|
189
189
|
};
|
|
190
190
|
if (this.paramsStyle.tip)
|
|
191
191
|
a(this.paramsStyle.tip);
|
|
192
192
|
else {
|
|
193
|
-
const
|
|
194
|
-
a(
|
|
193
|
+
const n = t.distanceTo(s).toFixed(2);
|
|
194
|
+
a(n === "0.00" ? null : n + "m");
|
|
195
195
|
}
|
|
196
196
|
}), this.doms.length > i.length && (this.doms.slice(i.length).forEach((t) => t.destroy()), this.doms.length = i.length);
|
|
197
197
|
}
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.61.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.61.15",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|