@realsee/dnalogel 3.64.28-alpha.0 → 3.64.28-alpha.2
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/ModelMakerPlugin/Controller.d.ts +13 -0
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +5 -3
- package/dist/ModelMakerPlugin/item/boxItem.d.ts +3 -3
- package/dist/ModelMakerPlugin/item/polygonItem.d.ts +3 -3
- package/dist/ModelMakerPlugin/item/prismItem.d.ts +3 -3
- package/dist/ModelMakerPlugin/typings/data.d.ts +27 -7
- package/dist/ModelMakerPlugin/typings/index.d.ts +7 -1
- package/dist/index.cjs.js +62 -62
- package/dist/index.js +3289 -3258
- package/dist/index.umd.js +53 -53
- package/dist/shared-utils/tag.d.ts +1 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +14 -8
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +46 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +46 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +47 -0
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +8 -8
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +10 -5
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +7 -7
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +16 -9
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +7 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +10 -7
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -1
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/ModelMakerPlugin/Controller.d.ts +13 -0
- package/libs/ModelMakerPlugin/Controller.js +72 -43
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +5 -3
- package/libs/ModelMakerPlugin/item/baseItem.js +5 -3
- package/libs/ModelMakerPlugin/item/boxItem.d.ts +3 -3
- package/libs/ModelMakerPlugin/item/polygonItem.d.ts +3 -3
- package/libs/ModelMakerPlugin/item/prismItem.d.ts +3 -3
- package/libs/ModelMakerPlugin/typings/data.d.ts +27 -7
- package/libs/ModelMakerPlugin/typings/index.d.ts +7 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +1 -0
- package/libs/shared-utils/tag.js +5 -5
- package/package.json +2 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItemData.html +0 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItemData.html +0 -10
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItemData.html +0 -10
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItemData.html +0 -10
- package/docs/types/ModelMakerPluginType.ServerItemData.html +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.64.28-alpha.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.64.28-alpha.2</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.64.28-alpha.2</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul><h1>Variable itemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.64.28-alpha.2</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.64.28-alpha.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.64.28-alpha.2</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.64.28-alpha.2</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul><h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.64.28-alpha.2</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.64.28-alpha.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.64.28-alpha.2</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.64.28-alpha.2</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul><h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.64.28-alpha.2</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -52,6 +52,16 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, S
|
|
|
52
52
|
type?: ItemType | ItemType[];
|
|
53
53
|
id?: number;
|
|
54
54
|
}): void;
|
|
55
|
+
/**
|
|
56
|
+
* 隐藏指定类型的模型
|
|
57
|
+
* @param itemTypes 模型类型数组
|
|
58
|
+
*/
|
|
59
|
+
hideItemsByType(itemTypes: ItemType[] | ItemType): void;
|
|
60
|
+
/**
|
|
61
|
+
* 显示指定类型的模型
|
|
62
|
+
* @param itemTypes 模型类型数组
|
|
63
|
+
*/
|
|
64
|
+
showItemsByType(itemTypes: ItemType[] | ItemType): void;
|
|
55
65
|
dispose(): void;
|
|
56
66
|
protected onWorkCodeChange(): void;
|
|
57
67
|
/**
|
|
@@ -75,4 +85,7 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, S
|
|
|
75
85
|
private handleDisable;
|
|
76
86
|
private onFiveEveryReady;
|
|
77
87
|
private updateTagRenderer;
|
|
88
|
+
private getPrismItems;
|
|
89
|
+
private getPolygonItems;
|
|
90
|
+
private getBoxItems;
|
|
78
91
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var W = Object.defineProperty;
|
|
2
2
|
var T = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var E = (h, l, t) => l in h ?
|
|
3
|
+
var A = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var E = (h, l, t) => l in h ? W(h, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[l] = t, w = (h, l) => {
|
|
5
5
|
for (var t in l || (l = {}))
|
|
6
|
-
|
|
6
|
+
A.call(l, t) && E(h, t, l[t]);
|
|
7
7
|
if (T)
|
|
8
8
|
for (var t of T(l))
|
|
9
|
-
|
|
9
|
+
P.call(l, t) && E(h, t, l[t]);
|
|
10
10
|
return h;
|
|
11
11
|
};
|
|
12
12
|
var p = (h, l, t) => (E(h, typeof l != "symbol" ? l + "" : l, t), t);
|
|
13
|
-
var
|
|
13
|
+
var M = (h, l, t) => new Promise((s, e) => {
|
|
14
14
|
var r = (i) => {
|
|
15
15
|
try {
|
|
16
16
|
n(t.next(i));
|
|
@@ -26,30 +26,30 @@ var w = (h, l, t) => new Promise((s, e) => {
|
|
|
26
26
|
}, n = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(r, o);
|
|
27
27
|
n((t = t.apply(h, l)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Controller as
|
|
30
|
-
import { Group as
|
|
31
|
-
import { ModelMakerBoxItem as
|
|
32
|
-
import { PrismMesh as
|
|
33
|
-
import { anyPositionToVector3 as
|
|
34
|
-
import { PolygonWithEdgeMesh as
|
|
29
|
+
import { Controller as V } from "../base/BasePluginWithData.js";
|
|
30
|
+
import { Group as j, Vector3 as b, Euler as B, Quaternion as L, Box3 as H, Color as C } from "three";
|
|
31
|
+
import { ModelMakerBoxItem as S } from "./item/boxItem.js";
|
|
32
|
+
import { PrismMesh as O } from "../Sculpt/Meshes/Prism.js";
|
|
33
|
+
import { anyPositionToVector3 as z } from "../shared-utils/positionToVector3.js";
|
|
34
|
+
import { PolygonWithEdgeMesh as k } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
35
35
|
import "../shared-utils/tag.js";
|
|
36
36
|
import "../vendor/hammerjs/hammer.js";
|
|
37
37
|
import "../shared-utils/three/PointSelector/index.js";
|
|
38
38
|
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
39
|
-
import { waitFiveModelLoaded as
|
|
39
|
+
import { waitFiveModelLoaded as G } from "../shared-utils/five/fiveModelLoad.js";
|
|
40
40
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
41
41
|
import "@realsee/five/line";
|
|
42
|
-
import { notNil as
|
|
42
|
+
import { notNil as y } from "../shared-utils/isNil.js";
|
|
43
43
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
44
|
-
import { boxVertex as
|
|
44
|
+
import { boxVertex as u } from "../shared-utils/three/boundingBox.js";
|
|
45
45
|
import "../vendor/animejs/lib/anime.es.js";
|
|
46
46
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
47
47
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
48
|
-
import { FiveDomEvents as
|
|
48
|
+
import { FiveDomEvents as N } from "../shared-utils/five/FiveDomEvents.js";
|
|
49
49
|
import "../shared-utils/five/FivePuppet.js";
|
|
50
|
-
import { tagRendererMap as
|
|
51
|
-
import { ModelMakerPrismItem as
|
|
52
|
-
import { ModelMakerPolygonItem as
|
|
50
|
+
import { tagRendererMap as Q } from "./utils/tagRenderer.js";
|
|
51
|
+
import { ModelMakerPrismItem as R } from "./item/prismItem.js";
|
|
52
|
+
import { ModelMakerPolygonItem as F } from "./item/polygonItem.js";
|
|
53
53
|
import { fiveEveryReadyListener as q } from "../shared-utils/five/fiveEveryReadyListener.js";
|
|
54
54
|
import { sleep as U } from "../CruisePlugin/utils/sleep.js";
|
|
55
55
|
import { CONST as Y } from "../shared-utils/constants.js";
|
|
@@ -125,13 +125,13 @@ import "../vendor/svelte/internal/index.js";
|
|
|
125
125
|
import "../components/AreaLabel/LabelItem.js";
|
|
126
126
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
127
127
|
import "../shared-utils/math/rad2Deg.js";
|
|
128
|
-
class ze extends
|
|
128
|
+
class ze extends V {
|
|
129
129
|
constructor(t, s) {
|
|
130
130
|
var e, r;
|
|
131
131
|
super(t);
|
|
132
132
|
p(this, "state");
|
|
133
133
|
p(this, "items", []);
|
|
134
|
-
p(this, "group", new
|
|
134
|
+
p(this, "group", new j());
|
|
135
135
|
p(this, "data");
|
|
136
136
|
p(this, "tagRendererMap", {});
|
|
137
137
|
p(this, "fiveDomEvents");
|
|
@@ -146,8 +146,8 @@ class ze extends W {
|
|
|
146
146
|
p(this, "originalTagOpacities", /* @__PURE__ */ new Map());
|
|
147
147
|
p(this, "onFiveModeChange", (t) => {
|
|
148
148
|
const s = this.occlusionVisibility;
|
|
149
|
-
Array.isArray(s) && this.
|
|
150
|
-
|
|
149
|
+
Array.isArray(s) && [...this.getPrismItems(), ...this.getBoxItems()].forEach((r) => {
|
|
150
|
+
(r.model instanceof O || r.model instanceof k) && r.model.setStyle({ occlusionVisibility: s.includes(t) });
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
p(this, "handleEnable", () => {
|
|
@@ -157,10 +157,10 @@ class ze extends W {
|
|
|
157
157
|
p(this, "handleDisable", () => {
|
|
158
158
|
this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0, this.five.off("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer();
|
|
159
159
|
});
|
|
160
|
-
p(this, "onFiveEveryReady", () =>
|
|
160
|
+
p(this, "onFiveEveryReady", () => M(this, null, function* () {
|
|
161
161
|
if (this.five.state.mode === "Panorama")
|
|
162
162
|
return;
|
|
163
|
-
const t = this.items.filter((i) => i instanceof
|
|
163
|
+
const t = this.items.filter((i) => i instanceof R).map((i) => i.tag), s = t.filter((i) => i.position && i.visible && i.enabled);
|
|
164
164
|
yield U(0);
|
|
165
165
|
const e = this.five.camera.position.clone(), r = s.sort((i, a) => e.distanceTo(i.position) - e.distanceTo(a.position)), o = [], n = (i, a) => !(i.right < a.left || i.left > a.right || i.bottom < a.top || i.top > a.bottom);
|
|
166
166
|
t.forEach((i) => {
|
|
@@ -178,19 +178,19 @@ class ze extends W {
|
|
|
178
178
|
p(this, "updateTagRenderer", () => {
|
|
179
179
|
this.items.forEach((t) => {
|
|
180
180
|
var e;
|
|
181
|
-
const s = (e = this.tagRendererMap[t.type]) != null ? e :
|
|
181
|
+
const s = (e = this.tagRendererMap[t.type]) != null ? e : Q[t.type];
|
|
182
182
|
s && t.__renderer !== s && (t.__renderer = s, typeof t.__disposeRenderer == "function" && t.__disposeRenderer(), t.tag.container.innerHTML = "", t.__disposeRenderer = s(t.tag.container, t, this.five));
|
|
183
183
|
});
|
|
184
184
|
});
|
|
185
|
-
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (e = s == null ? void 0 : s.occlusionVisibility) != null ? e : !1, this.occlusionMode = (r = s == null ? void 0 : s.occlusionMode) != null ? r : "translucence", this.fiveDomEvents = new
|
|
185
|
+
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (e = s == null ? void 0 : s.occlusionVisibility) != null ? e : !1, this.occlusionMode = (r = s == null ? void 0 : s.occlusionMode) != null ? r : "translucence", this.fiveDomEvents = new N(t, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }), this.tagWrapper = (() => {
|
|
186
186
|
var n;
|
|
187
187
|
const o = document.createElement("div");
|
|
188
188
|
return o.style.position = "absolute", o.style.top = "0", o.style.left = "0", o.style.width = "100%", o.style.height = "100%", o.style.pointerEvents = "none", o.style.zIndex = `${(n = s == null ? void 0 : s.tagContainerZIndex) != null ? n : ""}`, o;
|
|
189
189
|
})(), t.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
|
|
190
190
|
}
|
|
191
191
|
load(t) {
|
|
192
|
-
return
|
|
193
|
-
if (this.clear(), this.data = t, this.originalOpacities.clear(), yield
|
|
192
|
+
return M(this, null, function* () {
|
|
193
|
+
if (this.clear(), this.data = t, this.originalOpacities.clear(), yield G(this.five), this.data !== t)
|
|
194
194
|
return;
|
|
195
195
|
this.clear();
|
|
196
196
|
const s = (e) => {
|
|
@@ -216,8 +216,8 @@ class ze extends W {
|
|
|
216
216
|
var r;
|
|
217
217
|
switch (e.type) {
|
|
218
218
|
case "triangles": {
|
|
219
|
-
const o = new
|
|
220
|
-
return
|
|
219
|
+
const o = new k();
|
|
220
|
+
return y(e.id) && (o.uuid = e.id.toString()), o.setPoints(e.object_data.points, { checkLinesIntersect: !1 }), o.setStyle(s(e)), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight()), new F({
|
|
221
221
|
five: this.five,
|
|
222
222
|
tagWrapper: this.tagWrapper,
|
|
223
223
|
model: o,
|
|
@@ -228,15 +228,15 @@ class ze extends W {
|
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
case "prism": {
|
|
231
|
-
const o = new
|
|
232
|
-
|
|
231
|
+
const o = new O();
|
|
232
|
+
y(e.id) && (o.uuid = e.id.toString()), this.zFightingOffset += Y.Z_FIGHTING_OFFSET;
|
|
233
233
|
const n = e.object_data.points.map((m) => {
|
|
234
234
|
var c;
|
|
235
235
|
return [m[0], m[1] + ((c = e.object_data.fixedY) != null ? c : 0), m[2]];
|
|
236
236
|
});
|
|
237
237
|
n.push(n[0]);
|
|
238
|
-
const i = e.object_data.height + ((r = e.object_data.fixedHeight) != null ? r : 0) + this.zFightingOffset, a =
|
|
239
|
-
return o.setPoints({ points: n, heightPoint: a }), o.setStyle(s(e)), new
|
|
238
|
+
const i = e.object_data.height + ((r = e.object_data.fixedHeight) != null ? r : 0) + this.zFightingOffset, a = z(n[0]).add(new b().setY(i));
|
|
239
|
+
return o.setPoints({ points: n, heightPoint: a }), o.setStyle(s(e)), new R({
|
|
240
240
|
five: this.five,
|
|
241
241
|
tagWrapper: this.tagWrapper,
|
|
242
242
|
model: o,
|
|
@@ -247,13 +247,13 @@ class ze extends W {
|
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
249
|
case "box": {
|
|
250
|
-
const o = new
|
|
251
|
-
|
|
252
|
-
const { start: n, end: i, rotation: a = [0, 0, 0, 0] } = e.object_data, d = new b().fromArray(n), m = new b().fromArray(i), c = new
|
|
250
|
+
const o = new O();
|
|
251
|
+
y(e.id) && (o.uuid = e.id.toString());
|
|
252
|
+
const { start: n, end: i, rotation: a = [0, 0, 0, 0] } = e.object_data, d = new b().fromArray(n), m = new b().fromArray(i), c = new B().fromArray(a), f = new L().setFromEuler(c), v = f.clone().inverse(), I = new b().lerpVectors(d, m, 0.5), _ = I.clone().negate(), D = d.clone().add(_).applyQuaternion(v), x = m.clone().add(_).applyQuaternion(v), g = new H(D.clone().max(x), D.clone().min(x));
|
|
253
253
|
return o.setPoints({
|
|
254
|
-
points: [
|
|
255
|
-
heightPoint:
|
|
256
|
-
}), o.position.copy(
|
|
254
|
+
points: [u(g, 2), u(g, 3), u(g, 7), u(g, 6)],
|
|
255
|
+
heightPoint: u(g, 1)
|
|
256
|
+
}), o.position.copy(I), o.quaternion.copy(f), o.setStyle(s(e)), new S({
|
|
257
257
|
five: this.five,
|
|
258
258
|
tagWrapper: this.tagWrapper,
|
|
259
259
|
model: o,
|
|
@@ -270,13 +270,13 @@ class ze extends W {
|
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
272
|
setState(t) {
|
|
273
|
-
|
|
273
|
+
y(t.enabled) && this.state.enabled !== t.enabled && (this.state.enabled = t.enabled, t.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(t.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), y(t.visible) && this.state.visible !== t.visible && (this.state.visible = t.visible, t.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(t.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
|
|
274
274
|
}
|
|
275
275
|
getItemById(t) {
|
|
276
276
|
return this.items.find((s) => s.rawData.id === t);
|
|
277
277
|
}
|
|
278
278
|
registerTagRenderer(t) {
|
|
279
|
-
this.tagRendererMap =
|
|
279
|
+
this.tagRendererMap = w(w({}, this.tagRendererMap), t), this.updateTagRenderer();
|
|
280
280
|
}
|
|
281
281
|
hasCustomTagRenderer(t) {
|
|
282
282
|
return !!this.tagRendererMap[t];
|
|
@@ -340,6 +340,26 @@ class ze extends W {
|
|
|
340
340
|
}
|
|
341
341
|
this.five.needsRender = !0;
|
|
342
342
|
}
|
|
343
|
+
/**
|
|
344
|
+
* 隐藏指定类型的模型
|
|
345
|
+
* @param itemTypes 模型类型数组
|
|
346
|
+
*/
|
|
347
|
+
hideItemsByType(t) {
|
|
348
|
+
const s = Array.isArray(t) ? t : [t];
|
|
349
|
+
this.items.forEach((e) => {
|
|
350
|
+
s.includes(e.type) && e.hide();
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* 显示指定类型的模型
|
|
355
|
+
* @param itemTypes 模型类型数组
|
|
356
|
+
*/
|
|
357
|
+
showItemsByType(t) {
|
|
358
|
+
const s = Array.isArray(t) ? t : [t];
|
|
359
|
+
this.items.forEach((e) => {
|
|
360
|
+
s.includes(e.type) && e.show();
|
|
361
|
+
});
|
|
362
|
+
}
|
|
343
363
|
dispose() {
|
|
344
364
|
this.hooks.emit("dispose"), this.clear();
|
|
345
365
|
}
|
|
@@ -372,6 +392,15 @@ class ze extends W {
|
|
|
372
392
|
handleHide() {
|
|
373
393
|
this.group.visible = !1, this.tagWrapper.style.display = "none", this.five.needsRender = !0;
|
|
374
394
|
}
|
|
395
|
+
getPrismItems() {
|
|
396
|
+
return this.items.filter((t) => t instanceof R);
|
|
397
|
+
}
|
|
398
|
+
getPolygonItems() {
|
|
399
|
+
return this.items.filter((t) => t instanceof F);
|
|
400
|
+
}
|
|
401
|
+
getBoxItems() {
|
|
402
|
+
return this.items.filter((t) => t instanceof S);
|
|
403
|
+
}
|
|
375
404
|
}
|
|
376
405
|
export {
|
|
377
406
|
ze as Controller
|
|
@@ -4,7 +4,7 @@ import { Vector3 } from 'three';
|
|
|
4
4
|
import { Subscribe } from '../../shared-utils/Subscribe';
|
|
5
5
|
import type { LightTag } from '../../shared-utils/tag';
|
|
6
6
|
import type { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
|
|
7
|
-
import type {
|
|
7
|
+
import type { ServerItem, ItemType, ElementRenderer } from '../typings';
|
|
8
8
|
interface ModelWithCenter extends Object3D {
|
|
9
9
|
/** 模型中心点 */
|
|
10
10
|
center?: Vector3;
|
|
@@ -12,7 +12,7 @@ interface ModelWithCenter extends Object3D {
|
|
|
12
12
|
/**
|
|
13
13
|
* @description 模型标注的事件类型
|
|
14
14
|
*/
|
|
15
|
-
type ModelMakerEvent<ServerData extends
|
|
15
|
+
type ModelMakerEvent<ServerData extends ServerItem> = {
|
|
16
16
|
/** 启用 */
|
|
17
17
|
enable: () => void;
|
|
18
18
|
/** 禁用 */
|
|
@@ -27,7 +27,9 @@ type ModelMakerEvent<ServerData extends ServerItemData> = {
|
|
|
27
27
|
/**
|
|
28
28
|
* @description 模型标注的基类
|
|
29
29
|
*/
|
|
30
|
-
export declare class ModelMakerBaseItem<ServerData extends
|
|
30
|
+
export declare class ModelMakerBaseItem<ServerData extends ServerItem> extends Subscribe<ModelMakerEvent<ServerData>> {
|
|
31
|
+
__renderer?: ElementRenderer;
|
|
32
|
+
__disposeRenderer?: () => void;
|
|
31
33
|
get container(): HTMLDivElement;
|
|
32
34
|
type: ItemType;
|
|
33
35
|
tag: LightTag;
|
|
@@ -67,10 +67,12 @@ import "../../shared-utils/five/getPosition.js";
|
|
|
67
67
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
68
68
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
69
69
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
70
|
-
class
|
|
70
|
+
class Mi extends n {
|
|
71
71
|
constructor(i) {
|
|
72
72
|
var s, m;
|
|
73
73
|
super();
|
|
74
|
+
t(this, "__renderer");
|
|
75
|
+
t(this, "__disposeRenderer");
|
|
74
76
|
t(this, "type");
|
|
75
77
|
t(this, "tag");
|
|
76
78
|
t(this, "rawData");
|
|
@@ -82,7 +84,7 @@ class yi extends n {
|
|
|
82
84
|
t(this, "disposers", []);
|
|
83
85
|
this.five = i.five, this.model = i.model, this.group = i.group, this.type = i.type, this.rawData = i.rawData, this.fiveDomEvents = i.fiveDomEvents;
|
|
84
86
|
const r = (m = (s = i.position) != null ? s : this.model.center) != null ? m : v(this.model).getCenter(new l());
|
|
85
|
-
this.tag = a(this.five, r, { wrapper: i.tagWrapper }), this.tag.extraObjectsForIntersectCheck.push(this.group);
|
|
87
|
+
this.tag = a(this.five, r, { wrapper: i.tagWrapper, disableOpacityTransition: this.type === "prism" }), this.tag.extraObjectsForIntersectCheck.push(this.group);
|
|
86
88
|
}
|
|
87
89
|
get container() {
|
|
88
90
|
return this.tag.container;
|
|
@@ -117,5 +119,5 @@ class yi extends n {
|
|
|
117
119
|
}
|
|
118
120
|
}
|
|
119
121
|
export {
|
|
120
|
-
|
|
122
|
+
Mi as ModelMakerBaseItem
|
|
121
123
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ModelMakerBaseItem } from './baseItem';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ServerBoxItem } from '../typings';
|
|
3
3
|
/**
|
|
4
4
|
* @description 模型标注的盒子类型标注的构造参数类型
|
|
5
5
|
*/
|
|
6
|
-
type ModelMakerBoxItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<
|
|
6
|
+
type ModelMakerBoxItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<ServerBoxItem>>;
|
|
7
7
|
/**
|
|
8
8
|
* @description 模型标注的盒子类型标注,即长方体
|
|
9
9
|
* @extends ModelMakerBaseItem
|
|
10
10
|
*/
|
|
11
|
-
export declare class ModelMakerBoxItem extends ModelMakerBaseItem<
|
|
11
|
+
export declare class ModelMakerBoxItem extends ModelMakerBaseItem<ServerBoxItem> {
|
|
12
12
|
constructor(...args: ModelMakerBoxItemArgs);
|
|
13
13
|
enable(): void;
|
|
14
14
|
disable(): void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ServerTrianglesItem } from '../typings';
|
|
2
2
|
import { ModelMakerBaseItem } from './baseItem';
|
|
3
3
|
/**
|
|
4
4
|
* @description 模型标注的多边形类型标注的构造参数类型
|
|
5
5
|
*/
|
|
6
|
-
type ModelMakerPolygonItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<
|
|
6
|
+
type ModelMakerPolygonItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<ServerTrianglesItem>>;
|
|
7
7
|
/**
|
|
8
8
|
* @description 模型标注的多边形类型标注,即多边形
|
|
9
9
|
* @extends ModelMakerBaseItem
|
|
10
10
|
*/
|
|
11
|
-
export declare class ModelMakerPolygonItem extends ModelMakerBaseItem<
|
|
11
|
+
export declare class ModelMakerPolygonItem extends ModelMakerBaseItem<ServerTrianglesItem> {
|
|
12
12
|
constructor(...args: ModelMakerPolygonItemArgs);
|
|
13
13
|
show(): void;
|
|
14
14
|
private onPanoArrived;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ServerPrismItem } from '../typings';
|
|
2
2
|
import { ModelMakerBaseItem } from './baseItem';
|
|
3
3
|
/**
|
|
4
4
|
* @description 模型标注的棱柱类型标注的构造参数类型
|
|
5
5
|
*/
|
|
6
|
-
type ModelMakerPrismItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<
|
|
6
|
+
type ModelMakerPrismItemArgs = ConstructorParameters<typeof ModelMakerBaseItem<ServerPrismItem>>;
|
|
7
7
|
/**
|
|
8
8
|
* @description 模型标注的棱柱类型标注
|
|
9
9
|
* @extends ModelMakerBaseItem
|
|
10
10
|
*/
|
|
11
|
-
export declare class ModelMakerPrismItem extends ModelMakerBaseItem<
|
|
11
|
+
export declare class ModelMakerPrismItem extends ModelMakerBaseItem<ServerPrismItem> {
|
|
12
12
|
constructor(...args: ModelMakerPrismItemArgs);
|
|
13
13
|
onModelShownFloorChange: (fiveCurrentfloor: number | null) => void;
|
|
14
14
|
show(): void;
|
|
@@ -12,6 +12,12 @@ export interface BoxItemObjectData {
|
|
|
12
12
|
color?: string;
|
|
13
13
|
/** 透明度 */
|
|
14
14
|
opacity?: number;
|
|
15
|
+
/** 所在楼层 */
|
|
16
|
+
floorIndex?: number;
|
|
17
|
+
/** 绘制平面的三维世界坐标点数组 */
|
|
18
|
+
points?: number[][];
|
|
19
|
+
/** 其他信息 */
|
|
20
|
+
[key: string]: any;
|
|
15
21
|
}
|
|
16
22
|
/**
|
|
17
23
|
* @description triangles 所带的数据详细类型
|
|
@@ -25,6 +31,8 @@ export interface TrianglesItemObjectData {
|
|
|
25
31
|
color?: string;
|
|
26
32
|
/** 透明度 */
|
|
27
33
|
opacity?: number;
|
|
34
|
+
/** 其他信息 */
|
|
35
|
+
[key: string]: any;
|
|
28
36
|
}
|
|
29
37
|
/**
|
|
30
38
|
* @description prism 所带的数据详细类型
|
|
@@ -44,45 +52,57 @@ export interface PrismItemObjectData {
|
|
|
44
52
|
color?: string;
|
|
45
53
|
/** 透明度 */
|
|
46
54
|
opacity?: number;
|
|
55
|
+
/** 是否是危险区域 */
|
|
56
|
+
isRiskyArea?: boolean;
|
|
57
|
+
/** 关联VR ID列表 */
|
|
58
|
+
related_resource_code_list?: string[];
|
|
59
|
+
/** 空间编码 */
|
|
60
|
+
space_code?: string;
|
|
61
|
+
/** 其他信息 */
|
|
62
|
+
[key: string]: any;
|
|
47
63
|
}
|
|
48
64
|
/**
|
|
49
65
|
* @description 基础数据类型
|
|
50
66
|
*/
|
|
51
|
-
export interface
|
|
67
|
+
export interface ServerBaseItem<TObjectData> {
|
|
52
68
|
/** 唯一标识 */
|
|
53
69
|
id?: number;
|
|
54
70
|
/** 标签名 */
|
|
55
71
|
name?: string;
|
|
56
72
|
/** 类型 */
|
|
57
|
-
type:
|
|
73
|
+
type: ItemType;
|
|
58
74
|
/** 对象数据 */
|
|
59
75
|
object_data: TObjectData;
|
|
60
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* @description 模型类型枚举
|
|
79
|
+
*/
|
|
80
|
+
export type ItemType = 'box' | 'triangles' | 'prism';
|
|
61
81
|
/**
|
|
62
82
|
* @description box 数据类型
|
|
63
83
|
*/
|
|
64
|
-
export interface
|
|
84
|
+
export interface ServerBoxItem extends ServerBaseItem<BoxItemObjectData> {
|
|
65
85
|
type: 'box';
|
|
66
86
|
}
|
|
67
87
|
/**
|
|
68
88
|
* @description triangles 数据类型
|
|
69
89
|
*/
|
|
70
|
-
export interface
|
|
90
|
+
export interface ServerTrianglesItem extends ServerBaseItem<TrianglesItemObjectData> {
|
|
71
91
|
type: 'triangles';
|
|
72
92
|
}
|
|
73
93
|
/**
|
|
74
94
|
* @description prism 数据类型
|
|
75
95
|
*/
|
|
76
|
-
export interface
|
|
96
|
+
export interface ServerPrismItem extends ServerBaseItem<PrismItemObjectData> {
|
|
77
97
|
type: 'prism';
|
|
78
98
|
}
|
|
79
99
|
/**
|
|
80
100
|
* @description 所有 item 数据类型
|
|
81
101
|
*/
|
|
82
|
-
export type
|
|
102
|
+
export type ServerItem = ServerBoxItem | ServerTrianglesItem | ServerPrismItem;
|
|
83
103
|
/**
|
|
84
104
|
* @description 服务端存储数据类型
|
|
85
105
|
*/
|
|
86
106
|
export interface ServerData {
|
|
87
|
-
list:
|
|
107
|
+
list: ServerItem[];
|
|
88
108
|
}
|
|
@@ -4,6 +4,13 @@ import type { ServerData } from './data';
|
|
|
4
4
|
import type { ModelMakerBoxItem } from '../item/boxItem';
|
|
5
5
|
import type { ModelMakerPolygonItem } from '../item/polygonItem';
|
|
6
6
|
import type { ModelMakerPrismItem } from '../item/prismItem';
|
|
7
|
+
export type { ModelMakerBoxItem } from '../item/boxItem';
|
|
8
|
+
export type { ModelMakerPolygonItem } from '../item/polygonItem';
|
|
9
|
+
export type { ModelMakerPrismItem } from '../item/prismItem';
|
|
10
|
+
export type { ServerBoxItem } from './data';
|
|
11
|
+
export type { ServerTrianglesItem } from './data';
|
|
12
|
+
export type { ServerPrismItem } from './data';
|
|
13
|
+
export type { ItemType } from './data';
|
|
7
14
|
export type { Controller as ModelMakerController } from '../Controller';
|
|
8
15
|
export type * from './data';
|
|
9
16
|
/** 插件状态 */
|
|
@@ -40,6 +47,5 @@ export interface EventMap extends BasePlugin.EventMap<State, ServerData> {
|
|
|
40
47
|
userAction: boolean;
|
|
41
48
|
}) => void;
|
|
42
49
|
}
|
|
43
|
-
export type ItemType = ServerData['list'][number]['type'];
|
|
44
50
|
export type MarkerItem = ModelMakerBoxItem | ModelMakerPolygonItem | ModelMakerPrismItem;
|
|
45
51
|
export type ElementRenderer = (container: HTMLElement, item: MarkerItem, five?: Five) => () => void;
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.64.28-alpha.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.64.28-alpha.2",
|
|
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",
|