@realsee/dnalogel 3.63.0 → 3.63.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/PanoVideoPlugin/VideoMeshController.d.ts +4 -0
- package/dist/index.cjs.js +6 -6
- package/dist/index.js +88 -76
- package/dist/index.umd.js +6 -6
- package/dist/shared-utils/Utils/WorkUtil.d.ts +1 -0
- package/dist/shared-utils/three/PointSelector/index.d.ts +1 -0
- 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 +2 -2
- 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 +2 -2
- 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 +12 -12
- 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/MeasurePlugin.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.initialCSS3DRender.html +1 -1
- 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.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- 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/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +25 -23
- package/libs/PanoVideoPlugin/VideoMeshController.d.ts +4 -0
- package/libs/PanoVideoPlugin/VideoMeshController.js +39 -40
- package/libs/base/BasePlugin.js +3 -3
- package/libs/shared-utils/Utils/WorkUtil.d.ts +1 -0
- package/libs/shared-utils/Utils/WorkUtil.js +24 -21
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +1 -0
- package/libs/shared-utils/three/PointSelector/index.js +84 -76
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -43,7 +43,7 @@ import { LineGeometry as PA, LineMaterial as IA, THREE_Line2 as EA, Line as MA }
|
|
|
43
43
|
import { GLTFLoader as xA } from "@realsee/five/gltf-loader";
|
|
44
44
|
function kA() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.63.0",
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.63.2-alpha.0",
|
|
47
47
|
[
|
|
48
48
|
"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=')",
|
|
49
49
|
"background-repeat: no-repeat",
|
|
@@ -1280,6 +1280,9 @@ class qA extends _m {
|
|
|
1280
1280
|
const e = (r = (i = this.work) == null ? void 0 : i.transform) != null ? r : (o = (s = this.work) == null ? void 0 : s.options) == null ? void 0 : o.transform;
|
|
1281
1281
|
return e ? e.clone() : new y.Matrix4();
|
|
1282
1282
|
}
|
|
1283
|
+
getResolvedObserver(e) {
|
|
1284
|
+
return this.five.works.getResolvedObserver({ workCode: this.workCode, panoIndex: e });
|
|
1285
|
+
}
|
|
1283
1286
|
/**
|
|
1284
1287
|
* @description 获取全景点坐标
|
|
1285
1288
|
*/
|
|
@@ -4144,8 +4147,13 @@ class il extends bt {
|
|
|
4144
4147
|
/**
|
|
4145
4148
|
* @description: 鼠标进入five canvas时
|
|
4146
4149
|
*/
|
|
4147
|
-
d(this, "onEnter", () => {
|
|
4148
|
-
|
|
4150
|
+
d(this, "onEnter", (e) => {
|
|
4151
|
+
var s;
|
|
4152
|
+
const i = (s = e == null ? void 0 : e.emitEvent) != null ? s : !0;
|
|
4153
|
+
this.cursorError || this.pointSelectorHelper.show(), this.outOfFive = !1, i && this.emit("intersectionUpdate", this.position);
|
|
4154
|
+
});
|
|
4155
|
+
d(this, "onMouseEnter", () => {
|
|
4156
|
+
this.onEnter();
|
|
4149
4157
|
});
|
|
4150
4158
|
/**
|
|
4151
4159
|
* @description: 鼠标离开five canvas时
|
|
@@ -4274,76 +4282,79 @@ class il extends bt {
|
|
|
4274
4282
|
* @description: 更新 pointSelectorHelper 的焦点位置
|
|
4275
4283
|
*/
|
|
4276
4284
|
d(this, "updatePointSelectorHelperIntersect", (e) => {
|
|
4277
|
-
var r, a, l, c, h, u
|
|
4285
|
+
var s, o, r, a, l, c, h, u;
|
|
4278
4286
|
if (!e) {
|
|
4279
4287
|
this.onLeave(), this.five.getElement().style.cursor = Su;
|
|
4280
4288
|
return;
|
|
4281
4289
|
}
|
|
4282
|
-
this.onEnter(), this.cursorError || (this.five.getElement().style.cursor = "");
|
|
4283
|
-
const i = R({}, e)
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4290
|
+
this.onEnter({ emitEvent: !1 }), this.cursorError || (this.five.getElement().style.cursor = "");
|
|
4291
|
+
const i = R({}, e);
|
|
4292
|
+
if (this.adhereEnabled && this.mouseNdcPosition && this.five.renderer) {
|
|
4293
|
+
const f = {
|
|
4294
|
+
x: this.mouseNdcPosition.x,
|
|
4295
|
+
y: 1 - this.mouseNdcPosition.y
|
|
4296
|
+
}, p = this.five.renderer.getSize(new y.Vector2());
|
|
4297
|
+
if (this.adhereEnabled && typeof this.adherePoints == "function" && typeof this.adhereRadius == "number") {
|
|
4298
|
+
for (const v of this.adherePlane) {
|
|
4299
|
+
const g = v.distanceToPoint(e.point);
|
|
4300
|
+
let m = v.projectPoint(e.point, new y.Vector3());
|
|
4301
|
+
(!this.plane || this.plane.distanceToPoint(m) < 0.01) && (m = (o = (s = this.plane) == null ? void 0 : s.projectPoint(m, new y.Vector3())) != null ? o : m, g < this.adhereRadius && (i.point = m.clone(), i.adherePoint = m.clone(), this.plane || (i.face = new y.Face3(0, 0, 0, v.normal.clone())), i.isAdsorbed = !0));
|
|
4302
|
+
}
|
|
4303
|
+
for (const v of this.adhereLine) {
|
|
4304
|
+
let g = v.closestPointToPoint(e.point, !1, new y.Vector3());
|
|
4305
|
+
if (g.distanceTo(e.point) < this.adhereRadius)
|
|
4306
|
+
(!this.plane || this.plane.distanceToPoint(g) < 0.01) && (g = (a = (r = this.plane) == null ? void 0 : r.projectPoint(g, new y.Vector3())) != null ? a : g, i.point = g.clone(), i.adhereLine = v.clone(), i.isAdsorbed = !0);
|
|
4307
|
+
else {
|
|
4308
|
+
const m = _n({
|
|
4309
|
+
raycaster: new ka(this.five.camera.position, e.point.clone().sub(this.five.camera.position).normalize()),
|
|
4310
|
+
line: v,
|
|
4311
|
+
clampToLine: !1
|
|
4312
|
+
}), b = m.clone().project(this.five.camera);
|
|
4313
|
+
if (b.z <= 1) {
|
|
4314
|
+
const C = {
|
|
4315
|
+
x: (b.x + 1) / 2,
|
|
4316
|
+
y: (1 - b.y) / 2
|
|
4317
|
+
}, x = {
|
|
4318
|
+
x: Math.abs(C.x - f.x) * p.width,
|
|
4319
|
+
y: Math.abs(C.y - f.y) * p.height
|
|
4320
|
+
};
|
|
4321
|
+
let E = m.clone();
|
|
4322
|
+
x.x < 10 && x.y < 10 && (!this.plane || this.plane.distanceToPoint(E) < 0.01) && (E = (c = (l = this.plane) == null ? void 0 : l.projectPoint(E, new y.Vector3())) != null ? c : E, i.point = E.clone(), i.adhereLine = v.clone(), i.isAdsorbed = !0);
|
|
4323
|
+
}
|
|
4313
4324
|
}
|
|
4314
4325
|
}
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
if (g.IsAlwaysVisible = v.IsAlwaysVisible, this.plane && this.plane.distanceToPoint(g) > 0.01)
|
|
4319
|
-
continue;
|
|
4320
|
-
if (g.distanceTo(e.point) < this.adhereRadius) {
|
|
4321
|
-
i.point = (p = (f = this.plane) == null ? void 0 : f.projectPoint(g, new y.Vector3())) != null ? p : g.clone(), !this.plane && v instanceof y.Face3 && (i.face = v), i.isAdsorbed = !0;
|
|
4322
|
-
break;
|
|
4323
|
-
} else {
|
|
4324
|
-
const b = g.clone().project(this.five.camera);
|
|
4325
|
-
if (b.z > 1)
|
|
4326
|
+
for (const v of this.adherePoints({ intersection: e, pointSelectorInstance: this })) {
|
|
4327
|
+
const g = v instanceof y.Face3 ? new y.Vector3(v.a, v.b, v.c) : v;
|
|
4328
|
+
if (g.IsAlwaysVisible = v.IsAlwaysVisible, this.plane && this.plane.distanceToPoint(g) > 0.01)
|
|
4326
4329
|
continue;
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
}
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4330
|
+
if (g.distanceTo(e.point) < this.adhereRadius) {
|
|
4331
|
+
i.point = (u = (h = this.plane) == null ? void 0 : h.projectPoint(g, new y.Vector3())) != null ? u : g.clone(), !this.plane && v instanceof y.Face3 && (i.face = v), i.isAdsorbed = !0;
|
|
4332
|
+
break;
|
|
4333
|
+
} else {
|
|
4334
|
+
const b = g.clone().project(this.five.camera);
|
|
4335
|
+
if (b.z > 1)
|
|
4336
|
+
continue;
|
|
4337
|
+
const C = this.five.renderer.getSize(new y.Vector2()), x = {
|
|
4338
|
+
x: (b.x + 1) / 2,
|
|
4339
|
+
y: (1 - b.y) / 2
|
|
4340
|
+
}, E = {
|
|
4341
|
+
x: Math.abs(x.x - f.x) * C.width,
|
|
4342
|
+
y: Math.abs(x.y - f.y) * C.height
|
|
4343
|
+
};
|
|
4344
|
+
if (E.x < 10 && E.y < 10) {
|
|
4345
|
+
let S = !1;
|
|
4346
|
+
if (g.IsAlwaysVisible)
|
|
4347
|
+
S = !0;
|
|
4348
|
+
else {
|
|
4349
|
+
const D = new y.Raycaster();
|
|
4350
|
+
D.setFromCamera(g.clone(), this.five.camera);
|
|
4351
|
+
const V = this.five.model.intersectRaycaster(D, void 0, !0)[0], H = 0.1, X = this.five.camera.position.distanceTo(g);
|
|
4352
|
+
V && V.distance < X + H && (S = !0);
|
|
4353
|
+
}
|
|
4354
|
+
if (S) {
|
|
4355
|
+
i.point = g.clone(), !this.plane && v instanceof y.Face3 && (i.face = v), i.isAdsorbed = !0;
|
|
4356
|
+
break;
|
|
4357
|
+
}
|
|
4347
4358
|
}
|
|
4348
4359
|
}
|
|
4349
4360
|
}
|
|
@@ -4416,14 +4427,14 @@ class il extends bt {
|
|
|
4416
4427
|
const e = this.five.getElement();
|
|
4417
4428
|
if (!e)
|
|
4418
4429
|
throw new Error("five element not found");
|
|
4419
|
-
this.mode === "cursor" ? (this.five.on("wantsMoveToPano", Ns), this.five.on("wantsChangeMode", Ns), this.five.on("wantsTapGesture", Ns), e.addEventListener("touchstart", this.onTouchStart, { passive: !0 }), e.addEventListener("touchmove", this.onTouchMove), e.addEventListener("touchend", this.onTouchEnd), e.addEventListener("mousedown", this.onMouseDown), e.addEventListener("mouseup", this.onMouseUp), e.addEventListener("mousemove", this.updateByMousePosition), e.addEventListener("wheel", this.onMouseWheel), e.addEventListener("mouseenter", this.
|
|
4430
|
+
this.mode === "cursor" ? (this.five.on("wantsMoveToPano", Ns), this.five.on("wantsChangeMode", Ns), this.five.on("wantsTapGesture", Ns), e.addEventListener("touchstart", this.onTouchStart, { passive: !0 }), e.addEventListener("touchmove", this.onTouchMove), e.addEventListener("touchend", this.onTouchEnd), e.addEventListener("mousedown", this.onMouseDown), e.addEventListener("mouseup", this.onMouseUp), e.addEventListener("mousemove", this.updateByMousePosition), e.addEventListener("wheel", this.onMouseWheel), e.addEventListener("mouseenter", this.onMouseEnter), e.addEventListener("mouseout", this.onLeave), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture)) : this.mode === "fixed" && (this.five.on("panoArrived", this.renderScreenCenter), this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), document.addEventListener("keydown", this.onKeyDown), document.addEventListener("keyup", this.onKeyUp), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, this.emit("enable");
|
|
4420
4431
|
}
|
|
4421
4432
|
disable() {
|
|
4422
4433
|
if (!this.enabled)
|
|
4423
4434
|
return;
|
|
4424
4435
|
this.enabled = !1, this.adherePoints = null, this.adhereLine = [], this.adherePlane = [], this.plane = void 0, this.pointSelectorHelper.disable(), this.five.getElement().style.cursor = "";
|
|
4425
4436
|
const e = this.five.getElement();
|
|
4426
|
-
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", Ns), this.five.off("wantsChangeMode", Ns), this.five.off("wantsTapGesture", Ns), this.five.helperVisible = this.lastFiveHelperVisible, e == null || e.removeEventListener("touchstart", this.onTouchStart), e == null || e.removeEventListener("touchmove", this.onTouchMove), e == null || e.removeEventListener("touchend", this.onTouchEnd), e == null || e.removeEventListener("mousedown", this.onMouseDown), e == null || e.removeEventListener("mouseup", this.onMouseUp), e == null || e.removeEventListener("mousemove", this.updateByMousePosition), e == null || e.removeEventListener("wheel", this.onMouseWheel), e == null || e.removeEventListener("mouseenter", this.
|
|
4437
|
+
this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", Ns), this.five.off("wantsChangeMode", Ns), this.five.off("wantsTapGesture", Ns), this.five.helperVisible = this.lastFiveHelperVisible, e == null || e.removeEventListener("touchstart", this.onTouchStart), e == null || e.removeEventListener("touchmove", this.onTouchMove), e == null || e.removeEventListener("touchend", this.onTouchEnd), e == null || e.removeEventListener("mousedown", this.onMouseDown), e == null || e.removeEventListener("mouseup", this.onMouseUp), e == null || e.removeEventListener("mousemove", this.updateByMousePosition), e == null || e.removeEventListener("wheel", this.onMouseWheel), e == null || e.removeEventListener("mouseenter", this.onMouseEnter), e == null || e.removeEventListener("mouseout", this.onLeave), this.five.off("panoArrived", this.renderScreenCenter), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), document.removeEventListener("keydown", this.onKeyDown), document.removeEventListener("keyup", this.onKeyUp), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate), this.emit("disable");
|
|
4427
4438
|
}
|
|
4428
4439
|
dispose() {
|
|
4429
4440
|
this.disable(), this.pointSelectorHelper.dispose();
|
|
@@ -11638,7 +11649,7 @@ let Xn = class {
|
|
|
11638
11649
|
/**
|
|
11639
11650
|
* @realsee/dnalogel 版本号
|
|
11640
11651
|
*/
|
|
11641
|
-
d(this, "VERSION", "3.63.0");
|
|
11652
|
+
d(this, "VERSION", "3.63.2-alpha.0");
|
|
11642
11653
|
d(this, "NAME");
|
|
11643
11654
|
d(this, "five");
|
|
11644
11655
|
d(this, "workUtil");
|
|
@@ -18110,7 +18121,7 @@ class zn extends fl {
|
|
|
18110
18121
|
d(this, "deleteDom");
|
|
18111
18122
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
18112
18123
|
d(this, "onIntersectionUpdate", tl((e) => {
|
|
18113
|
-
this.currentMeasureType === "area" && typeof e.isAdsorbed == "boolean" && (e.isAdsorbed ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed();
|
|
18124
|
+
e && (this.currentMeasureType === "area" && typeof e.isAdsorbed == "boolean" && (e.isAdsorbed ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed());
|
|
18114
18125
|
}, 20));
|
|
18115
18126
|
/** 撤销编辑 */
|
|
18116
18127
|
d(this, "revoke", () => {
|
|
@@ -40225,6 +40236,7 @@ class vm {
|
|
|
40225
40236
|
/** 初始化视频、模型以及相关事件监听。 */
|
|
40226
40237
|
constructor(t, e) {
|
|
40227
40238
|
d(this, "video");
|
|
40239
|
+
d(this, "fiveUtil");
|
|
40228
40240
|
d(this, "_id");
|
|
40229
40241
|
/** 视频资源地址 */
|
|
40230
40242
|
d(this, "url");
|
|
@@ -40260,14 +40272,13 @@ class vm {
|
|
|
40260
40272
|
});
|
|
40261
40273
|
/** 把 uv 值转换成位置 */
|
|
40262
40274
|
d(this, "uv2Position", (t, e) => {
|
|
40263
|
-
var p;
|
|
40264
40275
|
const s = Math.PI, o = Math.PI * 2, r = t, a = 1 - e, l = new ue(
|
|
40265
40276
|
-1 * Math.cos(o * r) * Math.sin(s * a),
|
|
40266
40277
|
1 * Math.cos(s * a),
|
|
40267
40278
|
1 * Math.sin(o * r) * Math.sin(s * a)
|
|
40268
40279
|
);
|
|
40269
40280
|
l.setX(-l.x);
|
|
40270
|
-
const c =
|
|
40281
|
+
const c = this.fiveUtil.workUtil.getResolvedObserver(this.panoIndex);
|
|
40271
40282
|
if (!c)
|
|
40272
40283
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
40273
40284
|
const h = c.position.clone(), u = c.quaternion.clone(), f = l.clone();
|
|
@@ -40275,8 +40286,7 @@ class vm {
|
|
|
40275
40286
|
});
|
|
40276
40287
|
/** Five 数据加载后需要根据点位位姿调整点位模型位置 */
|
|
40277
40288
|
d(this, "onFiveDataLoaded", () => {
|
|
40278
|
-
|
|
40279
|
-
const t = (l = this.five.work) == null ? void 0 : l.observers[this.panoIndex];
|
|
40289
|
+
const t = this.fiveUtil.workUtil.getResolvedObserver(this.panoIndex);
|
|
40280
40290
|
if (!t)
|
|
40281
40291
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
40282
40292
|
this.observer = t;
|
|
@@ -40382,7 +40392,7 @@ class vm {
|
|
|
40382
40392
|
(t = this.renderFiveDisposer) == null || t.call(this), this.renderFiveDisposer = void 0;
|
|
40383
40393
|
});
|
|
40384
40394
|
var l, c;
|
|
40385
|
-
this.five = t, this.panoIndex = e.panoIndex, this._id = e.renderID, this.url = e.url, this.origin = e.origin.slice(), this.hooks = e.hooks, this._enabled = (c = (l = e.initialState) == null ? void 0 : l.enabled) != null ? c : !0;
|
|
40395
|
+
this.five = t, this.panoIndex = e.panoIndex, this.fiveUtil = e.fiveUtil, this._id = e.renderID, this.url = e.url, this.origin = e.origin.slice(), this.hooks = e.hooks, this._enabled = (c = (l = e.initialState) == null ? void 0 : l.enabled) != null ? c : !0;
|
|
40386
40396
|
const i = document.createElement("video");
|
|
40387
40397
|
i.crossOrigin = "anonymous", i.autoplay = !1, i.muted = !0, i.loop = !0, i.playsInline = !0, this.video = i;
|
|
40388
40398
|
const s = new wA(this.video);
|
|
@@ -40402,7 +40412,7 @@ class vm {
|
|
|
40402
40412
|
}), r = new CA(1, 64, 64);
|
|
40403
40413
|
r.scale(-1, 1, 1);
|
|
40404
40414
|
const a = new so(r, o);
|
|
40405
|
-
a.name = "pano-video-plugin", this.videoMesh = a, this.
|
|
40415
|
+
a.name = "pano-video-plugin", this.videoMesh = a, this.fiveUtil.workUtil.work && this.onFiveDataLoaded(), this.enabled && this.addEventListeners(), this.mountIfNeeded(), window[`__PANOVIDEO_${this.renderID}_DEBUG__`] = this;
|
|
40406
40416
|
}
|
|
40407
40417
|
/** 传入的 ID,不可更改 */
|
|
40408
40418
|
get renderID() {
|
|
@@ -40525,6 +40535,7 @@ class yT extends Xn {
|
|
|
40525
40535
|
this.controllerMap.set(
|
|
40526
40536
|
l.render_id,
|
|
40527
40537
|
new vm(this.five, he(R({}, l), {
|
|
40538
|
+
fiveUtil: this.fiveUtil,
|
|
40528
40539
|
panoIndex: r,
|
|
40529
40540
|
renderID: a,
|
|
40530
40541
|
hooks: this.hooks,
|
|
@@ -40603,6 +40614,7 @@ class yT extends Xn {
|
|
|
40603
40614
|
this.controllerMap.set(
|
|
40604
40615
|
s.render_id,
|
|
40605
40616
|
new vm(this.five, he(R({}, s), {
|
|
40617
|
+
fiveUtil: this.fiveUtil,
|
|
40606
40618
|
panoIndex: e,
|
|
40607
40619
|
renderID: o,
|
|
40608
40620
|
hooks: this.hooks,
|