@realsee/dnalogel 3.55.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 +7 -3
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
- package/dist/index.cjs.js +58 -58
- package/dist/index.js +3177 -3154
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/tag.d.ts +6 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +26 -26
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +14 -14
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.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 +7 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +86 -78
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -1
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +30 -47
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +85 -70
- package/libs/PanoTagPlugin/controller/index.js +61 -51
- package/libs/base/BasePlugin.js +1 -1
- 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,18 +1,18 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var r = (
|
|
4
|
-
import { DefaultConfig as
|
|
1
|
+
var h = Object.defineProperty;
|
|
2
|
+
var f = (a, m, t) => m in a ? h(a, m, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[m] = t;
|
|
3
|
+
var r = (a, m, t) => (f(a, typeof m != "symbol" ? m + "" : m, t), t);
|
|
4
|
+
import { DefaultConfig as g } from "../tag.config.js";
|
|
5
5
|
import "three";
|
|
6
|
-
import { anyPositionToVector3 as
|
|
7
|
-
import { isPlaneTag as
|
|
8
|
-
import { normalPositionToPositions as
|
|
9
|
-
import { writable as
|
|
10
|
-
import { isIOSWX as
|
|
11
|
-
import { CSS3DRenderPlugin as
|
|
12
|
-
import { VideoPlane as
|
|
13
|
-
import { FiveDomEvents as
|
|
14
|
-
import { Cache as
|
|
15
|
-
import { Controller as
|
|
6
|
+
import { anyPositionToVector3 as l } from "../../shared-utils/positionToVector3.js";
|
|
7
|
+
import { isPlaneTag as T, isMediaModelTag as D, isPoint3DTag as P } from "../utils/tag/tagCheck.js";
|
|
8
|
+
import { normalPositionToPositions as _ } from "../utils/normalPositionToPositions.js";
|
|
9
|
+
import { writable as y } from "../../vendor/svelte/store/index.js";
|
|
10
|
+
import { isIOSWX as v } from "../../shared-utils/device.js";
|
|
11
|
+
import { CSS3DRenderPlugin as E } from "../../CSS3DRenderPlugin/index.js";
|
|
12
|
+
import { VideoPlane as S } from "../utils/model/mediaPlane.js";
|
|
13
|
+
import { FiveDomEvents as k } from "../../shared-utils/five/FiveDomEvents.js";
|
|
14
|
+
import { Cache as I } from "../utils/Cache.js";
|
|
15
|
+
import { Controller as C } from "../../base/BasePlugin.js";
|
|
16
16
|
import "../../vendor/svelte/internal/index.js";
|
|
17
17
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
18
18
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
@@ -86,16 +86,16 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
86
86
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
87
87
|
import "../../shared-utils/three/getNormal.js";
|
|
88
88
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
89
|
-
class
|
|
90
|
-
constructor(
|
|
91
|
-
super(
|
|
89
|
+
class ne extends C {
|
|
90
|
+
constructor(t) {
|
|
91
|
+
super(t);
|
|
92
92
|
r(this, "tags", []);
|
|
93
|
-
r(this, "cache", new
|
|
94
|
-
r(this, "config",
|
|
93
|
+
r(this, "cache", new I());
|
|
94
|
+
r(this, "config", g);
|
|
95
95
|
r(this, "renderQueue", /* @__PURE__ */ new Map());
|
|
96
96
|
/** 插件参数 */
|
|
97
97
|
r(this, "params");
|
|
98
|
-
r(this, "mediaStore",
|
|
98
|
+
r(this, "mediaStore", y({
|
|
99
99
|
currentMediaElement: null
|
|
100
100
|
}));
|
|
101
101
|
r(this, "store", {
|
|
@@ -104,24 +104,39 @@ class it extends E {
|
|
|
104
104
|
resizeObserverDisposerAdding: !1,
|
|
105
105
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
106
106
|
});
|
|
107
|
-
r(this, "domEvents", new
|
|
107
|
+
r(this, "domEvents", new k(this.five));
|
|
108
108
|
r(this, "_cache_pointTag");
|
|
109
109
|
r(this, "_cache_2DPointTag");
|
|
110
110
|
r(this, "_cache_css3DTag");
|
|
111
111
|
r(this, "_container", null);
|
|
112
112
|
r(this, "_css3DRenderPlugin");
|
|
113
|
-
r(this, "
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
r(this, "timeoutIds", []);
|
|
114
|
+
r(this, "whyHide", (t) => {
|
|
115
|
+
const e = this.getTagById(t);
|
|
116
|
+
return e ? e.whyHide() : { reason: `tag ${t} not found` };
|
|
116
117
|
});
|
|
117
118
|
r(this, "loadVideoFirstFrame", () => {
|
|
118
|
-
|
|
119
|
+
v && this.hooks.emit("loadVideoFirstFrame");
|
|
119
120
|
});
|
|
120
|
-
this
|
|
121
|
+
r(this, "tagsDo", (t, e) => {
|
|
122
|
+
const i = [...t != null ? t : this.tags].sort((n, d) => n.getSquaredDistance() - d.getSquaredDistance());
|
|
123
|
+
this.timeoutIds.forEach((n) => clearTimeout(n)), this.timeoutIds.length = 0;
|
|
124
|
+
const o = i.length > 1e3, p = o ? 30 : 17, s = o ? 1 : 3;
|
|
125
|
+
for (let n = 0; n < i.length; n += s) {
|
|
126
|
+
const d = [];
|
|
127
|
+
for (let c = 0; c < s; c++)
|
|
128
|
+
i[n + c] && d.push(i[n + c]);
|
|
129
|
+
const u = setTimeout(() => {
|
|
130
|
+
d.forEach(e);
|
|
131
|
+
}, n * p);
|
|
132
|
+
this.timeoutIds.push(u);
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
this.mediaStore.subscribe(({ currentMediaElement: e }) => {
|
|
121
136
|
this.tags.forEach((i) => {
|
|
122
137
|
var o;
|
|
123
|
-
if (i.mediaPlane instanceof
|
|
124
|
-
if (!((o = i.mediaPlane.videoInstance) != null && o.src) ||
|
|
138
|
+
if (i.mediaPlane instanceof S && e !== i.mediaPlane.videoInstance) {
|
|
139
|
+
if (!((o = i.mediaPlane.videoInstance) != null && o.src) || e === i.mediaPlane.videoInstance)
|
|
125
140
|
return;
|
|
126
141
|
i.mediaPlane.pause();
|
|
127
142
|
}
|
|
@@ -129,82 +144,82 @@ class it extends E {
|
|
|
129
144
|
});
|
|
130
145
|
}
|
|
131
146
|
get container() {
|
|
132
|
-
var
|
|
133
|
-
return this._container || ((
|
|
147
|
+
var t;
|
|
148
|
+
return this._container || ((t = this.five.getElement()) == null ? void 0 : t.parentElement);
|
|
134
149
|
}
|
|
135
|
-
set container(
|
|
136
|
-
this._container =
|
|
150
|
+
set container(t) {
|
|
151
|
+
this._container = t;
|
|
137
152
|
}
|
|
138
153
|
// eslint-disable-next-line accessor-pairs
|
|
139
|
-
set tagsLengthWillUpdate(
|
|
140
|
-
|
|
141
|
-
(
|
|
142
|
-
).filter((
|
|
143
|
-
const i =
|
|
154
|
+
set tagsLengthWillUpdate(t) {
|
|
155
|
+
t && (this._cache_pointTag = this.tags.filter((e) => e.stickType === "2DPoint" || e.stickType === "3DPoint").filter((e) => e.position), this._cache_2DPointTag = this.tags.filter((e) => e.stickType === "2DPoint").filter((e) => e.position), this._cache_css3DTag = this.tags.filter(
|
|
156
|
+
(e) => e.stickType === "3DPoint" || e.stickType === "Plane" || e.stickType === "Model" && e.contentType === "MediaModel"
|
|
157
|
+
).filter((e) => {
|
|
158
|
+
const i = e.computeRenderType();
|
|
144
159
|
return i === "BehindDom" || i === "Dom";
|
|
145
160
|
}));
|
|
146
161
|
}
|
|
147
162
|
/** css3DRenderPlugin */
|
|
148
163
|
get css3DRenderPlugin() {
|
|
149
|
-
var
|
|
164
|
+
var t, e, i;
|
|
150
165
|
if (!this._css3DRenderPlugin) {
|
|
151
|
-
const o =
|
|
152
|
-
this._css3DRenderPlugin = o, (
|
|
166
|
+
const o = E(this.five);
|
|
167
|
+
this._css3DRenderPlugin = o, (t = o.frontModeCSS3DRenderer) != null && t.domElementWrapper && (o.frontModeCSS3DRenderer.domElementWrapper.style.zIndex = (i = (e = this.params.containerZIndex) == null ? void 0 : e.toString()) != null ? i : "");
|
|
153
168
|
}
|
|
154
169
|
return this._css3DRenderPlugin;
|
|
155
170
|
}
|
|
156
171
|
get filterPointTag() {
|
|
157
|
-
var
|
|
158
|
-
return (
|
|
172
|
+
var t;
|
|
173
|
+
return (t = this._cache_pointTag) != null ? t : [];
|
|
159
174
|
}
|
|
160
175
|
get filter2DPointTag() {
|
|
161
|
-
var
|
|
162
|
-
return (
|
|
176
|
+
var t;
|
|
177
|
+
return (t = this._cache_2DPointTag) != null ? t : [];
|
|
163
178
|
}
|
|
164
179
|
get filterCSS3DTag() {
|
|
165
|
-
var
|
|
166
|
-
return (
|
|
180
|
+
var t;
|
|
181
|
+
return (t = this._cache_css3DTag) != null ? t : [];
|
|
167
182
|
}
|
|
168
|
-
addRenderQueue(
|
|
183
|
+
addRenderQueue(t) {
|
|
169
184
|
var p, s;
|
|
170
|
-
const { type:
|
|
171
|
-
this.renderQueue.has(
|
|
172
|
-
keys: Array.from(/* @__PURE__ */ new Set([...(p = this.renderQueue.get(
|
|
173
|
-
tags: Array.from(/* @__PURE__ */ new Set([...(s = this.renderQueue.get(
|
|
174
|
-
}) : this.renderQueue.set(
|
|
185
|
+
const { type: e, keys: i = [], tags: o = [] } = t;
|
|
186
|
+
this.renderQueue.has(e) ? this.renderQueue.set(e, {
|
|
187
|
+
keys: Array.from(/* @__PURE__ */ new Set([...(p = this.renderQueue.get(e).keys) != null ? p : [], ...i])),
|
|
188
|
+
tags: Array.from(/* @__PURE__ */ new Set([...(s = this.renderQueue.get(e).tags) != null ? s : [], ...o]))
|
|
189
|
+
}) : this.renderQueue.set(e, { keys: i, tags: o });
|
|
175
190
|
}
|
|
176
|
-
getTagById(
|
|
177
|
-
const
|
|
178
|
-
if (!
|
|
179
|
-
console.warn(`getTagById Error: can't find tag id: ${
|
|
191
|
+
getTagById(t) {
|
|
192
|
+
const e = this.tags.find((i) => i.id === t);
|
|
193
|
+
if (!e) {
|
|
194
|
+
console.warn(`getTagById Error: can't find tag id: ${t}`);
|
|
180
195
|
return;
|
|
181
196
|
}
|
|
182
|
-
return
|
|
197
|
+
return e;
|
|
183
198
|
}
|
|
184
199
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
185
200
|
pauseCurrentMedia() {
|
|
186
201
|
this.mediaStore.set({ currentMediaElement: null });
|
|
187
202
|
}
|
|
188
|
-
getPositions(
|
|
189
|
-
if (
|
|
190
|
-
return
|
|
191
|
-
if (
|
|
192
|
-
return
|
|
193
|
-
if (
|
|
194
|
-
return
|
|
203
|
+
getPositions(t) {
|
|
204
|
+
if (T(t))
|
|
205
|
+
return t.position;
|
|
206
|
+
if (D(t))
|
|
207
|
+
return t.data.mediaPosition;
|
|
208
|
+
if (P(t))
|
|
209
|
+
return _(this.five.camera.position, l(t.position), l(t.normal));
|
|
195
210
|
}
|
|
196
|
-
addObjectClickHandler(
|
|
197
|
-
if (!
|
|
211
|
+
addObjectClickHandler(t, e, i) {
|
|
212
|
+
if (!e || !this.domEvents)
|
|
198
213
|
return () => {
|
|
199
214
|
};
|
|
200
|
-
const o = () => !(!
|
|
215
|
+
const o = () => !(!t.currentVisible || t.loading), p = (s) => {
|
|
201
216
|
if (!o())
|
|
202
217
|
return !1;
|
|
203
218
|
i(s.origDomEvent);
|
|
204
219
|
};
|
|
205
|
-
return this.domEvents.addEventListener(
|
|
220
|
+
return this.domEvents.addEventListener(e, "click", p), () => {
|
|
206
221
|
var s;
|
|
207
|
-
(s = this.domEvents) == null || s.removeEventListener(
|
|
222
|
+
(s = this.domEvents) == null || s.removeEventListener(e, "click", p);
|
|
208
223
|
};
|
|
209
224
|
}
|
|
210
225
|
/**
|
|
@@ -216,5 +231,5 @@ class it extends E {
|
|
|
216
231
|
}
|
|
217
232
|
}
|
|
218
233
|
export {
|
|
219
|
-
|
|
234
|
+
ne as TagUtil
|
|
220
235
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
var S = Object.defineProperty, D = Object.defineProperties;
|
|
2
2
|
var P = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var y = Object.getOwnPropertySymbols;
|
|
4
|
-
var U = Object.prototype.hasOwnProperty,
|
|
4
|
+
var U = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var u = (d, a, e) => a in d ? S(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
7
|
U.call(a, e) && u(d, e, a[e]);
|
|
8
8
|
if (y)
|
|
9
9
|
for (var e of y(a))
|
|
10
|
-
|
|
10
|
+
A.call(a, e) && u(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
12
|
}, c = (d, a) => D(d, P(a));
|
|
13
13
|
var p = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
14
|
var l = (d, a, e) => new Promise((t, i) => {
|
|
15
|
-
var o = (
|
|
15
|
+
var o = (s) => {
|
|
16
16
|
try {
|
|
17
|
-
n(e.next(
|
|
17
|
+
n(e.next(s));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
i(h);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, r = (s) => {
|
|
22
22
|
try {
|
|
23
|
-
n(e.throw(
|
|
23
|
+
n(e.throw(s));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
i(h);
|
|
26
26
|
}
|
|
27
|
-
}, n = (
|
|
27
|
+
}, n = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, r);
|
|
28
28
|
n((e = e.apply(d, a)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as v from "three";
|
|
31
31
|
import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
|
-
import { arrayPositionToVector3 as
|
|
32
|
+
import { arrayPositionToVector3 as E } from "../../shared-utils/positionToVector3.js";
|
|
33
33
|
import { isModelTag as k, isMediaModelTag as F } from "../utils/tag/tagCheck.js";
|
|
34
34
|
import { debounce as w } from "../utils/debounce.js";
|
|
35
35
|
import { throttle as M } from "../utils/throttle.js";
|
|
@@ -232,7 +232,9 @@ class Co extends B {
|
|
|
232
232
|
p(this, "handleFiveModeChange", (e) => {
|
|
233
233
|
const t = () => {
|
|
234
234
|
this.tags.forEach((i) => {
|
|
235
|
-
i.state.visible = !1, i.applyVisible()
|
|
235
|
+
i.state.visible = !1, i.applyVisible();
|
|
236
|
+
}), this.five.ready().then(() => {
|
|
237
|
+
this.tagsDo(this.tags, (i) => {
|
|
236
238
|
i.updateVisible(), F(i) && e !== "Panorama" && this.changeTagMode(i, "behind");
|
|
237
239
|
});
|
|
238
240
|
});
|
|
@@ -263,7 +265,9 @@ class Co extends B {
|
|
|
263
265
|
});
|
|
264
266
|
p(this, "handleFivePanoArrived", () => l(this, null, function* () {
|
|
265
267
|
this.tags.forEach((e) => {
|
|
266
|
-
e.state.visible = !1, e.temporaryState = c(m({}, e.temporaryState), { visible: !0 }), e.applyVisible()
|
|
268
|
+
e.state.visible = !1, e.temporaryState = c(m({}, e.temporaryState), { visible: !0 }), e.applyVisible();
|
|
269
|
+
}), this.tagsDo(this.tags, (e) => {
|
|
270
|
+
e.updateVisible();
|
|
267
271
|
}), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(k).filter((e) => {
|
|
268
272
|
var t;
|
|
269
273
|
return (t = e.getConfig().modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
@@ -275,26 +279,26 @@ class Co extends B {
|
|
|
275
279
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
276
280
|
const o = this.five.camera.position;
|
|
277
281
|
t.lookAt(o.clone().setY(t.position.y));
|
|
278
|
-
const
|
|
279
|
-
|
|
280
|
-
i.quaternion.copy(
|
|
281
|
-
}),
|
|
282
|
+
const r = i.quaternion.clone(), n = t.quaternion.clone(), s = W();
|
|
283
|
+
s.onUpdate(({ progress: g }) => {
|
|
284
|
+
i.quaternion.copy(r.clone().slerp(n, g));
|
|
285
|
+
}), s.play();
|
|
282
286
|
});
|
|
283
287
|
}));
|
|
284
288
|
/** 楼层切换时,需要更新标签可见性 */
|
|
285
289
|
p(this, "handleFiveModelShownFloorChange", () => {
|
|
286
|
-
this.tags
|
|
290
|
+
this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
287
291
|
});
|
|
288
292
|
p(this, "onFiveEveryReady", () => {
|
|
289
|
-
this.setUnfoldedByCamera(), O(this.five.getCurrentState().mode) && this.tags
|
|
293
|
+
this.setUnfoldedByCamera(), O(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
290
294
|
});
|
|
291
295
|
p(this, "render", () => {
|
|
292
296
|
this.renderQueue.forEach((e, t) => {
|
|
293
297
|
const { keys: i } = e;
|
|
294
298
|
if (t === "TagContainerSvelte") {
|
|
295
|
-
const
|
|
299
|
+
const r = this.filterPointTag.filter((s) => s.screenPosition), n = {
|
|
296
300
|
hooks: this.hooks,
|
|
297
|
-
tags:
|
|
301
|
+
tags: r,
|
|
298
302
|
state: this.state,
|
|
299
303
|
temporaryState: this.temporaryState,
|
|
300
304
|
mediaStore: this.mediaStore,
|
|
@@ -303,13 +307,13 @@ class Co extends B {
|
|
|
303
307
|
zIndex: this.params.containerZIndex
|
|
304
308
|
};
|
|
305
309
|
if (this.TagContainerSvelte) {
|
|
306
|
-
let
|
|
310
|
+
let s = {};
|
|
307
311
|
if (i.length === 0)
|
|
308
|
-
|
|
312
|
+
s = n;
|
|
309
313
|
else
|
|
310
314
|
for (const h of i)
|
|
311
|
-
|
|
312
|
-
this.TagContainerSvelte.$set(
|
|
315
|
+
s[h] = n[h];
|
|
316
|
+
this.TagContainerSvelte.$set(s);
|
|
313
317
|
} else {
|
|
314
318
|
if (!this.container)
|
|
315
319
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
@@ -317,8 +321,8 @@ class Co extends B {
|
|
|
317
321
|
target: this.container,
|
|
318
322
|
props: c(m({}, n), { state: c(m({}, this.state), { enabled: !1 }) })
|
|
319
323
|
}), N(() => {
|
|
320
|
-
var
|
|
321
|
-
(
|
|
324
|
+
var s;
|
|
325
|
+
(s = this.TagContainerSvelte) == null || s.$set({ state: this.state });
|
|
322
326
|
});
|
|
323
327
|
}
|
|
324
328
|
}
|
|
@@ -335,9 +339,9 @@ class Co extends B {
|
|
|
335
339
|
}
|
|
336
340
|
}
|
|
337
341
|
appendTo(e) {
|
|
338
|
-
var i, o,
|
|
342
|
+
var i, o, r, n;
|
|
339
343
|
this.debugUtil.addLog("appendTo"), this.container = e, (i = this.css3DRenderPlugin) == null || i.appendToFrontFiveContainer(this.container);
|
|
340
|
-
const t = (
|
|
344
|
+
const t = (r = (o = this.TagContainerSvelte) == null ? void 0 : o.$$) == null ? void 0 : r.root;
|
|
341
345
|
t && t !== this.container && ((n = this.TagContainerSvelte) == null || n.$destroy(), this.TagContainerSvelte = void 0);
|
|
342
346
|
}
|
|
343
347
|
/**
|
|
@@ -349,7 +353,7 @@ class Co extends B {
|
|
|
349
353
|
this.clearTags();
|
|
350
354
|
try {
|
|
351
355
|
console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
|
|
352
|
-
} catch (
|
|
356
|
+
} catch (r) {
|
|
353
357
|
}
|
|
354
358
|
this.config = f({}, this.config, {
|
|
355
359
|
globalConfig: (i = e.globalConfig) != null ? i : {},
|
|
@@ -365,17 +369,17 @@ class Co extends B {
|
|
|
365
369
|
addTag(e) {
|
|
366
370
|
return l(this, null, function* () {
|
|
367
371
|
const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
368
|
-
const
|
|
369
|
-
if (
|
|
372
|
+
const r = L(o);
|
|
373
|
+
if (r === "2DPoint" || r === "3DPoint")
|
|
370
374
|
return new z(this, o);
|
|
371
|
-
if (
|
|
375
|
+
if (r === "Model")
|
|
372
376
|
return new Q(this, o);
|
|
373
|
-
if (
|
|
377
|
+
if (r === "Plane")
|
|
374
378
|
return new $(this, o);
|
|
375
379
|
});
|
|
376
380
|
return i.forEach(_), this.tags.push(...i), this.tagsLengthWillUpdate = !0, G(this.five).then(() => l(this, null, function* () {
|
|
377
|
-
var o,
|
|
378
|
-
this.store.eventListenerDisposer && ((
|
|
381
|
+
var o, r;
|
|
382
|
+
this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (n) => {
|
|
379
383
|
this.tags.includes(n) && (n.stickType === "Model" && n.loadModel().then(() => {
|
|
380
384
|
this.tags.includes(n) && n.updateVisible();
|
|
381
385
|
}), n.updateVisible(), n.updateZIndex());
|
|
@@ -388,7 +392,9 @@ class Co extends B {
|
|
|
388
392
|
*/
|
|
389
393
|
changeConfig(e, t = !0) {
|
|
390
394
|
t ? this.config = f({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
|
|
391
|
-
i.updateConfig()
|
|
395
|
+
i.updateConfig();
|
|
396
|
+
}), this.tagsDo(this.tags, (i) => {
|
|
397
|
+
i.updateVisible();
|
|
392
398
|
});
|
|
393
399
|
}
|
|
394
400
|
/**
|
|
@@ -396,7 +402,9 @@ class Co extends B {
|
|
|
396
402
|
*/
|
|
397
403
|
changeGlobalConfig(e, t = !0) {
|
|
398
404
|
t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
|
|
399
|
-
i.updateConfig()
|
|
405
|
+
i.updateConfig();
|
|
406
|
+
}), this.tagsDo(this.tags, (i) => {
|
|
407
|
+
i.updateVisible();
|
|
400
408
|
});
|
|
401
409
|
}
|
|
402
410
|
/**
|
|
@@ -404,7 +412,9 @@ class Co extends B {
|
|
|
404
412
|
*/
|
|
405
413
|
changeContentTypeConfig(e, t, i = !0) {
|
|
406
414
|
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = f({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
|
|
407
|
-
o.updateConfig()
|
|
415
|
+
o.updateConfig();
|
|
416
|
+
}), this.tagsDo(this.tags, (o) => {
|
|
417
|
+
o.updateVisible();
|
|
408
418
|
});
|
|
409
419
|
}
|
|
410
420
|
show(e) {
|
|
@@ -445,11 +455,11 @@ class Co extends B {
|
|
|
445
455
|
* @description 销毁
|
|
446
456
|
*/
|
|
447
457
|
dispose() {
|
|
448
|
-
var e, t, i, o,
|
|
449
|
-
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((
|
|
458
|
+
var e, t, i, o, r, n;
|
|
459
|
+
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((s) => {
|
|
450
460
|
var h;
|
|
451
|
-
return (h =
|
|
452
|
-
}), this.tags.forEach((
|
|
461
|
+
return (h = s.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
|
|
462
|
+
}), this.tags.forEach((s) => s.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((s) => s == null ? void 0 : s()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (n = (r = this.store).resizeObserverDisposer) == null || n.call(r), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
|
|
453
463
|
}
|
|
454
464
|
/**
|
|
455
465
|
* @description 闪烁标签
|
|
@@ -488,7 +498,7 @@ class Co extends B {
|
|
|
488
498
|
*/
|
|
489
499
|
changeTagNormalById(e, t) {
|
|
490
500
|
const i = this.getTagById(e);
|
|
491
|
-
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal =
|
|
501
|
+
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = E(t));
|
|
492
502
|
}
|
|
493
503
|
/**
|
|
494
504
|
* @description 改变data
|
|
@@ -530,7 +540,7 @@ class Co extends B {
|
|
|
530
540
|
* @deprecated
|
|
531
541
|
*/
|
|
532
542
|
updateRenderAllTags() {
|
|
533
|
-
this.tags
|
|
543
|
+
this.tagsDo(this.tags, (e) => e.updateVisible()), this.five.needsRender = !0;
|
|
534
544
|
}
|
|
535
545
|
/**
|
|
536
546
|
* @description 清除所有标签
|
|
@@ -538,8 +548,8 @@ class Co extends B {
|
|
|
538
548
|
clearTags() {
|
|
539
549
|
var e;
|
|
540
550
|
this.tags.length && (this.tags.forEach((t) => {
|
|
541
|
-
var i, o,
|
|
542
|
-
(o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (
|
|
551
|
+
var i, o, r, n, s;
|
|
552
|
+
(o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (s = (n = (r = t.model) == null ? void 0 : r.object) == null ? void 0 : n.parent) == null || s.remove(t.model.object);
|
|
543
553
|
}), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
|
|
544
554
|
}
|
|
545
555
|
/**
|
|
@@ -569,8 +579,8 @@ class Co extends B {
|
|
|
569
579
|
handleDisable() {
|
|
570
580
|
var e, t, i;
|
|
571
581
|
this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((o) => {
|
|
572
|
-
var
|
|
573
|
-
(
|
|
582
|
+
var r;
|
|
583
|
+
(r = o.tag3DContentSvelte) == null || r.dispose(), o.tag3DContentSvelte = void 0;
|
|
574
584
|
}), this.five.needsRender = !0;
|
|
575
585
|
}
|
|
576
586
|
addResizeListener() {
|
|
@@ -588,17 +598,17 @@ class Co extends B {
|
|
|
588
598
|
this.state.enabled && (this.filterPointTag.forEach((h) => h.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
589
599
|
}, i = () => {
|
|
590
600
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
591
|
-
}, { observe: o, unobserve:
|
|
601
|
+
}, { observe: o, unobserve: r } = b(
|
|
592
602
|
M(() => {
|
|
593
603
|
this.store.resizeObserverDisposer && i();
|
|
594
604
|
}, 500),
|
|
595
605
|
e
|
|
596
|
-
), { observe: n, unobserve:
|
|
606
|
+
), { observe: n, unobserve: s } = b(
|
|
597
607
|
w(() => t(), 400),
|
|
598
608
|
e
|
|
599
609
|
);
|
|
600
610
|
return o(), n(), () => {
|
|
601
|
-
|
|
611
|
+
r(), s();
|
|
602
612
|
};
|
|
603
613
|
}
|
|
604
614
|
setUnfoldedByCamera() {
|
|
@@ -618,8 +628,8 @@ class Co extends B {
|
|
|
618
628
|
});
|
|
619
629
|
}
|
|
620
630
|
changeTagMode(e, t) {
|
|
621
|
-
var i, o,
|
|
622
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (
|
|
631
|
+
var i, o, r, n, s, h;
|
|
632
|
+
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (r = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : r.css3DObject) == null ? void 0 : n.mode) !== t && ((s = e.config) != null && s.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((g) => g == null ? void 0 : g()), e.tag3DContentSvelte = void 0);
|
|
623
633
|
}
|
|
624
634
|
/**
|
|
625
635
|
* @description 添加 cameraUpdate, panoArrived 等事件监听
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.56.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
|
@@ -14,6 +14,7 @@ export declare class LightTag {
|
|
|
14
14
|
* [0] this.visible
|
|
15
15
|
* [1] 碰撞检测
|
|
16
16
|
* [2] 元素遮挡
|
|
17
|
+
* [3] 强制显示
|
|
17
18
|
* ```
|
|
18
19
|
*/
|
|
19
20
|
visibles: boolean[];
|
|
@@ -58,7 +59,9 @@ export declare class LightTag {
|
|
|
58
59
|
/**
|
|
59
60
|
* @description 显示标签
|
|
60
61
|
*/
|
|
61
|
-
show(
|
|
62
|
+
show(params?: {
|
|
63
|
+
force?: boolean;
|
|
64
|
+
}): void;
|
|
62
65
|
/**
|
|
63
66
|
* @description 隐藏标签
|
|
64
67
|
*/
|
|
@@ -83,6 +86,8 @@ export declare class LightTag {
|
|
|
83
86
|
setPosition(position: AnyPosition, positionsForRotate?: AnyPosition[]): void;
|
|
84
87
|
setTransformMatrix(matrix: THREE.Matrix4): void;
|
|
85
88
|
updateScreenPosition(): void;
|
|
89
|
+
private onModeChange;
|
|
90
|
+
private onPanoArrived;
|
|
86
91
|
private onCameraUpdate;
|
|
87
92
|
private onCameraFovUpdate;
|
|
88
93
|
private onFiveEveryReady;
|