@realsee/dnalogel 3.55.1-alpha.0 → 3.56.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 +4 -0
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +4 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
- package/dist/PanoTagPlugin/controller/index.d.ts +0 -2
- package/dist/index.cjs.js +28 -28
- package/dist/index.js +755 -770
- package/dist/index.umd.js +28 -28
- package/dist/shared-utils/tag.d.ts +6 -1
- 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 +35 -35
- 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 +15 -15
- 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/ModelMakerPlugin/item/polygonItem.js +5 -5
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +4 -0
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +86 -78
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +0 -28
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +85 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +0 -2
- package/libs/PanoTagPlugin/controller/index.js +120 -137
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +6 -1
- package/libs/shared-utils/tag.js +34 -27
- 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.
|
|
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.56.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.56.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 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.56.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.
|
|
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.56.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.56.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 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.56.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.
|
|
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.56.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.56.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 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.56.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,6 +1,6 @@
|
|
|
1
1
|
var r = Object.defineProperty;
|
|
2
|
-
var s = (t,
|
|
3
|
-
var o = (t,
|
|
2
|
+
var s = (t, e, i) => e in t ? r(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
|
|
3
|
+
var o = (t, e, i) => (s(t, typeof e != "symbol" ? e + "" : e, i), i);
|
|
4
4
|
import { ModelMakerBaseItem as p } from "./baseItem.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../../shared-utils/three/addIfNotExists.js";
|
|
@@ -25,8 +25,8 @@ import "../../shared-utils/five/FiveDomEvents.js";
|
|
|
25
25
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
26
26
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
27
27
|
class j extends p {
|
|
28
|
-
constructor(...
|
|
29
|
-
super(...
|
|
28
|
+
constructor(...i) {
|
|
29
|
+
super(...i);
|
|
30
30
|
o(this, "hideTag", () => {
|
|
31
31
|
this.tag.hide();
|
|
32
32
|
});
|
|
@@ -42,7 +42,7 @@ class j extends p {
|
|
|
42
42
|
this.model.visible = !0, this.five.needsRender = !0;
|
|
43
43
|
}
|
|
44
44
|
onClick() {
|
|
45
|
-
return this.tag.visible ? this.tag.hide() : this.tag.show(), super.onClick(), !0;
|
|
45
|
+
return this.tag.visible ? this.tag.hide() : this.tag.show({ force: !0 }), super.onClick(), !0;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
export {
|
|
@@ -152,6 +152,10 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
152
152
|
fiveMode?: Mode;
|
|
153
153
|
}): TagConfig;
|
|
154
154
|
getDistance(fiveState?: Partial<FiveState>, accurate?: number): number;
|
|
155
|
+
/**
|
|
156
|
+
* @description 用于排序的距离,性能更好
|
|
157
|
+
*/
|
|
158
|
+
getSquaredDistance(): number;
|
|
155
159
|
getVisible(fiveState?: Partial<FiveState>): boolean;
|
|
156
160
|
getUnfoldedByPanoIndex(panoIndex?: number): any;
|
|
157
161
|
getUnfoldedByCamera(): any;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var G = Object.defineProperty, K = Object.defineProperties;
|
|
2
|
+
var Q = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var P = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var D = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var C = Math.pow, I = (c, i, e) => i in c ? G(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e, p = (c, i) => {
|
|
6
6
|
for (var e in i || (i = {}))
|
|
7
|
-
|
|
7
|
+
D.call(i, e) && I(c, e, i[e]);
|
|
8
8
|
if (P)
|
|
9
9
|
for (var e of P(i))
|
|
10
|
-
|
|
10
|
+
j.call(i, e) && I(c, e, i[e]);
|
|
11
11
|
return c;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, w = (c, i) => K(c, Q(i));
|
|
13
|
+
var A = (c, i) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var t in c)
|
|
16
|
-
|
|
16
|
+
D.call(c, t) && i.indexOf(t) < 0 && (e[t] = c[t]);
|
|
17
17
|
if (c != null && P)
|
|
18
18
|
for (var t of P(c))
|
|
19
|
-
i.indexOf(t) < 0 &&
|
|
19
|
+
i.indexOf(t) < 0 && j.call(c, t) && (e[t] = c[t]);
|
|
20
20
|
return e;
|
|
21
21
|
};
|
|
22
|
-
var f = (c, i, e) => (
|
|
22
|
+
var f = (c, i, e) => (I(c, typeof i != "symbol" ? i + "" : i, e), e);
|
|
23
23
|
var y = (c, i, e) => new Promise((t, r) => {
|
|
24
24
|
var n = (s) => {
|
|
25
25
|
try {
|
|
@@ -36,38 +36,38 @@ var y = (c, i, e) => new Promise((t, r) => {
|
|
|
36
36
|
}, o = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(n, l);
|
|
37
37
|
o((e = e.apply(c, i)).next());
|
|
38
38
|
});
|
|
39
|
-
import { Subscribe as
|
|
40
|
-
import { calculateTagConfig as
|
|
41
|
-
import { getTagStickType as
|
|
39
|
+
import { Subscribe as Y } from "../../../shared-utils/Subscribe.js";
|
|
40
|
+
import { calculateTagConfig as U } from "../../utils/tag/calculateTagConfig.js";
|
|
41
|
+
import { getTagStickType as ee } from "../../utils/tag/format.js";
|
|
42
42
|
import "../../../shared-utils/tag.js";
|
|
43
|
-
import { isPanoramaLike as
|
|
43
|
+
import { isPanoramaLike as T, isModelLike as k } from "../../../shared-utils/five/mode.js";
|
|
44
44
|
import * as B from "three";
|
|
45
45
|
import "hammerjs";
|
|
46
46
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
47
47
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
48
|
-
import { centerPoint as
|
|
49
|
-
import { anyPositionToVector3 as
|
|
50
|
-
import { toArray as
|
|
48
|
+
import { centerPoint as ie } from "../../../shared-utils/three/centerPoint.js";
|
|
49
|
+
import { anyPositionToVector3 as O } from "../../../shared-utils/positionToVector3.js";
|
|
50
|
+
import { toArray as te } from "../../../shared-utils/util.js";
|
|
51
51
|
import "@realsee/five/line";
|
|
52
|
-
import { isNil as
|
|
52
|
+
import { isNil as R, notNil as E } from "../../../shared-utils/isNil.js";
|
|
53
53
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
54
54
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
55
|
-
import { blink as
|
|
56
|
-
import { vectorToCoordinates as
|
|
57
|
-
import { transformPosition as
|
|
58
|
-
import { lookPoint as
|
|
59
|
-
import { uuid as
|
|
55
|
+
import { blink as ne, reblink as se } from "../../../shared-utils/three/blink.js";
|
|
56
|
+
import { vectorToCoordinates as oe } from "../../../shared-utils/vectorToCoordinate.js";
|
|
57
|
+
import { transformPosition as L } from "../../../shared-utils/five/transformPosition.js";
|
|
58
|
+
import { lookPoint as re } from "../../../shared-utils/five/lookPoint.js";
|
|
59
|
+
import { uuid as le } from "../../../shared-utils/uuid.js";
|
|
60
60
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
61
61
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
62
62
|
import { objectAssignDeepExports as b } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
63
|
-
import { getTagPosition as
|
|
64
|
-
import { checkRange as
|
|
65
|
-
import { isMediaPlaneTag as
|
|
63
|
+
import { getTagPosition as $, getTagCenterPosition as z } from "../../utils/tagPosition.js";
|
|
64
|
+
import { checkRange as x } from "../../utils/checkRange.js";
|
|
65
|
+
import { isMediaPlaneTag as ae, isMediaModelTag as V } from "../../utils/tag/tagCheck.js";
|
|
66
66
|
import { getUrlExt as N } from "../../../shared-utils/url/getUrl.js";
|
|
67
|
-
import { getFloorIndex as
|
|
68
|
-
import { safeObj as
|
|
69
|
-
import { Cache as
|
|
70
|
-
import { _raycaster as
|
|
67
|
+
import { getFloorIndex as fe } from "../../../shared-utils/five/getFloorIndex.js";
|
|
68
|
+
import { safeObj as J } from "../../../shared-utils/safeObj.js";
|
|
69
|
+
import { Cache as de } from "../../utils/Cache.js";
|
|
70
|
+
import { _raycaster as S } from "../../../shared-utils/three/temp.js";
|
|
71
71
|
import "../../../shared-utils/typescript/entries.js";
|
|
72
72
|
import "../../utils/tag/adaptConfig.js";
|
|
73
73
|
import "../../typings/tag/TagConfig.js";
|
|
@@ -112,7 +112,7 @@ import "../../../shared-utils/five/getPosition.js";
|
|
|
112
112
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
113
113
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
114
114
|
import "../../../shared-utils/formatRad.js";
|
|
115
|
-
class
|
|
115
|
+
class Ai {
|
|
116
116
|
constructor(i, e) {
|
|
117
117
|
f(this, "plugin");
|
|
118
118
|
f(this, "id");
|
|
@@ -144,12 +144,12 @@ class ji {
|
|
|
144
144
|
f(this, "entryFromModel");
|
|
145
145
|
var s, d, h, u;
|
|
146
146
|
this.plugin = i;
|
|
147
|
-
const t =
|
|
147
|
+
const t = ee(e);
|
|
148
148
|
e.stickType = t;
|
|
149
149
|
const r = JSON.parse(JSON.stringify(e.data)), n = (s = e.initialConfig) != null ? s : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
|
|
150
150
|
e.initialConfig = n;
|
|
151
|
-
const l =
|
|
152
|
-
e.config = o, this.id = (d = e.id) != null ? d :
|
|
151
|
+
const l = U(e, i.config), o = this.getConfig(e);
|
|
152
|
+
e.config = o, this.id = (d = e.id) != null ? d : le(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = o.initialData) != null && u.important ? b(e.data, r, o.initialData) : b(e.data, o.initialData, r), this.state = p({
|
|
153
153
|
visible: void 0,
|
|
154
154
|
unfolded: !this.can("fold")
|
|
155
155
|
}, o.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
|
|
@@ -157,11 +157,11 @@ class ji {
|
|
|
157
157
|
if (!a)
|
|
158
158
|
return;
|
|
159
159
|
const g = i.workUtil.transform;
|
|
160
|
-
return Array.isArray(a) && a.length === 4 ? a.map(
|
|
160
|
+
return Array.isArray(a) && a.length === 4 ? a.map(O).map((m) => L(m, g).toArray()) : L(O(a), g).toArray();
|
|
161
161
|
})(), this.matrix = e.matrix ? (() => {
|
|
162
162
|
const a = new B.Matrix4().fromArray(e.matrix);
|
|
163
163
|
return a.premultiply(i.workUtil.transform), a.elements;
|
|
164
|
-
})() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new
|
|
164
|
+
})() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new de(), this.hooks = new Y(), Object.keys(e).forEach((a) => {
|
|
165
165
|
this[a] === void 0 && e[a] !== void 0 && (this[a] = e[a]);
|
|
166
166
|
});
|
|
167
167
|
}
|
|
@@ -175,12 +175,12 @@ class ji {
|
|
|
175
175
|
return this.plugin.workUtil;
|
|
176
176
|
}
|
|
177
177
|
get centerPosition() {
|
|
178
|
-
const i =
|
|
179
|
-
return
|
|
178
|
+
const i = $(this);
|
|
179
|
+
return ie(...Array.isArray(i) ? i : [i]);
|
|
180
180
|
}
|
|
181
181
|
get currentConfig() {
|
|
182
182
|
var r, n;
|
|
183
|
-
const i =
|
|
183
|
+
const i = U(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, t = (r = i.configWithFiveMode) == null ? void 0 : r[e];
|
|
184
184
|
return (n = t != null ? t : i) != null ? n : {};
|
|
185
185
|
}
|
|
186
186
|
get currentVisible() {
|
|
@@ -207,16 +207,16 @@ class ji {
|
|
|
207
207
|
const t = (r = i == null ? void 0 : i.targetMode) != null ? r : this.five.state.mode;
|
|
208
208
|
if (t === "Panorama") {
|
|
209
209
|
const n = e == null ? void 0 : e.panoIndex;
|
|
210
|
-
if (
|
|
210
|
+
if (R(n))
|
|
211
211
|
return;
|
|
212
212
|
const l = this.workUtil.getObserverPosition(n), o = this.centerPosition.clone().sub(l).normalize();
|
|
213
213
|
this.five.setState(p({
|
|
214
214
|
mode: "Panorama",
|
|
215
215
|
workCode: this.workUtil.workCode,
|
|
216
216
|
panoIndex: n
|
|
217
|
-
},
|
|
217
|
+
}, oe(o))), yield this.five.ready();
|
|
218
218
|
} else
|
|
219
|
-
t === "Mapview" && (yield
|
|
219
|
+
t === "Mapview" && (yield re(this.five, this.centerPosition, i == null ? void 0 : i.pointConfig));
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
/**
|
|
@@ -252,7 +252,7 @@ class ji {
|
|
|
252
252
|
console.warn("tagDom is empty");
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
|
-
yield (r ?
|
|
255
|
+
yield (r ? ne : se)(n, p({
|
|
256
256
|
begin: () => {
|
|
257
257
|
r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
258
258
|
},
|
|
@@ -336,24 +336,32 @@ class ji {
|
|
|
336
336
|
this.state.visible = this.getVisible(), this.applyVisible();
|
|
337
337
|
}
|
|
338
338
|
updateZIndex() {
|
|
339
|
-
const i = this.
|
|
339
|
+
const i = this.getSquaredDistance();
|
|
340
340
|
this.zIndex = Math.round((1e4 - (i != null ? i : 0)) * 100);
|
|
341
341
|
}
|
|
342
342
|
getConfig(i, e) {
|
|
343
343
|
var l, o, s;
|
|
344
|
-
const t =
|
|
344
|
+
const t = U(i != null ? i : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), r = (l = e == null ? void 0 : e.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
|
|
345
345
|
return (s = n != null ? n : t) != null ? s : {};
|
|
346
346
|
}
|
|
347
347
|
getDistance(i, e = 3) {
|
|
348
348
|
const t = p(p({}, this.five.getCurrentState()), i), { panoIndex: r, mode: n } = t, l = n === "Panorama" ? this.workUtil.getObserverPosition(r) : this.five.camera.position, o = this.centerPosition;
|
|
349
349
|
return !l || !o ? -1 : l.distanceTo(o);
|
|
350
350
|
}
|
|
351
|
+
/**
|
|
352
|
+
* @description 用于排序的距离,性能更好
|
|
353
|
+
*/
|
|
354
|
+
getSquaredDistance() {
|
|
355
|
+
const i = this.five.camera.position;
|
|
356
|
+
let e;
|
|
357
|
+
return Array.isArray(this.position[0]) ? e = this.position[0] : e = this.position, C(e[0] - i.x, 2) + C(e[1] - i.y, 2) + C(e[2] - i.z, 2);
|
|
358
|
+
}
|
|
351
359
|
getVisible(i) {
|
|
352
360
|
if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
|
|
353
361
|
return !1;
|
|
354
362
|
const e = p(p({}, this.five.getCurrentState()), i);
|
|
355
363
|
let t = this.cache.getVisible(this, e);
|
|
356
|
-
return
|
|
364
|
+
return R(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
|
|
357
365
|
}
|
|
358
366
|
getUnfoldedByPanoIndex(i) {
|
|
359
367
|
if (!this.currentVisible)
|
|
@@ -393,14 +401,14 @@ class ji {
|
|
|
393
401
|
return;
|
|
394
402
|
const t = this.data.mediaData;
|
|
395
403
|
if (!(!t || t.length === 0) && e.renderType === "Mesh") {
|
|
396
|
-
if (
|
|
404
|
+
if (ae(this)) {
|
|
397
405
|
if (t.length === 1) {
|
|
398
406
|
if (t[0].type === "Video")
|
|
399
407
|
return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
|
|
400
408
|
if (t[0].type === "Image")
|
|
401
409
|
return N(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
402
410
|
}
|
|
403
|
-
} else if (
|
|
411
|
+
} else if (V(this))
|
|
404
412
|
return t.length === 1 && t[0].type === "Image" ? N(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
405
413
|
}
|
|
406
414
|
})();
|
|
@@ -426,11 +434,11 @@ class ji {
|
|
|
426
434
|
if ((g == null ? void 0 : g.value) === !1)
|
|
427
435
|
return g;
|
|
428
436
|
if (s.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (r === "Floorplan" || r === "Mapview")) {
|
|
429
|
-
const h = this.computeVisibleByFloorIndex(), { value: m } = h, v =
|
|
437
|
+
const h = this.computeVisibleByFloorIndex(), { value: m } = h, v = A(h, ["value"]);
|
|
430
438
|
if (m === !1)
|
|
431
439
|
return p({ value: !1, checkedList: n, reason: "followModelVisibility check failed" }, v);
|
|
432
440
|
}
|
|
433
|
-
if (
|
|
441
|
+
if (T(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
|
|
434
442
|
if (n.push("visiblePanoIndex"), Array.isArray(s.visiblePanoIndex) && !s.visiblePanoIndex.includes(t))
|
|
435
443
|
return {
|
|
436
444
|
value: !1,
|
|
@@ -446,7 +454,7 @@ class ji {
|
|
|
446
454
|
}
|
|
447
455
|
if (s.visibleDistance !== void 0 && (n.push("visibleDistance"), s.visibleDistance !== "unLimited")) {
|
|
448
456
|
const m = this.getDistance(e, 1);
|
|
449
|
-
if (
|
|
457
|
+
if (x(m, s.visibleDistance) === !1)
|
|
450
458
|
return {
|
|
451
459
|
value: !1,
|
|
452
460
|
checkedList: n,
|
|
@@ -484,9 +492,9 @@ class ji {
|
|
|
484
492
|
if (n || (n = (o = (l = this.fiveState) == null ? void 0 : l.mode) != null ? o : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(n))
|
|
485
493
|
return n.includes(e);
|
|
486
494
|
if (n === "ModelLike")
|
|
487
|
-
return
|
|
495
|
+
return k(e);
|
|
488
496
|
if (n === "PanoramaLike")
|
|
489
|
-
return !
|
|
497
|
+
return !T(e);
|
|
490
498
|
if (n === "all")
|
|
491
499
|
return !0;
|
|
492
500
|
if (typeof n == "string")
|
|
@@ -495,8 +503,8 @@ class ji {
|
|
|
495
503
|
if ((() => {
|
|
496
504
|
var l;
|
|
497
505
|
const n = t();
|
|
498
|
-
if (
|
|
499
|
-
if (
|
|
506
|
+
if (E((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
|
|
507
|
+
if (k(e) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, k(e))
|
|
500
508
|
return !0;
|
|
501
509
|
} else
|
|
502
510
|
this.entryFromModel = !1;
|
|
@@ -512,33 +520,33 @@ class ji {
|
|
|
512
520
|
/** 通过射线检测标签可用性 */
|
|
513
521
|
computeVisibleByIntersect(i) {
|
|
514
522
|
var s, d, h, u;
|
|
515
|
-
const e =
|
|
523
|
+
const e = J(J((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = T(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
|
|
516
524
|
if (r === void 0)
|
|
517
525
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
518
|
-
const n =
|
|
526
|
+
const n = te(
|
|
519
527
|
(() => {
|
|
520
528
|
var g;
|
|
521
529
|
const a = (g = e.checkPoints) != null ? g : "center";
|
|
522
|
-
return a === "center" ?
|
|
530
|
+
return a === "center" ? z(this) : a === "corner" ? $(this) : Array.isArray(a) ? a : [];
|
|
523
531
|
})()
|
|
524
532
|
);
|
|
525
533
|
let l = 0, o = 0;
|
|
526
534
|
for (const a of n) {
|
|
527
535
|
const g = new B.Vector3().subVectors(a, r).normalize();
|
|
528
536
|
let m;
|
|
529
|
-
|
|
530
|
-
const [v] = this.fiveUtil.model.intersectRaycaster(
|
|
537
|
+
S.set(r, g);
|
|
538
|
+
const [v] = this.fiveUtil.model.intersectRaycaster(S);
|
|
531
539
|
m = v == null ? void 0 : v.distance;
|
|
532
|
-
const
|
|
533
|
-
if (!
|
|
540
|
+
const M = (() => {
|
|
541
|
+
if (!V(this))
|
|
534
542
|
return;
|
|
535
|
-
const _ = this.plugin.tags.filter(
|
|
543
|
+
const _ = this.plugin.tags.filter(V).map((Z) => {
|
|
536
544
|
var F;
|
|
537
|
-
return (F =
|
|
538
|
-
}).filter(
|
|
539
|
-
return
|
|
540
|
-
})(),
|
|
541
|
-
m = Math.min(m != null ? m : 1 / 0, (h =
|
|
545
|
+
return (F = Z.model) == null ? void 0 : F.object;
|
|
546
|
+
}).filter(E), [X] = S.intersectObjects(_, !0);
|
|
547
|
+
return X;
|
|
548
|
+
})(), W = r.distanceTo(a), q = (d = e.distanceAccuracy) != null ? d : 0.01;
|
|
549
|
+
m = Math.min(m != null ? m : 1 / 0, (h = M == null ? void 0 : M.distance) != null ? h : 1 / 0), m + q >= W ? l++ : o++;
|
|
542
550
|
const H = (u = e.needPassed) != null ? u : 1;
|
|
543
551
|
if (l >= H)
|
|
544
552
|
return { value: !0 };
|
|
@@ -557,9 +565,9 @@ class ji {
|
|
|
557
565
|
var r, n, l, o, s, d, h;
|
|
558
566
|
let i = 0;
|
|
559
567
|
const e = (r = this.fiveState) == null ? void 0 : r.panoIndex;
|
|
560
|
-
e !== void 0 ? i = (n = this.workUtil.getObserver(e)) == null ? void 0 : n.floorIndex : i =
|
|
568
|
+
e !== void 0 ? i = (n = this.workUtil.getObserver(e)) == null ? void 0 : n.floorIndex : i = fe(
|
|
561
569
|
this.workUtil.work,
|
|
562
|
-
(h = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (s = this.mediaPlane) == null ? void 0 : s.position) != null ? h :
|
|
570
|
+
(h = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (s = this.mediaPlane) == null ? void 0 : s.position) != null ? h : z(this)
|
|
563
571
|
);
|
|
564
572
|
const t = this.fiveUtil.model.shownFloor;
|
|
565
573
|
return {
|
|
@@ -580,13 +588,13 @@ class ji {
|
|
|
580
588
|
return !1;
|
|
581
589
|
if (e.keep === "unfolded")
|
|
582
590
|
return !0;
|
|
583
|
-
if (e.unfoldDistance &&
|
|
591
|
+
if (e.unfoldDistance && x(this.getDistance({ panoIndex: i }), e.unfoldDistance) === !1)
|
|
584
592
|
return !1;
|
|
585
593
|
}
|
|
586
594
|
}
|
|
587
595
|
computeUnfoldedByCamera() {
|
|
588
596
|
var e;
|
|
589
|
-
if (this.entryFromModel &&
|
|
597
|
+
if (this.entryFromModel && k(this.five.state.mode))
|
|
590
598
|
return !1;
|
|
591
599
|
const i = this.getConfig().unfoldedConfig;
|
|
592
600
|
if (i) {
|
|
@@ -600,7 +608,7 @@ class ji {
|
|
|
600
608
|
return;
|
|
601
609
|
if (i.autoUnfold.strategy === "ScreenPostion") {
|
|
602
610
|
const t = this.computeTagProject();
|
|
603
|
-
if (t &&
|
|
611
|
+
if (t && x(t.x, i.autoUnfold.autoUnfoldProjectX) === !1)
|
|
604
612
|
return !1;
|
|
605
613
|
}
|
|
606
614
|
if (i.autoUnfold.strategy === "MinimumDistance") {
|
|
@@ -613,9 +621,9 @@ class ji {
|
|
|
613
621
|
}).map((o) => ({ tag: o, id: o.id, tagConfig: o.getConfig().unfoldedConfig })).filter(({ tagConfig: o }) => {
|
|
614
622
|
var s, d;
|
|
615
623
|
return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((s = o.autoUnfold) == null ? void 0 : s.enable) === !1 || ((d = o.autoUnfold) == null ? void 0 : d.strategy) !== "MinimumDistance");
|
|
616
|
-
}).map((o) =>
|
|
624
|
+
}).map((o) => w(p({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
|
|
617
625
|
const d = s.autoUnfold.distance;
|
|
618
|
-
return !(d &&
|
|
626
|
+
return !(d && x(o, d) === !1);
|
|
619
627
|
}).sort((o, s) => o.distance - s.distance).findIndex((o) => o.id === this.id);
|
|
620
628
|
if (n === -1 || n <= ((e = i.autoUnfold.maxNumber) != null ? e : 1) - 1 === !1)
|
|
621
629
|
return !1;
|
|
@@ -653,7 +661,7 @@ class ji {
|
|
|
653
661
|
return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
|
|
654
662
|
if (!this.enabled)
|
|
655
663
|
return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
|
|
656
|
-
const i =
|
|
664
|
+
const i = w(p({}, this.computeVisible()), {
|
|
657
665
|
tagInstance: this
|
|
658
666
|
});
|
|
659
667
|
return i.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: i } : this.state.visible ? { reason: "应该是能看见才对", info: i } : i.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: i } : { reason: (e = i.reason.type) != null ? e : i.reason, info: i };
|
|
@@ -671,5 +679,5 @@ class ji {
|
|
|
671
679
|
}
|
|
672
680
|
}
|
|
673
681
|
export {
|
|
674
|
-
|
|
682
|
+
Ai as BaseTag
|
|
675
683
|
};
|
|
@@ -97,34 +97,6 @@ class wt extends g {
|
|
|
97
97
|
onClick(t) {
|
|
98
98
|
t.target === "TagPoint" && this.unfoldAndFoldOthers();
|
|
99
99
|
}
|
|
100
|
-
// public updateVisible() {
|
|
101
|
-
// if (typeof window.requestIdleCallback === 'undefined') {
|
|
102
|
-
// super.updateVisible()
|
|
103
|
-
// return
|
|
104
|
-
// }
|
|
105
|
-
// const doRequestIdleCallback = () => {
|
|
106
|
-
// if (this.requestIdleCallbackId) {
|
|
107
|
-
// cancelIdleCallback(this.requestIdleCallbackId)
|
|
108
|
-
// }
|
|
109
|
-
// this.requestIdleCallbackId = requestIdleCallback(() => {
|
|
110
|
-
// super.updateVisible()
|
|
111
|
-
// })
|
|
112
|
-
// }
|
|
113
|
-
// let canUseRequestIdleCallback = false
|
|
114
|
-
// requestIdleCallback(() => {
|
|
115
|
-
// canUseRequestIdleCallback = true
|
|
116
|
-
// })
|
|
117
|
-
// doRequestIdleCallback()
|
|
118
|
-
// // 防止不能用 requestIdleCallback 的情况,有些浏览器上有 requestIdleCallback 但是贼慢,要几秒钟。
|
|
119
|
-
// setTimeout(() => {
|
|
120
|
-
// if (!canUseRequestIdleCallback) {
|
|
121
|
-
// if (this.requestIdleCallbackId) {
|
|
122
|
-
// cancelIdleCallback(this.requestIdleCallbackId)
|
|
123
|
-
// }
|
|
124
|
-
// super.updateVisible()
|
|
125
|
-
// }
|
|
126
|
-
// }, 200)
|
|
127
|
-
// }
|
|
128
100
|
applyVisible() {
|
|
129
101
|
var t, i, o, e;
|
|
130
102
|
this.currentVisible && this.updateScreenPosition(), (o = (i = (t = this.tag3DContentSvelte) == null ? void 0 : t.css3DInstance) == null ? void 0 : i.css3DObject) == null || o.setVisible(this.currentVisible), (e = this.tag3DContentSvelte) == null || e.svelteApp.$set({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TagContentType, StickType, TagId, MediaStore, State, PluginEventMap } from '../typings';
|
|
1
|
+
import type { TagContentType, StickType, TagId, MediaStore, State, PluginEventMap, TagInstance, ArrayPosition } from '../typings';
|
|
2
2
|
import * as THREE from 'three';
|
|
3
3
|
import type { Tags } from '../typings';
|
|
4
4
|
import { Five } from '@realsee/five';
|
|
@@ -48,6 +48,7 @@ export declare abstract class TagUtil extends BasePlugin.Controller<State, Plugi
|
|
|
48
48
|
get filterCSS3DTag(): (BaseTag<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | BaseTag<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | BaseTag<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
|
|
49
49
|
private _container;
|
|
50
50
|
private _css3DRenderPlugin;
|
|
51
|
+
private timeoutIds;
|
|
51
52
|
protected constructor(five: Five);
|
|
52
53
|
addRenderQueue(params: {
|
|
53
54
|
type: RenderQueueType;
|
|
@@ -69,8 +70,9 @@ export declare abstract class TagUtil extends BasePlugin.Controller<State, Plugi
|
|
|
69
70
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
70
71
|
pauseCurrentMedia(): void;
|
|
71
72
|
protected loadVideoFirstFrame: () => void;
|
|
72
|
-
protected getPositions(tag: BaseTag): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [
|
|
73
|
+
protected getPositions(tag: BaseTag): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [ArrayPosition, ArrayPosition, ArrayPosition, ArrayPosition];
|
|
73
74
|
protected addObjectClickHandler(tag: BaseTag, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
|
|
75
|
+
protected tagsDo: (tags: TagInstance[], func: (tag: TagInstance) => any) => void;
|
|
74
76
|
/**
|
|
75
77
|
* @description 检查是否已经销毁
|
|
76
78
|
* @returns isDisposed; 已经销毁返回 true,否则返回 false
|