@realsee/dnalogel 3.59.8 → 3.59.10-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/index.cjs.js +12 -8
- package/dist/index.js +17 -13
- package/dist/index.umd.js +12 -8
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- 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 +4 -4
- package/docs/classes/PanoTagPluginController.html +34 -34
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +14 -14
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +11 -11
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- 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 +3 -3
- package/docs/enums/Rotation.html +3 -3
- 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.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 +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +8 -8
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- 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 +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- 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 +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- 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 +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- 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 +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +7 -7
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- 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 +4 -4
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +4 -4
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- 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.ActionIfNoModelUnderMouse.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/GuideLinePlugin/GuideLineModeItem/index.js +16 -12
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +39 -39
- package/libs/Sculpt/Meshes/LineWithDots.js +11 -11
- package/libs/Sculpt/Meshes/Point.js +8 -8
- package/libs/Sculpt/Meshes/Polyline.js +2 -2
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/five/FiveDomEvents.js +16 -16
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/closeVectors.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.59.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.59.10-alpha.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.59.10-alpha.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul><h1>Variable itemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.59.10-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.59.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.59.10-alpha.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.59.10-alpha.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul><h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.59.10-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.59.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.59.10-alpha.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.59.10-alpha.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul><h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.59.10-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var k = Object.defineProperty, x = Object.defineProperties;
|
|
2
|
-
var
|
|
2
|
+
var M = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var D = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var w = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var T = (m, e, t) => e in m ? k(m, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[e] = t, c = (m, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
w.call(e, t) && T(m, t, e[t]);
|
|
8
8
|
if (D)
|
|
9
9
|
for (var t of D(e))
|
|
10
10
|
P.call(e, t) && T(m, t, e[t]);
|
|
11
11
|
return m;
|
|
12
|
-
}, y = (m, e) => x(m,
|
|
12
|
+
}, y = (m, e) => x(m, M(e));
|
|
13
13
|
var i = (m, e, t) => (T(m, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
14
|
import * as h from "three";
|
|
15
15
|
import { logError as F } from "../../shared-utils/log.js";
|
|
@@ -20,14 +20,14 @@ import "hammerjs";
|
|
|
20
20
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
21
21
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
22
22
|
import "@realsee/five/line";
|
|
23
|
-
import { notNil as
|
|
23
|
+
import { notNil as V } from "../../shared-utils/isNil.js";
|
|
24
24
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
25
25
|
import "../../shared-utils/three/core/Sphere.js";
|
|
26
26
|
import { blink as O } from "../../shared-utils/three/blink.js";
|
|
27
27
|
import { BetterTween as _ } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
28
28
|
import "../../shared-utils/five/FivePuppet.js";
|
|
29
29
|
import { loadTexture as A } from "../../shared-utils/three/loadTexture.js";
|
|
30
|
-
import
|
|
30
|
+
import C from "../../PanoTagPlugin/controller/index.js";
|
|
31
31
|
import E from "../Components/Tag.js";
|
|
32
32
|
import { filterAdjacentDistinct as G } from "../utils/index.js";
|
|
33
33
|
import { objectAssignDeepExports as B } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -47,6 +47,8 @@ const I = (
|
|
|
47
47
|
), N = (
|
|
48
48
|
/* glsl */
|
|
49
49
|
`
|
|
50
|
+
precision highp float;
|
|
51
|
+
precision mediump int;
|
|
50
52
|
// 是否使用颜色
|
|
51
53
|
uniform int useMapColor;
|
|
52
54
|
// 贴图
|
|
@@ -150,13 +152,15 @@ const I = (
|
|
|
150
152
|
|
|
151
153
|
void main() {
|
|
152
154
|
float v = vUv.y;
|
|
153
|
-
|
|
155
|
+
// 低版本 webgl 有精度问题,所以这里不能用 includeMinV != -1.0 && includeMaxV != -1.0
|
|
156
|
+
if (includeMinV > -0.9 && includeMaxV > -0.9) {
|
|
154
157
|
if (v < includeMinV || v > includeMaxV) {
|
|
155
158
|
gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
|
|
156
159
|
return;
|
|
157
160
|
}
|
|
158
161
|
}
|
|
159
|
-
|
|
162
|
+
// 同上
|
|
163
|
+
if (excludeMinV > -0.9 && excludeMaxV > -0.9) {
|
|
160
164
|
if (v >= excludeMinV && v <= excludeMaxV) {
|
|
161
165
|
gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
|
|
162
166
|
return;
|
|
@@ -248,7 +252,7 @@ class R {
|
|
|
248
252
|
else {
|
|
249
253
|
this.group.children.includes(this.meshWithoutDepthTest) || this.group.add(this.meshWithoutDepthTest), this.meshWithoutDepthTest.visible = !0;
|
|
250
254
|
const u = this.meshWithDepthTest.geometry.getAttribute("uv"), p = 100 * ((n = this.autoDepthTestEffectDistance) != null ? n : 2), g = (l = u.getY((r - p) * 2)) != null ? l : 0, f = (d = u.getY((r + p) * 2)) != null ? d : u.getY(u.count - 1);
|
|
251
|
-
this.meshWithDepthTest.material.uniforms.excludeMinV.value = g, this.meshWithDepthTest.material.uniforms.excludeMaxV.value = f, this.meshWithoutDepthTest.material.uniforms.includeMinV.value = g, this.meshWithoutDepthTest.material.uniforms.includeMaxV.value = f;
|
|
255
|
+
this.meshWithDepthTest.material.uniforms.excludeMinV.value = g, this.meshWithDepthTest.material.uniforms.excludeMaxV.value = f, this.meshWithDepthTest.material.uniforms.includeMinV.value = -1, this.meshWithDepthTest.material.uniforms.includeMaxV.value = -1, this.meshWithoutDepthTest.material.uniforms.includeMinV.value = g, this.meshWithoutDepthTest.material.uniforms.includeMaxV.value = f, this.meshWithoutDepthTest.material.uniforms.excludeMinV.value = -1, this.meshWithoutDepthTest.material.uniforms.excludeMaxV.value = -1;
|
|
252
256
|
}
|
|
253
257
|
this.meshWithDepthTest.material.uniformsNeedUpdate = !0, this.meshWithoutDepthTest.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
|
|
254
258
|
});
|
|
@@ -341,7 +345,7 @@ class R {
|
|
|
341
345
|
return this.logError("setPathByPanoGroup: work is not ready");
|
|
342
346
|
const r = G(e);
|
|
343
347
|
if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
|
|
344
|
-
const a = t.skipPanoGroup ? r.map((o) => this.plugin.workUtil.getObserverStandingPosition(o)).filter(
|
|
348
|
+
const a = t.skipPanoGroup ? r.map((o) => this.plugin.workUtil.getObserverStandingPosition(o)).filter(V) : null;
|
|
345
349
|
this.skippedPositions = a;
|
|
346
350
|
}
|
|
347
351
|
const s = this.getPathFromPanoGroup(r, this.five.work, t);
|
|
@@ -512,7 +516,7 @@ class R {
|
|
|
512
516
|
const r = this.curvePath;
|
|
513
517
|
if (!(t != null && t.data))
|
|
514
518
|
return;
|
|
515
|
-
const s = e === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new
|
|
519
|
+
const s = e === "start" ? (l = this.startTagContainer) != null ? l : (() => (this.startTagContainer = { tag: null, plugin: new C(this.five, { containerZIndex: 1 }) }, this.startTagContainer))() : (d = this.endTagContainer) != null ? d : (() => (this.endTagContainer = { tag: null, plugin: new C(this.five, { containerZIndex: 1 }) }, this.endTagContainer))(), o = B({}, {
|
|
516
520
|
contentType: "Custom",
|
|
517
521
|
stickType: "2DPoint",
|
|
518
522
|
config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
|
|
@@ -561,7 +565,7 @@ class R {
|
|
|
561
565
|
position: u,
|
|
562
566
|
panoIndex: l
|
|
563
567
|
};
|
|
564
|
-
}).filter(
|
|
568
|
+
}).filter(V), o = a.map((l) => l.position.toArray()), n = a.map((l) => l.panoIndex);
|
|
565
569
|
return [y(c({ type: "CatmullRomCurve3", points: o }, r), { panoIndexList: n, panoIndexMap: s })];
|
|
566
570
|
}
|
|
567
571
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as r from "three";
|
|
2
2
|
import { Vector3 as ot } from "three";
|
|
3
|
-
import { polylineNormals as
|
|
3
|
+
import { polylineNormals as at } from "../../vendor/polyline-normals/index.js";
|
|
4
4
|
import { lineIsIntersecting as ut, findIntersectingOfLines as ft } from "../../shared-utils/math/intersecting.js";
|
|
5
5
|
import "../../vendor/polyline-miter-util/index.js";
|
|
6
6
|
import "../../vendor/gl-vec2/add.js";
|
|
@@ -20,10 +20,10 @@ function Vt(i) {
|
|
|
20
20
|
});
|
|
21
21
|
const q = Math.ceil(A.getLength() * 100);
|
|
22
22
|
A.arcLengthDivisions = q;
|
|
23
|
-
const P = A.getPoints(q),
|
|
24
|
-
if (
|
|
23
|
+
const P = A.getPoints(q), x = P.length;
|
|
24
|
+
if (x <= 2)
|
|
25
25
|
return { geometry: new r.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
|
|
26
|
-
const st =
|
|
26
|
+
const st = at(P.map((t) => [t.x, t.z])), ct = (x - 1) * ht * mt, j = 2 * x, it = j * pt, rt = j * dt, v = new Uint32Array(ct), e = new Float32Array(it), T = new Float32Array(rt), J = A.getLength();
|
|
27
27
|
let I = 0, K = 0, Q = {};
|
|
28
28
|
const k = i.path[0].points.map((t) => new r.Vector3().fromArray(t)), W = i.path[0].panoIndexList ? [...i.path[0].panoIndexList] : void 0, tt = (() => {
|
|
29
29
|
const t = [];
|
|
@@ -32,26 +32,26 @@ function Vt(i) {
|
|
|
32
32
|
if (s === 0)
|
|
33
33
|
t.push(0);
|
|
34
34
|
else {
|
|
35
|
-
const
|
|
36
|
-
t.push(u.distanceTo(
|
|
35
|
+
const m = k[s - 1];
|
|
36
|
+
t.push(u.distanceTo(m) + t[s - 1]);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
const n = t.
|
|
39
|
+
const n = t[t.length - 1], d = [];
|
|
40
40
|
for (let s = 0; s < t.length; s++) {
|
|
41
|
-
const u = t[s],
|
|
42
|
-
|
|
41
|
+
const u = t[s], m = s === 0 ? 0 : t[s - 1], y = s === t.length - 1 ? n : t[s + 1], l = u - Math.min(0.3, (u - m) / 2), a = u + Math.min(0.3, (y - u) / 2);
|
|
42
|
+
d.push([J * (l / n), J * (a / n)]);
|
|
43
43
|
}
|
|
44
|
-
return
|
|
44
|
+
return d;
|
|
45
45
|
})();
|
|
46
46
|
let S = [];
|
|
47
|
-
for (let t = 0; t <
|
|
48
|
-
const [n,
|
|
49
|
-
e[t * 6 + 0] =
|
|
50
|
-
const
|
|
51
|
-
e[t * 6 + 3] =
|
|
47
|
+
for (let t = 0; t < x; t++) {
|
|
48
|
+
const [n, d] = st[t][0], s = P[t], { x: u, y: m, z: y } = s, l = new ot(u + n * b, m + 0.05, y + d * b);
|
|
49
|
+
e[t * 6 + 0] = l.x, e[t * 6 + 1] = l.y, e[t * 6 + 2] = l.z;
|
|
50
|
+
const a = new ot(u - n * b, m + 0.05, y - d * b);
|
|
51
|
+
e[t * 6 + 3] = a.x, e[t * 6 + 4] = a.y, e[t * 6 + 5] = a.z, I += t > 0 ? P[t - 1].clone().sub(P[t]).length() : 0;
|
|
52
52
|
const R = I / N;
|
|
53
53
|
K = R, T[t * 4 + 0] = 0, T[t * 4 + 1] = R, T[t * 4 + 2] = 1, T[t * 4 + 3] = R;
|
|
54
|
-
const _ = new r.Vector3().lerpVectors(
|
|
54
|
+
const _ = new r.Vector3().lerpVectors(l, a, 0.5);
|
|
55
55
|
if (i.skipPositions && i.skipPositions.some((B) => B.distanceTo(_) < 0.26))
|
|
56
56
|
continue;
|
|
57
57
|
const L = k[0];
|
|
@@ -60,7 +60,7 @@ function Vt(i) {
|
|
|
60
60
|
if (I > B && I < C && S.push({
|
|
61
61
|
distance: L.distanceTo(_),
|
|
62
62
|
index: t
|
|
63
|
-
}), I >= C || t ===
|
|
63
|
+
}), I >= C || t === x - 1) {
|
|
64
64
|
const E = Math.min(...S.map((c) => c.distance)), D = S.find((c) => c.distance === E);
|
|
65
65
|
if (S = [], k.shift(), W.shift(), tt.shift(), D)
|
|
66
66
|
Q[f] = D.index;
|
|
@@ -70,15 +70,15 @@ function Vt(i) {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
t !==
|
|
73
|
+
t !== x - 1 && (v[t * 6 + 0] = t * 2 + 0, v[t * 6 + 1] = t * 2 + 2, v[t * 6 + 2] = t * 2 + 1, v[t * 6 + 3] = t * 2 + 2, v[t * 6 + 4] = t * 2 + 3, v[t * 6 + 5] = t * 2 + 1);
|
|
74
74
|
}
|
|
75
|
-
const
|
|
75
|
+
const h = [];
|
|
76
76
|
let H;
|
|
77
77
|
const Z = [];
|
|
78
|
-
for (let t = 0; t <
|
|
78
|
+
for (let t = 0; t < x - 1; t++) {
|
|
79
79
|
if (H !== void 0 && t <= H)
|
|
80
80
|
continue;
|
|
81
|
-
const n = t + 1,
|
|
81
|
+
const n = t + 1, d = {
|
|
82
82
|
x: e[t * 6 + 0],
|
|
83
83
|
y: e[t * 6 + 2]
|
|
84
84
|
}, s = {
|
|
@@ -87,51 +87,51 @@ function Vt(i) {
|
|
|
87
87
|
}, u = {
|
|
88
88
|
x: e[n * 6 + 0],
|
|
89
89
|
y: e[n * 6 + 2]
|
|
90
|
-
},
|
|
90
|
+
}, m = {
|
|
91
91
|
x: e[n * 6 + 3],
|
|
92
92
|
y: e[n * 6 + 5]
|
|
93
|
-
}, y = ut([
|
|
94
|
-
if (y &&
|
|
95
|
-
|
|
96
|
-
const
|
|
93
|
+
}, y = ut([d, s], [u, m]);
|
|
94
|
+
if (y && h.push(t), !y && h.length) {
|
|
95
|
+
h.push(t);
|
|
96
|
+
const l = new r.Vector2(d.x, d.y).distanceTo(new r.Vector2(u.x, u.y)), a = new r.Vector2(s.x, s.y).distanceTo(new r.Vector2(m.x, m.y)), R = 200, _ = [], L = [], f = Math.max(0, h[0] - N * R), B = h[0];
|
|
97
97
|
for (let c = f; c < B; c++)
|
|
98
|
-
|
|
99
|
-
const C =
|
|
98
|
+
l < a ? _.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : _.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
|
|
99
|
+
const C = h[h.length - 1], E = h[h.length - 1] + N * R;
|
|
100
100
|
for (let c = C; c < E; c++)
|
|
101
|
-
|
|
101
|
+
l < a ? L.push({ x: e[c * 6 + 0], y: e[c * 6 + 2] }) : L.push({ x: e[c * 6 + 3], y: e[c * 6 + 5] });
|
|
102
102
|
const D = ft(_, L);
|
|
103
103
|
if (D) {
|
|
104
104
|
const {
|
|
105
105
|
line1RelativeIndex: c,
|
|
106
|
-
line2RelativeIndex:
|
|
106
|
+
line2RelativeIndex: lt,
|
|
107
107
|
x: et,
|
|
108
108
|
y: nt
|
|
109
|
-
} = D, w = f + c, g = C +
|
|
109
|
+
} = D, w = f + c, g = C + lt + 2;
|
|
110
110
|
for (let o = w; o < g; o++)
|
|
111
|
-
|
|
112
|
-
let V, Y, X, z,
|
|
113
|
-
|
|
111
|
+
l < a ? (e[o * 6 + 0] = et, e[o * 6 + 2] = nt) : (e[o * 6 + 3] = et, e[o * 6 + 5] = nt), H = o;
|
|
112
|
+
let V, Y, X, z, p;
|
|
113
|
+
l < a ? (V = e[f * 6 + 1], Y = e[w * 6 + 1], X = e[g * 6 + 1], z = e[E * 6 + 1], p = (Y + X) / 2) : (V = e[f * 6 + 4], Y = e[w * 6 + 4], X = e[g * 6 + 4], z = e[E * 6 + 4], p = (Y + X) / 2);
|
|
114
114
|
for (let o = f; o < w; o++) {
|
|
115
115
|
const $ = w - f, F = (o - f) / $;
|
|
116
|
-
|
|
116
|
+
l < a ? e[o * 6 + 1] = V + (p - V) * F : e[o * 6 + 4] = V + (p - V) * F;
|
|
117
117
|
}
|
|
118
118
|
for (let o = w; o < g; o++)
|
|
119
|
-
|
|
119
|
+
l < a ? e[o * 6 + 1] = p : e[o * 6 + 4] = p;
|
|
120
120
|
for (let o = g; o < E; o++) {
|
|
121
121
|
const $ = E - g, F = (o - g + 1) / $;
|
|
122
|
-
|
|
122
|
+
l < a ? e[o * 6 + 1] = p + (z - p) * F : e[o * 6 + 4] = p + (z - p) * F;
|
|
123
123
|
}
|
|
124
124
|
Z.push({
|
|
125
125
|
start: w,
|
|
126
126
|
end: g
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
-
|
|
129
|
+
h.length = 0;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
const M = new Float32Array(j);
|
|
133
133
|
Z.forEach((t) => {
|
|
134
|
-
for (let n = 0; n <
|
|
134
|
+
for (let n = 0; n < x - 1; n++)
|
|
135
135
|
n >= t.start && n <= t.end ? (M[n * 2 + 0] = 1, M[n * 2 + 1] = 1) : M[n] !== 1 && (M[n * 2 + 0] = 0, M[n * 2 + 1] = 0);
|
|
136
136
|
});
|
|
137
137
|
const U = new r.BufferGeometry();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var u = Object.defineProperty, d = Object.defineProperties;
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
2
|
+
var g = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var y = Object.getOwnPropertySymbols;
|
|
4
|
+
var f = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var n = (s, i, t) => i in s ? u(s, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[i] = t, o = (s, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
7
|
+
f.call(i, t) && n(s, t, i[t]);
|
|
8
|
+
if (y)
|
|
9
|
+
for (var t of y(i))
|
|
10
10
|
c.call(i, t) && n(s, t, i[t]);
|
|
11
11
|
return s;
|
|
12
|
-
}, r = (s, i) => d(s,
|
|
12
|
+
}, r = (s, i) => d(s, g(i));
|
|
13
13
|
var e = (s, i, t) => (n(s, typeof i != "symbol" ? i + "" : i, t), t);
|
|
14
14
|
import { anyPositionToVector3 as b } from "../../shared-utils/positionToVector3.js";
|
|
15
15
|
import { PointMesh as P } from "./Point.js";
|
|
@@ -21,7 +21,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
|
21
21
|
import { LineMesh as S } from "./Line.js";
|
|
22
22
|
import "../../shared-utils/three/core/Sphere.js";
|
|
23
23
|
import "animejs";
|
|
24
|
-
import { notNil as
|
|
24
|
+
import { notNil as a } from "../../shared-utils/isNil.js";
|
|
25
25
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
26
|
import "../../shared-utils/five/FivePuppet.js";
|
|
27
27
|
import { IObject3D as M } from "../../shared-utils/three/IObject3D.js";
|
|
@@ -42,7 +42,7 @@ class O extends S {
|
|
|
42
42
|
});
|
|
43
43
|
e(this, "updateEdgePointsVisibility", () => {
|
|
44
44
|
var t;
|
|
45
|
-
|
|
45
|
+
a((t = this._paramsStyle) == null ? void 0 : t.pointVisibility) && (this.startPoint && (this.startPoint.visible = typeof this._paramsStyle.pointVisibility == "object" ? this._paramsStyle.pointVisibility.startPoint : this._paramsStyle.pointVisibility), this.endPoint && (this.endPoint.visible = typeof this._paramsStyle.pointVisibility == "object" ? this._paramsStyle.pointVisibility.endPoint : this._paramsStyle.pointVisibility));
|
|
46
46
|
});
|
|
47
47
|
this.add(this.pointGroup), t && this.setStyle(t), t != null && t.points && this.setPoints(t.points);
|
|
48
48
|
}
|
|
@@ -50,7 +50,7 @@ class O extends S {
|
|
|
50
50
|
return this.pointMeshes[0];
|
|
51
51
|
}
|
|
52
52
|
get endPoint() {
|
|
53
|
-
return this.pointMeshes.length < 2 ? null : this.pointMeshes.
|
|
53
|
+
return this.pointMeshes.length < 2 ? null : this.pointMeshes[this.pointMeshes.length - 1];
|
|
54
54
|
}
|
|
55
55
|
get visiblePointMeshes() {
|
|
56
56
|
return this.pointMeshes.filter((t) => t.visible);
|
|
@@ -60,7 +60,7 @@ class O extends S {
|
|
|
60
60
|
}
|
|
61
61
|
setPoints(t) {
|
|
62
62
|
super.setPoints(t);
|
|
63
|
-
const h = t.map(b).filter(
|
|
63
|
+
const h = t.map(b).filter(a);
|
|
64
64
|
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), h.forEach((m) => {
|
|
65
65
|
var l;
|
|
66
66
|
const p = new P(r(o({}, this.style), { color: (l = this._paramsStyle) == null ? void 0 : l.lineColor, tip: void 0 }));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var P = Object.defineProperty, N = Object.defineProperties;
|
|
2
2
|
var D = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var d = Object.getOwnPropertySymbols;
|
|
4
4
|
var V = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var f = (e, i, t) => i in e ?
|
|
5
|
+
var f = (e, i, t) => i in e ? P(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, g = (e, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
7
|
V.call(i, t) && f(e, t, i[t]);
|
|
8
8
|
if (d)
|
|
@@ -42,7 +42,7 @@ const H = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAA
|
|
|
42
42
|
let C = null;
|
|
43
43
|
class et extends W {
|
|
44
44
|
constructor(t) {
|
|
45
|
-
var
|
|
45
|
+
var p, w;
|
|
46
46
|
super();
|
|
47
47
|
s(this, "name", "PointMesh");
|
|
48
48
|
s(this, "dom");
|
|
@@ -60,20 +60,20 @@ class et extends W {
|
|
|
60
60
|
const m = {
|
|
61
61
|
transparent: !0,
|
|
62
62
|
side: h.DoubleSide,
|
|
63
|
-
size: (
|
|
63
|
+
size: (p = t == null ? void 0 : t.size) != null ? p : 8,
|
|
64
64
|
map: C || (C = new h.TextureLoader().load(H)),
|
|
65
65
|
sizeAttenuation: !1
|
|
66
66
|
}, u = new h.PointsMaterial(a(g({}, m), {
|
|
67
|
-
color: (
|
|
67
|
+
color: (w = t == null ? void 0 : t.color) != null ? w : 16777215,
|
|
68
68
|
depthTest: !0,
|
|
69
69
|
opacity: 1
|
|
70
|
-
})),
|
|
70
|
+
})), k = new h.PointsMaterial(a(g({}, m), {
|
|
71
71
|
size: u.size,
|
|
72
72
|
color: u.color,
|
|
73
73
|
depthWrite: !1,
|
|
74
74
|
depthTest: !1,
|
|
75
75
|
opacity: 0.5
|
|
76
|
-
})), n = new h.Points(l, u), A = new h.Points(l,
|
|
76
|
+
})), n = new h.Points(l, u), A = new h.Points(l, k);
|
|
77
77
|
this.fontMesh = n, this.backgroundMesh = A, n.name = "FontMesh", A.name = "BackgroundMesh", n.renderOrder = 10, A.renderOrder = 0, this.add(n, A), t != null && t.point && this.position.copy(B(t.point)), t && this.setStyle(t), this.addEventListener("removed", () => {
|
|
78
78
|
T(this);
|
|
79
79
|
}), Object.defineProperty(this, "visible", {
|
|
@@ -117,7 +117,7 @@ class et extends W {
|
|
|
117
117
|
}
|
|
118
118
|
updateDom() {
|
|
119
119
|
const t = this.paramsStyle.tip;
|
|
120
|
-
t && !this.dom && (this.dom = new E(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.
|
|
120
|
+
t && !this.dom && (this.dom = new E(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
|
|
121
121
|
const o = (r) => {
|
|
122
122
|
var l;
|
|
123
123
|
this.dom && this.dom.__text !== r && (this.dom.__text = r, r ? this.dom.container.innerHTML = x(r, {
|
|
@@ -75,8 +75,8 @@ class P extends D {
|
|
|
75
75
|
return (s = (t = this.lines[0]) == null ? void 0 : t.occlusionMode) != null ? s : (i = this.paramsStyle) == null ? void 0 : i.occlusionMode;
|
|
76
76
|
}
|
|
77
77
|
get points() {
|
|
78
|
-
var t;
|
|
79
|
-
return this.lines.map((
|
|
78
|
+
var t, i, s;
|
|
79
|
+
return this.lines.map((o) => o.points[0]).concat((s = (i = this.lines) == null ? void 0 : i[((t = this.lines) == null ? void 0 : t.length) - 1]) == null ? void 0 : s.points[1]).filter(Boolean);
|
|
80
80
|
}
|
|
81
81
|
setPoints(t, i = { closed: !1 }) {
|
|
82
82
|
let s = t.map(v);
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -11,8 +11,8 @@ import "@realsee/five/line";
|
|
|
11
11
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
12
12
|
import "../shared-utils/three/core/Sphere.js";
|
|
13
13
|
import "animejs";
|
|
14
|
-
import { FiveUtil as
|
|
15
|
-
import { absoluteUrl as
|
|
14
|
+
import { FiveUtil as a } from "../shared-utils/Utils/FiveUtil.js";
|
|
15
|
+
import { absoluteUrl as m } from "../shared-utils/url/absoluteUrl.js";
|
|
16
16
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
17
17
|
import "../shared-utils/five/FivePuppet.js";
|
|
18
18
|
let S = class {
|
|
@@ -20,7 +20,7 @@ let S = class {
|
|
|
20
20
|
/**
|
|
21
21
|
* @realsee/dnalogel 版本号
|
|
22
22
|
*/
|
|
23
|
-
i(this, "VERSION", "3.59.
|
|
23
|
+
i(this, "VERSION", "3.59.10-alpha.0");
|
|
24
24
|
i(this, "NAME");
|
|
25
25
|
i(this, "five");
|
|
26
26
|
i(this, "workUtil");
|
|
@@ -30,7 +30,7 @@ let S = class {
|
|
|
30
30
|
*/
|
|
31
31
|
i(this, "hooks", new l());
|
|
32
32
|
i(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
33
|
-
this.five = t, this.fiveUtil = new
|
|
33
|
+
this.five = t, this.fiveUtil = new a(t), this.workUtil = this.fiveUtil.workUtil, r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
|
|
34
34
|
}
|
|
35
35
|
set workCode(t) {
|
|
36
36
|
this.workUtil.workCode = t, this.onWorkCodeChange();
|
|
@@ -51,7 +51,7 @@ let S = class {
|
|
|
51
51
|
* @description: 获取静态资源的url
|
|
52
52
|
*/
|
|
53
53
|
absoluteUrl(t) {
|
|
54
|
-
return
|
|
54
|
+
return m(this.staticPrefix, t);
|
|
55
55
|
}
|
|
56
56
|
onWorkCodeChange() {
|
|
57
57
|
}
|
|
@@ -93,21 +93,21 @@ class Y {
|
|
|
93
93
|
((v = this.config) == null ? void 0 : v.fiveModels) !== null && ((E = this.config) != null && E.fiveModels ? i.push(...this.config.fiveModels) : i.push(this.model));
|
|
94
94
|
const d = i.filter((s) => s.loaded), l = (g = t.raycaster) != null ? g : this.getRaycaster(t);
|
|
95
95
|
l.params.Points.threshold = 0.02;
|
|
96
|
-
const o = l.intersectObjects(r, !0),
|
|
96
|
+
const o = l.intersectObjects(r, !0), h = [];
|
|
97
97
|
d.forEach((s) => {
|
|
98
98
|
const b = s.intersectRaycaster(l);
|
|
99
|
-
|
|
99
|
+
h.push(...b);
|
|
100
100
|
});
|
|
101
101
|
const f = 0.01;
|
|
102
|
-
if (
|
|
102
|
+
if (h.length > 0 && o.length > 0 && h[0].distance + f < o[0].distance)
|
|
103
103
|
return;
|
|
104
|
-
const
|
|
104
|
+
const c = (p = o == null ? void 0 : o[0]) == null ? void 0 : p.object;
|
|
105
105
|
if (e === "wantDblclick")
|
|
106
106
|
return !1;
|
|
107
|
-
if ((!
|
|
107
|
+
if ((!c || !this.objectIsBound(c)) && e === "hover")
|
|
108
108
|
for (const s of (y = this.boundObject.hover) != null ? y : [])
|
|
109
109
|
s._hovered && this.notify({ eventName: "unHover", object: s });
|
|
110
|
-
if (
|
|
110
|
+
if (c && c && this.notify({ eventName: e, object: c, originEvent: n, raycaster: l, intersects: o }))
|
|
111
111
|
return !1;
|
|
112
112
|
});
|
|
113
113
|
a(this, "objectIsBound", (e) => {
|
|
@@ -122,18 +122,18 @@ class Y {
|
|
|
122
122
|
if (!n)
|
|
123
123
|
return !1;
|
|
124
124
|
let l = !1, o = [];
|
|
125
|
-
const
|
|
125
|
+
const h = [], f = () => {
|
|
126
126
|
const s = d.slice(1);
|
|
127
127
|
return s[0] ? this.notify(H(w({}, e), { object: s[0].object, intersects: s })) : !1;
|
|
128
128
|
};
|
|
129
|
-
let
|
|
130
|
-
for (
|
|
131
|
-
|
|
132
|
-
const v =
|
|
129
|
+
let c = n;
|
|
130
|
+
for (h.push(c); c.parent; )
|
|
131
|
+
c = c.parent, h.push(c);
|
|
132
|
+
const v = h[h.length - 1];
|
|
133
133
|
if ((g = this.config) != null && g.noEmitWhenNotInScene && v.type !== "Scene")
|
|
134
134
|
return f();
|
|
135
135
|
let E = !1;
|
|
136
|
-
for (const s of
|
|
136
|
+
for (const s of h) {
|
|
137
137
|
if (l)
|
|
138
138
|
break;
|
|
139
139
|
s.draggable && (t === "dragstart" && (s._dragging = !0, this.dragging = !0), t === "dragend" && (s._dragging = !1, this.dragging = !1));
|
|
@@ -207,9 +207,9 @@ class Y {
|
|
|
207
207
|
removeEventListener(e, t, n, ...r) {
|
|
208
208
|
var d, l;
|
|
209
209
|
if (!e._domEvent || (t === void 0 && (Object.keys(this.boundObject).forEach((o) => {
|
|
210
|
-
var f,
|
|
211
|
-
const
|
|
212
|
-
|
|
210
|
+
var f, c;
|
|
211
|
+
const h = (f = this.boundObject[o]) == null ? void 0 : f.findIndex((v) => v === e);
|
|
212
|
+
h !== -1 && ((c = this.boundObject[o]) == null || c.splice(h, 1));
|
|
213
213
|
}), e._domEvent = {}), !e._domEvent[`${t}Handler`]))
|
|
214
214
|
return;
|
|
215
215
|
if (n === void 0) {
|
|
@@ -218,7 +218,7 @@ class Y {
|
|
|
218
218
|
}
|
|
219
219
|
const i = e._domEvent[`${t}Handler`].findIndex((o) => o[0] === n);
|
|
220
220
|
if (i !== -1 && (e._domEvent[`${t}Handler`].splice(i, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
|
|
221
|
-
const o = (d = this.boundObject[t]) == null ? void 0 : d.findIndex((
|
|
221
|
+
const o = (d = this.boundObject[t]) == null ? void 0 : d.findIndex((h) => h === e);
|
|
222
222
|
o !== -1 && ((l = this.boundObject[t]) == null || l.splice(o, 1));
|
|
223
223
|
}
|
|
224
224
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.59.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.59.10-alpha.0",
|
|
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",
|