@realsee/dnalogel 3.29.9 → 3.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/ModelMakerPlugin/index.d.ts +2 -0
- package/dist/ModelMakerPlugin/typings/data.d.ts +17 -4
- package/dist/ModelMakerPlugin/typings/index.d.ts +0 -11
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.js +20 -14
- package/dist/index.umd.js +5 -5
- package/dist/shared-utils/three/getIntersect.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +4 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +4 -3
- package/docs/classes/CSS3DRender.html +4 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +4 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +4 -3
- package/docs/classes/{ModelMakerPluginType.ModelMakerController.html → ModelMakerPluginInstance.html} +43 -56
- package/docs/classes/ModelRoomLabelController.html +4 -3
- package/docs/classes/MoveController.html +4 -3
- package/docs/classes/Object3DHelperController.html +4 -3
- package/docs/classes/PaintBrush.html +4 -3
- package/docs/classes/PanoMeasurePluginLine.html +4 -3
- package/docs/classes/PanoMeasurePluginModel.html +4 -3
- package/docs/classes/PanoMeasurePluginPoint.html +4 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -3
- package/docs/classes/PanoTagPluginController.html +4 -3
- package/docs/classes/Sculpt.html +4 -3
- package/docs/classes/Util.BetterTween.html +4 -3
- package/docs/classes/Util.Interval.html +4 -3
- package/docs/classes/Util.LineSegments.html +4 -3
- package/docs/classes/Util.Magnifier.html +12 -11
- package/docs/classes/Util.Object3D.html +4 -3
- package/docs/classes/Util.PointDomHelper.html +4 -3
- package/docs/classes/Util.PointHelper.html +4 -3
- package/docs/classes/Util.PointSelectorHelper.html +4 -3
- package/docs/classes/Util.Rectangle.html +4 -3
- package/docs/classes/WalkController.html +4 -3
- package/docs/enums/CameraMovementEffect.html +4 -3
- package/docs/enums/ContentType.html +4 -3
- package/docs/enums/DIRECTION.html +4 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -3
- package/docs/enums/DimensionType.html +4 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -3
- package/docs/enums/PaintBrushTypeEnum.html +4 -3
- package/docs/enums/PointType.html +4 -3
- package/docs/enums/Rotation.html +4 -3
- package/docs/functions/AreaMakerPlugin.html +4 -3
- package/docs/functions/CSS3DRenderPlugin.html +5 -4
- package/docs/functions/CameraMovementPlugin.html +5 -4
- package/docs/functions/CruisePlugin.html +5 -4
- package/docs/functions/CurrentPanoImagePlugin.html +5 -4
- package/docs/functions/GuideLinePlugin.html +4 -3
- package/docs/functions/ItemLabelPlugin.html +5 -4
- package/docs/functions/MapviewFloorplanPlugin.html +5 -4
- package/docs/functions/ModelChassisCompassPlugin.html +5 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
- package/docs/functions/ModelFloorplanPlugin.html +5 -4
- package/docs/functions/ModelItemLabelPlugin.html +5 -4
- package/docs/functions/ModelMakerPlugin.html +6 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -4
- package/docs/functions/ModelTVVideoPlugin.html +5 -4
- package/docs/functions/ModelViewPlugin.html +5 -4
- package/docs/functions/MovePlugin.html +5 -4
- package/docs/functions/Object3DHelperPlugin.html +5 -4
- package/docs/functions/PanoCompassPlugin.html +5 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
- package/docs/functions/PanoDoorLabelPlugin.html +5 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
- package/docs/functions/PanoMeasurePlugin.html +5 -4
- package/docs/functions/PanoRulerPlugin.html +5 -4
- package/docs/functions/PanoRulerProPlugin.html +5 -4
- package/docs/functions/PanoSpatialTagPlugin.html +5 -4
- package/docs/functions/PanoTagPlugin.html +5 -4
- package/docs/functions/PanoVideoPlugin.html +5 -4
- package/docs/functions/PipelinePlugin.html +5 -4
- package/docs/functions/SculptPlugin.html +4 -3
- package/docs/functions/TopviewFloorplanPlugin.html +5 -4
- package/docs/functions/Util.absoluteUrl.html +4 -3
- package/docs/functions/Util.blink.html +4 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -3
- package/docs/functions/Util.equal.html +4 -3
- package/docs/functions/Util.getCoordsFromClient.html +4 -3
- package/docs/functions/Util.getCoordsFromElement.html +4 -3
- package/docs/functions/Util.getFrameTime.html +4 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -3
- package/docs/functions/Util.isAbsoluteURL.html +4 -3
- package/docs/functions/Util.isModelLike.html +4 -3
- package/docs/functions/Util.isNil.html +4 -3
- package/docs/functions/Util.isPanoramaLike.html +4 -3
- package/docs/functions/Util.nextFrame.html +4 -3
- package/docs/functions/Util.notNil.html +4 -3
- package/docs/functions/Util.reblink.html +4 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -3
- package/docs/functions/Util.tweenProgress.html +4 -3
- package/docs/functions/Util.uuid.html +4 -3
- package/docs/functions/pluginFlag.html +4 -3
- package/docs/index.html +5 -4
- package/docs/interfaces/AddTagConfig.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +4 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +4 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +4 -3
- package/docs/interfaces/ContentTypeMapInterface.html +4 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +4 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +4 -3
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +4 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +6 -5
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +6 -5
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +6 -5
- package/docs/interfaces/CruisePluginTypes.PluginData.html +4 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +4 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +6 -5
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +4 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +4 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +4 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -3
- package/docs/interfaces/EventMap.html +4 -3
- package/docs/interfaces/FloorplanBounding.html +4 -3
- package/docs/interfaces/FloorplanData.html +4 -3
- package/docs/interfaces/FloorplanEntrance.html +4 -3
- package/docs/interfaces/FloorplanExtraObject.html +4 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +4 -3
- package/docs/interfaces/FloorplanFloorData.html +4 -3
- package/docs/interfaces/FloorplanImagePosition.html +4 -3
- package/docs/interfaces/FloorplanObserver.html +4 -3
- package/docs/interfaces/FloorplanOutlineItem.html +4 -3
- package/docs/interfaces/FloorplanPosition.html +4 -3
- package/docs/interfaces/FloorplanRoomItem.html +4 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -3
- package/docs/interfaces/FloorplanServerComputedData.html +4 -3
- package/docs/interfaces/FloorplanServerData.html +4 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +4 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +4 -3
- package/docs/interfaces/FloorplanServerEntrance.html +4 -3
- package/docs/interfaces/FloorplanServerFloorData.html +4 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +4 -3
- package/docs/interfaces/FloorplanServerObserver.html +4 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +4 -3
- package/docs/interfaces/FloorplanServerPosition.html +4 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +4 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +4 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +4 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +4 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +4 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +4 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +4 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +4 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +4 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +4 -3
- package/docs/interfaces/HelperOffset.html +4 -3
- package/docs/interfaces/ImagePlaneGroup.html +4 -3
- package/docs/interfaces/ItemLabelPluginData.html +4 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +4 -3
- package/docs/interfaces/MinMax.html +4 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +4 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +4 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +13 -47
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +16 -9
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +29 -16
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +6 -5
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +48 -20
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +32 -18
- package/docs/interfaces/ModelMakerPluginType.State.html +9 -8
- package/docs/interfaces/ModelRoomLabelPluginData.html +4 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +4 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -3
- package/docs/interfaces/ModelViewPluginExportType.html +4 -3
- package/docs/interfaces/Object3DHelperState.html +4 -3
- package/docs/interfaces/ObjectHelperControllers.html +4 -3
- package/docs/interfaces/PaintBrushAction.html +4 -3
- package/docs/interfaces/PaintBrushConfigs.html +4 -3
- package/docs/interfaces/PaintBrushState.html +4 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -3
- package/docs/interfaces/PanoMeasureParameterType.html +4 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +4 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +4 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +4 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +4 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +4 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +4 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -3
- package/docs/interfaces/PanoRulerProPluginState.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +4 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +4 -3
- package/docs/interfaces/Point.html +4 -3
- package/docs/interfaces/Room.html +4 -3
- package/docs/interfaces/RoomInfo.html +4 -3
- package/docs/interfaces/RoomLabel.html +4 -3
- package/docs/interfaces/RoomRules.html +4 -3
- package/docs/interfaces/Rooms.html +4 -3
- package/docs/interfaces/Scissor.html +4 -3
- package/docs/interfaces/State.html +4 -3
- package/docs/interfaces/TagCacheInterface.html +4 -3
- package/docs/interfaces/TagConfig.html +4 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +4 -3
- package/docs/interfaces/TagIconUrl.html +4 -3
- package/docs/interfaces/TagObjectGroup.html +4 -3
- package/docs/interfaces/TagStyle.html +4 -3
- package/docs/interfaces/Tags.html +4 -3
- package/docs/interfaces/TemporaryState.html +4 -3
- package/docs/interfaces/Util.BlinkAnimeOptions.html +4 -3
- package/docs/interfaces/Util.MagnifierParameter.html +4 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +4 -3
- package/docs/interfaces/Util.PointIntersection.html +4 -3
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +4 -3
- package/docs/modules/AreaMakerPluginType.html +4 -3
- package/docs/modules/CruisePluginTypes.html +4 -3
- package/docs/modules/CurrentPanoImagePluginType.html +4 -3
- package/docs/modules/GuideLineItem.html +4 -3
- package/docs/modules/GuideLineModeItem.html +4 -3
- package/docs/modules/GuideLinePluginType.html +4 -3
- package/docs/modules/ModelMakerPluginType.html +23 -11
- package/docs/modules/PanoVideoPluginType.html +4 -3
- package/docs/modules/SculptData.html +4 -3
- package/docs/modules/Util.html +4 -3
- package/docs/modules.html +6 -4
- package/docs/types/AddObject3DHelperConfig.html +4 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +4 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -3
- package/docs/types/ArrayPosition.html +4 -3
- package/docs/types/AudioAppearance.html +4 -3
- package/docs/types/CSS3DRenderExportType.html +4 -3
- package/docs/types/CSS3DRenderPluginExportType.html +4 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -3
- package/docs/types/ClassFunctionParameters.html +4 -3
- package/docs/types/Color.html +4 -3
- package/docs/types/ContentTypeConfigKey.html +5 -4
- package/docs/types/ContentTypeConfigKeySplit.html +5 -4
- package/docs/types/ContentTypeMap.html +4 -3
- package/docs/types/Create3DDomContainerReturnType.html +4 -3
- package/docs/types/Create3DElementReturnType.html +4 -3
- package/docs/types/CruisePluginExportType.html +4 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -3
- package/docs/types/DeprecatedTagProperty.html +4 -3
- package/docs/types/Direction-1.html +4 -3
- package/docs/types/Direction4.html +4 -3
- package/docs/types/ElementRenderer.html +4 -3
- package/docs/types/FloorplanRuleLabels.html +4 -3
- package/docs/types/FloorplanServerRuleLabels.html +4 -3
- package/docs/types/GuideLinePluginExportType.html +4 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -3
- package/docs/types/GuideLinePluginType.PathItem.html +4 -3
- package/docs/types/GuideLinePluginType.PluginData.html +4 -3
- package/docs/types/HelperEventMap.html +4 -3
- package/docs/types/InternalHelperEventMap.html +4 -3
- package/docs/types/LoadTagConfig.html +4 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -3
- package/docs/types/MediaData.html +4 -3
- package/docs/types/MediaStore.html +4 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -3
- package/docs/types/ModelId.html +4 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +7 -6
- package/docs/types/ModelMakerPluginType.ItemType.html +7 -6
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -3
- package/docs/types/MoveArgs.html +4 -3
- package/docs/types/MoveOpts.html +4 -3
- package/docs/types/Object3DHelperEventMap.html +4 -3
- package/docs/types/ObjectFit.html +4 -3
- package/docs/types/PaintBrushEventMap.html +4 -3
- package/docs/types/PanoCompassPluginData.html +4 -3
- package/docs/types/PanoCompassPluginExportType.html +4 -3
- package/docs/types/PanoCompassPluginParameterType.html +4 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -3
- package/docs/types/PanoIndex.html +4 -3
- package/docs/types/PanoMeasurePluginEvent.html +4 -3
- package/docs/types/PanoMeasureReturnType.html +4 -3
- package/docs/types/PanoSpatialTagPluginId.html +4 -3
- package/docs/types/PanoTagPluginExportInterface.html +4 -3
- package/docs/types/PanoTagPluginParamsInterface.html +4 -3
- package/docs/types/PanoVideoPluginParameterType.html +4 -3
- package/docs/types/PanoVideoPluginReturnType.html +4 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -4
- package/docs/types/PipelinePluginParameterType.html +4 -3
- package/docs/types/PipelinePluginReturnType.html +4 -3
- package/docs/types/PlaneTag.html +5 -4
- package/docs/types/Point2DTag.html +5 -4
- package/docs/types/Point3DTag.html +5 -4
- package/docs/types/PointTag.html +5 -4
- package/docs/types/PointTagInstance.html +4 -3
- package/docs/types/Position.html +4 -3
- package/docs/types/PositionFrom.html +4 -3
- package/docs/types/RotateArgs.html +4 -3
- package/docs/types/RotateOpts.html +4 -3
- package/docs/types/RuleLabelsKey.html +4 -3
- package/docs/types/RuleLabelsValue.html +4 -3
- package/docs/types/ScaleCallback.html +4 -3
- package/docs/types/ScalePosition.html +4 -3
- package/docs/types/SculptData.BoxData.html +4 -3
- package/docs/types/SculptData.CircleData.html +4 -3
- package/docs/types/SculptData.CylinderData.html +4 -3
- package/docs/types/SculptData.PointData.html +4 -3
- package/docs/types/SculptData.PolygonData.html +4 -3
- package/docs/types/SculptData.PolylineData.html +4 -3
- package/docs/types/SculptData.PrismData.html +4 -3
- package/docs/types/SculptData.RectangleData.html +4 -3
- package/docs/types/StickType.html +4 -3
- package/docs/types/Tag.html +4 -3
- package/docs/types/Tag2D.html +4 -3
- package/docs/types/Tag3D.html +4 -3
- package/docs/types/TagConfigByKey.html +5 -4
- package/docs/types/TagContentType.html +4 -3
- package/docs/types/TagContentTypeMapping.html +4 -3
- package/docs/types/TagDimensionType.html +4 -3
- package/docs/types/TagElement.html +4 -3
- package/docs/types/TagEvents.html +4 -3
- package/docs/types/TagGLTFObject.html +4 -3
- package/docs/types/TagHooks.html +4 -3
- package/docs/types/TagId.html +4 -3
- package/docs/types/TagInstance.html +4 -3
- package/docs/types/TagPointType.html +4 -3
- package/docs/types/TagRendererMap.html +4 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -3
- package/docs/types/WorkCode.html +4 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -3
- package/docs/variables/PLUGIN.html +4 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -3
- package/docs/variables/ROOM_TYPE_MAP.html +4 -3
- package/docs/variables/defaultGlobalConfig.html +4 -3
- package/docs/variables/itemLabelPluginServerParams.html +4 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -3
- package/libs/ModelMakerPlugin/Controller.js +49 -49
- package/libs/ModelMakerPlugin/index.d.ts +2 -0
- package/libs/ModelMakerPlugin/typings/data.d.ts +17 -4
- package/libs/ModelMakerPlugin/typings/index.d.ts +0 -11
- package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +7 -4
- package/libs/PanoCompassPlugin/Controller.js +3 -3
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +17 -16
- package/libs/shared-utils/three/Magnifier.js +17 -15
- package/libs/shared-utils/three/getIntersect.d.ts +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import type * as ModelMakerPluginType from './typings';
|
|
3
|
+
import { Controller } from './Controller';
|
|
3
4
|
export declare const ModelMakerPlugin: (five: Five) => ModelMakerPluginType.ModelMakerController;
|
|
5
|
+
export type { Controller as ModelMakerPluginInstance };
|
|
4
6
|
export type { ModelMakerPluginType };
|
|
@@ -2,7 +2,9 @@ export interface ServerData {
|
|
|
2
2
|
list: (ServerBoxItem | ServerTrianglesItem | ServerPrismItem)[];
|
|
3
3
|
}
|
|
4
4
|
export interface ServerBaseItem {
|
|
5
|
+
/** 唯一标识 */
|
|
5
6
|
id?: number;
|
|
7
|
+
/** 标签名 */
|
|
6
8
|
name?: string;
|
|
7
9
|
}
|
|
8
10
|
export interface ServerBoxItem extends ServerBaseItem {
|
|
@@ -13,29 +15,40 @@ export interface ServerBoxItem extends ServerBaseItem {
|
|
|
13
15
|
/** start 对角位置的顶点坐标 */
|
|
14
16
|
end: number[];
|
|
15
17
|
/** box 的欧拉角旋转,旋转顺序是 [XYZ] */
|
|
16
|
-
rotation
|
|
18
|
+
rotation?: number[];
|
|
19
|
+
/** 标注颜色 */
|
|
17
20
|
color?: string;
|
|
21
|
+
/** 透明度 */
|
|
18
22
|
opacity?: number;
|
|
19
23
|
};
|
|
20
24
|
}
|
|
21
25
|
export interface ServerTrianglesItem extends ServerBaseItem {
|
|
22
26
|
type: 'triangles';
|
|
23
27
|
object_data: {
|
|
24
|
-
|
|
28
|
+
/** 多边形的顶点坐标数组 */
|
|
25
29
|
points: number[][];
|
|
30
|
+
/** 标注颜色 */
|
|
26
31
|
color?: string;
|
|
32
|
+
/** 透明度 */
|
|
27
33
|
opacity?: number;
|
|
28
34
|
};
|
|
29
35
|
}
|
|
30
36
|
export interface ServerPrismItem extends ServerBaseItem {
|
|
31
37
|
type: 'prism';
|
|
32
38
|
object_data: {
|
|
39
|
+
/** 绘制平面的三维世界坐标点数组 */
|
|
33
40
|
points: number[][];
|
|
34
|
-
|
|
41
|
+
/** 楼层高度 */
|
|
35
42
|
height: number;
|
|
43
|
+
/** 所在楼层 */
|
|
44
|
+
floorIndex?: number;
|
|
45
|
+
/** 人工设置的y坐标方向偏移 */
|
|
36
46
|
fixedY?: number;
|
|
47
|
+
/** 人工设置的高度修正 */
|
|
37
48
|
fixedHeight?: number;
|
|
38
|
-
|
|
49
|
+
/** 标注颜色 */
|
|
50
|
+
color?: string;
|
|
51
|
+
/** 透明度 */
|
|
39
52
|
opacity?: number;
|
|
40
53
|
};
|
|
41
54
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type * as BasePlugin from '../../base/BasePluginWithData';
|
|
2
|
-
import type * as THREE from 'three';
|
|
3
2
|
import type { ModelMakerBaseItem } from '../item/baseItem';
|
|
4
3
|
import type { ServerData } from './data';
|
|
5
4
|
export type { Controller as ModelMakerController } from '../Controller';
|
|
@@ -37,16 +36,6 @@ export interface EventMap extends BasePlugin.EventMap<State, ServerData> {
|
|
|
37
36
|
disable: (event: {
|
|
38
37
|
userAction: boolean;
|
|
39
38
|
}) => void;
|
|
40
|
-
/** 插件内容点击的回调
|
|
41
|
-
* @param event.target 点击的标注实例
|
|
42
|
-
* @param event.intersectObjects 射线与标注模型的交点集合
|
|
43
|
-
* @param event.wantsFiveTapGestureParams Five wantsFiveTapGesture 的回调参数
|
|
44
|
-
* @returns <boolean> | <void> 返回 false 会阻止 Five wantsFiveTapGesture 的回调,其余 return 值会被忽略
|
|
45
|
-
*/
|
|
46
|
-
wantsTap: (event: {
|
|
47
|
-
target: any;
|
|
48
|
-
intersectObjects: THREE.Intersection[];
|
|
49
|
-
}) => boolean | void;
|
|
50
39
|
}
|
|
51
40
|
export type ItemType = ServerData['list'][number]['type'];
|
|
52
41
|
export type ElementRenderer = (container: HTMLElement, item: ModelMakerBaseItem) => () => void;
|
|
@@ -66,7 +66,7 @@ export interface ImagePlaneGroup extends Group {
|
|
|
66
66
|
export type AudioAppearance = TagInstance<'Audio'>['data']['appearance'];
|
|
67
67
|
type _ContentTypeConfigKey = `${StickType | 'Any'}-${TagContentType | 'Any'}` | TagContentType | `Any-Audio-${AudioAppearance}` | 'Any';
|
|
68
68
|
export type ContentTypeConfigKeySplit = [StickType | 'Any', TagContentType | 'Any'] | [TagContentType] | [StickType | 'Any', 'Audio', AudioAppearance] | ['Any'] | [];
|
|
69
|
-
type FiveModeType = `[${
|
|
69
|
+
type FiveModeType = `[${Mode | 'PanoramaLike' | 'ModelLike'}]`;
|
|
70
70
|
export type ContentTypeConfigKey = FiveModeType | `${FiveModeType}-${_ContentTypeConfigKey}` | _ContentTypeConfigKey;
|
|
71
71
|
/**
|
|
72
72
|
* @description 从 ContentTypeConfigKey 中提取 ContentTypeConfigKey 对应的 TagContentType 是啥
|