@realsee/dnalogel 3.27.10 → 3.28.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/dist/PanoTagPlugin/controller/TagCache.d.ts +5 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +7 -7
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -4
- package/dist/PanoTagPlugin/controller/index.d.ts +19 -15
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +12 -12
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +5 -5
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
- package/dist/PanoTagPlugin/utils/search.d.ts +1 -1
- package/dist/Sculpt/Objects/Base/index.d.ts +15 -3
- package/dist/index.cjs.js +5 -5
- package/dist/index.js +68 -36
- package/dist/index.umd.js +5 -5
- package/docs/assets/search.js +1 -1
- 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 +104 -68
- 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 +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- 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 +22 -22
- 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 +6 -6
- 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 +6 -6
- 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 +8 -8
- 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 +17 -4
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +5 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +23 -15
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +3 -3
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +7 -7
- package/libs/PanoTagPlugin/controller/TagRender.js +7 -7
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +4 -4
- package/libs/PanoTagPlugin/controller/index.d.ts +19 -15
- package/libs/PanoTagPlugin/controller/index.js +52 -40
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +12 -12
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +5 -5
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/search.d.ts +1 -1
- package/libs/Sculpt/Objects/Base/index.d.ts +15 -3
- package/libs/Sculpt/Objects/Base/index.js +14 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/five/getRaycasterByNdcPosition.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ export declare abstract class TagCache extends BasePlugin.Controller<State, Even
|
|
|
6
6
|
private tagCacheByPanoIndex;
|
|
7
7
|
protected constructor(five: Five);
|
|
8
8
|
/**
|
|
9
|
-
* @description
|
|
9
|
+
* @description 获取缓存
|
|
10
10
|
*/
|
|
11
11
|
protected getPanoIndexCache(params?: {
|
|
12
12
|
panoIndex?: number;
|
|
@@ -20,6 +20,10 @@ export declare abstract class TagCache extends BasePlugin.Controller<State, Even
|
|
|
20
20
|
id: TagId;
|
|
21
21
|
key: keyof TagCacheInterface;
|
|
22
22
|
}): ValueOf<TagCacheInterface> | undefined;
|
|
23
|
+
clearCacheById(id: TagId): void;
|
|
24
|
+
/**
|
|
25
|
+
* @description 清除所有缓存
|
|
26
|
+
*/
|
|
23
27
|
protected clearCache(): void;
|
|
24
28
|
protected removeCache(): void;
|
|
25
29
|
}
|
|
@@ -4,15 +4,15 @@ import { TagUtil } from './TagUtil';
|
|
|
4
4
|
export declare abstract class TagComputer extends TagUtil {
|
|
5
5
|
protected constructor(five: Five);
|
|
6
6
|
/**
|
|
7
|
-
* @description
|
|
7
|
+
* @description 获取是否可见
|
|
8
8
|
*/
|
|
9
9
|
getVisible(tag: TagInstance, _fiveState?: Partial<FiveState>): boolean;
|
|
10
10
|
/**
|
|
11
|
-
* @description
|
|
11
|
+
* @description 获取是否展开
|
|
12
12
|
*/
|
|
13
13
|
getUnfoldedByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
|
|
14
14
|
/**
|
|
15
|
-
* @description
|
|
15
|
+
* @description 获取是否展开
|
|
16
16
|
*/
|
|
17
17
|
getUnfoldedByCamera(tag: TagInstance): boolean;
|
|
18
18
|
protected setTagZIndex(tags: TagInstance[]): void;
|
|
@@ -18,7 +18,7 @@ export declare abstract class TagRender extends TagComputer {
|
|
|
18
18
|
protected TagContainerSvelte?: TagContainerSvelte;
|
|
19
19
|
constructor(five: Five);
|
|
20
20
|
/**
|
|
21
|
-
* @description
|
|
21
|
+
* @description 设置 contentType 的渲染器
|
|
22
22
|
* @param {string} contentType
|
|
23
23
|
* 如果是 `TagContentType` 中的类型,将会覆盖掉插件内部默认的渲染器,
|
|
24
24
|
* 如果是其他任意 str
|
|
@@ -32,16 +32,16 @@ export declare abstract class TagRender extends TagComputer {
|
|
|
32
32
|
bindRenderer(contentType: string, builtInRenderer: TagContentType): void;
|
|
33
33
|
clearTags(): void;
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description 更新所有标签
|
|
36
36
|
*/
|
|
37
37
|
protected updateRenderAllTags(): void;
|
|
38
38
|
protected updateRenderVideoPlane(): void;
|
|
39
39
|
/**
|
|
40
|
-
* @description
|
|
40
|
+
* @description 渲染图片贴片
|
|
41
41
|
*/
|
|
42
42
|
protected updateRenderImagePlane(): void;
|
|
43
43
|
/**
|
|
44
|
-
* @description
|
|
44
|
+
* @description 渲染3D贴片
|
|
45
45
|
*/
|
|
46
46
|
protected updateRender3DDomTag(): void;
|
|
47
47
|
/** 更新所有模型标签
|
|
@@ -61,18 +61,18 @@ export declare abstract class TagRender extends TagComputer {
|
|
|
61
61
|
/** 添加模型标签 */
|
|
62
62
|
protected addMediaModelTag(tags: Tag[]): Promise<void>;
|
|
63
63
|
/**
|
|
64
|
-
* @description
|
|
64
|
+
* @description 一个点的标签
|
|
65
65
|
*/
|
|
66
66
|
protected setPointTagPosition(): void;
|
|
67
67
|
/**
|
|
68
|
-
* @description
|
|
68
|
+
* @description 渲染单个点的标签
|
|
69
69
|
*/
|
|
70
70
|
protected updateRenderPointTag(): void;
|
|
71
71
|
protected updatePointTagPosition(): void;
|
|
72
72
|
protected updateTagContainerVisible(): void;
|
|
73
73
|
protected disposeAllCSS3DContainer(): void;
|
|
74
74
|
/**
|
|
75
|
-
* @description
|
|
75
|
+
* @description 检查并销毁不用的3D贴片
|
|
76
76
|
*/
|
|
77
77
|
protected clearUnusedPanelTag(): void;
|
|
78
78
|
/** 加载外部模型 */
|
|
@@ -39,7 +39,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
39
39
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
40
40
|
pauseCurrentMedia(): void;
|
|
41
41
|
/**
|
|
42
|
-
* @description
|
|
42
|
+
* @description 获取标签配置
|
|
43
43
|
*/
|
|
44
44
|
getTagConfig(tag: Tag, params?: {
|
|
45
45
|
useCache?: boolean;
|
|
@@ -54,11 +54,11 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
54
54
|
protected can<T extends Tag>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;
|
|
55
55
|
protected getRenderType(tag: TagInstance): 'Dom' | 'Mesh' | 'BehindDom';
|
|
56
56
|
/**
|
|
57
|
-
* @description
|
|
57
|
+
* @description 获取角度
|
|
58
58
|
*/
|
|
59
59
|
protected getAngle(tag: Point3DTag | PlaneTag, panoIndex?: number): number;
|
|
60
60
|
/**
|
|
61
|
-
* @description
|
|
61
|
+
* @description 获取距离
|
|
62
62
|
*/
|
|
63
63
|
protected getDistance(tag: TagInstance, fiveState?: Partial<FiveState>): number;
|
|
64
64
|
protected getPositions(tag: TagInstance): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition];
|
|
@@ -76,7 +76,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
76
76
|
*/
|
|
77
77
|
protected checkDisposed(): boolean;
|
|
78
78
|
/**
|
|
79
|
-
* @description
|
|
79
|
+
* @description 获取merge后的配置
|
|
80
80
|
*/
|
|
81
81
|
protected calculateTagConfig(tag: Tag | TagInstance, params?: {
|
|
82
82
|
useCache?: boolean;
|
|
@@ -21,23 +21,23 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
21
21
|
debug?: boolean;
|
|
22
22
|
});
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description 加载数据
|
|
25
25
|
*/
|
|
26
26
|
load(data: Tags, config?: LoadTagConfig): Promise<void>;
|
|
27
27
|
/**
|
|
28
|
-
* @description
|
|
28
|
+
* @description 添加标签
|
|
29
29
|
*/
|
|
30
30
|
addTag(tag: Tag | Tag[], paramsConfig?: AddTagConfig): Promise<void>;
|
|
31
31
|
/**
|
|
32
|
-
* @description
|
|
32
|
+
* @description 改变配置
|
|
33
33
|
*/
|
|
34
34
|
changeConfig(config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>, merge?: boolean): void;
|
|
35
35
|
/**
|
|
36
|
-
* @description
|
|
36
|
+
* @description 改变全局配置
|
|
37
37
|
*/
|
|
38
38
|
changeGlobalConfig(globalConfig: Tags['globalConfig'], merge?: boolean): void;
|
|
39
39
|
/**
|
|
40
|
-
* @description
|
|
40
|
+
* @description 改变类型配置
|
|
41
41
|
*/
|
|
42
42
|
changeContentTypeConfig<T extends ContentTypeConfigKey>(key: T, contentTypeConfig: TagConfigByKey<T>, merge?: boolean): void;
|
|
43
43
|
show(params?: {
|
|
@@ -59,31 +59,35 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
59
59
|
visibleWithAnimation?: boolean;
|
|
60
60
|
}): void;
|
|
61
61
|
/**
|
|
62
|
-
* @description
|
|
62
|
+
* @description 销毁
|
|
63
63
|
*/
|
|
64
64
|
dispose(): void;
|
|
65
65
|
changeUnfoldedById(id: TagId, unfolded: boolean): void;
|
|
66
66
|
changeEnabledById(id: TagId, enabled: boolean): void;
|
|
67
67
|
/**
|
|
68
|
-
* @description
|
|
68
|
+
* @description 修改3D标签normal
|
|
69
69
|
*/
|
|
70
70
|
changeTagNormalById(id: TagId, normal: ArrayPosition): void;
|
|
71
71
|
/**
|
|
72
|
-
|
|
72
|
+
* @description 改变data
|
|
73
|
+
*/
|
|
74
|
+
changePositionById(id: TagId, position: Tag['position']): void;
|
|
75
|
+
/**
|
|
76
|
+
* @description 改变data
|
|
73
77
|
*/
|
|
74
78
|
changeDataById<C extends TagContentType = TagContentType>(id: TagId, data: PartialObjectDeep<Tag<C>['data']>, deepMerge?: boolean): void;
|
|
75
79
|
/**
|
|
76
|
-
* @description
|
|
80
|
+
* @description 改变tag的stickType
|
|
77
81
|
*/
|
|
78
82
|
changeStickTypeById<C extends TagContentType = TagContentType>(id: TagId, data: PartialObjectDeep<{
|
|
79
83
|
[P in keyof Pick<Tag<C>, 'stickType' | 'position' | 'normal' | 'data'>]: Tag[P];
|
|
80
84
|
}>, deepMerge?: boolean): void;
|
|
81
85
|
/**
|
|
82
|
-
* @description
|
|
86
|
+
* @description 改变tag任意属性
|
|
83
87
|
*/
|
|
84
88
|
changeTagById<C extends TagContentType = TagContentType>(id: TagId, tag: PartialObjectDeep<Tag<C>>, deepMerge?: boolean): void;
|
|
85
89
|
/**
|
|
86
|
-
* @description
|
|
90
|
+
* @description 销毁tag
|
|
87
91
|
*/
|
|
88
92
|
destroyTagById(id: TagId | TagId[]): void;
|
|
89
93
|
/** 更改 tag 模型 */
|
|
@@ -96,7 +100,7 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
96
100
|
reasonObj: any;
|
|
97
101
|
};
|
|
98
102
|
/**
|
|
99
|
-
* @description
|
|
103
|
+
* @description 设置 visible 和 unfolded
|
|
100
104
|
*/
|
|
101
105
|
private setVisibleAndUnfolded;
|
|
102
106
|
private handleShow;
|
|
@@ -104,7 +108,7 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
104
108
|
private handleEnable;
|
|
105
109
|
private handleDisable;
|
|
106
110
|
/**
|
|
107
|
-
* @description
|
|
111
|
+
* @description 添加 cameraUpdate, panoArrived 等事件监听
|
|
108
112
|
*/
|
|
109
113
|
private addEventListener;
|
|
110
114
|
private addResizeListener;
|
|
@@ -112,10 +116,10 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
112
116
|
private updateVisible;
|
|
113
117
|
private handleFiveWantsMoveToPano;
|
|
114
118
|
/**
|
|
115
|
-
* @description
|
|
119
|
+
* @description 走点/切换模型后显示
|
|
116
120
|
*/
|
|
117
121
|
/**
|
|
118
|
-
* @description
|
|
122
|
+
* @description 走点/切换模型时临时隐藏
|
|
119
123
|
*/
|
|
120
124
|
private clickhandler;
|
|
121
125
|
private handleFiveCameraUpdate;
|
|
@@ -22,13 +22,13 @@ export type Tag<C extends TagContentType = TagContentType, S extends StickType =
|
|
|
22
22
|
/** 唯一标识 */
|
|
23
23
|
id?: TagId;
|
|
24
24
|
/**
|
|
25
|
-
* @description
|
|
25
|
+
* @description 附着方式
|
|
26
26
|
* @type {StickType}
|
|
27
27
|
* @default '2DPoint'
|
|
28
28
|
*/
|
|
29
29
|
stickType?: S;
|
|
30
30
|
/**
|
|
31
|
-
* @description
|
|
31
|
+
* @description 内容类型,根据内容类型展示对应UI
|
|
32
32
|
* @type {TagContentType}
|
|
33
33
|
*/
|
|
34
34
|
contentType: LiteralUnion<C, string>;
|
|
@@ -8,7 +8,7 @@ import type { Vector3 } from 'three';
|
|
|
8
8
|
type TagVisibleMode = Mode | Mode[] | 'PanoramaLike' | 'ModelLike' | 'all';
|
|
9
9
|
export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
10
10
|
/**
|
|
11
|
-
* @description
|
|
11
|
+
* @description 显示/隐藏相关配置
|
|
12
12
|
*/
|
|
13
13
|
visibleConfig?: {
|
|
14
14
|
/**
|
|
@@ -101,12 +101,12 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
101
101
|
*/
|
|
102
102
|
distanceAccuracy?: number;
|
|
103
103
|
/**
|
|
104
|
-
* @description
|
|
104
|
+
* @description 碰撞检测的点
|
|
105
105
|
* @default 'center'
|
|
106
106
|
*/
|
|
107
107
|
checkPoints?: 'center' | 'corner' | Vector3[];
|
|
108
108
|
/**
|
|
109
|
-
* @description
|
|
109
|
+
* @description 碰撞检测策略,多少点通过检测则认为碰撞通过
|
|
110
110
|
* @default 1
|
|
111
111
|
*/
|
|
112
112
|
needPassed?: number;
|
|
@@ -119,11 +119,11 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
119
119
|
angleRange?: MinMax;
|
|
120
120
|
} | ConfigFunction;
|
|
121
121
|
/**
|
|
122
|
-
* @description
|
|
122
|
+
* @description 展开/收起相关配置
|
|
123
123
|
*/
|
|
124
124
|
unfoldedConfig?: {
|
|
125
125
|
/**
|
|
126
|
-
* @description
|
|
126
|
+
* @description 保持展开/收起,设置后unfoldedConfig下所有其他配置都不生效
|
|
127
127
|
* @default null
|
|
128
128
|
*/
|
|
129
129
|
keep?: 'unfolded' | 'folded' | null;
|
|
@@ -165,12 +165,12 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
165
165
|
/** 自动展开:最近标签自动展开 */
|
|
166
166
|
strategy?: 'MinimumDistance';
|
|
167
167
|
/**
|
|
168
|
-
* @description
|
|
168
|
+
* @description 展开的最大数量
|
|
169
169
|
* @default 1
|
|
170
170
|
*/
|
|
171
171
|
maxNumber?: number;
|
|
172
172
|
/**
|
|
173
|
-
* @description
|
|
173
|
+
* @description 展开的最大距离
|
|
174
174
|
* @default 无限制
|
|
175
175
|
*/
|
|
176
176
|
distance?: MinMax;
|
|
@@ -188,12 +188,12 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
188
188
|
unfolded?: boolean;
|
|
189
189
|
};
|
|
190
190
|
/**
|
|
191
|
-
* @description
|
|
191
|
+
* @description 标签的默认数据,会将 tag.data 深度合并进来
|
|
192
192
|
* @code `tag.data = ObjectAssignDeep(initialData, tag.data)`
|
|
193
193
|
*/
|
|
194
194
|
initialData?: PartialObjectDeep<ContentTypeMap[C]> & {
|
|
195
195
|
/**
|
|
196
|
-
* @description
|
|
196
|
+
* @description 类似 css 的 !important,会覆盖掉 tag.data 中对应的数据
|
|
197
197
|
* @code
|
|
198
198
|
* ```typescript
|
|
199
199
|
* if (initialData.important) {
|
|
@@ -206,19 +206,19 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
206
206
|
important?: boolean;
|
|
207
207
|
};
|
|
208
208
|
/**
|
|
209
|
-
* @description
|
|
209
|
+
* @description 内部使用 css3DRenderer 渲染的标签可以使用此配置来设置 css3DRenderer 相关参数
|
|
210
210
|
*/
|
|
211
211
|
tag3DConfig?: Create3DDomContainerParamsType['config'];
|
|
212
212
|
modelConfig?: {
|
|
213
213
|
autoLookAtEnabled?: boolean;
|
|
214
214
|
};
|
|
215
215
|
/**
|
|
216
|
-
* @description
|
|
216
|
+
* @description 当图片为一张时可以选择通过Mesh渲染
|
|
217
217
|
* @default 'Dom'
|
|
218
218
|
*/
|
|
219
219
|
renderType?: 'Mesh' | 'Dom';
|
|
220
220
|
/**
|
|
221
|
-
* @description
|
|
221
|
+
* @description 是否可以点击
|
|
222
222
|
* @default true
|
|
223
223
|
*/
|
|
224
224
|
clickable?: boolean;
|
|
@@ -4,7 +4,7 @@ export type MediaData = {
|
|
|
4
4
|
type: 'Image';
|
|
5
5
|
url: string;
|
|
6
6
|
/**
|
|
7
|
-
* @description
|
|
7
|
+
* @description 缩略图
|
|
8
8
|
*/
|
|
9
9
|
thumbnail?: string;
|
|
10
10
|
} | {
|
|
@@ -16,7 +16,7 @@ export type ObjectFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
|
|
|
16
16
|
type Object = Record<string | number | symbol, any>;
|
|
17
17
|
export type TagContentType = keyof typeof ContentType;
|
|
18
18
|
/**
|
|
19
|
-
* @description
|
|
19
|
+
* @description 标签数据
|
|
20
20
|
*/
|
|
21
21
|
export interface ContentTypeMapInterface {
|
|
22
22
|
/** 文字标签 */
|
|
@@ -27,12 +27,12 @@ export interface ContentTypeMapInterface {
|
|
|
27
27
|
title?: string;
|
|
28
28
|
description?: string;
|
|
29
29
|
/**
|
|
30
|
-
* @description
|
|
30
|
+
* @description description 最大行数, null不限制
|
|
31
31
|
* @default: null
|
|
32
32
|
*/
|
|
33
33
|
descriptionMaxRows?: number | null;
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description title 最大行数, null不限制
|
|
36
36
|
* @default: null
|
|
37
37
|
*/
|
|
38
38
|
titleMaxRows?: number | null;
|
|
@@ -52,7 +52,7 @@ export interface ContentTypeMapInterface {
|
|
|
52
52
|
/** @deprecated: 'text' replace by title */
|
|
53
53
|
text?: string;
|
|
54
54
|
title?: string;
|
|
55
|
-
/** @description
|
|
55
|
+
/** @description 'line' 是旧的那种有一条线的,默认为'line', 'plane' 是新的那种圆形的 */
|
|
56
56
|
appearance?: 'line' | 'plane';
|
|
57
57
|
theme?: 'dark' | 'light';
|
|
58
58
|
audioUrl: string;
|
|
@@ -57,5 +57,6 @@ export type TagInstance<C extends TagContentType = TagContentType, S extends Sti
|
|
|
57
57
|
disable: () => void;
|
|
58
58
|
destroy: () => void;
|
|
59
59
|
changeData: (data: PartialObjectDeep<TagInstance<C>['data']>) => void;
|
|
60
|
+
changePosition: (position: TagInstance<C>['position']) => void;
|
|
60
61
|
};
|
|
61
62
|
export {};
|
|
@@ -69,7 +69,7 @@ export type ContentTypeConfigKeySplit = [StickType | 'Any', TagContentType | 'An
|
|
|
69
69
|
type FiveModeType = `[${Exclude<Mode, 'DepthPanorama'> | 'PanoramaLike' | 'ModelLike'}]`;
|
|
70
70
|
export type ContentTypeConfigKey = FiveModeType | `${FiveModeType}-${_ContentTypeConfigKey}` | _ContentTypeConfigKey;
|
|
71
71
|
/**
|
|
72
|
-
* @description
|
|
72
|
+
* @description 从 ContentTypeConfigKey 中提取 ContentTypeConfigKey 对应的 TagContentType 是啥
|
|
73
73
|
*/
|
|
74
74
|
export type PickTagContentTypeInContentTypeConfigKey<T> = T extends FiveModeType ? any : T extends `${FiveModeType}-${infer P extends _ContentTypeConfigKey}` ? PickTagContentTypeInContentTypeConfigKey<P> : T extends `${any}-${infer C}` ? C : T extends TagContentType ? T : any;
|
|
75
75
|
export type TagConfigByKey<T> = PickTagContentTypeInContentTypeConfigKey<T> extends TagContentType ? TagConfig<PickTagContentTypeInContentTypeConfigKey<T>> : TagConfig<any>;
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function binarySearchFirstBig(getValueByIndex: (index: number) => number, indexRange: [number, number], target: number): number;
|
|
8
8
|
/**
|
|
9
|
-
* @description
|
|
9
|
+
* @description 查找第一个小于前一个数字的值
|
|
10
10
|
*/
|
|
11
11
|
export declare function searchFirstValueSmallThanLastValue(getValueByIndex: (index: number) => number, indexRange: [number, number]): number;
|
|
@@ -37,17 +37,17 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
|
|
|
37
37
|
readonly isSculptObject = true;
|
|
38
38
|
draggable: boolean;
|
|
39
39
|
/**
|
|
40
|
-
* @description
|
|
40
|
+
* @description 是否被选中
|
|
41
41
|
*/
|
|
42
42
|
selected: boolean;
|
|
43
43
|
/**
|
|
44
|
-
* @description
|
|
44
|
+
* @description 配置
|
|
45
45
|
*/
|
|
46
46
|
config: Config;
|
|
47
47
|
editor: BaseEditor;
|
|
48
48
|
abstract type: string;
|
|
49
49
|
/**
|
|
50
|
-
* @description
|
|
50
|
+
* @description 物体导出数据
|
|
51
51
|
*/
|
|
52
52
|
abstract get data(): ExportData;
|
|
53
53
|
protected get baseData(): {
|
|
@@ -58,9 +58,21 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
|
|
|
58
58
|
constructor(data?: Partial<ImportData>, config?: Partial<Config>);
|
|
59
59
|
on: <T extends keyof FiveDomEventMap>(event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig) => void;
|
|
60
60
|
off: (event?: keyof FiveDomEventMap, callback?: (e: import("../../../shared-utils/five/FiveDomEvents").FiveDomEvent) => any, ...args: any[]) => void;
|
|
61
|
+
/**
|
|
62
|
+
* @description 停止创建当前物体,等同于`esc`
|
|
63
|
+
*/
|
|
61
64
|
stopCreating(): void;
|
|
65
|
+
/**
|
|
66
|
+
* @description 从场景中删除当前物体
|
|
67
|
+
*/
|
|
62
68
|
delete(): void;
|
|
69
|
+
/**
|
|
70
|
+
* @description 高亮当前物体
|
|
71
|
+
*/
|
|
63
72
|
highlight(): void;
|
|
73
|
+
/**
|
|
74
|
+
* @description 取消高亮当前物体
|
|
75
|
+
*/
|
|
64
76
|
unhighlight(): void;
|
|
65
77
|
protected applyObjectMatrixWorld<P extends THREE.Vector3 | THREE.Vector3[]>(point: P): P;
|
|
66
78
|
protected applyObjectQuaternion<P extends THREE.Vector3 | THREE.Vector3[]>(point: P): P;
|