@realsee/dnalogel 3.27.8 → 3.27.10
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/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
- package/dist/Sculpt/Objects/Base/index.d.ts +3 -3
- package/dist/Sculpt/index.d.ts +2 -2
- package/dist/Sculpt/{Modules → utils/Modules}/Global.d.ts +3 -3
- package/dist/index.cjs.js +6 -6
- package/dist/index.js +161 -152
- package/dist/index.umd.js +6 -6
- package/dist/shared-utils/five/FiveDomEvents.d.ts +10 -6
- package/dist/shared-utils/forReverseEach.d.ts +1 -0
- 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 +23 -23
- 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 +3 -3
- 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 +4 -4
- 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/ContentTypeMapInterface.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 +4 -4
- 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 +3 -3
- 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/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 +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.html +3 -3
- 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/PanoTagPlugin/Components/TagContainer.js +19 -19
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
- package/libs/Sculpt/Objects/Base/index.d.ts +3 -3
- package/libs/Sculpt/Objects/Base/index.js +6 -6
- package/libs/Sculpt/index.d.ts +2 -2
- package/libs/Sculpt/index.js +26 -23
- package/libs/Sculpt/{Modules → utils/Modules}/Global.d.ts +3 -3
- package/libs/Sculpt/{Modules → utils/Modules}/Global.js +9 -9
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +128 -127
- package/libs/shared-utils/five/FiveDomEvents.d.ts +10 -6
- package/libs/shared-utils/five/FiveDomEvents.js +83 -80
- package/libs/shared-utils/forReverseEach.d.ts +1 -0
- package/libs/shared-utils/forReverseEach.js +7 -0
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- /package/dist/Sculpt/{Modules → utils/Modules}/Cursor.d.ts +0 -0
- /package/libs/Sculpt/{Modules → utils/Modules}/Cursor.d.ts +0 -0
- /package/libs/Sculpt/{Modules → utils/Modules}/Cursor.js +0 -0
package/libs/index.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { Sculpt as
|
|
38
|
-
import { ModelMakerPlugin as
|
|
39
|
-
import { index as
|
|
40
|
-
import { CSS3DRender as
|
|
41
|
-
import { Model as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { Polyline as
|
|
45
|
-
import { Magnifier as
|
|
46
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { ModelItemLabelPlugin as
|
|
48
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
49
|
-
import { Plugin as
|
|
50
|
-
import { GuideLineItem$1 as
|
|
51
|
-
import { GuideLineModeItem$1 as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { typing as
|
|
55
|
-
import { default as
|
|
56
|
-
import { defaultGlobalConfig as
|
|
57
|
-
import { ContentType as
|
|
58
|
-
import { Object3DHelperController as
|
|
59
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as tl } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as ml } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as el } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as nl } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Pl } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as fl, modelRoomLabelPluginServerParams as xl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as sl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Ml } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Ll } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as _l } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Il } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Sl, ROOM_FETILE_TYPE_MAP as Ol, ROOM_TYPE_MAP as yl } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Dl } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as bl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Fl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as cl, Rotation as Vl } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as hl } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as wl } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Hl } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as jl } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as Wl } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as zl } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Kl } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Xl } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as on } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as tn } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as pn } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as ln, MovePlugin as nn } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Pn } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as fn } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as gn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as dn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as Tn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as Cn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as En, SculptPlugin as In } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as Sn } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as yn } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as Dn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as bn } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as Fn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as cn } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as Nn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as kn } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as Bn } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as Un } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as $n } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as qn } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as Jn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as Qn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as Zn, default as oa } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as ta } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as ma } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as ea, pluginFlag as la } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as aa } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as ua, DimensionType as fa, PointType as xa } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as sa, PLUGIN as da } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as Ta } from "./PanoVideoPlugin/typings/index.js";
|
|
60
60
|
import "./components/PaintBrush/Controller.js";
|
|
61
61
|
import "./components/PaintBrush/utils.js";
|
|
62
62
|
import "./components/PaintBrush/tween.js";
|
|
@@ -423,8 +423,8 @@ import "./shared-utils/three/objects/LineSegments.js";
|
|
|
423
423
|
import "./components/AreaLabel/LabelItem.js";
|
|
424
424
|
import "./components/AreaLabel/Assets/roomLabelBg.js";
|
|
425
425
|
import "./CurrentPanoImagePlugin/Controller.js";
|
|
426
|
-
import "./Sculpt/Modules/Global.js";
|
|
427
|
-
import "./Sculpt/Modules/Cursor.js";
|
|
426
|
+
import "./Sculpt/utils/Modules/Global.js";
|
|
427
|
+
import "./Sculpt/utils/Modules/Cursor.js";
|
|
428
428
|
import "./shared-utils/three/recurveFindObject.js";
|
|
429
429
|
import "./Sculpt/Objects/Polyline/index.js";
|
|
430
430
|
import "./vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
@@ -466,6 +466,7 @@ import "./Sculpt/Objects/Cylinder/Editor.js";
|
|
|
466
466
|
import "./Sculpt/Objects/Box/index.js";
|
|
467
467
|
import "./Sculpt/Objects/Box/Editor.js";
|
|
468
468
|
import "./Sculpt/Meshes/Box.js";
|
|
469
|
+
import "./shared-utils/forReverseEach.js";
|
|
469
470
|
import "./ModelMakerPlugin/Controller.js";
|
|
470
471
|
import "./ModelMakerPlugin/item/boxItem.js";
|
|
471
472
|
import "./ModelMakerPlugin/item/polygonItem.js";
|
|
@@ -486,72 +487,72 @@ import "./shared-utils/three/getIntersect.js";
|
|
|
486
487
|
r();
|
|
487
488
|
o();
|
|
488
489
|
export {
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
490
|
+
Tn as AreaMakerPlugin,
|
|
491
|
+
Dn as CSS3DRender,
|
|
492
|
+
nl as CSS3DRenderPlugin,
|
|
493
|
+
cl as CameraMovementEffect,
|
|
494
|
+
Fl as CameraMovementPlugin,
|
|
495
|
+
ua as ContentType,
|
|
496
|
+
ln as CruisePlugin,
|
|
497
|
+
Zn as CruisePluginController,
|
|
498
|
+
ma as CruisePluginTypes,
|
|
499
|
+
Cn as CurrentPanoImagePlugin,
|
|
500
|
+
Xl as DIRECTION,
|
|
501
|
+
Bn as DISPLAY_STRATEGY_TYPE,
|
|
502
|
+
fa as DimensionType,
|
|
503
|
+
sl as FLOOR_PLAN_ATTACHED_TO,
|
|
504
|
+
Sl as FLOOR_TYPE_MAP,
|
|
505
|
+
Jn as GuideLineItem,
|
|
506
|
+
Qn as GuideLineModeItem,
|
|
507
|
+
pn as GuideLinePlugin,
|
|
508
|
+
$n as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
509
|
+
qn as ItemLabelPlugin,
|
|
510
|
+
kn as Magnifier,
|
|
511
|
+
Ll as MapviewFloorplanPlugin,
|
|
512
|
+
Dl as ModelChassisCompassPlugin,
|
|
513
|
+
bl as ModelEntryDoorGuidePlugin,
|
|
514
|
+
Ml as ModelFloorplanPlugin,
|
|
515
|
+
Un as ModelItemLabelPlugin,
|
|
516
|
+
Sn as ModelMakerPlugin,
|
|
517
|
+
fl as ModelRoomLabelPlugin,
|
|
518
|
+
Kl as ModelTVVideoPlugin,
|
|
519
|
+
el as ModelViewPlugin,
|
|
520
|
+
ta as MoveController,
|
|
521
|
+
nn as MovePlugin,
|
|
522
|
+
sa as Object3DHelperController,
|
|
523
|
+
fn as Object3DHelperPlugin,
|
|
524
|
+
da as PLUGIN,
|
|
525
|
+
tl as PaintBrush,
|
|
526
|
+
ml as PaintBrushTypeEnum,
|
|
527
|
+
Hl as PanoCompassPlugin,
|
|
528
|
+
Pl as PanoCursorRaycasterPlugin,
|
|
529
|
+
tn as PanoDoorLabelPlugin,
|
|
530
|
+
Il as PanoFloorplanRadarPlugin,
|
|
531
|
+
jl as PanoMeasurePlugin,
|
|
532
|
+
cn as PanoMeasurePluginLine,
|
|
533
|
+
bn as PanoMeasurePluginModel,
|
|
534
|
+
Fn as PanoMeasurePluginPoint,
|
|
535
|
+
Nn as PanoMeasurePluginPolyline,
|
|
536
|
+
hl as PanoRulerPlugin,
|
|
537
|
+
wl as PanoRulerProPlugin,
|
|
538
|
+
Wl as PanoSpatialTagPlugin,
|
|
539
|
+
Pn as PanoTagPlugin,
|
|
540
|
+
ea as PanoTagPluginController,
|
|
541
|
+
gn as PanoVideoPlugin,
|
|
542
|
+
Ta as PanoVideoPluginType,
|
|
543
|
+
dn as PipelinePlugin,
|
|
544
|
+
xa as PointType,
|
|
545
|
+
Ol as ROOM_FETILE_TYPE_MAP,
|
|
546
|
+
yl as ROOM_TYPE_MAP,
|
|
547
|
+
Vl as Rotation,
|
|
548
|
+
En as Sculpt,
|
|
549
|
+
In as SculptPlugin,
|
|
550
|
+
_l as TopviewFloorplanPlugin,
|
|
551
|
+
yn as Util,
|
|
552
|
+
oa as WalkController,
|
|
553
|
+
aa as defaultGlobalConfig,
|
|
554
|
+
on as itemLabelPluginServerParams,
|
|
555
|
+
zl as modelItemLabelPluginServerParams,
|
|
556
|
+
xl as modelRoomLabelPluginServerParams,
|
|
557
|
+
la as pluginFlag
|
|
557
558
|
};
|
|
@@ -49,11 +49,17 @@ export interface FiveDomEventMap {
|
|
|
49
49
|
}
|
|
50
50
|
type EventName = keyof FiveDomEventMap;
|
|
51
51
|
type PreventFiveEvent = boolean;
|
|
52
|
-
interface EventHandlerConfig {
|
|
52
|
+
export interface EventHandlerConfig {
|
|
53
53
|
/**
|
|
54
|
+
* @description: 不可见时不触发事件
|
|
54
55
|
* @default false
|
|
55
56
|
*/
|
|
56
57
|
noEmitWhenHide?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @description: 不在场景中时不触发事件
|
|
60
|
+
* @default false
|
|
61
|
+
*/
|
|
62
|
+
noEmitWhenNotInScene?: boolean;
|
|
57
63
|
}
|
|
58
64
|
export interface FiveDomEvent {
|
|
59
65
|
type: EventName;
|
|
@@ -65,7 +71,7 @@ export interface FiveDomEvent {
|
|
|
65
71
|
}
|
|
66
72
|
type Object3DWithEvent = THREE.Object3D & {
|
|
67
73
|
_domEvent?: {
|
|
68
|
-
[key in `${EventName}Handler`]?: Array<[FiveDomEventMap[EventName], EventHandlerConfig]>;
|
|
74
|
+
[key in `${EventName | 'wantDblclick'}Handler`]?: Array<[FiveDomEventMap[EventName], EventHandlerConfig]>;
|
|
69
75
|
};
|
|
70
76
|
_hovered?: boolean;
|
|
71
77
|
_dragging?: boolean;
|
|
@@ -80,9 +86,7 @@ export declare class FiveDomEvents {
|
|
|
80
86
|
private get haveDragEventObject();
|
|
81
87
|
private boundObject;
|
|
82
88
|
private config;
|
|
83
|
-
constructor(five: Five, config?:
|
|
84
|
-
noEmitWhenHide?: boolean;
|
|
85
|
-
});
|
|
89
|
+
constructor(five: Five, config?: EventHandlerConfig);
|
|
86
90
|
/**
|
|
87
91
|
* @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
|
|
88
92
|
* @note: 注意:目前需要触发物体的 added 事件和 removed 事件才会生效
|
|
@@ -97,7 +101,7 @@ export declare class FiveDomEvents {
|
|
|
97
101
|
* @return {void}
|
|
98
102
|
*/
|
|
99
103
|
addEventListener<T extends EventName = EventName>(object: Object3DWithEvent, event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig): void;
|
|
100
|
-
removeEventListener(object: Object3DWithEvent, event
|
|
104
|
+
removeEventListener(object: Object3DWithEvent, event?: EventName, callback?: (e: FiveDomEvent) => any, ...args: any[]): void;
|
|
101
105
|
dispose(): void;
|
|
102
106
|
private getRaycaster;
|
|
103
107
|
private handleWantsGesture;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
var w = Object.defineProperty;
|
|
2
|
+
var L = Object.getOwnPropertySymbols;
|
|
3
|
+
var M = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var _ = (h, e, t) => e in h ? w(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, D = (h, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
|
|
6
|
+
M.call(e, t) && _(h, t, e[t]);
|
|
7
|
+
if (L)
|
|
8
|
+
for (var t of L(e))
|
|
9
|
+
$.call(e, t) && _(h, t, e[t]);
|
|
10
10
|
return h;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
import * as
|
|
14
|
-
import { getObjectVisible as
|
|
15
|
-
import { calculateThreeMouse as
|
|
16
|
-
class
|
|
12
|
+
var s = (h, e, t) => (_(h, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
import * as x from "three";
|
|
14
|
+
import { getObjectVisible as I } from "../three/getObjectVisible.js";
|
|
15
|
+
import { calculateThreeMouse as W } from "./calculateThreeMouse.js";
|
|
16
|
+
class B {
|
|
17
17
|
constructor(e, t) {
|
|
18
|
-
|
|
18
|
+
s(this, "five");
|
|
19
19
|
/**
|
|
20
20
|
* @description: 拖动中
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
s(this, "dragging", !1);
|
|
23
|
+
s(this, "boundObject", {});
|
|
24
|
+
s(this, "config");
|
|
25
|
+
s(this, "handleWantsGesture", (e, t) => {
|
|
26
26
|
if (t.length !== 1)
|
|
27
27
|
return;
|
|
28
28
|
const n = t[0];
|
|
@@ -36,17 +36,17 @@ class W {
|
|
|
36
36
|
return !1;
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
|
|
39
|
+
s(this, "handleDomEvent", (e, t, n) => {
|
|
40
40
|
const i = { x: t.clientX, y: t.clientY };
|
|
41
41
|
this.onDomEvent(e, i, t, n);
|
|
42
42
|
});
|
|
43
|
-
|
|
43
|
+
s(this, "handleMouseEvent", (e) => {
|
|
44
44
|
this.handleDomEvent(e.type, e);
|
|
45
45
|
});
|
|
46
|
-
|
|
46
|
+
s(this, "handleMousedown", (e) => {
|
|
47
47
|
this.handleDomEvent("mousedown", e), this.handleDomEvent("dragstart", e, this.haveDragEventObject);
|
|
48
48
|
});
|
|
49
|
-
|
|
49
|
+
s(this, "handleMouseup", (e) => {
|
|
50
50
|
var t;
|
|
51
51
|
this.dragging = !1, (t = this.haveDragEventObject) == null || t.forEach((n) => {
|
|
52
52
|
n._dragging && (n._dragging = !1, this.notify({
|
|
@@ -57,7 +57,7 @@ class W {
|
|
|
57
57
|
}));
|
|
58
58
|
}), this.handleDomEvent("mouseup", e);
|
|
59
59
|
});
|
|
60
|
-
|
|
60
|
+
s(this, "handleMousemove", (e) => {
|
|
61
61
|
var t;
|
|
62
62
|
this.dragging && ((t = this.boundObject.drag) == null || t.forEach((n) => {
|
|
63
63
|
n._dragging && this.notify({
|
|
@@ -69,77 +69,80 @@ class W {
|
|
|
69
69
|
}));
|
|
70
70
|
});
|
|
71
71
|
// eslint-disable-next-line complexity
|
|
72
|
-
|
|
73
|
-
var l,
|
|
72
|
+
s(this, "onDomEvent", (e, t, n, i = this.boundObject[e]) => {
|
|
73
|
+
var l, m, E;
|
|
74
74
|
if (!t || !i || (i == null ? void 0 : i.length) === 0 || !this.five.model.loaded)
|
|
75
75
|
return;
|
|
76
76
|
const o = (l = t.raycaster) != null ? l : this.getRaycaster(t);
|
|
77
77
|
o.params.Points.threshold = 0.02;
|
|
78
|
-
const
|
|
79
|
-
if (f.length > 0 &&
|
|
78
|
+
const r = o.intersectObjects(i, !0), f = this.five.model.intersectRaycaster(o), u = 0.01;
|
|
79
|
+
if (f.length > 0 && r.length > 0 && f[0].distance + u < r[0].distance)
|
|
80
80
|
return;
|
|
81
|
-
const a = (
|
|
81
|
+
const a = (m = r == null ? void 0 : r[0]) == null ? void 0 : m.object;
|
|
82
82
|
if (e === "wantDblclick")
|
|
83
83
|
return !1;
|
|
84
84
|
if ((!a || !this.objectIsBound(a)) && e === "hover")
|
|
85
|
-
for (const
|
|
86
|
-
|
|
87
|
-
if (a && a && this.notify({ eventName: e, object: a, originEvent: n, raycaster: o, intersects:
|
|
85
|
+
for (const v of (E = this.boundObject.hover) != null ? E : [])
|
|
86
|
+
v._hovered && this.notify({ eventName: "unHover", object: v });
|
|
87
|
+
if (a && a && this.notify({ eventName: e, object: a, originEvent: n, raycaster: o, intersects: r }))
|
|
88
88
|
return !1;
|
|
89
89
|
});
|
|
90
|
-
|
|
90
|
+
s(this, "objectIsBound", (e) => {
|
|
91
91
|
let t = e._domEvent, n = e.parent;
|
|
92
92
|
for (; typeof t == "undefined" && n; )
|
|
93
93
|
t = n._domEvent, n = n.parent;
|
|
94
94
|
return !!t;
|
|
95
95
|
});
|
|
96
|
-
|
|
97
|
-
var v,
|
|
98
|
-
const { eventName: t, object: n, originEvent: i, raycaster: o, intersects:
|
|
96
|
+
s(this, "notify", (e) => {
|
|
97
|
+
var E, v, b;
|
|
98
|
+
const { eventName: t, object: n, originEvent: i, raycaster: o, intersects: r } = e;
|
|
99
99
|
let f = !1, u = [];
|
|
100
100
|
const a = [];
|
|
101
101
|
let l = n;
|
|
102
102
|
for (a.push(l); l.parent; )
|
|
103
103
|
l = l.parent, a.push(l);
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
if (r._hovered)
|
|
104
|
+
const m = a.at(-1);
|
|
105
|
+
if (!((E = this.config) != null && E.noEmitWhenNotInScene && m.type !== "Scene")) {
|
|
106
|
+
for (const d of a) {
|
|
107
|
+
if (f)
|
|
108
|
+
break;
|
|
109
|
+
d.draggable && (t === "dragstart" && (d._dragging = !0, this.dragging = !0), t === "dragend" && (d._dragging = !1, this.dragging = !1));
|
|
110
|
+
const y = d._domEvent;
|
|
111
|
+
if (!y)
|
|
112
|
+
continue;
|
|
113
|
+
const O = y[`${t}Handler`];
|
|
114
|
+
if (O)
|
|
115
|
+
for (const [H, c] of O) {
|
|
116
|
+
if (c != null && c.noEmitWhenNotInScene && m.type !== "Scene" || ((v = this.config) != null && v.noEmitWhenHide || c != null && c.noEmitWhenHide) && !I(d))
|
|
118
117
|
continue;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
continue;
|
|
126
|
-
r._hovered = !1;
|
|
127
|
-
}
|
|
128
|
-
const g = L({
|
|
129
|
-
type: t,
|
|
130
|
-
target: r,
|
|
131
|
-
origDomEvent: i,
|
|
132
|
-
raycaster: o,
|
|
133
|
-
intersects: s,
|
|
134
|
-
stopPropagation: () => {
|
|
135
|
-
f = !0;
|
|
118
|
+
if (t === "hover") {
|
|
119
|
+
if (d._hovered)
|
|
120
|
+
continue;
|
|
121
|
+
d._hovered = !0;
|
|
122
|
+
for (const g of (b = this.boundObject.hover) != null ? b : [])
|
|
123
|
+
g !== d && g._hovered && this.notify({ eventName: "unHover", object: g });
|
|
136
124
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
125
|
+
if (t === "unHover") {
|
|
126
|
+
if (!d._hovered)
|
|
127
|
+
continue;
|
|
128
|
+
d._hovered = !1;
|
|
129
|
+
}
|
|
130
|
+
const p = H({
|
|
131
|
+
type: t,
|
|
132
|
+
target: d,
|
|
133
|
+
origDomEvent: i,
|
|
134
|
+
raycaster: o,
|
|
135
|
+
intersects: r,
|
|
136
|
+
stopPropagation: () => {
|
|
137
|
+
f = !0;
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
u.push(p != null ? p : !0);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
if (t === "click" || t === "wantDblclick")
|
|
144
|
+
return u.some((d) => d === !0);
|
|
140
145
|
}
|
|
141
|
-
if (t === "click" || t === "wantDblclick")
|
|
142
|
-
return u.some((r) => r === !0);
|
|
143
146
|
});
|
|
144
147
|
this.five = e, this.config = t, e.on("wantsGesture", this.handleWantsGesture), document.addEventListener("mousedown", this.handleMousedown), document.addEventListener("dblclick", this.handleMouseEvent), document.addEventListener("mouseup", this.handleMouseup), document.addEventListener("mousemove", this.handleMousemove);
|
|
145
148
|
}
|
|
@@ -152,9 +155,9 @@ class W {
|
|
|
152
155
|
* @todo: added 和 removed 还是不太智能
|
|
153
156
|
*/
|
|
154
157
|
addAutoBindEventListener(e, t, n, i) {
|
|
155
|
-
const o = () => this.addEventListener(e, t, n, i),
|
|
156
|
-
return e.addEventListener("added", o), e.addEventListener("removed",
|
|
157
|
-
e.removeEventListener("added", o), e.removeEventListener("removed",
|
|
158
|
+
const o = () => this.addEventListener(e, t, n, i), r = () => this.removeEventListener(e, t, n, i);
|
|
159
|
+
return e.addEventListener("added", o), e.addEventListener("removed", r), e.addEventListener("dispose", r), () => {
|
|
160
|
+
e.removeEventListener("added", o), e.removeEventListener("removed", r), e.removeEventListener("dispose", r);
|
|
158
161
|
};
|
|
159
162
|
}
|
|
160
163
|
/**
|
|
@@ -165,11 +168,11 @@ class W {
|
|
|
165
168
|
* @return {void}
|
|
166
169
|
*/
|
|
167
170
|
addEventListener(e, t, n, i) {
|
|
168
|
-
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n,
|
|
171
|
+
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, D({ noEmitWhenHide: !1, noEmitWhenNotInScene: !1 }, i)]), this.boundObject[t].push(e);
|
|
169
172
|
}
|
|
170
173
|
removeEventListener(e, t, n, ...i) {
|
|
171
|
-
var
|
|
172
|
-
if (!e._domEvent || !e._domEvent[`${t}Handler`])
|
|
174
|
+
var r, f;
|
|
175
|
+
if (!e._domEvent || (t === void 0 && (e._domEvent = {}), !e._domEvent[`${t}Handler`]))
|
|
173
176
|
return;
|
|
174
177
|
if (n === void 0) {
|
|
175
178
|
delete e._domEvent[`${t}Handler`];
|
|
@@ -177,7 +180,7 @@ class W {
|
|
|
177
180
|
}
|
|
178
181
|
const o = e._domEvent[`${t}Handler`].findIndex((u) => u[0] === n);
|
|
179
182
|
if (o !== -1 && (e._domEvent[`${t}Handler`].splice(o, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
|
|
180
|
-
const u = (
|
|
183
|
+
const u = (r = this.boundObject[t]) == null ? void 0 : r.findIndex((a) => a === e);
|
|
181
184
|
u !== -1 && ((f = this.boundObject[t]) == null || f.splice(u, 1));
|
|
182
185
|
}
|
|
183
186
|
}
|
|
@@ -189,10 +192,10 @@ class W {
|
|
|
189
192
|
const t = this.five.getElement();
|
|
190
193
|
if (!t)
|
|
191
194
|
return;
|
|
192
|
-
const n =
|
|
195
|
+
const n = W(e, t), i = new x.Raycaster();
|
|
193
196
|
return i.setFromCamera(n, this.five.camera), i;
|
|
194
197
|
}
|
|
195
198
|
}
|
|
196
199
|
export {
|
|
197
|
-
|
|
200
|
+
B as FiveDomEvents
|
|
198
201
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function forReverseEach<T extends unknown[]>(array: T, func: (v: T[number]) => any): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.27.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.27.10",
|
|
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",
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|