@realsee/dnalogel 3.3.5-dev.0 → 3.4.0-dev.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/CruisePlugin/CruiseController.d.ts +146 -0
- package/dist/CruisePlugin/Move.d.ts +25 -0
- package/dist/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
- package/dist/CruisePlugin/index.d.ts +4 -3
- package/dist/CruisePlugin/typing.d.ts +2 -2
- package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
- package/dist/GuideLinePlugin/Controller.d.ts +1 -6
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +4 -0
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +0 -4
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +4420 -4234
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/five/fiveLoaded.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +32 -31
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +33 -32
- package/docs/classes/CSS3DRender.html +32 -31
- package/docs/classes/GuideLineItem.GuideLineItem.html +20 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +42 -41
- package/docs/classes/Magnifier.html +21 -20
- package/docs/classes/ModelRoomLabelController.html +12 -11
- package/docs/classes/MoveController.html +640 -0
- package/docs/classes/Object3DHelperController.html +26 -25
- package/docs/classes/PaintBrush.html +16 -15
- package/docs/classes/PanoMeasurePluginLine.html +28 -27
- package/docs/classes/PanoMeasurePluginModel.html +28 -27
- package/docs/classes/PanoMeasurePluginPoint.html +12 -11
- package/docs/classes/PanoMeasurePluginPolyline.html +28 -27
- package/docs/classes/PanoTagPluginController.html +49 -48
- package/docs/classes/Util.BetterTween.html +10 -9
- package/docs/classes/Util.Interval.html +13 -12
- package/docs/classes/Util.LineSegments.html +9 -8
- package/docs/classes/Util.Magnifier.html +21 -20
- package/docs/classes/Util.Object3D.html +9 -8
- package/docs/classes/Util.PointDomHelper.html +12 -11
- package/docs/classes/Util.PointHelper.html +12 -11
- package/docs/classes/Util.PointSelectorHelper.html +17 -16
- package/docs/classes/Util.Rectangle.html +14 -13
- package/docs/classes/{CruisePluginController.html → WalkController.html} +51 -57
- package/docs/enums/CameraMovementEffect.html +8 -7
- package/docs/enums/ContentType.html +21 -20
- package/docs/enums/DIRECTION.html +10 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/DimensionType.html +8 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/PaintBrushTypeEnum.html +9 -8
- package/docs/enums/PointType.html +8 -7
- package/docs/enums/Rotation.html +9 -8
- package/docs/functions/AreaMakerPlugin.html +6 -5
- package/docs/functions/CSS3DRenderPlugin.html +5 -4
- package/docs/functions/CameraMovementPlugin.html +5 -4
- package/docs/functions/CruisePlugin.html +7 -6
- package/docs/functions/CurrentPanoImagePlugin.html +5 -4
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +5 -4
- package/docs/functions/MapviewFloorplanPlugin.html +5 -4
- package/docs/functions/ModelChassisCompassPlugin.html +5 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
- package/docs/functions/ModelFloorplanPlugin.html +5 -4
- package/docs/functions/ModelItemLabelPlugin.html +5 -4
- package/docs/functions/ModelRoomLabelPlugin.html +5 -4
- package/docs/functions/ModelTVVideoPlugin.html +5 -4
- package/docs/functions/ModelViewPlugin.html +5 -4
- package/docs/functions/Object3DHelperPlugin.html +5 -4
- package/docs/functions/PanoCompassPlugin.html +5 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
- package/docs/functions/PanoDoorLabelPlugin.html +5 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
- package/docs/functions/PanoMeasurePlugin.html +5 -4
- package/docs/functions/PanoRulerPlugin.html +5 -4
- package/docs/functions/PanoRulerProPlugin.html +5 -4
- package/docs/functions/PanoSpatialTagPlugin.html +5 -4
- package/docs/functions/PanoTagPlugin.html +5 -4
- package/docs/functions/PanoVideoPlugin.html +5 -4
- package/docs/functions/PipelinePlugin.html +5 -4
- package/docs/functions/TopviewFloorplanPlugin.html +5 -4
- package/docs/functions/Util.absoluteUrl.html +6 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +6 -5
- package/docs/functions/Util.equal.html +6 -5
- package/docs/functions/Util.getCoordsFromClient.html +6 -5
- package/docs/functions/Util.getCoordsFromElement.html +6 -5
- package/docs/functions/Util.getFrameTime.html +6 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
- package/docs/functions/Util.isAbsoluteURL.html +6 -5
- package/docs/functions/Util.isModelLike.html +6 -5
- package/docs/functions/Util.isNil.html +6 -5
- package/docs/functions/Util.isPanoramaLike.html +6 -5
- package/docs/functions/Util.nextFrame.html +6 -5
- package/docs/functions/Util.notNil.html +6 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
- package/docs/functions/Util.tweenProgress.html +6 -5
- package/docs/functions/Util.uuid.html +6 -5
- package/docs/functions/pluginFlag.html +6 -5
- package/docs/index.html +6 -5
- package/docs/interfaces/AddTagConfig.html +7 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -6
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -6
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +16 -15
- package/docs/interfaces/AreaMakerPluginType.Params.html +8 -7
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -9
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -8
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -6
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -6
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -6
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +9 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -35
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +12 -11
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +13 -12
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +8 -7
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +7 -6
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +9 -8
- package/docs/interfaces/EventMap.html +16 -15
- package/docs/interfaces/FloorplanBounding.html +9 -8
- package/docs/interfaces/FloorplanData.html +11 -10
- package/docs/interfaces/FloorplanEntrance.html +12 -11
- package/docs/interfaces/FloorplanExtraObject.html +11 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
- package/docs/interfaces/FloorplanFloorData.html +10 -9
- package/docs/interfaces/FloorplanImagePosition.html +8 -7
- package/docs/interfaces/FloorplanObserver.html +10 -9
- package/docs/interfaces/FloorplanOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanPosition.html +8 -7
- package/docs/interfaces/FloorplanRoomItem.html +14 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
- package/docs/interfaces/FloorplanServerBounding.html +9 -8
- package/docs/interfaces/FloorplanServerComputedData.html +11 -10
- package/docs/interfaces/FloorplanServerData.html +8 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
- package/docs/interfaces/FloorplanServerEntrance.html +12 -11
- package/docs/interfaces/FloorplanServerFloorData.html +10 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
- package/docs/interfaces/FloorplanServerObserver.html +10 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanServerPosition.html +8 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -6
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
- package/docs/interfaces/HelperOffset.html +9 -8
- package/docs/interfaces/ImagePlaneGroup.html +7 -6
- package/docs/interfaces/ItemLabelPluginData.html +7 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
- package/docs/interfaces/MinMax.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
- package/docs/interfaces/ModelViewPluginExportType.html +12 -11
- package/docs/interfaces/Object3DHelperState.html +9 -8
- package/docs/interfaces/ObjectHelperControllers.html +10 -9
- package/docs/interfaces/PaintBrushAction.html +13 -12
- package/docs/interfaces/PaintBrushConfigs.html +13 -12
- package/docs/interfaces/PaintBrushState.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
- package/docs/interfaces/PanoMeasureParameterType.html +17 -16
- package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
- package/docs/interfaces/PanoRulerProPluginState.html +9 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
- package/docs/interfaces/Point.html +9 -8
- package/docs/interfaces/Room.html +10 -9
- package/docs/interfaces/RoomInfo.html +8 -7
- package/docs/interfaces/RoomLabel.html +15 -14
- package/docs/interfaces/RoomRules.html +6 -5
- package/docs/interfaces/Rooms.html +6 -5
- package/docs/interfaces/Scissor.html +10 -9
- package/docs/interfaces/State.html +9 -8
- package/docs/interfaces/TagCacheInterface.html +13 -12
- package/docs/interfaces/TagConfig.html +15 -14
- package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
- package/docs/interfaces/TagIconUrl.html +13 -12
- package/docs/interfaces/TagObjectGroup.html +7 -6
- package/docs/interfaces/TagStyle.html +7 -6
- package/docs/interfaces/Tags.html +10 -9
- package/docs/interfaces/TemporaryState.html +7 -6
- package/docs/interfaces/Util.MagnifierParameter.html +12 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
- package/docs/interfaces/Util.PointIntersection.html +9 -8
- package/docs/modules/AreaMakerPluginType.html +6 -5
- package/docs/modules/CruisePluginTypes.html +6 -5
- package/docs/modules/CurrentPanoImagePluginType.html +6 -5
- package/docs/modules/GuideLineItem.html +6 -5
- package/docs/modules/GuideLineModeItem.html +6 -5
- package/docs/modules/GuideLinePluginType.html +6 -5
- package/docs/modules/PanoVideoPluginType.html +6 -5
- package/docs/modules/Util.html +6 -5
- package/docs/modules.html +8 -6
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -5
- package/docs/types/AreaMakerPluginType.PluginData.html +6 -5
- package/docs/types/AreaMakerPluginType.ServerData.html +6 -5
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/AudioAppearance.html +6 -5
- package/docs/types/AudioTagTypeConfigKey.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/ClassFunctionParameters.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeConfigKeySplit.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -5
- package/docs/types/CurrentPanoImagePluginExportType.html +6 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +6 -5
- package/docs/types/DeprecatedTagProperty.html +6 -5
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/ElementRenderer.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -5
- package/docs/types/GuideLinePluginType.PathItem.html +6 -5
- package/docs/types/GuideLinePluginType.PluginData.html +6 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +6 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelId.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PanoVideoPluginParameterType.html +6 -5
- package/docs/types/PanoVideoPluginReturnType.html +6 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +6 -5
- package/docs/types/PipelinePluginParameterType.html +6 -5
- package/docs/types/PipelinePluginReturnType.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagInstance.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +6 -5
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagConfigByKey.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagGLTFObject.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TagInstance.html +6 -5
- package/docs/types/TagPointType.html +6 -5
- package/docs/types/TagRendererMap.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/defaultGlobalConfig.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- package/libs/CruisePlugin/CruiseController.d.ts +146 -0
- package/libs/CruisePlugin/CruiseController.js +235 -0
- package/libs/CruisePlugin/Move.d.ts +25 -0
- package/libs/CruisePlugin/Move.js +111 -0
- package/libs/CruisePlugin/{Controller.d.ts → Work.d.ts} +1 -8
- package/libs/CruisePlugin/{Controller.js → Work.js} +149 -177
- package/libs/CruisePlugin/index.d.ts +4 -3
- package/libs/CruisePlugin/index.js +14 -10
- package/libs/CruisePlugin/typing.d.ts +2 -2
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +11 -0
- package/libs/GuideLinePlugin/Controller.d.ts +1 -6
- package/libs/GuideLinePlugin/Controller.js +60 -74
- package/libs/GuideLinePlugin/GuideLineItem/index.js +53 -43
- package/libs/GuideLinePlugin/GuideLineItem.js +12 -9
- package/libs/GuideLinePlugin/index.js +20 -17
- package/libs/PanoTagPlugin/Components/TagItem.js +255 -287
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +4 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +135 -116
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +0 -4
- package/libs/PanoTagPlugin/controller/TagRender.js +71 -90
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +123 -119
- package/libs/shared-utils/five/fiveLoaded.d.ts +2 -0
- package/libs/shared-utils/five/fiveLoaded.js +30 -0
- package/libs/shared-utils/formatRad.d.ts +7 -0
- package/libs/shared-utils/formatRad.js +7 -0
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
- package/dist/CruisePlugin/utils/linerValue.d.ts +0 -1
- /package/dist/{CruisePlugin/utils → shared-utils}/formatRad.d.ts +0 -0
- /package/dist/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
- /package/libs/{CruisePlugin/utils/vectorToCoordinates.d.ts → shared-utils/vectorToCoordinate.d.ts} +0 -0
- /package/libs/{CruisePlugin/utils/vectorToCoordinates.js → shared-utils/vectorToCoordinate.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var k = (
|
|
1
|
+
var B = Object.defineProperty, E = Object.defineProperties;
|
|
2
|
+
var $ = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var C = Object.getOwnPropertySymbols;
|
|
4
|
+
var w = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var k = (m, e, i) => e in m ? B(m, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[e] = i, g = (m, e) => {
|
|
6
6
|
for (var i in e || (e = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
}, M = (
|
|
13
|
-
import * as
|
|
14
|
-
import { is3DTag as
|
|
15
|
-
import { getTagCenterPosition as
|
|
16
|
-
import { checkRange as
|
|
7
|
+
w.call(e, i) && k(m, i, e[i]);
|
|
8
|
+
if (C)
|
|
9
|
+
for (var i of C(e))
|
|
10
|
+
O.call(e, i) && k(m, i, e[i]);
|
|
11
|
+
return m;
|
|
12
|
+
}, M = (m, e) => E(m, $(e));
|
|
13
|
+
import * as j from "three";
|
|
14
|
+
import { is3DTag as L, isMediaModelTag as D } from "../utils/tag/tagCheck.js";
|
|
15
|
+
import { getTagCenterPosition as x, getTagPosition as z } from "../utils/tagPosition.js";
|
|
16
|
+
import { checkRange as p } from "../utils/checkRange.js";
|
|
17
17
|
import { isPanoramaLike as b, isModelLike as Z } from "../../shared-utils/five/mode.js";
|
|
18
18
|
import "hammerjs";
|
|
19
19
|
import "@realsee/five";
|
|
@@ -64,7 +64,7 @@ import "../utils/tag/adaptConfig.js";
|
|
|
64
64
|
import "../../shared-utils/typescript/entries.js";
|
|
65
65
|
import "../../shared-utils/url/getUrl.js";
|
|
66
66
|
import "../../shared-utils/five/transformPosition.js";
|
|
67
|
-
const I = new
|
|
67
|
+
const I = new j.Raycaster();
|
|
68
68
|
class Je extends N {
|
|
69
69
|
constructor(e) {
|
|
70
70
|
super(e);
|
|
@@ -73,80 +73,80 @@ class Je extends N {
|
|
|
73
73
|
* @description: 获取是否可见
|
|
74
74
|
*/
|
|
75
75
|
getVisible(e, i) {
|
|
76
|
-
const
|
|
77
|
-
if ((
|
|
78
|
-
return
|
|
76
|
+
const l = g(g({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = l, f = b(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
77
|
+
if ((f == null ? void 0 : f.visible) !== void 0)
|
|
78
|
+
return f.visible;
|
|
79
79
|
{
|
|
80
|
-
const
|
|
81
|
-
var r,
|
|
82
|
-
const
|
|
83
|
-
if (typeof
|
|
84
|
-
return { value:
|
|
85
|
-
if (
|
|
86
|
-
return { value: !1, checkedList:
|
|
87
|
-
if (
|
|
88
|
-
return { value: !0, checkedList:
|
|
89
|
-
if (
|
|
90
|
-
const a = typeof
|
|
91
|
-
let
|
|
92
|
-
if (Array.isArray(a) ?
|
|
80
|
+
const s = [], u = (() => {
|
|
81
|
+
var r, c, v;
|
|
82
|
+
const o = (r = this.getTagConfig(e).visibleConfig) != null ? r : {};
|
|
83
|
+
if (typeof o == "function")
|
|
84
|
+
return { value: o(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: s, reason: "config function result" };
|
|
85
|
+
if (o.keep === "hidden")
|
|
86
|
+
return { value: !1, checkedList: s, reason: "config.keep is hidden" };
|
|
87
|
+
if (o.keep === "visible")
|
|
88
|
+
return { value: !0, checkedList: s, reason: "config.keep is visible" };
|
|
89
|
+
if (o.visibleFiveMode !== void 0) {
|
|
90
|
+
const a = typeof o.visibleFiveMode == "function" ? o.visibleFiveMode(e) : o.visibleFiveMode;
|
|
91
|
+
let d = !1;
|
|
92
|
+
if (Array.isArray(a) ? d = a.includes(n) : a === "ModelLike" ? d = Z(n) : a === "PanoramaLike" ? d = !b(n) : a === "all" ? d = !0 : typeof a == "string" && (d = a === n), d === !1)
|
|
93
93
|
return {
|
|
94
94
|
value: !1,
|
|
95
|
-
checkedList:
|
|
95
|
+
checkedList: s,
|
|
96
96
|
reason: "current mode is not included in visibleFiveMode",
|
|
97
|
-
visibleFiveMode:
|
|
98
|
-
mode:
|
|
97
|
+
visibleFiveMode: o.visibleFiveMode,
|
|
98
|
+
mode: n
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
if (
|
|
102
|
-
return { value: !1, checkedList:
|
|
103
|
-
if (b(
|
|
104
|
-
if (
|
|
101
|
+
if (o.followModelVisibility === !0 && (n === "Floorplan" || n === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
|
|
102
|
+
return { value: !1, checkedList: s, reason: "followModelVisibility check failed" };
|
|
103
|
+
if (b(n) && o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && t !== void 0) {
|
|
104
|
+
if (s.push("visiblePanoIndex"), Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(t))
|
|
105
105
|
return {
|
|
106
106
|
value: !1,
|
|
107
|
-
checkedList:
|
|
108
|
-
reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${
|
|
107
|
+
checkedList: s,
|
|
108
|
+
reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${o.visiblePanoIndex}`
|
|
109
109
|
};
|
|
110
|
-
if (
|
|
110
|
+
if (o.visiblePanoIndex === "current" && t !== ((c = e.fiveState) == null ? void 0 : c.panoIndex))
|
|
111
111
|
return {
|
|
112
112
|
value: !1,
|
|
113
|
-
checkedList:
|
|
113
|
+
checkedList: s,
|
|
114
114
|
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(v = e.fiveState) == null ? void 0 : v.panoIndex}`
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
if (
|
|
117
|
+
if (o.visibleDistance !== void 0 && (s.push("visibleDistance"), o.visibleDistance !== "unLimited")) {
|
|
118
118
|
const a = this.getDistance(e);
|
|
119
|
-
if (
|
|
119
|
+
if (p(a, o.visibleDistance) === !1)
|
|
120
120
|
return {
|
|
121
121
|
value: !1,
|
|
122
|
-
checkedList:
|
|
123
|
-
reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${
|
|
122
|
+
checkedList: s,
|
|
123
|
+
reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${o.visibleDistance}`
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
|
-
if (b(
|
|
127
|
-
|
|
126
|
+
if (b(n) && o.angleRange && L(e)) {
|
|
127
|
+
s.push("angleRange");
|
|
128
128
|
const a = this.getAngle(e);
|
|
129
|
-
if (
|
|
130
|
-
return { value: !1, checkedList:
|
|
129
|
+
if (p(a, o.angleRange) === !1)
|
|
130
|
+
return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${o.angleRange}` };
|
|
131
131
|
}
|
|
132
|
-
if (
|
|
133
|
-
if (
|
|
132
|
+
if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
|
|
133
|
+
if (s.push("intersectRaycaster"), t === void 0)
|
|
134
134
|
return {
|
|
135
135
|
value: !1,
|
|
136
|
-
checkedList:
|
|
136
|
+
checkedList: s,
|
|
137
137
|
reason: `intersectRaycaster check failed: panoIndex is ${t}`
|
|
138
138
|
};
|
|
139
139
|
const a = this.getTagEnableByIntersect(e, t);
|
|
140
140
|
if (a.value === !1)
|
|
141
|
-
return Object.assign(a, { checkedList:
|
|
141
|
+
return Object.assign(a, { checkedList: s });
|
|
142
142
|
}
|
|
143
143
|
return {
|
|
144
144
|
value: !0,
|
|
145
|
-
checkedList:
|
|
145
|
+
checkedList: s,
|
|
146
146
|
reason: "all check passed"
|
|
147
147
|
};
|
|
148
148
|
})();
|
|
149
|
-
return
|
|
149
|
+
return f && (f.visible = u.value, f.__debug_visible_reason__ = u), u.value;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
@@ -159,22 +159,22 @@ class Je extends N {
|
|
|
159
159
|
if (t.unfolded !== void 0)
|
|
160
160
|
return t.unfolded;
|
|
161
161
|
{
|
|
162
|
-
const
|
|
163
|
-
if (!
|
|
162
|
+
const n = this.getTagConfig(e).unfoldedConfig;
|
|
163
|
+
if (!n)
|
|
164
164
|
return;
|
|
165
|
-
const
|
|
166
|
-
if (typeof
|
|
167
|
-
return
|
|
168
|
-
if (
|
|
165
|
+
const f = (() => {
|
|
166
|
+
if (typeof n == "function")
|
|
167
|
+
return n(this.five, { tag: e, distance: this.getDistance(e) });
|
|
168
|
+
if (n.keep === "folded")
|
|
169
169
|
return !1;
|
|
170
|
-
if (
|
|
170
|
+
if (n.keep === "unfolded")
|
|
171
171
|
return !0;
|
|
172
|
-
if (
|
|
172
|
+
if (n.unfoldDistance && p(this.getDistance(e), n.unfoldDistance) === !1)
|
|
173
173
|
return !1;
|
|
174
174
|
})();
|
|
175
|
-
t.unfolded =
|
|
176
|
-
const
|
|
177
|
-
return
|
|
175
|
+
t.unfolded = f;
|
|
176
|
+
const s = this.getUnfoldedByCamera(e);
|
|
177
|
+
return s !== void 0 ? s : t.unfolded;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
@@ -182,7 +182,7 @@ class Je extends N {
|
|
|
182
182
|
*/
|
|
183
183
|
getUnfoldedByCamera(e) {
|
|
184
184
|
return this.getCurrentVisibleState(e) ? (() => {
|
|
185
|
-
var
|
|
185
|
+
var n;
|
|
186
186
|
const t = this.getTagConfig(e).unfoldedConfig;
|
|
187
187
|
if (t) {
|
|
188
188
|
if (typeof t == "function")
|
|
@@ -194,25 +194,25 @@ class Je extends N {
|
|
|
194
194
|
if (t.autoUnfold === void 0 || t.autoUnfold === !1 || t.autoUnfold.enable === !1 || !t.autoUnfold.strategy)
|
|
195
195
|
return;
|
|
196
196
|
if (t.autoUnfold.strategy === "ScreenPostion") {
|
|
197
|
-
const
|
|
198
|
-
if (
|
|
197
|
+
const f = this.getTagProject(e);
|
|
198
|
+
if (f && p(f.x, t.autoUnfold.autoUnfoldProjectX) === !1)
|
|
199
199
|
return !1;
|
|
200
200
|
}
|
|
201
201
|
if (t.autoUnfold.strategy === "MinimumDistance") {
|
|
202
202
|
const u = this.filterPointTag.filter((r) => this.getCurrentVisibleState(r)).filter((r) => {
|
|
203
|
-
const
|
|
204
|
-
if (!
|
|
203
|
+
const c = this.getTagProject(r);
|
|
204
|
+
if (!c)
|
|
205
205
|
return !1;
|
|
206
|
-
const { x: v, y: a, z:
|
|
207
|
-
return !(Math.abs(
|
|
208
|
-
}).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig:
|
|
206
|
+
const { x: v, y: a, z: d } = c;
|
|
207
|
+
return !(Math.abs(d) > 1 || Math.abs(v) > 1 || Math.abs(a) > 1);
|
|
208
|
+
}).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: c }) => {
|
|
209
209
|
var v, a;
|
|
210
|
-
return !(typeof
|
|
211
|
-
}).map((r) => M(
|
|
212
|
-
const v =
|
|
213
|
-
return !(v &&
|
|
214
|
-
}).sort((r,
|
|
215
|
-
if (u === -1 || u <= ((
|
|
210
|
+
return !(typeof c == "function" || c.keep || c.autoUnfold === !1 || ((v = c.autoUnfold) == null ? void 0 : v.enable) === !1 || ((a = c.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
|
|
211
|
+
}).map((r) => M(g({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: c }) => {
|
|
212
|
+
const v = c.autoUnfold.distance;
|
|
213
|
+
return !(v && p(r, v) === !1);
|
|
214
|
+
}).sort((r, c) => r.distance - c.distance).findIndex((r) => r.id === e.id);
|
|
215
|
+
if (u === -1 || u <= ((n = t.autoUnfold.maxNumber) != null ? n : 1) - 1 === !1)
|
|
216
216
|
return !1;
|
|
217
217
|
}
|
|
218
218
|
return !0;
|
|
@@ -228,18 +228,37 @@ class Je extends N {
|
|
|
228
228
|
const i = this.getDistance(e);
|
|
229
229
|
return Math.round((1e4 - (i != null ? i : 0)) * 100);
|
|
230
230
|
}
|
|
231
|
+
/**
|
|
232
|
+
* @description: 一个点的标签
|
|
233
|
+
*/
|
|
234
|
+
setPointTagPosition() {
|
|
235
|
+
const e = this.filterPointTag;
|
|
236
|
+
e.length !== 0 && e.forEach((i) => {
|
|
237
|
+
var f;
|
|
238
|
+
const l = this.getCurrentVisibleState(i), t = (f = i.__Object__) != null ? f : {
|
|
239
|
+
timeoutId: void 0,
|
|
240
|
+
inAnimation: !0
|
|
241
|
+
};
|
|
242
|
+
if (i.__Object__ = t, !l && i.screenPosition ? (t.inAnimation = !0, t.timeoutId = setTimeout(() => {
|
|
243
|
+
this.getCurrentVisibleState(i) || (t.inAnimation = !1, i.screenPosition = null);
|
|
244
|
+
}, 1e3)) : t.timeoutId && (t.inAnimation = !1, clearTimeout(t.timeoutId)), !l && !t.inAnimation)
|
|
245
|
+
return;
|
|
246
|
+
const n = this.getTagProject(i);
|
|
247
|
+
n ? i.screenPosition = { leftPercent: (n.x + 1) / 2 * 100, topPercent: (-n.y + 1) / 2 * 100 } : i.screenPosition = null;
|
|
248
|
+
});
|
|
249
|
+
}
|
|
231
250
|
setVisible(e) {
|
|
232
251
|
(e != null ? e : this.tags).forEach((i) => {
|
|
233
|
-
const
|
|
234
|
-
i.state && (i.state.visible =
|
|
252
|
+
const l = this.getVisible(i);
|
|
253
|
+
i.state && (i.state.visible = l);
|
|
235
254
|
});
|
|
236
255
|
}
|
|
237
256
|
setUnfoldedByPanoIndex() {
|
|
238
257
|
this.tags.forEach((e) => {
|
|
239
258
|
const i = this.getUnfoldedByPanoIndex(e);
|
|
240
259
|
if (e.state && (i !== void 0 && (e.state.unfolded = i), i && !e.state.visible)) {
|
|
241
|
-
const
|
|
242
|
-
typeof
|
|
260
|
+
const l = this.getTagConfig(e);
|
|
261
|
+
typeof l.unfoldedConfig == "object" && l.unfoldedConfig.autoFoldWhenHide !== !1 && (e.state.unfolded = !1);
|
|
243
262
|
}
|
|
244
263
|
});
|
|
245
264
|
}
|
|
@@ -247,59 +266,59 @@ class Je extends N {
|
|
|
247
266
|
* @description 一个点的标签
|
|
248
267
|
*/
|
|
249
268
|
getTagProject(e) {
|
|
250
|
-
const i =
|
|
269
|
+
const i = x(e);
|
|
251
270
|
if (!i)
|
|
252
271
|
return;
|
|
253
|
-
const { x:
|
|
254
|
-
if (!(
|
|
255
|
-
return { x:
|
|
272
|
+
const { x: l, y: t, z: n } = i.project(this.five.camera);
|
|
273
|
+
if (!(n > 1))
|
|
274
|
+
return { x: l, y: t, z: n };
|
|
256
275
|
}
|
|
257
276
|
/** 通过射线检测标签可用性 */
|
|
258
277
|
getTagEnableByIntersect(e, i) {
|
|
259
|
-
var
|
|
260
|
-
const
|
|
261
|
-
if (
|
|
278
|
+
var o, r, c, v, a;
|
|
279
|
+
const l = R(R((o = this.getTagConfig(e).visibleConfig) != null ? o : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, n = b(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
|
|
280
|
+
if (n === void 0)
|
|
262
281
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
263
|
-
const
|
|
282
|
+
const f = W(
|
|
264
283
|
(() => {
|
|
265
|
-
var
|
|
266
|
-
const
|
|
267
|
-
return
|
|
284
|
+
var h;
|
|
285
|
+
const d = (h = l.checkPoints) != null ? h : "center";
|
|
286
|
+
return d === "center" ? x(e) : d === "corner" ? z(e) : Array.isArray(d) ? d : [];
|
|
268
287
|
})()
|
|
269
288
|
);
|
|
270
|
-
let
|
|
271
|
-
for (const
|
|
272
|
-
const
|
|
273
|
-
I.set(
|
|
274
|
-
const
|
|
289
|
+
let s = 0, u = 0;
|
|
290
|
+
for (const d of f) {
|
|
291
|
+
const h = new j.Vector3().subVectors(d, n).normalize();
|
|
292
|
+
I.set(n, h);
|
|
293
|
+
const U = n.distanceTo(d), [y] = this.five.model.intersectRaycaster(I), P = (() => {
|
|
275
294
|
if (!D(e))
|
|
276
295
|
return;
|
|
277
|
-
const
|
|
278
|
-
var
|
|
279
|
-
return (
|
|
280
|
-
}).filter(H), [
|
|
281
|
-
return
|
|
282
|
-
})(),
|
|
283
|
-
Math.min((
|
|
284
|
-
const
|
|
285
|
-
if (
|
|
296
|
+
const A = this.tags.filter(D).map((V) => {
|
|
297
|
+
var T;
|
|
298
|
+
return (T = V.model) == null ? void 0 : T.object;
|
|
299
|
+
}).filter(H), [S] = I.intersectObjects(A, !0);
|
|
300
|
+
return S;
|
|
301
|
+
})(), _ = (r = l.distanceAccuracy) != null ? r : 0.01;
|
|
302
|
+
Math.min((c = y == null ? void 0 : y.distance) != null ? c : 1 / 0, (v = P == null ? void 0 : P.distance) != null ? v : 1 / 0) + _ >= U ? s++ : u++;
|
|
303
|
+
const F = (a = l.needPassed) != null ? a : 1;
|
|
304
|
+
if (s >= F)
|
|
286
305
|
return { value: !0 };
|
|
287
306
|
}
|
|
288
307
|
return u === 0 ? { value: !0 } : {
|
|
289
308
|
value: !1,
|
|
290
309
|
reason: {
|
|
291
310
|
type: "intersectRaycaster check failed",
|
|
292
|
-
passedCount:
|
|
293
|
-
needPassed:
|
|
311
|
+
passedCount: s,
|
|
312
|
+
needPassed: l.needPassed
|
|
294
313
|
}
|
|
295
314
|
};
|
|
296
315
|
}
|
|
297
316
|
/** 检测是否匹配当前楼层 */
|
|
298
317
|
getVisibleByFloorIndex(e) {
|
|
299
|
-
var
|
|
318
|
+
var n, f, s, u, o, r, c;
|
|
300
319
|
let i = 0;
|
|
301
|
-
const
|
|
302
|
-
|
|
320
|
+
const l = (n = e.fiveState) == null ? void 0 : n.panoIndex;
|
|
321
|
+
l !== void 0 ? i = (f = this.work.observers[l]) == null ? void 0 : f.floorIndex : i = q(this.work, (c = (r = (u = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : u.position) != null ? r : (o = e.mediaPlane) == null ? void 0 : o.position) != null ? c : x(e));
|
|
303
322
|
const t = this.five.model.shownFloor;
|
|
304
323
|
return t === null || t === i;
|
|
305
324
|
}
|
|
@@ -55,10 +55,6 @@ export declare abstract class TagRender extends TagComputer {
|
|
|
55
55
|
protected updateTagCss3DObjectMatrix<S extends 'Model' | 'Plane' = 'Model'>(tag: TagInstance<TagContentType, S>, model: Object3D): void;
|
|
56
56
|
/** 添加模型标签 */
|
|
57
57
|
protected addMediaModelTag(tags: Tag[]): Promise<void>;
|
|
58
|
-
/**
|
|
59
|
-
* @description: 一个点的标签
|
|
60
|
-
*/
|
|
61
|
-
protected setPointTagPosition(): void;
|
|
62
58
|
/**
|
|
63
59
|
* @description: 渲染单个点的标签
|
|
64
60
|
*/
|