@realsee/dnalogel 3.26.0 → 3.27.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/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +11 -1
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -4
- package/dist/index.cjs.js +19 -19
- package/dist/index.js +511 -500
- package/dist/index.umd.js +19 -19
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -4
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -4
- package/docs/classes/CSS3DRender.html +3 -4
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -4
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -4
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +3 -4
- package/docs/classes/ModelRoomLabelController.html +3 -4
- package/docs/classes/MoveController.html +3 -4
- package/docs/classes/Object3DHelperController.html +3 -4
- package/docs/classes/PaintBrush.html +3 -4
- package/docs/classes/PanoMeasurePluginLine.html +3 -4
- package/docs/classes/PanoMeasurePluginModel.html +3 -4
- package/docs/classes/PanoMeasurePluginPoint.html +3 -4
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -4
- package/docs/classes/PanoTagPluginController.html +7 -8
- package/docs/classes/Sculpt.html +3 -4
- package/docs/classes/Util.BetterTween.html +3 -4
- package/docs/classes/Util.Interval.html +3 -4
- package/docs/classes/Util.LineSegments.html +3 -4
- package/docs/classes/Util.Magnifier.html +3 -4
- package/docs/classes/Util.Object3D.html +3 -4
- package/docs/classes/Util.PointDomHelper.html +3 -4
- package/docs/classes/Util.PointHelper.html +3 -4
- package/docs/classes/Util.PointSelectorHelper.html +3 -4
- package/docs/classes/Util.Rectangle.html +3 -4
- package/docs/classes/WalkController.html +3 -4
- package/docs/enums/CameraMovementEffect.html +3 -4
- package/docs/enums/ContentType.html +3 -4
- package/docs/enums/DIRECTION.html +3 -4
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -4
- package/docs/enums/DimensionType.html +3 -4
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -4
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -4
- package/docs/enums/PaintBrushTypeEnum.html +3 -4
- package/docs/enums/PointType.html +3 -4
- package/docs/enums/Rotation.html +3 -4
- package/docs/functions/AreaMakerPlugin.html +3 -4
- package/docs/functions/CSS3DRenderPlugin.html +3 -4
- package/docs/functions/CameraMovementPlugin.html +3 -4
- package/docs/functions/CruisePlugin.html +3 -4
- package/docs/functions/CurrentPanoImagePlugin.html +3 -4
- package/docs/functions/GuideLinePlugin.html +3 -4
- package/docs/functions/ItemLabelPlugin.html +3 -4
- package/docs/functions/MapviewFloorplanPlugin.html +3 -4
- package/docs/functions/ModelChassisCompassPlugin.html +3 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -4
- package/docs/functions/ModelFloorplanPlugin.html +3 -4
- package/docs/functions/ModelItemLabelPlugin.html +3 -4
- package/docs/functions/ModelMakerPlugin.html +3 -4
- package/docs/functions/ModelRoomLabelPlugin.html +3 -4
- package/docs/functions/ModelTVVideoPlugin.html +3 -4
- package/docs/functions/ModelViewPlugin.html +3 -4
- package/docs/functions/MovePlugin.html +3 -4
- package/docs/functions/Object3DHelperPlugin.html +3 -4
- package/docs/functions/PanoCompassPlugin.html +3 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -4
- package/docs/functions/PanoDoorLabelPlugin.html +3 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -4
- package/docs/functions/PanoMeasurePlugin.html +3 -4
- package/docs/functions/PanoRulerPlugin.html +3 -4
- package/docs/functions/PanoRulerProPlugin.html +3 -4
- package/docs/functions/PanoSpatialTagPlugin.html +3 -4
- package/docs/functions/PanoTagPlugin.html +3 -4
- package/docs/functions/PanoVideoPlugin.html +3 -4
- package/docs/functions/PipelinePlugin.html +3 -4
- package/docs/functions/SculptPlugin.html +3 -4
- package/docs/functions/TopviewFloorplanPlugin.html +3 -4
- package/docs/functions/Util.absoluteUrl.html +3 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -4
- package/docs/functions/Util.equal.html +3 -4
- package/docs/functions/Util.getCoordsFromClient.html +3 -4
- package/docs/functions/Util.getCoordsFromElement.html +3 -4
- package/docs/functions/Util.getFrameTime.html +3 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -4
- package/docs/functions/Util.isAbsoluteURL.html +3 -4
- package/docs/functions/Util.isModelLike.html +3 -4
- package/docs/functions/Util.isNil.html +3 -4
- package/docs/functions/Util.isPanoramaLike.html +3 -4
- package/docs/functions/Util.nextFrame.html +3 -4
- package/docs/functions/Util.notNil.html +3 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -4
- package/docs/functions/Util.tweenProgress.html +3 -4
- package/docs/functions/Util.uuid.html +3 -4
- package/docs/functions/pluginFlag.html +3 -4
- package/docs/index.html +4 -5
- package/docs/interfaces/AddTagConfig.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -4
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -4
- package/docs/interfaces/ContentTypeMapInterface.html +3 -4
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -4
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -4
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -4
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -4
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -4
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -4
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -4
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -4
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -4
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -4
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -4
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -4
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -4
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -4
- package/docs/interfaces/EventMap.html +3 -4
- package/docs/interfaces/FloorplanBounding.html +3 -4
- package/docs/interfaces/FloorplanData.html +3 -4
- package/docs/interfaces/FloorplanEntrance.html +3 -4
- package/docs/interfaces/FloorplanExtraObject.html +3 -4
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -4
- package/docs/interfaces/FloorplanFloorData.html +3 -4
- package/docs/interfaces/FloorplanImagePosition.html +3 -4
- package/docs/interfaces/FloorplanObserver.html +3 -4
- package/docs/interfaces/FloorplanOutlineItem.html +3 -4
- package/docs/interfaces/FloorplanPosition.html +3 -4
- package/docs/interfaces/FloorplanRoomItem.html +3 -4
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -4
- package/docs/interfaces/FloorplanServerBounding.html +3 -4
- package/docs/interfaces/FloorplanServerComputedData.html +3 -4
- package/docs/interfaces/FloorplanServerData.html +3 -4
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -4
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -4
- package/docs/interfaces/FloorplanServerEntrance.html +3 -4
- package/docs/interfaces/FloorplanServerFloorData.html +3 -4
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -4
- package/docs/interfaces/FloorplanServerObserver.html +3 -4
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -4
- package/docs/interfaces/FloorplanServerPosition.html +3 -4
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -4
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -4
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -4
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -4
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -4
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -4
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -4
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -4
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -4
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -4
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -4
- package/docs/interfaces/HelperOffset.html +3 -4
- package/docs/interfaces/ImagePlaneGroup.html +3 -4
- package/docs/interfaces/ItemLabelPluginData.html +3 -4
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -4
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -4
- package/docs/interfaces/MinMax.html +3 -4
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -4
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -4
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -4
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -4
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -4
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -4
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -4
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -4
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -4
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -4
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -4
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -4
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -4
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -4
- package/docs/interfaces/ModelViewPluginExportType.html +3 -4
- package/docs/interfaces/Object3DHelperState.html +3 -4
- package/docs/interfaces/ObjectHelperControllers.html +3 -4
- package/docs/interfaces/PaintBrushAction.html +3 -4
- package/docs/interfaces/PaintBrushConfigs.html +3 -4
- package/docs/interfaces/PaintBrushState.html +3 -4
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -4
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -4
- package/docs/interfaces/PanoMeasureParameterType.html +3 -4
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -4
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -4
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -4
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -4
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -4
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -4
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -4
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -4
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -4
- package/docs/interfaces/PanoRulerProPluginState.html +3 -4
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -4
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -4
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -4
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -4
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -4
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -4
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -4
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -4
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -4
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -4
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -4
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -4
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -4
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -4
- package/docs/interfaces/Point.html +3 -4
- package/docs/interfaces/Room.html +3 -4
- package/docs/interfaces/RoomInfo.html +3 -4
- package/docs/interfaces/RoomLabel.html +3 -4
- package/docs/interfaces/RoomRules.html +3 -4
- package/docs/interfaces/Rooms.html +3 -4
- package/docs/interfaces/Scissor.html +3 -4
- package/docs/interfaces/State.html +3 -4
- package/docs/interfaces/TagCacheInterface.html +3 -4
- package/docs/interfaces/TagConfig.html +21 -16
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -4
- package/docs/interfaces/TagIconUrl.html +3 -4
- package/docs/interfaces/TagObjectGroup.html +3 -4
- package/docs/interfaces/TagStyle.html +3 -4
- package/docs/interfaces/Tags.html +24 -411
- package/docs/interfaces/TemporaryState.html +3 -4
- package/docs/interfaces/Util.MagnifierParameter.html +3 -4
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -4
- package/docs/interfaces/Util.PointIntersection.html +3 -4
- package/docs/modules/AreaMakerPluginType.html +3 -4
- package/docs/modules/CruisePluginTypes.html +3 -4
- package/docs/modules/CurrentPanoImagePluginType.html +3 -4
- package/docs/modules/GuideLineItem.html +3 -4
- package/docs/modules/GuideLineModeItem.html +3 -4
- package/docs/modules/GuideLinePluginType.html +3 -4
- package/docs/modules/ModelMakerPluginType.html +3 -4
- package/docs/modules/PanoVideoPluginType.html +3 -4
- package/docs/modules/SculptData.html +3 -4
- package/docs/modules/Util.html +3 -4
- package/docs/modules.html +4 -6
- package/docs/types/AddObject3DHelperConfig.html +3 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -4
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -4
- package/docs/types/ArrayPosition.html +3 -4
- package/docs/types/AudioAppearance.html +3 -4
- package/docs/types/CSS3DRenderExportType.html +3 -4
- package/docs/types/CSS3DRenderPluginExportType.html +3 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -4
- package/docs/types/ClassFunctionParameters.html +3 -4
- package/docs/types/Color.html +3 -4
- package/docs/types/ContentTypeConfigKey.html +4 -5
- package/docs/types/ContentTypeConfigKeySplit.html +4 -5
- package/docs/types/ContentTypeMap.html +3 -4
- package/docs/types/Create3DDomContainerReturnType.html +3 -4
- package/docs/types/Create3DElementReturnType.html +3 -4
- package/docs/types/CruisePluginExportType.html +3 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -4
- package/docs/types/DeprecatedTagProperty.html +3 -4
- package/docs/types/Direction-1.html +3 -4
- package/docs/types/Direction4.html +3 -4
- package/docs/types/ElementRenderer.html +3 -4
- package/docs/types/FloorplanRuleLabels.html +3 -4
- package/docs/types/FloorplanServerRuleLabels.html +3 -4
- package/docs/types/GuideLinePluginExportType.html +3 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -4
- package/docs/types/GuideLinePluginType.PathItem.html +3 -4
- package/docs/types/GuideLinePluginType.PluginData.html +3 -4
- package/docs/types/HelperEventMap.html +3 -4
- package/docs/types/InternalHelperEventMap.html +3 -4
- package/docs/types/LoadTagConfig.html +3 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -4
- package/docs/types/MediaData.html +3 -4
- package/docs/types/MediaStore.html +3 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -4
- package/docs/types/ModelId.html +3 -4
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -4
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -4
- package/docs/types/MoveArgs.html +3 -4
- package/docs/types/MoveOpts.html +3 -4
- package/docs/types/Object3DHelperEventMap.html +3 -4
- package/docs/types/ObjectFit.html +3 -4
- package/docs/types/PaintBrushEventMap.html +3 -4
- package/docs/types/PanoCompassPluginData.html +3 -4
- package/docs/types/PanoCompassPluginExportType.html +3 -4
- package/docs/types/PanoCompassPluginParameterType.html +3 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -4
- package/docs/types/PanoIndex.html +3 -4
- package/docs/types/PanoMeasurePluginEvent.html +3 -4
- package/docs/types/PanoMeasureReturnType.html +3 -4
- package/docs/types/PanoSpatialTagPluginId.html +3 -4
- package/docs/types/PanoTagPluginExportInterface.html +3 -4
- package/docs/types/PanoTagPluginParamsInterface.html +3 -4
- package/docs/types/PanoVideoPluginParameterType.html +3 -4
- package/docs/types/PanoVideoPluginReturnType.html +3 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -6
- package/docs/types/PipelinePluginParameterType.html +3 -4
- package/docs/types/PipelinePluginReturnType.html +3 -4
- package/docs/types/PlaneTag.html +4 -5
- package/docs/types/Point2DTag.html +4 -5
- package/docs/types/Point3DTag.html +4 -5
- package/docs/types/PointTag.html +4 -5
- package/docs/types/PointTagInstance.html +3 -4
- package/docs/types/Position.html +3 -4
- package/docs/types/PositionFrom.html +3 -4
- package/docs/types/RotateArgs.html +3 -4
- package/docs/types/RotateOpts.html +3 -4
- package/docs/types/RuleLabelsKey.html +3 -4
- package/docs/types/RuleLabelsValue.html +3 -4
- package/docs/types/ScaleCallback.html +3 -4
- package/docs/types/ScalePosition.html +3 -4
- package/docs/types/SculptData.BoxData.html +3 -4
- package/docs/types/SculptData.CircleData.html +3 -4
- package/docs/types/SculptData.CylinderData.html +3 -4
- package/docs/types/SculptData.PointData.html +3 -4
- package/docs/types/SculptData.PolygonData.html +3 -4
- package/docs/types/SculptData.PolylineData.html +3 -4
- package/docs/types/SculptData.PrismData.html +3 -4
- package/docs/types/SculptData.RectangleData.html +3 -4
- package/docs/types/StickType.html +3 -4
- package/docs/types/Tag.html +3 -4
- package/docs/types/Tag2D.html +3 -4
- package/docs/types/Tag3D.html +3 -4
- package/docs/types/TagConfigByKey.html +4 -5
- package/docs/types/TagContentType.html +3 -4
- package/docs/types/TagContentTypeMapping.html +3 -4
- package/docs/types/TagDimensionType.html +3 -4
- package/docs/types/TagElement.html +3 -4
- package/docs/types/TagEvents.html +3 -4
- package/docs/types/TagGLTFObject.html +3 -4
- package/docs/types/TagHooks.html +3 -4
- package/docs/types/TagId.html +3 -4
- package/docs/types/TagInstance.html +3 -4
- package/docs/types/TagPointType.html +3 -4
- package/docs/types/TagRendererMap.html +3 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -4
- package/docs/types/WorkCode.html +3 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -4
- package/docs/variables/PLUGIN.html +3 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -4
- package/docs/variables/ROOM_TYPE_MAP.html +3 -4
- package/docs/variables/defaultGlobalConfig.html +4 -5
- package/docs/variables/itemLabelPluginServerParams.html +3 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -4
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +134 -123
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +11 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -4
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- package/docs/types/AudioTagTypeConfigKey.html +0 -294
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var A = Object.defineProperty, E = Object.defineProperties;
|
|
2
|
+
var L = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var U = Object.getOwnPropertySymbols;
|
|
4
|
+
var O = Object.prototype.hasOwnProperty, z = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var S = (m, e, i) => e in m ? A(m, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[e] = i, k = (m, e) => {
|
|
6
6
|
for (var i in e || (e = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
import * as
|
|
14
|
-
import { is3DTag as
|
|
15
|
-
import { getTagCenterPosition as
|
|
16
|
-
import { checkRange as
|
|
17
|
-
import { isPanoramaLike as
|
|
7
|
+
O.call(e, i) && S(m, i, e[i]);
|
|
8
|
+
if (U)
|
|
9
|
+
for (var i of U(e))
|
|
10
|
+
z.call(e, i) && S(m, i, e[i]);
|
|
11
|
+
return m;
|
|
12
|
+
}, R = (m, e) => E(m, L(e));
|
|
13
|
+
import * as V from "three";
|
|
14
|
+
import { is3DTag as Z, isMediaModelTag as F } from "../utils/tag/tagCheck.js";
|
|
15
|
+
import { getTagCenterPosition as M, getTagPosition as q } from "../utils/tagPosition.js";
|
|
16
|
+
import { checkRange as P } from "../utils/checkRange.js";
|
|
17
|
+
import { isPanoramaLike as x, isModelLike as H } from "../../shared-utils/five/mode.js";
|
|
18
18
|
import "hammerjs";
|
|
19
19
|
import "@realsee/five";
|
|
20
20
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
21
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
22
22
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
|
-
import { notNil as
|
|
24
|
-
import { TagUtil as
|
|
25
|
-
import { getFloorIndex as
|
|
26
|
-
import { safeObj as
|
|
27
|
-
import { toArray as
|
|
23
|
+
import { notNil as N } from "../../shared-utils/isNil.js";
|
|
24
|
+
import { TagUtil as W } from "./TagUtil.js";
|
|
25
|
+
import { getFloorIndex as X } from "../../shared-utils/five/getFloorIndex.js";
|
|
26
|
+
import { safeObj as j } from "../../shared-utils/safeObj.js";
|
|
27
|
+
import { toArray as G } from "../../shared-utils/util.js";
|
|
28
28
|
import "../../shared-utils/three/centerPoint.js";
|
|
29
29
|
import "../../shared-utils/positionToVector3.js";
|
|
30
30
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -66,9 +66,9 @@ import "../../shared-utils/url/getUrl.js";
|
|
|
66
66
|
import "../../shared-utils/five/transformPosition.js";
|
|
67
67
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
68
68
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
class Qe extends
|
|
69
|
+
const T = new V.Raycaster();
|
|
70
|
+
T.params.Points.threshold = 0.1;
|
|
71
|
+
class Qe extends W {
|
|
72
72
|
constructor(e) {
|
|
73
73
|
super(e);
|
|
74
74
|
}
|
|
@@ -76,85 +76,96 @@ class Qe extends H {
|
|
|
76
76
|
* @description: 获取是否可见
|
|
77
77
|
*/
|
|
78
78
|
getVisible(e, i) {
|
|
79
|
-
const
|
|
80
|
-
if ((
|
|
81
|
-
return
|
|
79
|
+
const l = k(k({}, this.five.getCurrentState()), i), { panoIndex: n, mode: o } = l, f = x(o) ? this.getPanoIndexCache({ panoIndex: n, id: e.id }) : void 0;
|
|
80
|
+
if ((f == null ? void 0 : f.visible) !== void 0)
|
|
81
|
+
return f.visible;
|
|
82
82
|
{
|
|
83
83
|
const s = [], c = (() => {
|
|
84
|
-
var
|
|
85
|
-
const
|
|
86
|
-
|
|
84
|
+
var v, u, g, I, h, y, C;
|
|
85
|
+
const p = this.getTagConfig(e);
|
|
86
|
+
console.log("getVisible", l.mode, p.initialState);
|
|
87
|
+
const r = p.initialState, a = e.__lastInitialState;
|
|
88
|
+
if (r.visible !== void 0 && r.visible !== (a == null ? void 0 : a.visible))
|
|
87
89
|
return {
|
|
88
|
-
value:
|
|
90
|
+
value: r.visible,
|
|
91
|
+
checkedList: s,
|
|
92
|
+
reason: "initialState changed",
|
|
93
|
+
do_not_cache: !0
|
|
94
|
+
};
|
|
95
|
+
e.__lastInitialState = r;
|
|
96
|
+
const t = (v = p.visibleConfig) != null ? v : {};
|
|
97
|
+
if (typeof t == "function")
|
|
98
|
+
return {
|
|
99
|
+
value: t(this.five, { tag: e, distance: this.getDistance(e, l) }),
|
|
89
100
|
checkedList: s,
|
|
90
101
|
reason: "config function result"
|
|
91
102
|
};
|
|
92
|
-
if (
|
|
103
|
+
if (t.keep === "hidden")
|
|
93
104
|
return { value: !1, checkedList: s, reason: "config.keep is hidden" };
|
|
94
|
-
if (
|
|
105
|
+
if (t.keep === "visible")
|
|
95
106
|
return { value: !0, checkedList: s, reason: "config.keep is visible" };
|
|
96
|
-
if (
|
|
97
|
-
const
|
|
98
|
-
let
|
|
99
|
-
if (Array.isArray(
|
|
107
|
+
if (t.visibleFiveMode !== void 0) {
|
|
108
|
+
const d = typeof t.visibleFiveMode == "function" ? t.visibleFiveMode(e) : t.visibleFiveMode;
|
|
109
|
+
let b = !1;
|
|
110
|
+
if (Array.isArray(d) ? b = d.includes(o) : d === "ModelLike" ? b = H(o) : d === "PanoramaLike" ? b = !x(o) : d === "all" ? b = !0 : typeof d == "string" && (b = d === o), b === !1)
|
|
100
111
|
return {
|
|
101
112
|
value: !1,
|
|
102
113
|
checkedList: s,
|
|
103
114
|
reason: "current mode is not included in visibleFiveMode",
|
|
104
|
-
visibleFiveMode:
|
|
115
|
+
visibleFiveMode: t.visibleFiveMode,
|
|
105
116
|
mode: o
|
|
106
117
|
};
|
|
107
|
-
} else if (
|
|
118
|
+
} else if (t.visibleFiveMode === void 0 && ((u = this.five.getCurrentState()) == null ? void 0 : u.mode) !== ((I = (g = e.fiveState) == null ? void 0 : g.mode) != null ? I : "Panorama"))
|
|
108
119
|
return {
|
|
109
120
|
value: !1,
|
|
110
121
|
checkedList: s,
|
|
111
122
|
reason: "current mode is not equal to tag.fiveState.mode",
|
|
112
|
-
tagFiveMode: (
|
|
123
|
+
tagFiveMode: (h = e.fiveState) == null ? void 0 : h.mode,
|
|
113
124
|
mode: o
|
|
114
125
|
};
|
|
115
|
-
if (
|
|
126
|
+
if (t.followModelVisibility === !0 && (o === "Floorplan" || o === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
|
|
116
127
|
return { value: !1, checkedList: s, reason: "followModelVisibility check failed" };
|
|
117
|
-
if (
|
|
118
|
-
if (s.push("visiblePanoIndex"), Array.isArray(
|
|
128
|
+
if (x(o) && t.visiblePanoIndex !== void 0 && t.visiblePanoIndex !== "all" && n !== void 0) {
|
|
129
|
+
if (s.push("visiblePanoIndex"), Array.isArray(t.visiblePanoIndex) && !t.visiblePanoIndex.includes(n))
|
|
119
130
|
return {
|
|
120
131
|
value: !1,
|
|
121
132
|
checkedList: s,
|
|
122
|
-
reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${
|
|
133
|
+
reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${n}, visiblePanoIndex: ${t.visiblePanoIndex}`
|
|
123
134
|
};
|
|
124
|
-
if (
|
|
135
|
+
if (t.visiblePanoIndex === "current" && n !== ((y = e.fiveState) == null ? void 0 : y.panoIndex))
|
|
125
136
|
return {
|
|
126
137
|
value: !1,
|
|
127
138
|
checkedList: s,
|
|
128
|
-
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${
|
|
139
|
+
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${n}, tag.panoIndex: ${(C = e.fiveState) == null ? void 0 : C.panoIndex}`
|
|
129
140
|
};
|
|
130
141
|
}
|
|
131
|
-
if (
|
|
132
|
-
const
|
|
133
|
-
if (
|
|
142
|
+
if (t.visibleDistance !== void 0 && (s.push("visibleDistance"), t.visibleDistance !== "unLimited")) {
|
|
143
|
+
const d = this.getDistance(e, l);
|
|
144
|
+
if (P(d, t.visibleDistance) === !1)
|
|
134
145
|
return {
|
|
135
146
|
value: !1,
|
|
136
147
|
checkedList: s,
|
|
137
|
-
panoIndex:
|
|
138
|
-
visibleDistance:
|
|
139
|
-
reason: `distance is not in visibleDistance. distance: ${
|
|
148
|
+
panoIndex: n,
|
|
149
|
+
visibleDistance: t.visibleDistance,
|
|
150
|
+
reason: `distance is not in visibleDistance. distance: ${d}, visibleDistance: ${t.visibleDistance.min} - ${t.visibleDistance.max}`
|
|
140
151
|
};
|
|
141
152
|
}
|
|
142
|
-
if (
|
|
153
|
+
if (x(o) && t.angleRange && Z(e)) {
|
|
143
154
|
s.push("angleRange");
|
|
144
|
-
const
|
|
145
|
-
if (
|
|
146
|
-
return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${
|
|
155
|
+
const d = this.getAngle(e, n);
|
|
156
|
+
if (P(d, t.angleRange) === !1)
|
|
157
|
+
return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${d}, angleRange: ${t.angleRange}` };
|
|
147
158
|
}
|
|
148
|
-
if (
|
|
149
|
-
if (s.push("intersectRaycaster"),
|
|
159
|
+
if (t.intersectRaycaster !== !1 && (typeof t.intersectRaycaster != "object" || t.intersectRaycaster.enabled !== !1)) {
|
|
160
|
+
if (s.push("intersectRaycaster"), n === void 0)
|
|
150
161
|
return {
|
|
151
162
|
value: !1,
|
|
152
163
|
checkedList: s,
|
|
153
|
-
reason: `intersectRaycaster check failed: panoIndex is ${
|
|
164
|
+
reason: `intersectRaycaster check failed: panoIndex is ${n}`
|
|
154
165
|
};
|
|
155
|
-
const
|
|
156
|
-
if (
|
|
157
|
-
return Object.assign(
|
|
166
|
+
const d = this.getTagEnableByIntersect(e, n);
|
|
167
|
+
if (d.value === !1)
|
|
168
|
+
return Object.assign(d, { checkedList: s });
|
|
158
169
|
}
|
|
159
170
|
return {
|
|
160
171
|
value: !0,
|
|
@@ -162,7 +173,7 @@ class Qe extends H {
|
|
|
162
173
|
reason: "all check passed"
|
|
163
174
|
};
|
|
164
175
|
})();
|
|
165
|
-
return
|
|
176
|
+
return f && c.do_not_cache !== !0 && (f.visible = c.value, f.__debug_visible_reason__ = c), c.value;
|
|
166
177
|
}
|
|
167
178
|
}
|
|
168
179
|
/**
|
|
@@ -171,26 +182,26 @@ class Qe extends H {
|
|
|
171
182
|
getUnfoldedByPanoIndex(e, i) {
|
|
172
183
|
if (!this.getCurrentVisibleState(e))
|
|
173
184
|
return;
|
|
174
|
-
const
|
|
175
|
-
if (
|
|
176
|
-
return
|
|
185
|
+
const n = this.getPanoIndexCache({ panoIndex: i, id: e.id });
|
|
186
|
+
if (n.unfolded !== void 0)
|
|
187
|
+
return n.unfolded;
|
|
177
188
|
{
|
|
178
189
|
const o = this.getTagConfig(e).unfoldedConfig;
|
|
179
190
|
if (!o)
|
|
180
191
|
return;
|
|
181
|
-
const
|
|
192
|
+
const f = (() => {
|
|
182
193
|
if (typeof o == "function")
|
|
183
194
|
return o(this.five, { tag: e, distance: this.getDistance(e, { panoIndex: i }) });
|
|
184
195
|
if (o.keep === "folded")
|
|
185
196
|
return !1;
|
|
186
197
|
if (o.keep === "unfolded")
|
|
187
198
|
return !0;
|
|
188
|
-
if (o.unfoldDistance &&
|
|
199
|
+
if (o.unfoldDistance && P(this.getDistance(e, { panoIndex: i }), o.unfoldDistance) === !1)
|
|
189
200
|
return !1;
|
|
190
201
|
})();
|
|
191
|
-
|
|
202
|
+
n.unfolded = f;
|
|
192
203
|
const s = this.getUnfoldedByCamera(e);
|
|
193
|
-
return s !== void 0 ? s :
|
|
204
|
+
return s !== void 0 ? s : n.unfolded;
|
|
194
205
|
}
|
|
195
206
|
}
|
|
196
207
|
/**
|
|
@@ -199,39 +210,39 @@ class Qe extends H {
|
|
|
199
210
|
getUnfoldedByCamera(e) {
|
|
200
211
|
return this.getCurrentVisibleState(e) ? (() => {
|
|
201
212
|
var o;
|
|
202
|
-
const
|
|
203
|
-
if (
|
|
204
|
-
if (typeof
|
|
205
|
-
return
|
|
206
|
-
if (
|
|
213
|
+
const n = this.getTagConfig(e).unfoldedConfig;
|
|
214
|
+
if (n) {
|
|
215
|
+
if (typeof n == "function")
|
|
216
|
+
return n(this.five, { tag: e, distance: this.getDistance(e) });
|
|
217
|
+
if (n.keep === "folded")
|
|
207
218
|
return !1;
|
|
208
|
-
if (
|
|
219
|
+
if (n.keep === "unfolded")
|
|
209
220
|
return !0;
|
|
210
|
-
if (
|
|
221
|
+
if (n.autoUnfold === void 0 || n.autoUnfold === !1 || n.autoUnfold.enable === !1 || !n.autoUnfold.strategy)
|
|
211
222
|
return;
|
|
212
|
-
if (
|
|
213
|
-
const
|
|
214
|
-
if (
|
|
223
|
+
if (n.autoUnfold.strategy === "ScreenPostion") {
|
|
224
|
+
const f = this.getTagProject(e);
|
|
225
|
+
if (f && P(f.x, n.autoUnfold.autoUnfoldProjectX) === !1)
|
|
215
226
|
return !1;
|
|
216
227
|
}
|
|
217
|
-
if (
|
|
228
|
+
if (n.autoUnfold.strategy === "MinimumDistance") {
|
|
218
229
|
const c = this.filterPointTag.filter((r) => this.getCurrentVisibleState(r)).filter((r) => {
|
|
219
230
|
const a = this.getTagProject(r);
|
|
220
231
|
if (!a)
|
|
221
232
|
return !1;
|
|
222
|
-
const { x:
|
|
223
|
-
return !(Math.abs(
|
|
233
|
+
const { x: t, y: v, z: u } = a;
|
|
234
|
+
return !(Math.abs(u) > 1 || Math.abs(t) > 1 || Math.abs(v) > 1);
|
|
224
235
|
}).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: a }) => {
|
|
225
|
-
var
|
|
226
|
-
return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((
|
|
227
|
-
}).map((r) =>
|
|
228
|
-
const
|
|
229
|
-
return !(
|
|
236
|
+
var t, v;
|
|
237
|
+
return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((t = a.autoUnfold) == null ? void 0 : t.enable) === !1 || ((v = a.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance");
|
|
238
|
+
}).map((r) => R(k({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
|
|
239
|
+
const t = a.autoUnfold.distance;
|
|
240
|
+
return !(t && P(r, t) === !1);
|
|
230
241
|
}).sort((r, a) => r.distance - a.distance).findIndex((r) => r.id === e.id);
|
|
231
|
-
if (c === -1 || c <= ((o =
|
|
242
|
+
if (c === -1 || c <= ((o = n.autoUnfold.maxNumber) != null ? o : 1) - 1 === !1)
|
|
232
243
|
return !1;
|
|
233
244
|
}
|
|
234
|
-
return
|
|
245
|
+
return n.autoUnfold.strategy !== "FoldWhenMove";
|
|
235
246
|
}
|
|
236
247
|
})() : void 0;
|
|
237
248
|
}
|
|
@@ -246,16 +257,16 @@ class Qe extends H {
|
|
|
246
257
|
}
|
|
247
258
|
setVisible(e) {
|
|
248
259
|
(e != null ? e : this.tags).forEach((i) => {
|
|
249
|
-
const
|
|
250
|
-
i.state && (i.state.visible =
|
|
260
|
+
const l = this.getVisible(i);
|
|
261
|
+
i.state && (i.state.visible = l);
|
|
251
262
|
});
|
|
252
263
|
}
|
|
253
264
|
setUnfoldedByPanoIndex() {
|
|
254
265
|
this.tags.forEach((e) => {
|
|
255
266
|
const i = this.getUnfoldedByPanoIndex(e);
|
|
256
267
|
if (e.state && (i !== void 0 && (e.state.unfolded = i), i && !e.state.visible)) {
|
|
257
|
-
const
|
|
258
|
-
typeof
|
|
268
|
+
const l = this.getTagConfig(e);
|
|
269
|
+
typeof l.unfoldedConfig == "object" && l.unfoldedConfig.autoFoldWhenHide !== !1 && (e.state.unfolded = !1);
|
|
259
270
|
}
|
|
260
271
|
});
|
|
261
272
|
}
|
|
@@ -263,42 +274,42 @@ class Qe extends H {
|
|
|
263
274
|
* @description 一个点的标签
|
|
264
275
|
*/
|
|
265
276
|
getTagProject(e) {
|
|
266
|
-
const i =
|
|
277
|
+
const i = M(e);
|
|
267
278
|
if (!i)
|
|
268
279
|
return;
|
|
269
|
-
const { x:
|
|
280
|
+
const { x: l, y: n, z: o } = i.project(this.five.camera);
|
|
270
281
|
if (!(o > 1))
|
|
271
|
-
return { x:
|
|
282
|
+
return { x: l, y: n, z: o };
|
|
272
283
|
}
|
|
273
284
|
/** 通过射线检测标签可用性 */
|
|
274
285
|
getTagEnableByIntersect(e, i) {
|
|
275
|
-
var
|
|
276
|
-
const
|
|
286
|
+
var p, r, a, t, v;
|
|
287
|
+
const l = j(j((p = this.getTagConfig(e).visibleConfig) != null ? p : {}).intersectRaycaster), n = i != null ? i : this.five.getCurrentState().panoIndex, o = x(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(n) : this.five.camera.position;
|
|
277
288
|
if (o === void 0)
|
|
278
|
-
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex:
|
|
279
|
-
const
|
|
289
|
+
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: n } };
|
|
290
|
+
const f = G(
|
|
280
291
|
(() => {
|
|
281
292
|
var g;
|
|
282
|
-
const
|
|
283
|
-
return
|
|
293
|
+
const u = (g = l.checkPoints) != null ? g : "center";
|
|
294
|
+
return u === "center" ? M(e) : u === "corner" ? q(e) : Array.isArray(u) ? u : [];
|
|
284
295
|
})()
|
|
285
296
|
);
|
|
286
297
|
let s = 0, c = 0;
|
|
287
|
-
for (const
|
|
288
|
-
const g = new
|
|
289
|
-
|
|
290
|
-
const
|
|
291
|
-
if (!
|
|
298
|
+
for (const u of f) {
|
|
299
|
+
const g = new V.Vector3().subVectors(u, o).normalize();
|
|
300
|
+
T.set(o, g);
|
|
301
|
+
const I = o.distanceTo(u), [h] = this.five.model.intersectRaycaster(T), y = (() => {
|
|
302
|
+
if (!F(e))
|
|
292
303
|
return;
|
|
293
|
-
const
|
|
294
|
-
var
|
|
295
|
-
return (
|
|
296
|
-
}).filter(
|
|
297
|
-
return
|
|
298
|
-
})(),
|
|
299
|
-
Math.min((a =
|
|
300
|
-
const
|
|
301
|
-
if (s >=
|
|
304
|
+
const w = this.tags.filter(F).map(($) => {
|
|
305
|
+
var D;
|
|
306
|
+
return (D = $.model) == null ? void 0 : D.object;
|
|
307
|
+
}).filter(N), [B] = T.intersectObjects(w, !0);
|
|
308
|
+
return B;
|
|
309
|
+
})(), C = (r = l.distanceAccuracy) != null ? r : 0.01;
|
|
310
|
+
Math.min((a = h == null ? void 0 : h.distance) != null ? a : 1 / 0, (t = y == null ? void 0 : y.distance) != null ? t : 1 / 0) + C >= I ? s++ : c++;
|
|
311
|
+
const _ = (v = l.needPassed) != null ? v : 1;
|
|
312
|
+
if (s >= _)
|
|
302
313
|
return { value: !0 };
|
|
303
314
|
}
|
|
304
315
|
return c === 0 ? { value: !0 } : {
|
|
@@ -306,18 +317,18 @@ class Qe extends H {
|
|
|
306
317
|
reason: {
|
|
307
318
|
type: "intersectRaycaster check failed",
|
|
308
319
|
passedCount: s,
|
|
309
|
-
needPassed:
|
|
320
|
+
needPassed: l.needPassed
|
|
310
321
|
}
|
|
311
322
|
};
|
|
312
323
|
}
|
|
313
324
|
/** 检测是否匹配当前楼层 */
|
|
314
325
|
getVisibleByFloorIndex(e) {
|
|
315
|
-
var o,
|
|
326
|
+
var o, f, s, c, p, r, a;
|
|
316
327
|
let i = 0;
|
|
317
|
-
const
|
|
318
|
-
|
|
319
|
-
const
|
|
320
|
-
return
|
|
328
|
+
const l = (o = e.fiveState) == null ? void 0 : o.panoIndex;
|
|
329
|
+
l !== void 0 ? i = (f = this.workUtil.getObserver(l)) == null ? void 0 : f.floorIndex : i = X(this.workUtil.work, (a = (r = (c = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : c.position) != null ? r : (p = e.mediaPlane) == null ? void 0 : p.position) != null ? a : M(e));
|
|
330
|
+
const n = this.five.model.shownFloor;
|
|
331
|
+
return n === null || n === i;
|
|
321
332
|
}
|
|
322
333
|
}
|
|
323
334
|
export {
|
|
@@ -147,7 +147,13 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
147
147
|
disableFold?: true;
|
|
148
148
|
/** min-max米内自动展开,否则收起 */
|
|
149
149
|
unfoldDistance?: MinMax;
|
|
150
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* @description 自动展开策略
|
|
152
|
+
*
|
|
153
|
+
* @strategy 'ScreenPostion':根据屏幕位置展开
|
|
154
|
+
* @strategy 'MinimumDistance':最近标签自动展开
|
|
155
|
+
* @strategy 'FoldWhenMove':移动屏幕自动收起
|
|
156
|
+
*/
|
|
151
157
|
autoUnfold?: false | {
|
|
152
158
|
enable?: boolean;
|
|
153
159
|
/** 自动展开 策略 */
|
|
@@ -168,6 +174,10 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
168
174
|
* @default 无限制
|
|
169
175
|
*/
|
|
170
176
|
distance?: MinMax;
|
|
177
|
+
} | {
|
|
178
|
+
enable?: boolean;
|
|
179
|
+
/** 移动屏幕自动收起 */
|
|
180
|
+
strategy?: 'FoldWhenMove';
|
|
171
181
|
};
|
|
172
182
|
} | ConfigFunction;
|
|
173
183
|
/** 初始状态 */
|
|
@@ -64,15 +64,14 @@ export interface ImagePlaneGroup extends Group {
|
|
|
64
64
|
children: ImagePlane[];
|
|
65
65
|
}
|
|
66
66
|
export type AudioAppearance = TagInstance<'Audio'>['data']['appearance'];
|
|
67
|
-
|
|
68
|
-
type _ContentTypeConfigKey = `${StickType | 'Any'}-${TagContentType | 'Any'}` | TagContentType | AudioTagTypeConfigKey | 'Any';
|
|
67
|
+
type _ContentTypeConfigKey = `${StickType | 'Any'}-${TagContentType | 'Any'}` | TagContentType | `Any-Audio-${AudioAppearance}` | 'Any';
|
|
69
68
|
export type ContentTypeConfigKeySplit = [StickType | 'Any', TagContentType | 'Any'] | [TagContentType] | [StickType | 'Any', 'Audio', AudioAppearance] | ['Any'] | [];
|
|
70
|
-
type FiveModeType = `[${Mode | 'PanoramaLike' | 'ModelLike'}]`;
|
|
69
|
+
type FiveModeType = `[${Exclude<Mode, 'DepthPanorama'> | 'PanoramaLike' | 'ModelLike'}]`;
|
|
71
70
|
export type ContentTypeConfigKey = FiveModeType | `${FiveModeType}-${_ContentTypeConfigKey}` | _ContentTypeConfigKey;
|
|
72
71
|
/**
|
|
73
72
|
* @description: 从 ContentTypeConfigKey 中提取 ContentTypeConfigKey 对应的 TagContentType 是啥
|
|
74
73
|
*/
|
|
75
|
-
export type PickTagContentTypeInContentTypeConfigKey<T> = T extends FiveModeType ? any : T extends `${FiveModeType}-${infer P extends _ContentTypeConfigKey}` ? PickTagContentTypeInContentTypeConfigKey<P> : T extends `${any}
|
|
74
|
+
export type PickTagContentTypeInContentTypeConfigKey<T> = T extends FiveModeType ? any : T extends `${FiveModeType}-${infer P extends _ContentTypeConfigKey}` ? PickTagContentTypeInContentTypeConfigKey<P> : T extends `${any}-${infer C}` ? C : T extends TagContentType ? T : any;
|
|
76
75
|
export type TagConfigByKey<T> = PickTagContentTypeInContentTypeConfigKey<T> extends TagContentType ? TagConfig<PickTagContentTypeInContentTypeConfigKey<T>> : TagConfig<any>;
|
|
77
76
|
export type PointTag<C extends TagContentType = TagContentType> = TagInstance<C, '2DPoint' | '3DPoint'>;
|
|
78
77
|
/** 二维标签 */
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.27.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",
|