@realsee/dnalogel 3.73.1-alpha.1 → 3.73.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/CHANGELOG.md +4 -0
- package/dist/MeasurePlugin/Controller.d.ts +3 -4
- package/dist/MeasurePlugin/index.d.ts +2 -1
- package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +1 -9
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +0 -4
- package/dist/Sculpt/utils/export.d.ts +1 -0
- package/dist/index.cjs.js +73 -73
- package/dist/index.js +6085 -6152
- package/dist/index.umd.js +75 -75
- package/dist/shared-utils/three/index.d.ts +2 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +127 -0
- package/docs/assets/icons.js +18 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +60 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1493 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
- package/docs/classes/CSS3DRender.html +100 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +70 -0
- package/docs/classes/ModelMakerPluginInstance.html +116 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
- package/docs/classes/ModelRoomLabelController.html +19 -0
- package/docs/classes/MoveController.html +45 -0
- package/docs/classes/Object3DHelperController.html +45 -0
- package/docs/classes/PaintBrush.html +15 -0
- package/docs/classes/PanoMeasurePluginLine.html +24 -0
- package/docs/classes/PanoMeasurePluginModel.html +23 -0
- package/docs/classes/PanoMeasurePluginPoint.html +7 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
- package/docs/classes/PanoTagPluginController.html +111 -0
- package/docs/classes/Sculpt.html +77 -0
- package/docs/classes/Util.BetterTween.html +6 -0
- package/docs/classes/Util.FiveDomEvents.html +13 -0
- package/docs/classes/Util.FivePuppet.html +20 -0
- package/docs/classes/Util.Interval.html +11 -0
- package/docs/classes/Util.LegacyPointHelper.html +7 -0
- package/docs/classes/Util.LightTag.html +47 -0
- package/docs/classes/Util.LineSegments.html +4 -0
- package/docs/classes/Util.Magnifier.html +26 -0
- package/docs/classes/Util.Object3D.html +8 -0
- package/docs/classes/Util.PointDomHelper.html +8 -0
- package/docs/classes/Util.PointHelper.html +10 -0
- package/docs/classes/Util.PointSelector.html +66 -0
- package/docs/classes/Util.PointSelectorHelper.html +14 -0
- package/docs/classes/Util.Rectangle.html +12 -0
- package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
- package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
- package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.LineMesh.html +34 -0
- package/docs/classes/Util.sculpt.PointMesh.html +24 -0
- package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
- package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
- package/docs/classes/WalkController.html +42 -0
- package/docs/enums/CameraMovementEffect.html +4 -0
- package/docs/enums/ContentType.html +34 -0
- package/docs/enums/DIRECTION.html +5 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
- package/docs/enums/DimensionType.html +4 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
- package/docs/enums/PaintBrushTypeEnum.html +4 -0
- package/docs/enums/PointType.html +4 -0
- package/docs/enums/Rotation.html +5 -0
- package/docs/functions/AreaMakerPlugin.html +1 -0
- package/docs/functions/CSS3DRenderPlugin.html +1 -0
- package/docs/functions/CameraMovementPlugin.html +2 -0
- package/docs/functions/CruisePlugin.html +1 -0
- package/docs/functions/CurrentPanoImagePlugin.html +1 -0
- package/docs/functions/FloorplanGuidePlugin.html +1 -0
- package/docs/functions/GuideLinePlugin.html +1 -0
- package/docs/functions/ItemLabelPlugin.html +1 -0
- package/docs/functions/MapviewFloorplanPlugin.html +1 -0
- package/docs/functions/MeasurePlugin.html +1 -0
- package/docs/functions/ModelChassisCompassPlugin.html +2 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
- package/docs/functions/ModelFloorplanPlugin.html +1 -0
- package/docs/functions/ModelItemLabelPlugin.html +1 -0
- package/docs/functions/ModelMakerPlugin.html +1 -0
- package/docs/functions/ModelRoomLabelPlugin.html +1 -0
- package/docs/functions/ModelTVVideoPlugin.html +1 -0
- package/docs/functions/ModelViewPlugin.html +2 -0
- package/docs/functions/MovePlugin.html +1 -0
- package/docs/functions/Object3DHelperPlugin.html +1 -0
- package/docs/functions/PanoCompassPlugin.html +1 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
- package/docs/functions/PanoDoorLabelPlugin.html +1 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
- package/docs/functions/PanoMeasurePlugin.html +1 -0
- package/docs/functions/PanoRulerPlugin.html +2 -0
- package/docs/functions/PanoRulerProPlugin.html +2 -0
- package/docs/functions/PanoSpatialTagPlugin.html +2 -0
- package/docs/functions/PanoTagPlugin.html +1 -0
- package/docs/functions/PanoVideoPlugin.html +10 -0
- package/docs/functions/PipelinePlugin.html +1 -0
- package/docs/functions/SculptPlugin.html +2 -0
- package/docs/functions/SculptPluginForFive.html +2 -0
- package/docs/functions/TopviewFloorplanPlugin.html +1 -0
- package/docs/functions/Util.awaitNextFrame.html +1 -0
- package/docs/functions/Util.blink.html +13 -0
- package/docs/functions/Util.blinkWithPreset.html +6 -0
- package/docs/functions/Util.bounding.html +1 -0
- package/docs/functions/Util.boundingBox.html +1 -0
- package/docs/functions/Util.boundingSphere.html +1 -0
- package/docs/functions/Util.boxVertex.html +7 -0
- package/docs/functions/Util.boxVertexes.html +1 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
- package/docs/functions/Util.cleanup.html +3 -0
- package/docs/functions/Util.convexHull.html +2 -0
- package/docs/functions/Util.equal.html +5 -0
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
- package/docs/functions/Util.generatePolygonGeometry.html +2 -0
- package/docs/functions/Util.getCoordsFromClient.html +1 -0
- package/docs/functions/Util.getCoordsFromElement.html +1 -0
- package/docs/functions/Util.getFrameTime.html +3 -0
- package/docs/functions/Util.getGeometryArea.html +1 -0
- package/docs/functions/Util.getGeometryInfo.html +1 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
- package/docs/functions/Util.initialCSS3DRender.html +1 -0
- package/docs/functions/Util.inside.html +1 -0
- package/docs/functions/Util.isModelLike.html +1 -0
- package/docs/functions/Util.isNil.html +2 -0
- package/docs/functions/Util.isPanoramaLike.html +1 -0
- package/docs/functions/Util.lookObject.html +7 -0
- package/docs/functions/Util.lookPoint.html +5 -0
- package/docs/functions/Util.nextFrame.html +1 -0
- package/docs/functions/Util.notNil.html +2 -0
- package/docs/functions/Util.reblink.html +13 -0
- package/docs/functions/Util.replaceStaticPrefix.html +8 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
- package/docs/functions/Util.sculpt.createBox.html +1 -0
- package/docs/functions/Util.sculpt.createCircle.html +1 -0
- package/docs/functions/Util.sculpt.createCylinder.html +1 -0
- package/docs/functions/Util.sculpt.createLine.html +2 -0
- package/docs/functions/Util.sculpt.createPoint.html +1 -0
- package/docs/functions/Util.sculpt.createPolygon.html +1 -0
- package/docs/functions/Util.sculpt.createPrism.html +1 -0
- package/docs/functions/Util.sculpt.createRectangle.html +2 -0
- package/docs/functions/Util.sculpt.transformUnit.html +1 -0
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
- package/docs/functions/Util.tag.html +1 -0
- package/docs/functions/Util.triangleArea.html +2 -0
- package/docs/functions/Util.triangleCenter.html +2 -0
- package/docs/functions/Util.tweenProgress.html +1 -0
- package/docs/functions/Util.uuid.html +2 -0
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
- package/docs/functions/Util.worldBounding.html +1 -0
- package/docs/functions/Util.worldBoundingBox.html +1 -0
- package/docs/functions/Util.worldBoundingSphere.html +1 -0
- package/docs/functions/createPolyline.html +2 -0
- package/docs/functions/pluginFlag.html +1 -0
- package/docs/functions/validatePolygon.html +1 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +70 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
- package/docs/interfaces/BoxAnimationConfig.html +6 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
- package/docs/interfaces/ContentTypeMapInterface.html +73 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
- package/docs/interfaces/FloorplanBounding.html +9 -0
- package/docs/interfaces/FloorplanData.html +7 -0
- package/docs/interfaces/FloorplanEntrance.html +14 -0
- package/docs/interfaces/FloorplanExtraObject.html +9 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
- package/docs/interfaces/FloorplanFloorData.html +9 -0
- package/docs/interfaces/FloorplanImagePosition.html +4 -0
- package/docs/interfaces/FloorplanObserver.html +8 -0
- package/docs/interfaces/FloorplanOutlineItem.html +6 -0
- package/docs/interfaces/FloorplanPosition.html +4 -0
- package/docs/interfaces/FloorplanRoomItem.html +24 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
- package/docs/interfaces/FloorplanServerBounding.html +9 -0
- package/docs/interfaces/FloorplanServerComputedData.html +6 -0
- package/docs/interfaces/FloorplanServerData.html +4 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
- package/docs/interfaces/FloorplanServerEntrance.html +14 -0
- package/docs/interfaces/FloorplanServerFloorData.html +8 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
- package/docs/interfaces/FloorplanServerObserver.html +8 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
- package/docs/interfaces/FloorplanServerPosition.html +4 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
- package/docs/interfaces/HelperOffset.html +4 -0
- package/docs/interfaces/ImagePlaneGroup.html +3 -0
- package/docs/interfaces/ItemLabelPluginData.html +2 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
- package/docs/interfaces/MinMax.html +3 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
- package/docs/interfaces/ModelViewPluginExportType.html +8 -0
- package/docs/interfaces/Object3DHelperState.html +4 -0
- package/docs/interfaces/ObjectHelperControllers.html +5 -0
- package/docs/interfaces/PaintBrushAction.html +14 -0
- package/docs/interfaces/PaintBrushConfigs.html +8 -0
- package/docs/interfaces/PaintBrushState.html +6 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
- package/docs/interfaces/PanoMeasureParameterType.html +20 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
- package/docs/interfaces/PanoRulerProPluginState.html +4 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
- package/docs/interfaces/PluginEventMap.html +16 -0
- package/docs/interfaces/Point.html +4 -0
- package/docs/interfaces/Room.html +5 -0
- package/docs/interfaces/RoomInfo.html +3 -0
- package/docs/interfaces/RoomLabel.html +16 -0
- package/docs/interfaces/RoomRules.html +1 -0
- package/docs/interfaces/Rooms.html +1 -0
- package/docs/interfaces/Scissor.html +13 -0
- package/docs/interfaces/SculptConfig.html +14 -0
- package/docs/interfaces/State.html +7 -0
- package/docs/interfaces/TagCacheInterface.html +9 -0
- package/docs/interfaces/TagConfig.html +164 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
- package/docs/interfaces/TagIconAnimationConfig.html +7 -0
- package/docs/interfaces/TagIconUrl.html +20 -0
- package/docs/interfaces/TagObjectGroup.html +3 -0
- package/docs/interfaces/TagState.html +3 -0
- package/docs/interfaces/TagStyle.html +5 -0
- package/docs/interfaces/Tags.html +8 -0
- package/docs/interfaces/TemporaryState.html +2 -0
- package/docs/interfaces/Util.AnimeInstance.html +14 -0
- package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
- package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
- package/docs/interfaces/Util.FiveDomEvent.html +7 -0
- package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
- package/docs/interfaces/Util.MagnifierParameter.html +13 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
- package/docs/interfaces/Util.ObjectInitialState.html +9 -0
- package/docs/interfaces/Util.PointIntersection.html +21 -0
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
- package/docs/modules/AreaMakerPluginType.html +17 -0
- package/docs/modules/CruisePluginTypes.html +14 -0
- package/docs/modules/CurrentPanoImagePluginType.html +6 -0
- package/docs/modules/GuideLineItem.html +2 -0
- package/docs/modules/GuideLineModeItem.html +3 -0
- package/docs/modules/GuideLinePluginType.html +25 -0
- package/docs/modules/ModelMakerPluginType.html +19 -0
- package/docs/modules/PanoVideoPluginType.html +8 -0
- package/docs/modules/SculptData.html +9 -0
- package/docs/modules/SculptType.html +2 -0
- package/docs/modules/Util.html +91 -0
- package/docs/modules/Util.sculpt.html +27 -0
- package/docs/modules.html +281 -0
- package/docs/types/AddObject3DHelperConfig.html +19 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
- package/docs/types/ArrayPosition.html +1 -0
- package/docs/types/AudioAppearance.html +1 -0
- package/docs/types/CSS3DRenderExportType.html +1 -0
- package/docs/types/CSS3DRenderPluginExportType.html +1 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
- package/docs/types/ClassFunctionParameters.html +1 -0
- package/docs/types/Color.html +1 -0
- package/docs/types/ContentTypeConfigKey.html +1 -0
- package/docs/types/ContentTypeConfigKeySplit.html +1 -0
- package/docs/types/ContentTypeMap.html +1 -0
- package/docs/types/Create3DDomContainerReturnType.html +1 -0
- package/docs/types/Create3DElementReturnType.html +1 -0
- package/docs/types/CruisePluginExportType.html +1 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
- package/docs/types/DeprecatedTagProperty.html +3 -0
- package/docs/types/Direction-1.html +1 -0
- package/docs/types/Direction4.html +1 -0
- package/docs/types/ElementRenderer.html +2 -0
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
- package/docs/types/FloorplanRuleLabels.html +2 -0
- package/docs/types/FloorplanServerRuleLabels.html +1 -0
- package/docs/types/GuideLinePluginExportType.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
- package/docs/types/GuideLinePluginType.PathItem.html +2 -0
- package/docs/types/GuideLinePluginType.PluginData.html +2 -0
- package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
- package/docs/types/HelperEventMap.html +1 -0
- package/docs/types/InternalHelperEventMap.html +1 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
- package/docs/types/MeasureEndReason.html +1 -0
- package/docs/types/MeasurePluginConfig.html +5 -0
- package/docs/types/MeasurePluginEventMap.html +1 -0
- package/docs/types/MediaData.html +2 -0
- package/docs/types/MediaStore.html +1 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
- package/docs/types/ModelId.html +1 -0
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
- package/docs/types/MoveArgs.html +2 -0
- package/docs/types/MoveOpts.html +2 -0
- package/docs/types/Object3DHelperEventMap.html +1 -0
- package/docs/types/ObjectFit.html +1 -0
- package/docs/types/PaintBrushEventMap.html +1 -0
- package/docs/types/PanoCompassPluginData.html +1 -0
- package/docs/types/PanoCompassPluginExportType.html +1 -0
- package/docs/types/PanoCompassPluginParameterType.html +1 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
- package/docs/types/PanoIndex.html +1 -0
- package/docs/types/PanoMeasurePluginEvent.html +1 -0
- package/docs/types/PanoMeasureReturnType.html +1 -0
- package/docs/types/PanoSpatialTagPluginId.html +1 -0
- package/docs/types/PanoTagPluginExportInterface.html +1 -0
- package/docs/types/PanoTagPluginParamsInterface.html +1 -0
- package/docs/types/PanoVideoPluginParameterType.html +1 -0
- package/docs/types/PanoVideoPluginReturnType.html +1 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
- package/docs/types/PipelinePluginParameterType.html +1 -0
- package/docs/types/PipelinePluginReturnType.html +1 -0
- package/docs/types/PlaneTag.html +2 -0
- package/docs/types/Point2DTag.html +2 -0
- package/docs/types/Point3DTag.html +2 -0
- package/docs/types/PointTagInstance.html +1 -0
- package/docs/types/Position.html +1 -0
- package/docs/types/PositionFrom.html +1 -0
- package/docs/types/RotateArgs.html +2 -0
- package/docs/types/RotateOpts.html +2 -0
- package/docs/types/RuleLabelsKey.html +1 -0
- package/docs/types/RuleLabelsValue.html +1 -0
- package/docs/types/ScaleCallback.html +1 -0
- package/docs/types/ScalePosition.html +3 -0
- package/docs/types/SculptData.BoxData.html +1 -0
- package/docs/types/SculptData.CircleData.html +1 -0
- package/docs/types/SculptData.CylinderData.html +1 -0
- package/docs/types/SculptData.PointData.html +1 -0
- package/docs/types/SculptData.PolygonData.html +1 -0
- package/docs/types/SculptData.PolylineData.html +1 -0
- package/docs/types/SculptData.PrismData.html +1 -0
- package/docs/types/SculptData.RectangleData.html +1 -0
- package/docs/types/SculptType.Theme.html +10 -0
- package/docs/types/StickType.html +1 -0
- package/docs/types/Tag.html +17 -0
- package/docs/types/Tag2D.html +2 -0
- package/docs/types/Tag3D.html +2 -0
- package/docs/types/TagClickParams.html +1 -0
- package/docs/types/TagConfigByKey.html +1 -0
- package/docs/types/TagContentType.html +1 -0
- package/docs/types/TagContentTypeMapping.html +1 -0
- package/docs/types/TagDimensionType.html +1 -0
- package/docs/types/TagElement.html +2 -0
- package/docs/types/TagEvents.html +1 -0
- package/docs/types/TagGLTFObject.html +1 -0
- package/docs/types/TagHooks.html +1 -0
- package/docs/types/TagId.html +1 -0
- package/docs/types/TagInstance.html +1 -0
- package/docs/types/TagPlacement.html +5 -0
- package/docs/types/TagPointType.html +2 -0
- package/docs/types/TagRendererMap.html +1 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
- package/docs/types/Util.ActionIfNoIntersection.html +1 -0
- package/docs/types/Util.AdherePoint.html +2 -0
- package/docs/types/Util.PointSelectorConfig.html +1 -0
- package/docs/types/Util.SupportedTarget.html +2 -0
- package/docs/types/Util.Target.html +2 -0
- package/docs/types/Util.ThreeObject.html +2 -0
- package/docs/types/WorkCode.html +1 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
- package/docs/variables/PLUGIN.html +1 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
- package/docs/variables/ROOM_TYPE_MAP.html +2 -0
- package/docs/variables/Util.ANIME_PRESETS.html +2 -0
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
- package/docs/variables/defaultGlobalConfig.html +1 -0
- package/docs/variables/itemLabelPluginServerParams.html +1 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +80 -79
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -0
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +3 -4
- package/libs/CruisePlugin/Work.js +3 -4
- package/libs/CruisePlugin/index.js +7 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +5 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -4
- package/libs/GuideLinePlugin/index.js +7 -8
- package/libs/MeasurePlugin/Controller.d.ts +3 -4
- package/libs/MeasurePlugin/Controller.js +29 -29
- package/libs/MeasurePlugin/index.d.ts +2 -1
- package/libs/MeasurePlugin/index.js +6 -5
- package/libs/MeasurePlugin/utils/MeasureMesh.js +1 -1
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelMakerPlugin/Controller.js +1 -1
- package/libs/ModelMakerPlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +4 -3
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +18 -17
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +233 -232
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -21
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +1 -9
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +132 -180
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +6 -7
- package/libs/PanoTagPlugin/index.js +12 -13
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +71 -85
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoVideoPlugin/Controller.js +3 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +95 -94
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +22 -21
- package/libs/Sculpt/Meshes/Circle.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +3 -2
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -4
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Rectangle.js +4 -3
- package/libs/Sculpt/Objects/Base/index.js +1 -0
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.js +19 -18
- package/libs/Sculpt/utils/export.d.ts +1 -0
- package/libs/Sculpt/utils/export.js +23 -20
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
- package/libs/base/BasePlugin.js +8 -7
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +106 -106
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
- package/libs/shared-utils/exports.js +62 -55
- package/libs/shared-utils/five/index.js +4 -3
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +1 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +3 -2
- package/libs/shared-utils/three/PointDomHelper.js +3 -2
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/geometryUtil.js +12 -8
- package/libs/shared-utils/three/index.d.ts +2 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +139 -151
- package/package.json +2 -2
- package/dist/shared-utils/five/getFloorMesh.d.ts +0 -3
- package/libs/shared-utils/five/getFloorMesh.d.ts +0 -3
- package/libs/shared-utils/five/getFloorMesh.js +0 -11
|
@@ -0,0 +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.73.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.73.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.73.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>
|
|
@@ -0,0 +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.73.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.73.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.73.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>
|
|
@@ -0,0 +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.73.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.73.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.73.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>
|
|
@@ -40,6 +40,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
40
40
|
import "../shared-utils/three/blink.js";
|
|
41
41
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
42
42
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
43
|
+
import "../vendor/earcut/src/earcut.js";
|
|
43
44
|
import { equal as I } from "../shared-utils/equal.js";
|
|
44
45
|
import "../shared-utils/five/FivePuppet.js";
|
|
45
46
|
import { AreaMakerItem as D } from "./utils/Item.js";
|
|
@@ -110,7 +111,7 @@ import "../components/AreaLabel/Assets/fontSize.js";
|
|
|
110
111
|
import "../shared-utils/px2rem.js";
|
|
111
112
|
import "../shared-utils/math/planimetry.js";
|
|
112
113
|
import "../shared-utils/fontSize.js";
|
|
113
|
-
class
|
|
114
|
+
class oe extends k {
|
|
114
115
|
/** AreaMakerPlugin
|
|
115
116
|
* @param `five` `<Five>` Five 实例
|
|
116
117
|
* @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
|
|
@@ -385,5 +386,5 @@ class ie extends k {
|
|
|
385
386
|
}
|
|
386
387
|
}
|
|
387
388
|
export {
|
|
388
|
-
|
|
389
|
+
oe as Controller
|
|
389
390
|
};
|
|
@@ -43,6 +43,7 @@ import "../shared-utils/createResizeObserver.js";
|
|
|
43
43
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
44
44
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
45
45
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
46
|
+
import "../vendor/earcut/src/earcut.js";
|
|
46
47
|
import "../shared-utils/five/FivePuppet.js";
|
|
47
48
|
import "@realsee/five";
|
|
48
49
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
@@ -82,7 +83,7 @@ import "../components/AreaLabel/Assets/fontSize.js";
|
|
|
82
83
|
import "../shared-utils/px2rem.js";
|
|
83
84
|
import "../shared-utils/math/planimetry.js";
|
|
84
85
|
import "../shared-utils/fontSize.js";
|
|
85
|
-
const
|
|
86
|
+
const Gr = (r, o) => new t(r, o);
|
|
86
87
|
export {
|
|
87
|
-
|
|
88
|
+
Gr as AreaMakerPlugin
|
|
88
89
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var b = Object.defineProperty;
|
|
2
|
-
var k = (n,
|
|
3
|
-
var
|
|
2
|
+
var k = (n, i, t) => i in n ? b(n, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[i] = t;
|
|
3
|
+
var e = (n, i, t) => (k(n, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
4
|
import * as r from "three";
|
|
5
5
|
import "../../shared-utils/tag.js";
|
|
6
6
|
import "../../vendor/hammerjs/hammer.js";
|
|
@@ -16,6 +16,7 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
16
16
|
import "../../shared-utils/three/blink.js";
|
|
17
17
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
18
18
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
19
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
19
20
|
import { BetterTween as O } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
20
21
|
import "../../shared-utils/five/FivePuppet.js";
|
|
21
22
|
import { LabelItem as v } from "../../components/AreaLabel/LabelItem.js";
|
|
@@ -81,80 +82,80 @@ import "../../shared-utils/px2rem.js";
|
|
|
81
82
|
class P extends y {
|
|
82
83
|
constructor(t) {
|
|
83
84
|
super();
|
|
84
|
-
|
|
85
|
+
e(this, "areaMakerItem");
|
|
85
86
|
this.areaMakerItem = t;
|
|
86
87
|
}
|
|
87
88
|
raycast(t, s) {
|
|
88
89
|
this.areaMakerItem.makerObject.raycast(t, s);
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
class
|
|
92
|
-
constructor(
|
|
93
|
-
|
|
92
|
+
class ti {
|
|
93
|
+
constructor(i, t) {
|
|
94
|
+
e(this, "id");
|
|
94
95
|
/** 标注名称 */
|
|
95
|
-
|
|
96
|
+
e(this, "name", "");
|
|
96
97
|
/** 标注几何体 */
|
|
97
|
-
|
|
98
|
+
e(this, "makerObject");
|
|
98
99
|
/** 标注几何体的边框 */
|
|
99
|
-
|
|
100
|
+
e(this, "outline");
|
|
100
101
|
/** 标注底面 Y 坐标 */
|
|
101
|
-
|
|
102
|
+
e(this, "bottomY");
|
|
102
103
|
/** 标注透明度 */
|
|
103
|
-
|
|
104
|
+
e(this, "opacity");
|
|
104
105
|
/** 标注高度 */
|
|
105
|
-
|
|
106
|
+
e(this, "height");
|
|
106
107
|
/** 标注所在楼层 */
|
|
107
|
-
|
|
108
|
+
e(this, "floorIndex");
|
|
108
109
|
/** 标注底面形状 */
|
|
109
|
-
|
|
110
|
+
e(this, "shape");
|
|
110
111
|
/** 是否被挂载 */
|
|
111
|
-
|
|
112
|
+
e(this, "mounted", !1);
|
|
112
113
|
/** 查询问题使用的调试对象 */
|
|
113
|
-
|
|
114
|
+
e(this, "checkMsg", {
|
|
114
115
|
/** 当标注没有展示时,可以通过这个字段查看原因 */
|
|
115
116
|
checkVisibleMsg: "",
|
|
116
117
|
/** 当标注标签没有展示时,可以通过这个字段查看原因 */
|
|
117
118
|
checkTagVisibleMsg: ""
|
|
118
119
|
});
|
|
119
120
|
/** 模型容器 */
|
|
120
|
-
|
|
121
|
+
e(this, "modelGroup");
|
|
121
122
|
/** 标注是否可见 */
|
|
122
|
-
|
|
123
|
+
e(this, "visible", !0);
|
|
123
124
|
// ==================== 标签相关 ====================
|
|
124
125
|
/** 标注标签实例 */
|
|
125
|
-
|
|
126
|
+
e(this, "tagApp");
|
|
126
127
|
/** 标注标签是否可见 */
|
|
127
|
-
|
|
128
|
+
e(this, "tagVisible", null);
|
|
128
129
|
/** 标注标签的世界坐标 */
|
|
129
|
-
|
|
130
|
+
e(this, "tagPosition", new r.Vector3());
|
|
130
131
|
/** 标注标签的 NDC 坐标 */
|
|
131
|
-
|
|
132
|
+
e(this, "tagNDCPosition", new r.Vector3());
|
|
132
133
|
/** 标注标签的 transform */
|
|
133
|
-
|
|
134
|
+
e(this, "tagTransform", { left: 0, top: 0 });
|
|
134
135
|
/** 标注标签的显示层级 */
|
|
135
|
-
|
|
136
|
+
e(this, "tagZIndex", 0);
|
|
136
137
|
/** 标注实例的事件处理器 */
|
|
137
|
-
|
|
138
|
+
e(this, "hooks", new T());
|
|
138
139
|
/** 自定义 Dom */
|
|
139
|
-
|
|
140
|
+
e(this, "itemRenderer");
|
|
140
141
|
/** 数据 */
|
|
141
|
-
|
|
142
|
+
e(this, "data");
|
|
142
143
|
/** Plugin 实例 */
|
|
143
|
-
|
|
144
|
+
e(this, "plugin");
|
|
144
145
|
/** 标注透明度动画 */
|
|
145
|
-
|
|
146
|
+
e(this, "opacityAnime");
|
|
146
147
|
/** 是否在容器 resize 动画中 */
|
|
147
|
-
|
|
148
|
+
e(this, "isInContainerResizeAnimation", !1);
|
|
148
149
|
/** 监听容器 resize 的计时器 id,用于判断 resize 过程是否结束 */
|
|
149
|
-
|
|
150
|
+
e(this, "containerResizeTimeoutID", null);
|
|
150
151
|
/** 容器大小变化监听器 */
|
|
151
|
-
|
|
152
|
+
e(this, "resizeObserver");
|
|
152
153
|
/** 响应式字体大小管理器 */
|
|
153
|
-
|
|
154
|
+
e(this, "fontSizeManager", V());
|
|
154
155
|
/** 当前字体大小 */
|
|
155
|
-
|
|
156
|
+
e(this, "currentFontSize", j());
|
|
156
157
|
/** 字体大小订阅取消函数 */
|
|
157
|
-
|
|
158
|
+
e(this, "unsubscribeFontSize", null);
|
|
158
159
|
/** 显示标注 */
|
|
159
160
|
// public show() {
|
|
160
161
|
// return this.doOpacityAnime({
|
|
@@ -174,10 +175,10 @@ class Qt {
|
|
|
174
175
|
// })
|
|
175
176
|
// }
|
|
176
177
|
/** 透明度动画 */
|
|
177
|
-
|
|
178
|
+
e(this, "doOpacityAnime", (i) => {
|
|
178
179
|
var p;
|
|
179
180
|
(p = this.opacityAnime) == null || p.dispose();
|
|
180
|
-
const t =
|
|
181
|
+
const t = i.duration, [s, o] = i.makerObjectOpacity, [h, a] = i.outlineOpacity;
|
|
181
182
|
if (t === 0) {
|
|
182
183
|
this.makerObject.material.opacity = o, this.outline.material.opacity = a;
|
|
183
184
|
return;
|
|
@@ -194,53 +195,53 @@ class Qt {
|
|
|
194
195
|
});
|
|
195
196
|
});
|
|
196
197
|
/** 插件 Config 变化时更新自身 depthTest */
|
|
197
|
-
|
|
198
|
-
this.makerObject.material.depthTest =
|
|
198
|
+
e(this, "onPluginConfigChange", (i) => {
|
|
199
|
+
this.makerObject.material.depthTest = i.config.modelDepthTest, this.outline.material.depthTest = i.config.modelDepthTest, this.plugin.five.needsRender = !0;
|
|
199
200
|
});
|
|
200
201
|
/** 插件整体可见性变化时,需要更新自身可见性 */
|
|
201
|
-
|
|
202
|
+
e(this, "onPluginStateChange", () => {
|
|
202
203
|
this.updateVisible(), this.updateTagVisible();
|
|
203
204
|
});
|
|
204
205
|
/** 更新标注可见性 */
|
|
205
|
-
|
|
206
|
+
e(this, "updateVisible", () => {
|
|
206
207
|
var o;
|
|
207
|
-
const { result:
|
|
208
|
-
if (this.checkMsg.checkVisibleMsg = t, this.visible ===
|
|
208
|
+
const { result: i, msg: t } = this.checkVisible();
|
|
209
|
+
if (this.checkMsg.checkVisibleMsg = t, this.visible === i)
|
|
209
210
|
return;
|
|
210
|
-
this.visible =
|
|
211
|
+
this.visible = i;
|
|
211
212
|
const s = (o = this.data.object_data.visible) != null ? o : !0;
|
|
212
|
-
this.modelGroup.visible =
|
|
213
|
+
this.modelGroup.visible = i && s, this.plugin.five.needsRender = !0;
|
|
213
214
|
});
|
|
214
215
|
/** 检测标注是否可见 */
|
|
215
|
-
|
|
216
|
+
e(this, "checkVisible", () => {
|
|
216
217
|
if (!this.plugin.state.visible)
|
|
217
218
|
return { result: !1, msg: "插件不可见" };
|
|
218
219
|
const t = this.plugin.fiveUtil.model.shownFloor;
|
|
219
220
|
return t === null || t === this.floorIndex ? { result: !0, msg: "" } : { result: !1, msg: `模型高亮楼层不符合展示条件, 当前高亮楼层为:${t}` };
|
|
220
221
|
});
|
|
221
222
|
/** 更新标注标签 */
|
|
222
|
-
|
|
223
|
+
e(this, "updateTag", () => {
|
|
223
224
|
this.tagApp && (this.updateTagNDCPosition(), this.updateTagDomTransform(), this.updateTagVisible());
|
|
224
225
|
});
|
|
225
226
|
/** 更新标注标签的 NDC Position */
|
|
226
|
-
|
|
227
|
+
e(this, "updateTagNDCPosition", () => {
|
|
227
228
|
const t = this.tagPosition.clone().project(this.plugin.five.camera);
|
|
228
229
|
this.tagNDCPosition.copy(t);
|
|
229
230
|
});
|
|
230
231
|
/** 更新标注标签的 transform */
|
|
231
|
-
|
|
232
|
+
e(this, "updateTagDomTransform", () => {
|
|
232
233
|
var o;
|
|
233
|
-
const
|
|
234
|
+
const i = this.tagNDCPosition, t = Math.round((i.x + 1) / 2 * this.plugin.tagDomContainer.clientWidth), s = Math.round((-i.y + 1) / 2 * this.plugin.tagDomContainer.clientHeight);
|
|
234
235
|
this.tagTransform.left === t && this.tagTransform.top === s || (this.tagTransform = { left: t, top: s }, (o = this.tagApp) == null || o.$set({ transform: `translate(${t}px, ${s}px)` }));
|
|
235
236
|
});
|
|
236
237
|
/** 更新标注标签可见性 */
|
|
237
|
-
|
|
238
|
+
e(this, "updateTagVisible", () => {
|
|
238
239
|
var s;
|
|
239
|
-
const { result:
|
|
240
|
-
this.checkMsg.checkTagVisibleMsg = t, this.tagVisible !==
|
|
240
|
+
const { result: i, msg: t } = this.checkTagVisible();
|
|
241
|
+
this.checkMsg.checkTagVisibleMsg = t, this.tagVisible !== i && (this.tagVisible = i, this.tagApp && (this.tagVisible ? this.hooks.emit("tagShow") : this.hooks.emit("tagHide"), (s = this.tagApp) == null || s.$set({ visible: i })));
|
|
241
242
|
});
|
|
242
243
|
/** 检测标注标签是否可见 */
|
|
243
|
-
|
|
244
|
+
e(this, "checkTagVisible", () => {
|
|
244
245
|
if (!this.visible)
|
|
245
246
|
return { result: !1, msg: "标注整体不可见" };
|
|
246
247
|
if (this.isInContainerResizeAnimation)
|
|
@@ -254,11 +255,11 @@ class Qt {
|
|
|
254
255
|
return Math.abs(a.x) > 1.2 || Math.abs(a.y) > 1.2 || Math.abs(a.z) > 1 ? { result: !1, msg: "标注标签不在屏幕内" } : { result: !0, msg: "" };
|
|
255
256
|
});
|
|
256
257
|
/** 相机位姿发生变化时,更新标签 */
|
|
257
|
-
|
|
258
|
+
e(this, "onFiveCameraUpdate", () => {
|
|
258
259
|
this.tagApp && this.visible && (this.updateTagNDCPosition(), this.updateTagDomTransform(), this.updateTagVisible());
|
|
259
260
|
});
|
|
260
261
|
/** tag container DOM 发生 resize */
|
|
261
|
-
|
|
262
|
+
e(this, "onContainerResize", () => {
|
|
262
263
|
this.isInContainerResizeAnimation === !1 && (this.isInContainerResizeAnimation = !0, this.updateTag());
|
|
263
264
|
const t = () => {
|
|
264
265
|
this.isInContainerResizeAnimation = !1, this.containerResizeTimeoutID = null, this.updateTag();
|
|
@@ -266,12 +267,12 @@ class Qt {
|
|
|
266
267
|
this.containerResizeTimeoutID && clearTimeout(this.containerResizeTimeoutID), this.containerResizeTimeoutID = setTimeout(t, 100);
|
|
267
268
|
});
|
|
268
269
|
/** 更新标注字体大小 */
|
|
269
|
-
|
|
270
|
+
e(this, "updateTagFontSize", () => {
|
|
270
271
|
this.tagApp && this.tagApp.$set({ fontSize: this.currentFontSize });
|
|
271
272
|
});
|
|
272
273
|
var m, l, c, g;
|
|
273
274
|
const s = t.object_data, o = s.bottom_y, h = s.height, a = new r.Color((m = s.color) != null ? m : "#FFFFFF"), p = (l = s.opacity) != null ? l : 0.4;
|
|
274
|
-
this.data = t, this.id = t.id, this.name = (c = t.name) != null ? c : "", this.plugin =
|
|
275
|
+
this.data = t, this.id = t.id, this.name = (c = t.name) != null ? c : "", this.plugin = i, this.height = h, this.bottomY = o, this.opacity = p, this.shape = new r.Shape().fromJSON(s.shape), this.floorIndex = t.floor_index, this.makerObject = new r.Mesh(d(this.shape, h), S(a, p)), u(this.makerObject, o), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new C(
|
|
275
276
|
new r.EdgesGeometry(this.makerObject.geometry),
|
|
276
277
|
new r.LineBasicMaterial({ color: a, transparent: !0 })
|
|
277
278
|
), u(this.outline, o), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(h), this.modelGroup = new P(this), this.modelGroup.visible = (g = s.visible) != null ? g : !0;
|
|
@@ -281,8 +282,8 @@ class Qt {
|
|
|
281
282
|
if (this.mounted)
|
|
282
283
|
return;
|
|
283
284
|
this.mounted = !0, this.updateVisible(), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.modelGroup.add(this.makerObject, this.outline);
|
|
284
|
-
const
|
|
285
|
-
|
|
285
|
+
const i = !!this.name, t = this.plugin.tagDomContainer;
|
|
286
|
+
i && (this.tagApp = new v({
|
|
286
287
|
target: t,
|
|
287
288
|
props: {
|
|
288
289
|
fontSize: this.currentFontSize,
|
|
@@ -299,32 +300,32 @@ class Qt {
|
|
|
299
300
|
}
|
|
300
301
|
/** 卸载标注 */
|
|
301
302
|
unmount() {
|
|
302
|
-
var
|
|
303
|
-
this.mounted && (this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (
|
|
303
|
+
var i, t, s;
|
|
304
|
+
this.mounted && (this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (i = this.tagApp) == null || i.$destroy(), this.tagApp = null, this.plugin.hooks.off("stateChange", this.onPluginStateChange), this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate), (t = this.resizeObserver) == null || t.unobserve(), (s = this.unsubscribeFontSize) == null || s.call(this));
|
|
304
305
|
}
|
|
305
306
|
/** 更改标注透明度
|
|
306
307
|
* @param opacity 标注透明度,范围:0-1
|
|
307
308
|
*/
|
|
308
|
-
setOpacity(
|
|
309
|
+
setOpacity(i) {
|
|
309
310
|
var t;
|
|
310
|
-
this.opacity =
|
|
311
|
+
this.opacity = i, (t = this.opacityAnime) == null || t.dispose(), this.makerObject.material.opacity = i, this.plugin.five.needsRender = !0;
|
|
311
312
|
}
|
|
312
313
|
/** 更改标注颜色
|
|
313
314
|
* @param color 标注颜色,支持 hex
|
|
314
315
|
* @example setColor('#FF0000')
|
|
315
316
|
*/
|
|
316
|
-
setColor(
|
|
317
|
-
const t = new r.Color(
|
|
317
|
+
setColor(i) {
|
|
318
|
+
const t = new r.Color(i);
|
|
318
319
|
this.makerObject.material.color = t, this.outline.material.color = t, this.plugin.five.needsRender = !0;
|
|
319
320
|
}
|
|
320
321
|
/** 更改标注高度
|
|
321
322
|
* @param height 标注高度,单位:米
|
|
322
323
|
*/
|
|
323
|
-
setHeight(
|
|
324
|
-
if (
|
|
324
|
+
setHeight(i) {
|
|
325
|
+
if (i <= 0)
|
|
325
326
|
throw new Error("高度必须大于 0");
|
|
326
|
-
this.height =
|
|
327
|
-
const t = this.shape.extractPoints(10).shape.slice(0, -1), s = M(t), o = new r.Vector3(s.x, s.y,
|
|
327
|
+
this.height = i, this.makerObject.geometry = d(this.shape, i), this.outline.geometry = new r.EdgesGeometry(this.makerObject.geometry);
|
|
328
|
+
const t = this.shape.extractPoints(10).shape.slice(0, -1), s = M(t), o = new r.Vector3(s.x, s.y, i);
|
|
328
329
|
u(o, this.bottomY), this.tagPosition.copy(o), this.updateTag(), this.plugin.five.needsRender = !0;
|
|
329
330
|
}
|
|
330
331
|
/** 更改标注标签的显示层级
|
|
@@ -335,28 +336,28 @@ class Qt {
|
|
|
335
336
|
* - 标签 A <- 标签 B <- 相机: 标签 A 在标签 B 的后面
|
|
336
337
|
* 但是当前元素是无法感知到这种变化的,所以需要通过父元素调用这个方法来更新标签的层级。
|
|
337
338
|
*/
|
|
338
|
-
setTagZIndex(
|
|
339
|
+
setTagZIndex(i) {
|
|
339
340
|
var t;
|
|
340
|
-
this.tagZIndex !==
|
|
341
|
+
this.tagZIndex !== i && ((t = this.tagApp) == null || t.$set({ zIndex: i }));
|
|
341
342
|
}
|
|
342
343
|
}
|
|
343
|
-
function d(n,
|
|
344
|
+
function d(n, i) {
|
|
344
345
|
return new r.ExtrudeBufferGeometry(n, {
|
|
345
|
-
depth:
|
|
346
|
+
depth: i,
|
|
346
347
|
bevelEnabled: !1
|
|
347
348
|
});
|
|
348
349
|
}
|
|
349
|
-
function S(n,
|
|
350
|
+
function S(n, i) {
|
|
350
351
|
return new r.MeshBasicMaterial({
|
|
351
352
|
color: n,
|
|
352
|
-
opacity:
|
|
353
|
+
opacity: i,
|
|
353
354
|
transparent: !0
|
|
354
355
|
});
|
|
355
356
|
}
|
|
356
|
-
function u(n,
|
|
357
|
-
const t = new r.Matrix4(), s = new r.Matrix4().makeRotationX(Math.PI / 2), o = new r.Matrix4().makeTranslation(0, 0, -
|
|
357
|
+
function u(n, i) {
|
|
358
|
+
const t = new r.Matrix4(), s = new r.Matrix4().makeRotationX(Math.PI / 2), o = new r.Matrix4().makeTranslation(0, 0, -i), h = new r.Matrix4().makeScale(1, 1, -1);
|
|
358
359
|
t.multiply(s), t.multiply(o), t.multiply(h), n.applyMatrix4(t);
|
|
359
360
|
}
|
|
360
361
|
export {
|
|
361
|
-
|
|
362
|
+
ti as AreaMakerItem
|
|
362
363
|
};
|
|
@@ -24,6 +24,7 @@ import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
24
24
|
import "../shared-utils/three/core/Sphere.js";
|
|
25
25
|
import "../shared-utils/three/blink.js";
|
|
26
26
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
27
|
+
import "../vendor/earcut/src/earcut.js";
|
|
27
28
|
import { DEFAULT_STATIC_PREFIX as j } from "../shared-utils/url/defaultUrls.js";
|
|
28
29
|
import "../shared-utils/five/FivePuppet.js";
|
|
29
30
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -78,7 +79,7 @@ import "../Sculpt/utils/three/rayOnLine.js";
|
|
|
78
79
|
import "../vendor/animejs/lib/anime.es.js";
|
|
79
80
|
import "@realsee/five";
|
|
80
81
|
const f = "v2.0.1", E = `CSS3DRenderPlugin@${f}`;
|
|
81
|
-
class
|
|
82
|
+
class ke extends T {
|
|
82
83
|
constructor(e) {
|
|
83
84
|
super();
|
|
84
85
|
n(this, "five");
|
|
@@ -185,5 +186,5 @@ class Xe extends T {
|
|
|
185
186
|
}
|
|
186
187
|
export {
|
|
187
188
|
E as PLUGIN_NAME,
|
|
188
|
-
|
|
189
|
+
ke as default
|
|
189
190
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "./Controller.js";
|
|
2
|
-
import { CSS3DRender as
|
|
2
|
+
import { CSS3DRender as Rr } from "./utils/three/CSS3DRender.js";
|
|
3
3
|
import "./utils/generateBehindFiveElement.js";
|
|
4
4
|
import "../shared-utils/tag.js";
|
|
5
5
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -36,6 +36,7 @@ import "../shared-utils/three/blink.js";
|
|
|
36
36
|
import "../vendor/animejs/lib/anime.es.js";
|
|
37
37
|
import "../shared-utils/util.js";
|
|
38
38
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
39
|
+
import "../vendor/earcut/src/earcut.js";
|
|
39
40
|
import "../shared-utils/five/FivePuppet.js";
|
|
40
41
|
import "@realsee/five";
|
|
41
42
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
@@ -65,9 +66,9 @@ import "../shared-utils/url/defaultUrls.js";
|
|
|
65
66
|
import "./utils/three/CSS3DScene.js";
|
|
66
67
|
import "./utils/getAllCSS3DObject.js";
|
|
67
68
|
import "./utils/three/CSS3DGroup.js";
|
|
68
|
-
const
|
|
69
|
+
const ur = (r) => new o(r);
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
Rr as CSS3DRender,
|
|
72
|
+
ur as CSS3DRenderPlugin,
|
|
73
|
+
ur as default
|
|
73
74
|
};
|
|
@@ -19,6 +19,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
19
19
|
import "../../../shared-utils/three/blink.js";
|
|
20
20
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
21
|
import "./CSS3DRender.js";
|
|
22
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
22
23
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
23
24
|
import "../../../shared-utils/positionToVector3.js";
|
|
24
25
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -67,7 +68,7 @@ import "../getAllCSS3DObject.js";
|
|
|
67
68
|
import "./CSS3DGroup.js";
|
|
68
69
|
import "@realsee/five";
|
|
69
70
|
const $ = 1, W = `CSS3DObjectPlus@${$}`, k = 216e-5, z = 3e-3;
|
|
70
|
-
class
|
|
71
|
+
class ei extends T {
|
|
71
72
|
constructor(t) {
|
|
72
73
|
var x, b, w, g, V;
|
|
73
74
|
if (O(t.cornerPoints) && O(t.width))
|
|
@@ -173,7 +174,7 @@ class ii extends T {
|
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
export {
|
|
176
|
-
|
|
177
|
+
ei as CSS3DObjectPlus,
|
|
177
178
|
z as DefaultRatio,
|
|
178
179
|
k as MinRatio
|
|
179
180
|
};
|
|
@@ -83,6 +83,7 @@ import "../../../shared-utils/three/blink.js";
|
|
|
83
83
|
import "../../../vendor/animejs/lib/anime.es.js";
|
|
84
84
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
85
85
|
import "./CSS3DRender.js";
|
|
86
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
86
87
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
87
88
|
import "@realsee/five";
|
|
88
89
|
import "./CSS3DSprite.js";
|
|
@@ -39,6 +39,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
39
39
|
import "../shared-utils/three/blink.js";
|
|
40
40
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
41
41
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
42
|
+
import "../vendor/earcut/src/earcut.js";
|
|
42
43
|
import { equal as L } from "../shared-utils/equal.js";
|
|
43
44
|
import "../shared-utils/five/FivePuppet.js";
|
|
44
45
|
import { objectAssignDeepExports as C } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -96,8 +97,8 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
96
97
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
97
98
|
import "@realsee/five";
|
|
98
99
|
import "../shared-utils/isTruelyObject.js";
|
|
99
|
-
const g = "CruisePlugin", p = `${g}`,
|
|
100
|
-
class
|
|
100
|
+
const g = "CruisePlugin", p = `${g}`, Be = (a) => `${p}--${a}`;
|
|
101
|
+
class Fe extends y {
|
|
101
102
|
constructor(e, t) {
|
|
102
103
|
super(e, t);
|
|
103
104
|
o(this, "state", {
|
|
@@ -272,6 +273,6 @@ class Be extends y {
|
|
|
272
273
|
}
|
|
273
274
|
}
|
|
274
275
|
export {
|
|
275
|
-
|
|
276
|
-
|
|
276
|
+
Fe as default,
|
|
277
|
+
Be as pluginFlag
|
|
277
278
|
};
|
|
@@ -42,6 +42,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
42
42
|
import "../shared-utils/three/blink.js";
|
|
43
43
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
44
44
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
45
|
+
import "../vendor/earcut/src/earcut.js";
|
|
45
46
|
import { uuid as A } from "../shared-utils/uuid.js";
|
|
46
47
|
import "../shared-utils/five/FivePuppet.js";
|
|
47
48
|
import { getFiveStateOnCurve as v } from "./utils/getFiveStateOnCurve.js";
|
|
@@ -303,7 +304,6 @@ import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
303
304
|
import "../Sculpt/Meshes/Polygon.js";
|
|
304
305
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
305
306
|
import "../shared-utils/three/earcut3D.js";
|
|
306
|
-
import "../vendor/earcut/src/earcut.js";
|
|
307
307
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
308
308
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
309
309
|
import "../shared-utils/three/geometryUtil.js";
|
|
@@ -333,7 +333,6 @@ import "../Sculpt/Editors/BoxMeshEditor.js";
|
|
|
333
333
|
import "../Sculpt/Meshes/Box.js";
|
|
334
334
|
import "../shared-utils/forReverseEach.js";
|
|
335
335
|
import "../Sculpt/Objects/Line/index.js";
|
|
336
|
-
import "../shared-utils/five/getFloorMesh.js";
|
|
337
336
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
338
337
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
339
338
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
@@ -366,7 +365,7 @@ import "./utils/coordinatesToVector.js";
|
|
|
366
365
|
import "./utils/safeCall.js";
|
|
367
366
|
import "./utils/sleep.js";
|
|
368
367
|
import "../shared-utils/five/fiveLoaded.js";
|
|
369
|
-
class
|
|
368
|
+
class Yp extends z {
|
|
370
369
|
constructor(t, r) {
|
|
371
370
|
var h;
|
|
372
371
|
super(t, r);
|
|
@@ -474,5 +473,5 @@ class Zp extends z {
|
|
|
474
473
|
}
|
|
475
474
|
}
|
|
476
475
|
export {
|
|
477
|
-
|
|
476
|
+
Yp as default
|
|
478
477
|
};
|
|
@@ -48,6 +48,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
48
48
|
import "../shared-utils/three/blink.js";
|
|
49
49
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
50
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
51
|
+
import "../vendor/earcut/src/earcut.js";
|
|
51
52
|
import "../shared-utils/five/FivePuppet.js";
|
|
52
53
|
import "../GuideLinePlugin/Controller.js";
|
|
53
54
|
import "../base/BasePluginWithData.js";
|
|
@@ -289,7 +290,6 @@ import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
289
290
|
import "../Sculpt/Meshes/Polygon.js";
|
|
290
291
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
291
292
|
import "../shared-utils/three/earcut3D.js";
|
|
292
|
-
import "../vendor/earcut/src/earcut.js";
|
|
293
293
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
294
294
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
295
295
|
import "../shared-utils/three/geometryUtil.js";
|
|
@@ -319,7 +319,6 @@ import "../Sculpt/Editors/BoxMeshEditor.js";
|
|
|
319
319
|
import "../Sculpt/Meshes/Box.js";
|
|
320
320
|
import "../shared-utils/forReverseEach.js";
|
|
321
321
|
import "../Sculpt/Objects/Line/index.js";
|
|
322
|
-
import "../shared-utils/five/getFloorMesh.js";
|
|
323
322
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
324
323
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
325
324
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
@@ -366,7 +365,7 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
366
365
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
367
366
|
import "./Work.js";
|
|
368
367
|
import "./utils/coordinatesToVector.js";
|
|
369
|
-
class
|
|
368
|
+
class ta extends G {
|
|
370
369
|
constructor(t, i) {
|
|
371
370
|
super(t, i);
|
|
372
371
|
k(this, "state", {
|
|
@@ -757,5 +756,5 @@ class ia extends G {
|
|
|
757
756
|
}
|
|
758
757
|
}
|
|
759
758
|
export {
|
|
760
|
-
|
|
759
|
+
ta as default
|
|
761
760
|
};
|