@realsee/dnalogel 3.25.2 → 3.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Sculpt/typings/index.d.ts +1 -0
- package/dist/Sculpt/utils/three/rayOnLine.d.ts +6 -2
- package/dist/index.cjs.js +37 -37
- package/dist/index.js +1640 -1642
- package/dist/index.umd.js +32 -32
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +9 -9
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelMakerPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/SculptPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/SculptData.html +4 -4
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/AudioTagTypeConfigKey.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/SculptData.BoxData.html +4 -4
- package/docs/types/SculptData.CircleData.html +4 -4
- package/docs/types/SculptData.CylinderData.html +4 -4
- package/docs/types/SculptData.PointData.html +4 -4
- package/docs/types/SculptData.PolygonData.html +4 -4
- package/docs/types/SculptData.PolylineData.html +4 -4
- package/docs/types/SculptData.PrismData.html +4 -4
- package/docs/types/SculptData.RectangleData.html +4 -4
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/CruisePlugin/Work.js +47 -47
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/Sculpt/typings/index.d.ts +1 -0
- package/libs/Sculpt/utils/three/rayOnLine.d.ts +6 -2
- package/libs/Sculpt/utils/three/rayOnLine.js +11 -5
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +16 -15
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +17 -16
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +12 -11
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +2 -2
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +27 -34
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/libs/base/BasePlugin.js
CHANGED
|
@@ -40,6 +40,12 @@ import { getPxmm as T, getAttachedY as k } from "../../shared-utils/getPxmm.js";
|
|
|
40
40
|
import { correctFiveState as R } from "../utils/correctFiveState.js";
|
|
41
41
|
import { changeModelCanvasOpacity as A } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
42
42
|
import { FloorplanErrorType as m, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
|
|
43
|
+
import "hammerjs";
|
|
44
|
+
import "@realsee/five";
|
|
45
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
48
|
+
import { isNil as z } from "../../shared-utils/isNil.js";
|
|
43
49
|
import "../../shared-utils/isTruelyObject.js";
|
|
44
50
|
import "../../vendor/svelte/internal/index.js";
|
|
45
51
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -71,10 +77,9 @@ import "../Assets/floorplanExtraObject.js";
|
|
|
71
77
|
import "../../shared-utils/tap.js";
|
|
72
78
|
import "../../base/BasePlugin.js";
|
|
73
79
|
import "../../shared-utils/Subscribe.js";
|
|
74
|
-
import "
|
|
75
|
-
import "
|
|
76
|
-
import "../../
|
|
77
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
80
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
81
|
+
import "../../shared-utils/nearlyEqual.js";
|
|
82
|
+
import "../../shared-utils/five/changeMode.js";
|
|
78
83
|
import "../../shared-utils/positionToVector3.js";
|
|
79
84
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
80
85
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -88,19 +93,15 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
88
93
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
89
94
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
90
95
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
91
|
-
|
|
92
|
-
import "../../shared-utils/url/absoluteUrl.js";
|
|
93
|
-
import "../../shared-utils/nearlyEqual.js";
|
|
94
|
-
import "../../shared-utils/five/changeMode.js";
|
|
95
|
-
function z(d) {
|
|
96
|
+
function W(d) {
|
|
96
97
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
97
98
|
return e || i;
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function G(d) {
|
|
100
101
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
101
102
|
return e && i;
|
|
102
103
|
}
|
|
103
|
-
class
|
|
104
|
+
class Zt extends O {
|
|
104
105
|
constructor(t, e) {
|
|
105
106
|
var a, f;
|
|
106
107
|
super(t);
|
|
@@ -260,7 +261,7 @@ class Qt extends O {
|
|
|
260
261
|
if (!e || this.state.visible || this.state.config.autoShowEnable === !1 || this.isHiddenByHideFunc)
|
|
261
262
|
return;
|
|
262
263
|
const i = this.five.getCurrentState();
|
|
263
|
-
i.mode === this.showState.mode &&
|
|
264
|
+
i.mode === this.showState.mode && G(i) && (this.updateState({ visible: !0 }, !0), this._show({ isAutoShow: !0 }));
|
|
264
265
|
});
|
|
265
266
|
/** panoIndex 改变时,更新 floorIndex */
|
|
266
267
|
o(this, "onFivePanoArrived", (t) => {
|
|
@@ -272,7 +273,7 @@ class Qt extends O {
|
|
|
272
273
|
if (!this.state.visible || this.showPromise)
|
|
273
274
|
return;
|
|
274
275
|
const i = this.five.getCurrentState();
|
|
275
|
-
this.updatePosition(), this.updateSize(),
|
|
276
|
+
this.updatePosition(), this.updateSize(), W(i) && (this.updateState({ visible: !1 }, e), this._hide({ userAction: e }));
|
|
276
277
|
});
|
|
277
278
|
/** 户型图展示中,转动三维模型,结束时应该自动修复模型状态 */
|
|
278
279
|
o(this, "onFiveWantsPanGesture", (t, e) => {
|
|
@@ -338,7 +339,7 @@ class Qt extends O {
|
|
|
338
339
|
return Object.prototype.hasOwnProperty.apply(c, ["version"]);
|
|
339
340
|
}
|
|
340
341
|
const h = t;
|
|
341
|
-
h &&
|
|
342
|
+
h && z(h.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
342
343
|
const s = JSON.parse(JSON.stringify(t)), a = n(s) ? s.data : s, f = this.data;
|
|
343
344
|
this.data = yield S(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, f), e && this.updateState(e, i), this.render();
|
|
344
345
|
});
|
|
@@ -434,5 +435,5 @@ class Qt extends O {
|
|
|
434
435
|
}
|
|
435
436
|
}
|
|
436
437
|
export {
|
|
437
|
-
|
|
438
|
+
Zt as Controller
|
|
438
439
|
};
|
|
@@ -64,8 +64,9 @@ import "../utils/constant.js";
|
|
|
64
64
|
import "../../shared-utils/nearlyEqual.js";
|
|
65
65
|
import "../../shared-utils/five/changeMode.js";
|
|
66
66
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
67
|
-
|
|
67
|
+
import "../../shared-utils/isNil.js";
|
|
68
|
+
const vo = (o, r) => new t(o, r);
|
|
68
69
|
export {
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
vo as MapviewFloorplanPlugin,
|
|
71
|
+
vo as default
|
|
71
72
|
};
|
|
@@ -39,6 +39,13 @@ import { Controller as T } from "../../base/BasePluginWithData.js";
|
|
|
39
39
|
import { correctFiveState as k } from "../utils/correctFiveState.js";
|
|
40
40
|
import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
41
|
import { FIVE_CAMERA_DEFAULT_FOV as R, FloorplanErrorType as p, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
|
|
42
|
+
import "hammerjs";
|
|
43
|
+
import "three";
|
|
44
|
+
import "@realsee/five";
|
|
45
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
48
|
+
import { isNil as G } from "../../shared-utils/isNil.js";
|
|
42
49
|
import "../../shared-utils/isTruelyObject.js";
|
|
43
50
|
import "../../vendor/svelte/internal/index.js";
|
|
44
51
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -68,13 +75,11 @@ import "../Components/Compass.js";
|
|
|
68
75
|
import "../Assets/compass.js";
|
|
69
76
|
import "../Assets/floorplanExtraObject.js";
|
|
70
77
|
import "../../shared-utils/tap.js";
|
|
71
|
-
import "three";
|
|
72
78
|
import "../../base/BasePlugin.js";
|
|
73
79
|
import "../../shared-utils/Subscribe.js";
|
|
74
|
-
import "
|
|
75
|
-
import "
|
|
76
|
-
import "../../
|
|
77
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
80
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
81
|
+
import "../../shared-utils/nearlyEqual.js";
|
|
82
|
+
import "../../shared-utils/five/changeMode.js";
|
|
78
83
|
import "../../shared-utils/positionToVector3.js";
|
|
79
84
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
80
85
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -88,19 +93,15 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
88
93
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
89
94
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
90
95
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
91
|
-
|
|
92
|
-
import "../../shared-utils/url/absoluteUrl.js";
|
|
93
|
-
import "../../shared-utils/nearlyEqual.js";
|
|
94
|
-
import "../../shared-utils/five/changeMode.js";
|
|
95
|
-
function G(d) {
|
|
96
|
+
function W(d) {
|
|
96
97
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
97
98
|
return e || i;
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function z(d) {
|
|
100
101
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
101
102
|
return e && i;
|
|
102
103
|
}
|
|
103
|
-
class
|
|
104
|
+
class te extends T {
|
|
104
105
|
constructor(t, e) {
|
|
105
106
|
var a, f, m;
|
|
106
107
|
super(t);
|
|
@@ -259,7 +260,7 @@ class Yt extends T {
|
|
|
259
260
|
if (!e || this.state.config.autoShowEnable === !1 || this.isHiddenByHideFunc)
|
|
260
261
|
return;
|
|
261
262
|
const i = this.five.getCurrentState();
|
|
262
|
-
i.mode === "Floorplan" && (this.state.visible ||
|
|
263
|
+
i.mode === "Floorplan" && (this.state.visible || z(i) && (this.updateState({ visible: !0 }, !0), this._show({ isAutoShow: !0 })));
|
|
263
264
|
});
|
|
264
265
|
/** panoIndex 改变时,更新 floorIndex */
|
|
265
266
|
o(this, "onFivePanoArrived", (t) => {
|
|
@@ -271,7 +272,7 @@ class Yt extends T {
|
|
|
271
272
|
if (!this.state.visible || this.showPromise)
|
|
272
273
|
return;
|
|
273
274
|
const i = this.five.getCurrentState();
|
|
274
|
-
|
|
275
|
+
W(i) && (this.updateState({ visible: !1 }, e), this._hide({ userAction: e, isAutoHide: !0 }));
|
|
275
276
|
});
|
|
276
277
|
/** 在户型图展示时阻止多指操作, 阻止鼠标放大 */
|
|
277
278
|
o(this, "onFiveWantsGesture", (t, e) => {
|
|
@@ -343,7 +344,7 @@ class Yt extends T {
|
|
|
343
344
|
return Object.prototype.hasOwnProperty.apply(m, ["version"]);
|
|
344
345
|
}
|
|
345
346
|
const h = t;
|
|
346
|
-
h &&
|
|
347
|
+
h && G(h.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
347
348
|
const r = JSON.parse(JSON.stringify(t)), a = n(r) ? r.data : r, f = this.data;
|
|
348
349
|
this.data = yield b(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, f), e && this.updateState(e, i), this.render();
|
|
349
350
|
});
|
|
@@ -431,5 +432,5 @@ class Yt extends T {
|
|
|
431
432
|
}
|
|
432
433
|
}
|
|
433
434
|
export {
|
|
434
|
-
|
|
435
|
+
te as Controller
|
|
435
436
|
};
|
|
@@ -64,8 +64,9 @@ import "../utils/constant.js";
|
|
|
64
64
|
import "../../shared-utils/nearlyEqual.js";
|
|
65
65
|
import "../../shared-utils/five/changeMode.js";
|
|
66
66
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
67
|
-
|
|
67
|
+
import "../../shared-utils/isNil.js";
|
|
68
|
+
const xo = (o, r) => new t(o, r);
|
|
68
69
|
export {
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
xo as ModelFloorplanPlugin,
|
|
71
|
+
xo as default
|
|
71
72
|
};
|
|
@@ -38,6 +38,12 @@ import { Controller as M } from "../../base/BasePluginWithData.js";
|
|
|
38
38
|
import { changeMode as P } from "../../shared-utils/five/changeMode.js";
|
|
39
39
|
import { getPxmm as D, getAttachedY as O } from "../../shared-utils/getPxmm.js";
|
|
40
40
|
import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
|
+
import "hammerjs";
|
|
42
|
+
import "@realsee/five";
|
|
43
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
44
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
45
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
46
|
+
import { isNil as k } from "../../shared-utils/isNil.js";
|
|
41
47
|
import "../../shared-utils/isTruelyObject.js";
|
|
42
48
|
import "../../vendor/svelte/internal/index.js";
|
|
43
49
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -69,10 +75,9 @@ import "../Assets/floorplanExtraObject.js";
|
|
|
69
75
|
import "../../shared-utils/tap.js";
|
|
70
76
|
import "../../base/BasePlugin.js";
|
|
71
77
|
import "../../shared-utils/Subscribe.js";
|
|
72
|
-
import "
|
|
73
|
-
import "
|
|
74
|
-
import "../../
|
|
75
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
78
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
79
|
+
import "../../shared-utils/nearlyEqual.js";
|
|
80
|
+
import "../../shared-utils/to.js";
|
|
76
81
|
import "../../shared-utils/positionToVector3.js";
|
|
77
82
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
78
83
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -86,11 +91,7 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
86
91
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
87
92
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
88
93
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
89
|
-
|
|
90
|
-
import "../../shared-utils/url/absoluteUrl.js";
|
|
91
|
-
import "../../shared-utils/nearlyEqual.js";
|
|
92
|
-
import "../../shared-utils/to.js";
|
|
93
|
-
class $t extends M {
|
|
94
|
+
class qt extends M {
|
|
94
95
|
constructor(t, e) {
|
|
95
96
|
var h, c;
|
|
96
97
|
super(t);
|
|
@@ -223,7 +224,7 @@ class $t extends M {
|
|
|
223
224
|
return Object.prototype.hasOwnProperty.apply(p, ["version"]);
|
|
224
225
|
}
|
|
225
226
|
const r = t;
|
|
226
|
-
r &&
|
|
227
|
+
r && k(r.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
227
228
|
const a = JSON.parse(JSON.stringify(t)), h = s(a) ? a.data : a, c = this.data;
|
|
228
229
|
this.data = yield v(h), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), e && this.updateState(e, i), this.render();
|
|
229
230
|
});
|
|
@@ -363,5 +364,5 @@ class $t extends M {
|
|
|
363
364
|
}
|
|
364
365
|
}
|
|
365
366
|
export {
|
|
366
|
-
|
|
367
|
+
qt as Controller
|
|
367
368
|
};
|
|
@@ -62,8 +62,9 @@ import "../../shared-utils/nearlyEqual.js";
|
|
|
62
62
|
import "../../shared-utils/to.js";
|
|
63
63
|
import "../../shared-utils/getPxmm.js";
|
|
64
64
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
65
|
-
|
|
65
|
+
import "../../shared-utils/isNil.js";
|
|
66
|
+
const co = (o, r) => new t(o, r);
|
|
66
67
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
co as TopviewFloorplanPlugin,
|
|
69
|
+
co as default
|
|
69
70
|
};
|
package/libs/index.js
CHANGED
|
@@ -137,6 +137,7 @@ import "./floorplan/utils/constant.js";
|
|
|
137
137
|
import "./shared-utils/nearlyEqual.js";
|
|
138
138
|
import "./shared-utils/five/changeMode.js";
|
|
139
139
|
import "./shared-utils/changeModelCanvasOpacity.js";
|
|
140
|
+
import "./shared-utils/isNil.js";
|
|
140
141
|
import "./floorplan/MapviewFloorplanPlugin/Controller.js";
|
|
141
142
|
import "./floorplan/TopviewFloorplanPlugin/Controller.js";
|
|
142
143
|
import "./floorplan/PanoFloorplanRadarPlugin/Controller.js";
|
|
@@ -183,7 +184,6 @@ import "earcut";
|
|
|
183
184
|
import "./shared-utils/three/getNormal.js";
|
|
184
185
|
import "./PanoMeasurePlugin/utils/dom/areaDom.js";
|
|
185
186
|
import "./shared-utils/three/geometryUtil.js";
|
|
186
|
-
import "./shared-utils/isNil.js";
|
|
187
187
|
import "./PanoMeasurePlugin/utils/isIntersecting.js";
|
|
188
188
|
import "./shared-utils/three/PointSelector.js";
|
|
189
189
|
import "./shared-utils/three/PointSelectorHelper.js";
|
|
@@ -395,6 +395,7 @@ import "./shared-utils/Object3DHelper/Base/BaseController.js";
|
|
|
395
395
|
import "./shared-utils/threex/domevents/index.js";
|
|
396
396
|
import "./shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
397
397
|
import "./shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
398
|
+
import "./Sculpt/utils/three/rayOnLine.js";
|
|
398
399
|
import "./Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
399
400
|
import "./shared-utils/Object3DHelper/index.js";
|
|
400
401
|
import "./shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
@@ -405,7 +406,6 @@ import "./shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
|
405
406
|
import "./shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
406
407
|
import "./shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
407
408
|
import "./shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
408
|
-
import "./Sculpt/utils/three/rayOnLine.js";
|
|
409
409
|
import "./PanoVideoPlugin/Controller.js";
|
|
410
410
|
import "./PanoVideoPlugin/VideoMeshController.js";
|
|
411
411
|
import "./PanoVideoPlugin/utils/shader.js";
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var f = Object.defineProperty;
|
|
2
|
+
var v = (c, a, e) => a in c ? f(c, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[a] = e;
|
|
3
|
+
var u = (c, a, e) => (v(c, typeof a != "symbol" ? a + "" : a, e), e);
|
|
4
4
|
import { BaseController as p } from "../Base/BaseController.js";
|
|
5
5
|
import * as m from "three";
|
|
6
6
|
import { getMouseRaycaster as g } from "../utils/getMouseRaycaster.js";
|
|
7
|
+
import { rayOnLine as y } from "../../../Sculpt/utils/three/rayOnLine.js";
|
|
7
8
|
class w extends p {
|
|
8
9
|
constructor(...e) {
|
|
9
10
|
super(...e);
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
u(this, "name", "MoveController");
|
|
12
|
+
u(this, "startInfo");
|
|
13
|
+
u(this, "_moveByMouse", {
|
|
13
14
|
enabled: !1
|
|
14
15
|
});
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
u(this, "mouseInfo");
|
|
17
|
+
u(this, "mousedownEventListenerDisposer");
|
|
17
18
|
const t = this.helperObject3D;
|
|
18
19
|
this.hoverListener([t.xArrow, t.yArrow, t.zArrow]);
|
|
19
|
-
const o = this.dragStart.bind(this),
|
|
20
|
-
this.domEvents.addEventListener(this.helperObject3D, "mousedown", o), document.addEventListener("mousemove",
|
|
21
|
-
this.domEvents.removeEventListener(this.helperObject3D, "mousedown", o), document.removeEventListener("mousemove",
|
|
20
|
+
const o = this.dragStart.bind(this), h = this.dragging.bind(this), i = this.dragEnd.bind(this), n = this.show.bind(this), s = this.hide.bind(this);
|
|
21
|
+
this.domEvents.addEventListener(this.helperObject3D, "mousedown", o), document.addEventListener("mousemove", h), document.addEventListener("mouseup", i), this.hooks.on("rotateStart", s), this.hooks.on("rotateEnd", n), this.hooks.on("scaleStart", s), this.hooks.on("scaleEnd", n), this.hooks.on("moveByMouseEnable", s), this.hooks.on("moveByMouseDisable", n), this.disposers.push(() => {
|
|
22
|
+
this.domEvents.removeEventListener(this.helperObject3D, "mousedown", o), document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", i), this.hooks.off("rotateStart", s), this.hooks.off("rotateEnd", n), this.hooks.off("scaleStart", s), this.hooks.off("scaleEnd", n), this.hooks.off("moveByMouseEnable", s), this.hooks.off("moveByMouseDisable", n);
|
|
22
23
|
}), this.moveByMouseEnable && this.moveByMouse();
|
|
23
24
|
}
|
|
24
25
|
get moveByMouseEnable() {
|
|
@@ -52,14 +53,14 @@ class w extends p {
|
|
|
52
53
|
this._moveByMouse = { enabled: !1 }, this.preventTapDefaultEvent = !1, this.hooks.emit("moveByMouseDisable"), (e = this.mousedownEventListenerDisposer) == null || e.call(this);
|
|
53
54
|
}
|
|
54
55
|
onIntersectionOnModelUpdate(e) {
|
|
55
|
-
var i,
|
|
56
|
+
var i, n, s;
|
|
56
57
|
if (!this.moveByMouseEnable)
|
|
57
58
|
return;
|
|
58
59
|
const { point: t, face: o } = e;
|
|
59
60
|
if (!this.hooks.emit("wantToMove", t)) {
|
|
60
61
|
if (this.originObject3D.position.copy(t), (this._moveByMouse.useFaceNormal === !0 || typeof this._moveByMouse.useFaceNormal == "object" && this._moveByMouse.useFaceNormal.enable !== !1) && o != null && o.normal) {
|
|
61
|
-
const
|
|
62
|
-
this.originObject3D.quaternion.setFromUnitVectors(
|
|
62
|
+
const r = (() => typeof this._moveByMouse.useFaceNormal == "object" && this._moveByMouse.useFaceNormal.alignmentVector ? this._moveByMouse.useFaceNormal.alignmentVector : { x: 0, y: 1, z: 0 })(), l = new m.Vector3((i = r.x) != null ? i : 0, (n = r.y) != null ? n : 0, (s = r.z) != null ? s : 0), d = (() => typeof this._moveByMouse.useFaceNormal == "object" && this._moveByMouse.useFaceNormal.fixedFaceNormal ? this._moveByMouse.useFaceNormal.fixedFaceNormal(o.normal) : o.normal)();
|
|
63
|
+
this.originObject3D.quaternion.setFromUnitVectors(l, d), this.internalHooks.emit("setObjectRotate", this.originObject3D.quaternion.clone());
|
|
63
64
|
}
|
|
64
65
|
this.internalHooks.emit("setObjectPosition", t), this.hooks.emit("move", t);
|
|
65
66
|
}
|
|
@@ -86,25 +87,20 @@ class w extends p {
|
|
|
86
87
|
const o = (t == null ? void 0 : t.object).direction;
|
|
87
88
|
if (!o)
|
|
88
89
|
return this.dragEnd();
|
|
89
|
-
const
|
|
90
|
+
const h = new m.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), i = new m.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), n = new m.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), s = (() => {
|
|
90
91
|
switch (o) {
|
|
91
92
|
case "x":
|
|
92
|
-
return
|
|
93
|
+
return h;
|
|
93
94
|
case "y":
|
|
94
95
|
return i;
|
|
95
96
|
case "z":
|
|
96
|
-
return
|
|
97
|
+
return n;
|
|
97
98
|
}
|
|
98
|
-
})(),
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
case "z":
|
|
104
|
-
return r;
|
|
105
|
-
}
|
|
106
|
-
})(), a = t.point.clone(), u = new m.Plane();
|
|
107
|
-
u.setFromNormalAndCoplanarPoint(c, a), this.startInfo = { startVectorProject: a.clone().projectOnVector(n), directionVector: n, plane: u }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("moveStart"), this.isDragging = !0;
|
|
99
|
+
})(), r = t.point.clone(), l = new m.Line3(
|
|
100
|
+
r.clone().sub(s.normalize()),
|
|
101
|
+
r.clone().add(s.normalize())
|
|
102
|
+
);
|
|
103
|
+
this.startInfo = { startVectorProject: r, line: l }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("moveStart"), this.isDragging = !0;
|
|
108
104
|
}
|
|
109
105
|
dragging(e) {
|
|
110
106
|
if (!this.isDragging || !this.startInfo)
|
|
@@ -115,13 +111,10 @@ class w extends p {
|
|
|
115
111
|
move(e) {
|
|
116
112
|
if (!this.startInfo)
|
|
117
113
|
return this.dragEnd();
|
|
118
|
-
const {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
a.setPosition(c);
|
|
123
|
-
const u = i.position.clone().applyMatrix4(a);
|
|
124
|
-
this.hooks.emit("wantToMove", u) || (i.applyMatrix4(a), r.copy(n), this.internalHooks.emit("applyObjectPosition", { matrix: a }), this.hooks.emit("move", u));
|
|
114
|
+
const { line: t, startVectorProject: o } = this.startInfo, h = this.originObject3D, i = y(this.camera.position, e.ray, t, !1), n = i.clone().sub(o), s = new m.Matrix4();
|
|
115
|
+
s.setPosition(n);
|
|
116
|
+
const r = h.position.clone().applyMatrix4(s);
|
|
117
|
+
this.hooks.emit("wantToMove", r) || (h.applyMatrix4(s), o.copy(i), this.internalHooks.emit("applyObjectPosition", { matrix: s }), this.hooks.emit("move", r));
|
|
125
118
|
}
|
|
126
119
|
dragEnd() {
|
|
127
120
|
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.hooks.emit("moveEnd"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.25.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.25.4",
|
|
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",
|