@realsee/dnalogel 3.27.5 → 3.27.7
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 +44 -44
- package/dist/index.js +2115 -2117
- package/dist/index.umd.js +41 -41
- 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 +26 -26
- 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 +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 +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 +4 -4
- 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 +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 +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/PanoMeasurePlugin/Controller/MixedController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +4 -4
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +53 -47
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +126 -127
- package/libs/shared-utils/five/getRaycasterByNdcPosition.js +4 -4
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- package/dist/PanoMeasurePlugin/utils/calculateThreeMouse.d.ts +0 -10
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.d.ts +0 -10
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +0 -12
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var I = Object.defineProperty, V = Object.defineProperties;
|
|
2
|
+
var O = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var A = Object.getOwnPropertySymbols;
|
|
4
4
|
var R = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var m = (d, a, e) => a in d ? I(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, g = (d, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
|
-
R.call(a, e) &&
|
|
7
|
+
R.call(a, e) && m(d, e, a[e]);
|
|
8
8
|
if (A)
|
|
9
9
|
for (var e of A(a))
|
|
10
|
-
B.call(a, e) &&
|
|
10
|
+
B.call(a, e) && m(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
|
-
}, b = (d, a) =>
|
|
13
|
-
var l = (d, a, e) => (
|
|
12
|
+
}, b = (d, a) => V(d, O(a));
|
|
13
|
+
var l = (d, a, e) => (m(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
14
|
var c = (d, a, e) => new Promise((t, i) => {
|
|
15
15
|
var s = (r) => {
|
|
16
16
|
try {
|
|
@@ -29,25 +29,26 @@ var c = (d, a, e) => new Promise((t, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
import * as v from "three";
|
|
31
31
|
import { Subscribe as F } from "@realsee/five";
|
|
32
|
-
import { objectAssignDeepExports as
|
|
32
|
+
import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
33
33
|
import { addDebugPoints as M } from "../utils/addDebugPoints.js";
|
|
34
34
|
import { arrayPositionToVector3 as D } from "../../shared-utils/positionToVector3.js";
|
|
35
|
-
import { isMediaModelTag as
|
|
36
|
-
import { debounce as
|
|
35
|
+
import { isMediaModelTag as k, isModelTag as _ } from "../utils/tag/tagCheck.js";
|
|
36
|
+
import { debounce as L } from "../utils/debounce.js";
|
|
37
37
|
import { throttle as P } from "../utils/throttle.js";
|
|
38
|
-
import
|
|
39
|
-
import { generateBlankAudio as
|
|
38
|
+
import N from "../utils/tag/format.js";
|
|
39
|
+
import { generateBlankAudio as G, AudioNamespace as z } from "../../shared-utils/audio.js";
|
|
40
40
|
import { resizeObserver as S } from "../../shared-utils/dom/resizeObserver.js";
|
|
41
|
-
import { TagRender as
|
|
42
|
-
import { uuid as
|
|
43
|
-
import { isModelLike as
|
|
41
|
+
import { TagRender as W } from "./TagRender.js";
|
|
42
|
+
import { uuid as x } from "../../shared-utils/uuid.js";
|
|
43
|
+
import { isModelLike as $ } from "../../shared-utils/five/mode.js";
|
|
44
44
|
import "hammerjs";
|
|
45
45
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
48
|
-
import { tweenProgress as
|
|
48
|
+
import { tweenProgress as j } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
49
49
|
import { waitFiveModelLoaded as J } from "../../shared-utils/five/fiveModelLoad.js";
|
|
50
|
-
import { DebugUtil as
|
|
50
|
+
import { DebugUtil as q } from "../utils/DebugUtil.js";
|
|
51
|
+
import { safeObj as U } from "../../shared-utils/safeObj.js";
|
|
51
52
|
import "./TagComputer.js";
|
|
52
53
|
import "../utils/tagPosition.js";
|
|
53
54
|
import "../../shared-utils/three/centerPoint.js";
|
|
@@ -94,7 +95,6 @@ import "../../shared-utils/five/transformPosition.js";
|
|
|
94
95
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
95
96
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
96
97
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
97
|
-
import "../../shared-utils/safeObj.js";
|
|
98
98
|
import "../Components/TagContainer.js";
|
|
99
99
|
import "../Components/TagItem.js";
|
|
100
100
|
import "../Components/Tag/index.js";
|
|
@@ -173,7 +173,7 @@ import "../../shared-utils/three/GLTFLoader.js";
|
|
|
173
173
|
import "@realsee/five/gltf-loader";
|
|
174
174
|
import "../../shared-utils/animationFrame/index.js";
|
|
175
175
|
const w = "Dnalogel-PanoTagPlugin", Bi = (d) => `${w}--${d}`;
|
|
176
|
-
class Fi extends
|
|
176
|
+
class Fi extends W {
|
|
177
177
|
constructor(e, t) {
|
|
178
178
|
super(e);
|
|
179
179
|
/** state */
|
|
@@ -182,10 +182,10 @@ class Fi extends z {
|
|
|
182
182
|
l(this, "params");
|
|
183
183
|
/** debug */
|
|
184
184
|
l(this, "debug");
|
|
185
|
-
l(this, "debugUtil", new
|
|
185
|
+
l(this, "debugUtil", new q(this));
|
|
186
186
|
/** 更改 tag 模型 */
|
|
187
187
|
l(this, "changeTagModel", (e, t) => c(this, null, function* () {
|
|
188
|
-
e.data =
|
|
188
|
+
e.data = p({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
|
|
189
189
|
}));
|
|
190
190
|
l(this, "whyHide", (e) => {
|
|
191
191
|
var i, s, o;
|
|
@@ -209,7 +209,7 @@ class Fi extends z {
|
|
|
209
209
|
l(this, "updateVisible", () => {
|
|
210
210
|
const e = this.five.getCurrentState().mode;
|
|
211
211
|
this.tags.forEach((t) => {
|
|
212
|
-
|
|
212
|
+
k(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
|
|
213
213
|
}), this.setVisible(), this.updateRenderAllTags();
|
|
214
214
|
});
|
|
215
215
|
l(this, "handleFiveWantsMoveToPano", (e) => {
|
|
@@ -260,9 +260,9 @@ class Fi extends z {
|
|
|
260
260
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
261
261
|
const s = this.five.camera.position;
|
|
262
262
|
t.lookAt(s.clone().setY(t.position.y));
|
|
263
|
-
const o = i.quaternion.clone(), n = t.quaternion.clone(), r =
|
|
264
|
-
r.onUpdate(({ progress:
|
|
265
|
-
i.quaternion.copy(o.clone().slerp(n,
|
|
263
|
+
const o = i.quaternion.clone(), n = t.quaternion.clone(), r = j();
|
|
264
|
+
r.onUpdate(({ progress: f }) => {
|
|
265
|
+
i.quaternion.copy(o.clone().slerp(n, f));
|
|
266
266
|
}), r.play();
|
|
267
267
|
}), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
|
|
268
268
|
}));
|
|
@@ -271,9 +271,9 @@ class Fi extends z {
|
|
|
271
271
|
this.setVisible(), this.updateRenderAllTags();
|
|
272
272
|
});
|
|
273
273
|
l(this, "onFiveEveryReady", () => {
|
|
274
|
-
this.setUnfoldedByCamera(),
|
|
274
|
+
this.setUnfoldedByCamera(), $(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
|
|
275
275
|
});
|
|
276
|
-
this.params =
|
|
276
|
+
this.params = p({}, { debug: !1, config: this.config }, g({}, t)), this.debug = this.params.debug, this.config = this.params.config, G(1, { namespace: z.PlayAudio });
|
|
277
277
|
try {
|
|
278
278
|
const i = window;
|
|
279
279
|
Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
@@ -286,7 +286,7 @@ class Fi extends z {
|
|
|
286
286
|
load(e, t) {
|
|
287
287
|
return c(this, null, function* () {
|
|
288
288
|
var s, o;
|
|
289
|
-
this.clearTags(), console.debug(w, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config =
|
|
289
|
+
this.clearTags(), console.debug(w, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = p({}, this.config, {
|
|
290
290
|
globalConfig: (s = e.globalConfig) != null ? s : {},
|
|
291
291
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
292
292
|
}), this.store.visibleWithAnimation = !0;
|
|
@@ -309,33 +309,33 @@ class Fi extends z {
|
|
|
309
309
|
var T, y, C;
|
|
310
310
|
const n = JSON.parse(JSON.stringify(o.data)), r = o.config ? JSON.parse(JSON.stringify(o.config)) : {};
|
|
311
311
|
o.initialConfig = r;
|
|
312
|
-
const h = this.calculateTagConfig(o),
|
|
313
|
-
return o.config =
|
|
312
|
+
const h = this.calculateTagConfig(o), f = this.getTagConfig(o);
|
|
313
|
+
return o.config = f, b(g({}, o), {
|
|
314
314
|
enabled: (T = o.enabled) != null ? T : !0,
|
|
315
|
-
id: (y = o.id) != null ? y :
|
|
316
|
-
data: (C =
|
|
315
|
+
id: (y = o.id) != null ? y : x(),
|
|
316
|
+
data: (C = f.initialData) != null && C.important ? p(o.data, n, f.initialData) : p(o.data, f.initialData, n),
|
|
317
317
|
state: g({
|
|
318
318
|
visible: void 0,
|
|
319
319
|
unfolded: !this.can("fold", o)
|
|
320
|
-
},
|
|
320
|
+
}, f.initialState),
|
|
321
321
|
hooks: new F(),
|
|
322
322
|
originPosition: o.position,
|
|
323
323
|
position: (() => {
|
|
324
|
-
const
|
|
325
|
-
return Array.isArray(
|
|
324
|
+
const u = this.getTransformedPostion(o.position);
|
|
325
|
+
return Array.isArray(u) ? u.map((E) => E.toArray()) : u.toArray();
|
|
326
326
|
})(),
|
|
327
327
|
initialConfig: r,
|
|
328
328
|
computedConfig: h,
|
|
329
|
-
config:
|
|
329
|
+
config: f,
|
|
330
330
|
unfold: () => this.changeUnfoldedById(o.id, !0),
|
|
331
331
|
fold: () => this.changeUnfoldedById(o.id, !1),
|
|
332
332
|
enable: () => this.changeEnabledById(o.id, !0),
|
|
333
333
|
disable: () => this.changeEnabledById(o.id, !1),
|
|
334
334
|
destroy: () => this.destroyTagById(o.id),
|
|
335
|
-
changeData: (
|
|
335
|
+
changeData: (u) => this.changeDataById(o.id, u)
|
|
336
336
|
});
|
|
337
337
|
});
|
|
338
|
-
return s.forEach(
|
|
338
|
+
return s.forEach(N), this.tags.push(...s), this.tagsLengthWillUpdate = !0, J(this.five).then(() => c(this, null, function* () {
|
|
339
339
|
var o, n, r;
|
|
340
340
|
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
|
|
341
341
|
}));
|
|
@@ -345,19 +345,19 @@ class Fi extends z {
|
|
|
345
345
|
* @description: 改变配置
|
|
346
346
|
*/
|
|
347
347
|
changeConfig(e, t = !0) {
|
|
348
|
-
t ? this.config =
|
|
348
|
+
t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
|
|
349
349
|
}
|
|
350
350
|
/**
|
|
351
351
|
* @description: 改变全局配置
|
|
352
352
|
*/
|
|
353
353
|
changeGlobalConfig(e, t = !0) {
|
|
354
|
-
t ? this.config.globalConfig =
|
|
354
|
+
t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
|
|
355
355
|
}
|
|
356
356
|
/**
|
|
357
357
|
* @description: 改变类型配置
|
|
358
358
|
*/
|
|
359
359
|
changeContentTypeConfig(e, t, i = !0) {
|
|
360
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] =
|
|
360
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
|
|
361
361
|
}
|
|
362
362
|
show(e) {
|
|
363
363
|
return c(this, null, function* () {
|
|
@@ -433,7 +433,7 @@ class Fi extends z {
|
|
|
433
433
|
changeDataById(e, t, i = !0) {
|
|
434
434
|
const s = this.getTagById(e);
|
|
435
435
|
let o = !1;
|
|
436
|
-
s && (s.data && (o = !0), i ? s.data =
|
|
436
|
+
s && (s.data && (o = !0), i ? s.data = p(s.data, t) : s.data = g(g({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
439
439
|
* @description: 改变tag的stickType
|
|
@@ -447,7 +447,7 @@ class Fi extends z {
|
|
|
447
447
|
changeTagById(e, t, i = !0) {
|
|
448
448
|
const s = this.getTagById(e);
|
|
449
449
|
let o = !1;
|
|
450
|
-
t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ?
|
|
450
|
+
t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? p(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = D(t.normal)), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
|
|
451
451
|
}
|
|
452
452
|
/**
|
|
453
453
|
* @description: 销毁tag
|
|
@@ -525,7 +525,7 @@ class Fi extends z {
|
|
|
525
525
|
}, 500),
|
|
526
526
|
e
|
|
527
527
|
), { observe: n, unobserve: r } = S(
|
|
528
|
-
|
|
528
|
+
L(() => t(), 400),
|
|
529
529
|
e
|
|
530
530
|
);
|
|
531
531
|
return s(), n(), () => {
|
|
@@ -536,15 +536,21 @@ class Fi extends z {
|
|
|
536
536
|
let e = !1;
|
|
537
537
|
this.filterPointTag.forEach((t) => {
|
|
538
538
|
const i = this.getUnfoldedByCamera(t);
|
|
539
|
-
t.state && i !== void 0
|
|
539
|
+
if (t.state && i !== void 0) {
|
|
540
|
+
if (i === !0 && t.screenPosition) {
|
|
541
|
+
const s = this.getTagConfig(t).unfoldedConfig;
|
|
542
|
+
U(s).keep !== "unfolded" && (e = !0);
|
|
543
|
+
}
|
|
544
|
+
t.state.unfolded = i;
|
|
545
|
+
}
|
|
540
546
|
}), e && this.filterPointTag.forEach((t) => {
|
|
541
547
|
const i = this.getTagConfig(t).unfoldedConfig;
|
|
542
|
-
typeof i == "object" && (i.autoUnfold || i.keep) || t.state && (t.state.unfolded = !1);
|
|
548
|
+
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 || U(i.autoUnfold).enable === !1 || i.keep) || t.state && (t.state.unfolded = !1);
|
|
543
549
|
});
|
|
544
550
|
}
|
|
545
551
|
changeTagMode(e, t) {
|
|
546
552
|
var i, s, o, n, r, h;
|
|
547
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((
|
|
553
|
+
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((f) => f == null ? void 0 : f()), e.tag3DContentSvelte = void 0);
|
|
548
554
|
}
|
|
549
555
|
}
|
|
550
556
|
export {
|
package/libs/base/BasePlugin.js
CHANGED
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 rl } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as il } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as pl } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as ll } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as al } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as ul, modelRoomLabelPluginServerParams as fl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as gl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as dl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Tl } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as Cl } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as El } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Rl, ROOM_FETILE_TYPE_MAP as Sl, ROOM_TYPE_MAP as Ol } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Al } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Gl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as vl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Yl, Rotation as cl } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Nl } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as kl } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Bl } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as Ul } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as $l } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as ql } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Jl } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Ql } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Zl } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as rn } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as mn } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as en, MovePlugin as ln } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as an } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as un } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as xn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as sn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as Mn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as Ln } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as _n, SculptPlugin as En } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as Rn } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as On } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as An } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as Gn } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as vn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as Yn } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as Vn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as hn } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as wn } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as Hn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as jn } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as Wn } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as zn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as Kn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as Xn, default as Zn } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as ra } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as ia } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as pa, pluginFlag as ea } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as na } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as Pa, DimensionType as ua, PointType as fa } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as ga, PLUGIN as sa } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as Ma } 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";
|
|
@@ -207,8 +207,8 @@ import "./shared-utils/getPointFromHammerEvent.js";
|
|
|
207
207
|
import "./PanoMeasurePlugin/Controller/MixedController.js";
|
|
208
208
|
import "./PanoMeasurePlugin/Modules/rangePiece/index.js";
|
|
209
209
|
import "./shared-utils/noop.js";
|
|
210
|
-
import "./PanoMeasurePlugin/utils/calculateThreeMouse.js";
|
|
211
210
|
import "./PanoMeasurePlugin/utils/mouseGroup.js";
|
|
211
|
+
import "./shared-utils/five/calculateThreeMouse.js";
|
|
212
212
|
import "./PanoMeasurePlugin/Modules/UIController/index.js";
|
|
213
213
|
import "./PanoMeasurePlugin/Modules/UIController/HTML.js";
|
|
214
214
|
import "./PanoMeasurePlugin/Modules/UIController/mobileHTML.js";
|
|
@@ -290,7 +290,6 @@ import "./shared-utils/three/loadVideoTexture.js";
|
|
|
290
290
|
import "./shared-utils/three/getPositionsByObjectFit.js";
|
|
291
291
|
import "./shared-utils/three/FragmentTransparencyMaterial.js";
|
|
292
292
|
import "./shared-utils/five/FiveDomEvents.js";
|
|
293
|
-
import "./shared-utils/five/calculateThreeMouse.js";
|
|
294
293
|
import "./PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
295
294
|
import "./shared-utils/typescript/entries.js";
|
|
296
295
|
import "./shared-utils/url/getUrl.js";
|
|
@@ -487,72 +486,72 @@ import "./shared-utils/three/getIntersect.js";
|
|
|
487
486
|
r();
|
|
488
487
|
o();
|
|
489
488
|
export {
|
|
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
|
-
|
|
557
|
-
|
|
489
|
+
Mn as AreaMakerPlugin,
|
|
490
|
+
An as CSS3DRender,
|
|
491
|
+
ll as CSS3DRenderPlugin,
|
|
492
|
+
Yl as CameraMovementEffect,
|
|
493
|
+
vl as CameraMovementPlugin,
|
|
494
|
+
Pa as ContentType,
|
|
495
|
+
en as CruisePlugin,
|
|
496
|
+
Xn as CruisePluginController,
|
|
497
|
+
ia as CruisePluginTypes,
|
|
498
|
+
Ln as CurrentPanoImagePlugin,
|
|
499
|
+
Ql as DIRECTION,
|
|
500
|
+
wn as DISPLAY_STRATEGY_TYPE,
|
|
501
|
+
ua as DimensionType,
|
|
502
|
+
gl as FLOOR_PLAN_ATTACHED_TO,
|
|
503
|
+
Rl as FLOOR_TYPE_MAP,
|
|
504
|
+
zn as GuideLineItem,
|
|
505
|
+
Kn as GuideLineModeItem,
|
|
506
|
+
mn as GuideLinePlugin,
|
|
507
|
+
jn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
508
|
+
Wn as ItemLabelPlugin,
|
|
509
|
+
hn as Magnifier,
|
|
510
|
+
Tl as MapviewFloorplanPlugin,
|
|
511
|
+
Al as ModelChassisCompassPlugin,
|
|
512
|
+
Gl as ModelEntryDoorGuidePlugin,
|
|
513
|
+
dl as ModelFloorplanPlugin,
|
|
514
|
+
Hn as ModelItemLabelPlugin,
|
|
515
|
+
Rn as ModelMakerPlugin,
|
|
516
|
+
ul as ModelRoomLabelPlugin,
|
|
517
|
+
Jl as ModelTVVideoPlugin,
|
|
518
|
+
pl as ModelViewPlugin,
|
|
519
|
+
ra as MoveController,
|
|
520
|
+
ln as MovePlugin,
|
|
521
|
+
ga as Object3DHelperController,
|
|
522
|
+
un as Object3DHelperPlugin,
|
|
523
|
+
sa as PLUGIN,
|
|
524
|
+
rl as PaintBrush,
|
|
525
|
+
il as PaintBrushTypeEnum,
|
|
526
|
+
Bl as PanoCompassPlugin,
|
|
527
|
+
al as PanoCursorRaycasterPlugin,
|
|
528
|
+
rn as PanoDoorLabelPlugin,
|
|
529
|
+
El as PanoFloorplanRadarPlugin,
|
|
530
|
+
Ul as PanoMeasurePlugin,
|
|
531
|
+
Yn as PanoMeasurePluginLine,
|
|
532
|
+
Gn as PanoMeasurePluginModel,
|
|
533
|
+
vn as PanoMeasurePluginPoint,
|
|
534
|
+
Vn as PanoMeasurePluginPolyline,
|
|
535
|
+
Nl as PanoRulerPlugin,
|
|
536
|
+
kl as PanoRulerProPlugin,
|
|
537
|
+
$l as PanoSpatialTagPlugin,
|
|
538
|
+
an as PanoTagPlugin,
|
|
539
|
+
pa as PanoTagPluginController,
|
|
540
|
+
xn as PanoVideoPlugin,
|
|
541
|
+
Ma as PanoVideoPluginType,
|
|
542
|
+
sn as PipelinePlugin,
|
|
543
|
+
fa as PointType,
|
|
544
|
+
Sl as ROOM_FETILE_TYPE_MAP,
|
|
545
|
+
Ol as ROOM_TYPE_MAP,
|
|
546
|
+
cl as Rotation,
|
|
547
|
+
_n as Sculpt,
|
|
548
|
+
En as SculptPlugin,
|
|
549
|
+
Cl as TopviewFloorplanPlugin,
|
|
550
|
+
On as Util,
|
|
551
|
+
Zn as WalkController,
|
|
552
|
+
na as defaultGlobalConfig,
|
|
553
|
+
Zl as itemLabelPluginServerParams,
|
|
554
|
+
ql as modelItemLabelPluginServerParams,
|
|
555
|
+
fl as modelRoomLabelPluginServerParams,
|
|
556
|
+
ea as pluginFlag
|
|
558
557
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as n from "three";
|
|
2
|
-
function
|
|
3
|
-
const { x: a, y:
|
|
4
|
-
return t.setFromCamera({ x:
|
|
2
|
+
function m(o, r) {
|
|
3
|
+
const { x: a, y: s } = r, e = a * 2 - 1, c = s * 2 - 1, t = new n.Raycaster();
|
|
4
|
+
return t.setFromCamera({ x: e, y: c }, o.camera), t.params.Points.threshold = 0.01, t;
|
|
5
5
|
}
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as getRaycasterByNdcPosition
|
|
8
8
|
};
|
|
@@ -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.7",
|
|
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
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
/**
|
|
3
|
-
* 计算 three 中的 mouse 的值
|
|
4
|
-
* @param {{x:Number, y:Number}} mouseXY 鼠标相对屏幕位置
|
|
5
|
-
* @param {Element} element canvas元素(three的展示元素)
|
|
6
|
-
*/
|
|
7
|
-
export default function calculateThreeMouse(mouseXY: any, element: any): THREE.Vector2 & {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
/**
|
|
3
|
-
* 计算 three 中的 mouse 的值
|
|
4
|
-
* @param {{x:Number, y:Number}} mouseXY 鼠标相对屏幕位置
|
|
5
|
-
* @param {Element} element canvas元素(three的展示元素)
|
|
6
|
-
*/
|
|
7
|
-
export default function calculateThreeMouse(mouseXY: any, element: any): THREE.Vector2 & {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as s from "three";
|
|
2
|
-
const { Vector2: f } = s;
|
|
3
|
-
function r(t, e) {
|
|
4
|
-
const { offsetWidth: o, offsetHeight: n } = e, { top: c, left: i } = e.getBoundingClientRect();
|
|
5
|
-
return Object.assign(new f(), {
|
|
6
|
-
x: (t.x - i) / o * 2 - 1,
|
|
7
|
-
y: -(t.y - c) / n * 2 + 1
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
r as default
|
|
12
|
-
};
|