@realsee/dnalogel 3.0.0-13 → 3.0.0-14
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/index.cjs.js +39 -39
- package/dist/index.js +1032 -1034
- package/dist/index.umd.js +31 -31
- package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -1
- package/dist/shared-utils/five/calculateThreeMouse.d.ts +11 -0
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +6 -5
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +44 -44
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +7 -7
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +16 -16
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/CurrentPanoImagePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/PipelinePlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +13 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelId.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/CruisePlugin/Controller.js +3 -2
- package/libs/CruisePlugin/index.js +6 -5
- package/libs/CurrentPanoImagePlugin/Controller.js +21 -23
- package/libs/CurrentPanoImagePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +46 -45
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +81 -71
- package/libs/shared-utils/five/calculateThreeMouse.d.ts +11 -0
- package/libs/shared-utils/five/calculateThreeMouse.js +8 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +6 -5
- package/libs/shared-utils/three/PointSelectorHelper.js +4 -4
- package/package.json +1 -1
- package/dist/shared-utils/five/adapt.d.ts +0 -9
- package/libs/shared-utils/five/adapt.d.ts +0 -9
- package/libs/shared-utils/five/adapt.js +0 -16
|
@@ -1,104 +1,114 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
var H = Object.defineProperty;
|
|
2
|
+
var _ = Object.getOwnPropertySymbols;
|
|
3
|
+
var L = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var m = (f, e, t) => e in f ? H(f, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : f[e] = t, b = (f, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
g.call(e, t) &&
|
|
10
|
-
return
|
|
6
|
+
L.call(e, t) && m(f, t, e[t]);
|
|
7
|
+
if (_)
|
|
8
|
+
for (var t of _(e))
|
|
9
|
+
g.call(e, t) && m(f, t, e[t]);
|
|
10
|
+
return f;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var v = (f, e, t) => (m(f, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
import * as y from "three";
|
|
13
14
|
import { getObjectVisible as $ } from "../three/getObjectVisible.js";
|
|
14
|
-
|
|
15
|
+
import { calculateThreeMouse as x } from "./calculateThreeMouse.js";
|
|
16
|
+
class D {
|
|
15
17
|
constructor(e) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
v(this, "five");
|
|
19
|
+
v(this, "boundObject", {});
|
|
20
|
+
v(this, "handleWantsGesture", (e, t) => {
|
|
19
21
|
if (t.length !== 1)
|
|
20
22
|
return;
|
|
21
23
|
const n = t[0];
|
|
22
|
-
if (n)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
if (!n)
|
|
25
|
+
return;
|
|
26
|
+
let o = n.raycaster;
|
|
27
|
+
if (!o) {
|
|
28
|
+
const i = this.five.getElement();
|
|
29
|
+
if (!i)
|
|
30
|
+
return;
|
|
31
|
+
const s = x(n, i), r = new y.Raycaster();
|
|
32
|
+
r.setFromCamera(s, this.five.camera), o = r;
|
|
27
33
|
}
|
|
34
|
+
if (e === "mouseMove")
|
|
35
|
+
return this.onDomEvent("hover", n.raycaster);
|
|
36
|
+
if (e === "tap")
|
|
37
|
+
return this.onDomEvent("click", n.raycaster);
|
|
28
38
|
});
|
|
29
|
-
|
|
30
|
-
var
|
|
39
|
+
v(this, "onDomEvent", (e, t) => {
|
|
40
|
+
var s;
|
|
31
41
|
const n = this.boundObject[e];
|
|
32
|
-
if (!n || (n == null ? void 0 : n.length) === 0)
|
|
42
|
+
if (!n || (n == null ? void 0 : n.length) === 0 || !t)
|
|
33
43
|
return;
|
|
34
|
-
const
|
|
35
|
-
var
|
|
44
|
+
const o = (() => {
|
|
45
|
+
var a;
|
|
36
46
|
const r = t.intersectObjects(n, !0);
|
|
37
47
|
if (r.length === 0)
|
|
38
48
|
return;
|
|
39
|
-
const
|
|
40
|
-
if (!(
|
|
41
|
-
return (
|
|
49
|
+
const d = this.five.model.intersectRaycaster(t);
|
|
50
|
+
if (!(d.length > 0 && r.length > 0 && d[0].distance < r[0].distance))
|
|
51
|
+
return (a = r[0]) == null ? void 0 : a.object;
|
|
42
52
|
})();
|
|
43
|
-
if (!
|
|
44
|
-
for (const r of (
|
|
53
|
+
if (!o || !this.objectIsBound(o)) {
|
|
54
|
+
for (const r of (s = this.boundObject.hover) != null ? s : [])
|
|
45
55
|
r._hovered && this.notify("unHover", r);
|
|
46
56
|
return;
|
|
47
57
|
}
|
|
48
|
-
if (this.notify(e,
|
|
58
|
+
if (this.notify(e, o))
|
|
49
59
|
return !1;
|
|
50
60
|
});
|
|
51
|
-
|
|
61
|
+
v(this, "objectIsBound", (e) => {
|
|
52
62
|
let t = e._domEvent, n = e.parent;
|
|
53
63
|
for (; typeof t == "undefined" && n; )
|
|
54
64
|
t = n._domEvent, n = n.parent;
|
|
55
65
|
return !!t;
|
|
56
66
|
});
|
|
57
67
|
// eslint-disable-next-line max-params
|
|
58
|
-
|
|
59
|
-
var
|
|
60
|
-
let
|
|
68
|
+
v(this, "notify", (e, t, n, o) => {
|
|
69
|
+
var a;
|
|
70
|
+
let i = !1, s = [];
|
|
61
71
|
const r = [];
|
|
62
|
-
let
|
|
63
|
-
for (r.push(
|
|
64
|
-
|
|
65
|
-
for (const
|
|
66
|
-
if (
|
|
72
|
+
let d = t;
|
|
73
|
+
for (r.push(d); d.parent; )
|
|
74
|
+
d = d.parent, r.push(d);
|
|
75
|
+
for (const u of r) {
|
|
76
|
+
if (i)
|
|
67
77
|
break;
|
|
68
|
-
const
|
|
69
|
-
if (!
|
|
78
|
+
const E = u._domEvent;
|
|
79
|
+
if (!E)
|
|
70
80
|
continue;
|
|
71
|
-
const
|
|
72
|
-
if (
|
|
73
|
-
for (const [O,
|
|
74
|
-
if (
|
|
81
|
+
const p = E[`${e}Handler`];
|
|
82
|
+
if (p)
|
|
83
|
+
for (const [O, c] of p) {
|
|
84
|
+
if (c != null && c.checkVisible && !$(u))
|
|
75
85
|
continue;
|
|
76
86
|
if (e === "hover") {
|
|
77
|
-
if (
|
|
87
|
+
if (u._hovered)
|
|
78
88
|
continue;
|
|
79
|
-
|
|
80
|
-
for (const
|
|
81
|
-
|
|
89
|
+
u._hovered = !0;
|
|
90
|
+
for (const h of (a = this.boundObject.hover) != null ? a : [])
|
|
91
|
+
h !== u && h._hovered && this.notify("unHover", h);
|
|
82
92
|
}
|
|
83
93
|
if (e === "unHover") {
|
|
84
|
-
if (!
|
|
94
|
+
if (!u._hovered)
|
|
85
95
|
continue;
|
|
86
|
-
|
|
96
|
+
u._hovered = !1;
|
|
87
97
|
}
|
|
88
|
-
const
|
|
98
|
+
const l = O({
|
|
89
99
|
type: e,
|
|
90
|
-
target:
|
|
100
|
+
target: u,
|
|
91
101
|
origDomEvent: n,
|
|
92
|
-
intersect:
|
|
102
|
+
intersect: o,
|
|
93
103
|
stopPropagation: () => {
|
|
94
|
-
|
|
104
|
+
i = !0;
|
|
95
105
|
}
|
|
96
106
|
});
|
|
97
|
-
|
|
107
|
+
s.push(l != null ? l : !0);
|
|
98
108
|
}
|
|
99
109
|
}
|
|
100
110
|
if (e === "click")
|
|
101
|
-
return
|
|
111
|
+
return s.some((u) => u === !0);
|
|
102
112
|
});
|
|
103
113
|
this.five = e, e.on("wantsGesture", this.handleWantsGesture);
|
|
104
114
|
}
|
|
@@ -107,10 +117,10 @@ class I {
|
|
|
107
117
|
* @note: 注意:目前需要触发物体的 added 事件和 removed 事件才会生效
|
|
108
118
|
* @todo: added 和 removed 还是不太智能
|
|
109
119
|
*/
|
|
110
|
-
addAutoBindEventListener(e, t, n,
|
|
111
|
-
const
|
|
112
|
-
return e.addEventListener("added",
|
|
113
|
-
e.removeEventListener("added",
|
|
120
|
+
addAutoBindEventListener(e, t, n, o) {
|
|
121
|
+
const i = () => this.addEventListener(e, t, n, o), s = () => this.removeEventListener(e, t, n, o);
|
|
122
|
+
return e.addEventListener("added", i), e.addEventListener("removed", s), e.addEventListener("dispose", s), () => {
|
|
123
|
+
e.removeEventListener("added", i), e.removeEventListener("removed", s), e.removeEventListener("dispose", s);
|
|
114
124
|
};
|
|
115
125
|
}
|
|
116
126
|
/**
|
|
@@ -120,18 +130,18 @@ class I {
|
|
|
120
130
|
* @param params.callback: 返回 false 可以不阻止 five 的 tap 事件; default: true
|
|
121
131
|
* @return {void}
|
|
122
132
|
*/
|
|
123
|
-
addEventListener(e, t, n,
|
|
124
|
-
var
|
|
125
|
-
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, b({ checkVisible: !0 },
|
|
133
|
+
addEventListener(e, t, n, o) {
|
|
134
|
+
var i;
|
|
135
|
+
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, b({ checkVisible: !0 }, o)]), (i = this.boundObject[t]) == null || i.push(e);
|
|
126
136
|
}
|
|
127
|
-
removeEventListener(e, t, n, ...
|
|
128
|
-
var
|
|
137
|
+
removeEventListener(e, t, n, ...o) {
|
|
138
|
+
var s, r;
|
|
129
139
|
if (!e._domEvent || !e._domEvent[`${t}Handler`])
|
|
130
140
|
return;
|
|
131
|
-
const
|
|
132
|
-
if (
|
|
133
|
-
const
|
|
134
|
-
|
|
141
|
+
const i = e._domEvent[`${t}Handler`].findIndex((d) => d[0] === n);
|
|
142
|
+
if (i !== -1 && (e._domEvent[`${t}Handler`].splice(i, 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)) {
|
|
143
|
+
const d = (s = this.boundObject[t]) == null ? void 0 : s.findIndex((a) => a === e);
|
|
144
|
+
d !== -1 && ((r = this.boundObject[t]) == null || r.splice(d, 1));
|
|
135
145
|
}
|
|
136
146
|
}
|
|
137
147
|
dispose() {
|
|
@@ -140,5 +150,5 @@ class I {
|
|
|
140
150
|
}
|
|
141
151
|
}
|
|
142
152
|
export {
|
|
143
|
-
|
|
153
|
+
D as FiveDomEvents
|
|
144
154
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
/**
|
|
3
|
+
* 计算 three 中的 mouse 的值
|
|
4
|
+
* @param mouseXY - 鼠标相对屏幕位置
|
|
5
|
+
* @param element - canvas元素(three的展示元素)
|
|
6
|
+
*/
|
|
7
|
+
declare function calculateThreeMouse(mouseXY: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
}, element: HTMLElement): THREE.Vector2;
|
|
11
|
+
export { calculateThreeMouse };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.0.0-
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.0.0-14",
|
|
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",
|
|
@@ -3,10 +3,11 @@ import { Subscribe } from '@realsee/five';
|
|
|
3
3
|
import { Magnifier, PointHelper, PointDomHelper } from '.';
|
|
4
4
|
import type { Intersection } from '../../typings/typings';
|
|
5
5
|
interface Options {
|
|
6
|
-
magnifier
|
|
7
|
-
magnifierParams
|
|
8
|
-
pointHelper
|
|
9
|
-
pointDomHelper
|
|
6
|
+
magnifier?: Magnifier | null;
|
|
7
|
+
magnifierParams?: ConstructorParameters<typeof Magnifier>[1];
|
|
8
|
+
pointHelper?: PointHelper | null;
|
|
9
|
+
pointDomHelper?: PointDomHelper | null;
|
|
10
|
+
container?: Element;
|
|
10
11
|
}
|
|
11
12
|
type EventMap = {
|
|
12
13
|
intersectionUpdate: (intersection: PointIntersection) => void;
|
|
@@ -27,7 +28,7 @@ export declare class PointSelectorHelper {
|
|
|
27
28
|
private pointDomHelper;
|
|
28
29
|
private state;
|
|
29
30
|
private group;
|
|
30
|
-
constructor(five: Five, options?:
|
|
31
|
+
constructor(five: Five, options?: Options);
|
|
31
32
|
show: () => void;
|
|
32
33
|
hide: () => void;
|
|
33
34
|
enable(): void;
|
|
@@ -3,8 +3,8 @@ var l = (r, i, e) => i in r ? a(r, i, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var t = (r, i, e) => (l(r, typeof i != "symbol" ? i + "" : i, e), e);
|
|
4
4
|
import * as h from "three";
|
|
5
5
|
import { Subscribe as p } from "@realsee/five";
|
|
6
|
-
import { Magnifier as
|
|
7
|
-
import { PointHelper as
|
|
6
|
+
import { Magnifier as d } from "./Magnifier.js";
|
|
7
|
+
import { PointHelper as o } from "./PointHelper.js";
|
|
8
8
|
import { PointDomHelper as f } from "./PointDomHelper.js";
|
|
9
9
|
class v {
|
|
10
10
|
constructor(i, e) {
|
|
@@ -30,8 +30,8 @@ class v {
|
|
|
30
30
|
});
|
|
31
31
|
t(this, "abortUpdateMagnifier", () => {
|
|
32
32
|
});
|
|
33
|
-
var s;
|
|
34
|
-
this.five = i, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new
|
|
33
|
+
var s, n;
|
|
34
|
+
this.five = i, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new d(i, (s = e == null ? void 0 : e.magnifierParams) != null ? s : { dragEnabled: !0 }), this.pointHelper = (e == null ? void 0 : e.pointHelper) !== void 0 ? e.pointHelper : new o(), this.pointDomHelper = (e == null ? void 0 : e.pointDomHelper) !== void 0 ? e.pointDomHelper : new f(i), this.group.name = "five-point-selector", this.five.scene.add(this.group), this.magnifier.appendTo((n = e.container) != null ? n : document.body);
|
|
35
35
|
}
|
|
36
36
|
enable() {
|
|
37
37
|
var i, e;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.0.0-
|
|
10
|
+
"version": "3.0.0-14",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 一些函数,来适配 Five@5.x 和 Five@6.x 的差异
|
|
3
|
-
*/
|
|
4
|
-
import type { Five } from '@realsee/five';
|
|
5
|
-
export declare function adaptPanoId(five: Five, func: (params?: {
|
|
6
|
-
panoIndex: number;
|
|
7
|
-
panoId: string;
|
|
8
|
-
derivedId: number;
|
|
9
|
-
}, ...args: any[]) => any): (panoIdOrPanoIndex: string | number, ...args: any[]) => void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 一些函数,来适配 Five@5.x 和 Five@6.x 的差异
|
|
3
|
-
*/
|
|
4
|
-
import type { Five } from '@realsee/five';
|
|
5
|
-
export declare function adaptPanoId(five: Five, func: (params?: {
|
|
6
|
-
panoIndex: number;
|
|
7
|
-
panoId: string;
|
|
8
|
-
derivedId: number;
|
|
9
|
-
}, ...args: any[]) => any): (panoIdOrPanoIndex: string | number, ...args: any[]) => void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
function k(t, p) {
|
|
2
|
-
return function(n, ...s) {
|
|
3
|
-
var e, a;
|
|
4
|
-
if (typeof n == "number") {
|
|
5
|
-
const o = n, d = t.work.observers[n], c = (e = d == null ? void 0 : d.panoId) != null ? e : `${t.work.workCode}[${o}]`, i = d == null ? void 0 : d.derivedId;
|
|
6
|
-
p({ panoIndex: o, panoId: c, derivedId: i }, ...s);
|
|
7
|
-
} else if (typeof n == "string") {
|
|
8
|
-
const o = n, d = t.work.observers.find((f) => f.panoId === o), c = (a = d == null ? void 0 : d.index) != null ? a : d == null ? void 0 : d.panoIndex, i = d == null ? void 0 : d.derivedId;
|
|
9
|
-
p({ panoIndex: c, panoId: o, derivedId: i }, ...s);
|
|
10
|
-
} else
|
|
11
|
-
console.error(`adaptPano error: panoIdOrPanoIndex is ${n}`);
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
k as adaptPanoId
|
|
16
|
-
};
|