@realsee/dnalogel 3.63.4-alpha.3 → 3.63.4-alpha.5
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/Sculpt/Meshes/Line.d.ts +6 -2
- package/dist/Sculpt/Meshes/Point.d.ts +4 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +4 -0
- package/dist/Sculpt/utils/renderDom.d.ts +19 -0
- package/dist/index.cjs.js +74 -74
- package/dist/index.js +4619 -4579
- package/dist/index.umd.js +62 -62
- package/dist/shared-utils/three/PointSelector/index.d.ts +3 -7
- package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +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 +2 -2
- 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.LightTag.html +2 -2
- 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.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +12 -12
- 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 +10 -6
- package/docs/classes/Util.sculpt.PointMesh.html +10 -6
- package/docs/classes/Util.sculpt.PolygonMesh.html +10 -6
- 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 +10 -6
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +9 -5
- 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.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.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/GuideLinePluginType.RouteConfig.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.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- 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.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 +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.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/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/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 +1 -1
- 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/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/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +3 -2
- 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 +3 -2
- package/libs/CruisePlugin/BaseController.js +13 -12
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/MeasurePlugin/Controller.js +8 -8
- package/libs/MeasurePlugin/index.js +1 -1
- package/libs/MeasurePlugin/utils/MeasureMesh.js +14 -16
- 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 +3 -2
- 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/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +44 -43
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
- package/libs/PanoMeasurePlugin/index.js +14 -13
- 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/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +58 -57
- 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 +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- 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 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.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 +3 -2
- 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 +23 -22
- package/libs/Sculpt/Meshes/Line.d.ts +6 -2
- package/libs/Sculpt/Meshes/Line.js +113 -106
- package/libs/Sculpt/Meshes/Point.d.ts +4 -0
- package/libs/Sculpt/Meshes/Point.js +72 -62
- package/libs/Sculpt/Meshes/Polygon.d.ts +4 -0
- package/libs/Sculpt/Meshes/Polygon.js +56 -43
- package/libs/Sculpt/Meshes/Polyline.js +22 -25
- package/libs/Sculpt/Objects/Base/index.js +15 -18
- package/libs/Sculpt/utils/renderDom.d.ts +19 -0
- package/libs/Sculpt/utils/renderDom.js +22 -0
- package/libs/Sculpt/utils/unit.js +13 -1
- package/libs/base/BasePlugin.js +1 -1
- 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/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +3 -7
- package/libs/shared-utils/three/PointSelector/index.js +24 -23
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -3
- package/package.json +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +0 -13
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var
|
|
1
|
+
var y = Object.defineProperty, u = Object.defineProperties;
|
|
2
2
|
var g = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var c = Object.getOwnPropertySymbols;
|
|
4
|
+
var I = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var m = (o, t, e) => t in o ? y(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, l = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
I.call(t, e) && m(o, e, t[e]);
|
|
8
|
+
if (c)
|
|
9
|
+
for (var e of c(t))
|
|
10
|
+
D.call(t, e) && m(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, f = (o, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, f = (o, t) => u(o, g(t));
|
|
13
|
+
var r = (o, t, e) => (m(o, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
14
|
import * as n from "three";
|
|
15
15
|
import { generatePolygonGeometry as H } from "../../shared-utils/three/generatePolygonGeometry.js";
|
|
16
|
-
import { anyPositionToVector3 as
|
|
16
|
+
import { anyPositionToVector3 as _ } from "../../shared-utils/positionToVector3.js";
|
|
17
17
|
import { ColoredMesh as v } from "../utils/three/ColoredMesh.js";
|
|
18
18
|
import { getGeometryInfo as S } from "../../shared-utils/three/geometryUtil.js";
|
|
19
|
-
import { LightTag as
|
|
19
|
+
import { LightTag as P } from "../../shared-utils/tag.js";
|
|
20
20
|
import { getLengthHTML as w } from "../utils/Meshes/getLengthHTML.js";
|
|
21
21
|
import { localToWorld as A } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
22
22
|
import "../../vendor/hammerjs/hammer.js";
|
|
@@ -24,34 +24,47 @@ import "../../shared-utils/three/PointSelector/index.js";
|
|
|
24
24
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
25
25
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
26
26
|
import "@realsee/five/line";
|
|
27
|
-
import { notNil as
|
|
27
|
+
import { notNil as b } from "../../shared-utils/isNil.js";
|
|
28
28
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
29
|
-
import {
|
|
29
|
+
import { transformUnitSquare as k } from "../utils/unit.js";
|
|
30
|
+
import { RenderDom as h } from "../utils/renderDom.js";
|
|
30
31
|
import "../../shared-utils/three/core/Sphere.js";
|
|
31
32
|
import "../../vendor/animejs/lib/anime.es.js";
|
|
32
33
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
33
34
|
import "../../shared-utils/five/FivePuppet.js";
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class
|
|
35
|
+
const p = new n.BufferGeometry();
|
|
36
|
+
p.name = "blankGeometry";
|
|
37
|
+
p.isBlank = !0;
|
|
38
|
+
class Q extends v {
|
|
38
39
|
constructor(e) {
|
|
39
40
|
super(e);
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
r(this, "name", "PolygonMesh");
|
|
42
|
+
r(this, "points", []);
|
|
43
|
+
r(this, "planeHelperNeedUpdate", !0);
|
|
44
|
+
r(this, "geometryInfoNeedUpdate", !0);
|
|
45
|
+
r(this, "_paramsStyle");
|
|
46
|
+
r(this, "planeHelper", null);
|
|
47
|
+
r(this, "_geometryInfo", null);
|
|
48
|
+
r(this, "lastRenderAreaItem");
|
|
49
|
+
r(this, "areaDom");
|
|
50
|
+
r(this, "_onAdded", () => {
|
|
51
|
+
this.areaDom || this.updateAreaItems();
|
|
52
|
+
});
|
|
53
|
+
r(this, "_onRemoved", () => {
|
|
54
|
+
var e;
|
|
55
|
+
(e = this.areaDom) == null || e.destroy(), this.areaDom = void 0;
|
|
56
|
+
});
|
|
57
|
+
r(this, "_onShowed", () => {
|
|
58
|
+
this.areaDom && (this.areaDom.container.style.display = "block");
|
|
59
|
+
});
|
|
60
|
+
r(this, "_onHidden", () => {
|
|
61
|
+
this.areaDom && (this.areaDom.container.style.display = "none");
|
|
62
|
+
});
|
|
49
63
|
e != null && e.points && this.setPoints(e.points), this._paramsStyle = e != null ? e : {}, this.updateAreaItems(), this.addEventListener("removed", () => {
|
|
50
|
-
|
|
51
|
-
(r = this.areaDom) == null || r.destroy(), this.areaDom = void 0;
|
|
64
|
+
h.cacheObject.delete(this), h.checkDom(this);
|
|
52
65
|
}), this.addEventListener("added", () => {
|
|
53
|
-
|
|
54
|
-
});
|
|
66
|
+
h.cacheObject.add(this);
|
|
67
|
+
}), h.checkDomEveryFrame();
|
|
55
68
|
}
|
|
56
69
|
get normal() {
|
|
57
70
|
return this.points.length >= 3 ? new n.Vector3().crossVectors(this.points[1].clone().sub(this.points[0]), this.points[2].clone().sub(this.points[0])).normalize() : new n.Vector3(0, 0, 1);
|
|
@@ -70,13 +83,13 @@ class K extends v {
|
|
|
70
83
|
return this.geometryInfoNeedUpdate && (this.isBlank ? this._geometryInfo = null : this._geometryInfo = S(this.geometry), this.geometryInfoNeedUpdate = !1), this._geometryInfo;
|
|
71
84
|
}
|
|
72
85
|
get five() {
|
|
73
|
-
var e,
|
|
74
|
-
return (
|
|
86
|
+
var e, i;
|
|
87
|
+
return (i = (e = window.globalModules) == null ? void 0 : e.five) != null ? i : window.$five;
|
|
75
88
|
}
|
|
76
89
|
updateMatrixWorld(e) {
|
|
77
90
|
if (super.updateMatrixWorld(e), this.center) {
|
|
78
|
-
const
|
|
79
|
-
|
|
91
|
+
const i = A(this, this.center).toArray().join(",");
|
|
92
|
+
i !== this.lastRenderAreaItem && (this.updateAreaItems(), this.lastRenderAreaItem = i);
|
|
80
93
|
}
|
|
81
94
|
}
|
|
82
95
|
setStyle(e) {
|
|
@@ -84,8 +97,8 @@ class K extends v {
|
|
|
84
97
|
}
|
|
85
98
|
setPoints(e) {
|
|
86
99
|
var a;
|
|
87
|
-
const
|
|
88
|
-
this.points =
|
|
100
|
+
const i = e.map(_);
|
|
101
|
+
this.points = i, this.geometry = (a = H(this.points, { checkLinesIntersect: !0 })) != null ? a : p, this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0, this.updateAreaItems();
|
|
89
102
|
}
|
|
90
103
|
/**
|
|
91
104
|
* @description: 获取一个点投影在当前平面上的点
|
|
@@ -97,7 +110,7 @@ class K extends v {
|
|
|
97
110
|
this.points.length >= 3 ? this.planeHelper = new n.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.planeHelper = null, this.planeHelperNeedUpdate = !1;
|
|
98
111
|
}
|
|
99
112
|
updateAreaItems() {
|
|
100
|
-
var a,
|
|
113
|
+
var a, d;
|
|
101
114
|
const e = () => {
|
|
102
115
|
var s;
|
|
103
116
|
(s = this.areaDom) == null || s.destroy(), this.areaDom = void 0;
|
|
@@ -107,15 +120,15 @@ class K extends v {
|
|
|
107
120
|
if (!this.five)
|
|
108
121
|
return console.error("Five not found");
|
|
109
122
|
this.areaDom = (a = this.areaDom) != null ? a : (() => {
|
|
110
|
-
const s = new
|
|
123
|
+
const s = new P(this.five);
|
|
111
124
|
return s.intersectCheck = !1, s.simulate3D = !0, s;
|
|
112
125
|
})(), this.areaDom.setPosition(this.center);
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
style: `color: #${
|
|
126
|
+
const i = k(this.geometryInfo.area, this._paramsStyle.lengthUnit);
|
|
127
|
+
i ? this.areaDom.container.innerHTML = w(i, {
|
|
128
|
+
style: `color: #${b((d = this.style) == null ? void 0 : d.color) ? new n.Color(this.style.color).getHexString() : "000000"}`
|
|
116
129
|
}) : this.areaDom.container.innerHTML = "";
|
|
117
130
|
}
|
|
118
131
|
}
|
|
119
132
|
export {
|
|
120
|
-
|
|
133
|
+
Q as PolygonMesh
|
|
121
134
|
};
|
|
@@ -2,12 +2,12 @@ var M = Object.defineProperty, E = Object.defineProperties;
|
|
|
2
2
|
var b = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var a = Object.getOwnPropertySymbols;
|
|
4
4
|
var g = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var p = (e, l, t) => l in e ? M(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, r = (e, l) => {
|
|
6
6
|
for (var t in l || (l = {}))
|
|
7
|
-
g.call(l, t) &&
|
|
7
|
+
g.call(l, t) && p(e, t, l[t]);
|
|
8
8
|
if (a)
|
|
9
9
|
for (var t of a(l))
|
|
10
|
-
f.call(l, t) &&
|
|
10
|
+
f.call(l, t) && p(e, t, l[t]);
|
|
11
11
|
return e;
|
|
12
12
|
}, c = (e, l) => E(e, b(l));
|
|
13
13
|
var S = (e, l) => {
|
|
@@ -19,14 +19,13 @@ var S = (e, l) => {
|
|
|
19
19
|
l.indexOf(i) < 0 && f.call(e, i) && (t[i] = e[i]);
|
|
20
20
|
return t;
|
|
21
21
|
};
|
|
22
|
-
var h = (e, l, t) => (
|
|
23
|
-
import { anyPositionToVector3 as
|
|
24
|
-
import { IObject3D as
|
|
25
|
-
import { LineWithDotsMesh as
|
|
26
|
-
import * as
|
|
27
|
-
import { closeVectors as
|
|
28
|
-
|
|
29
|
-
class P extends D {
|
|
22
|
+
var h = (e, l, t) => (p(e, typeof l != "symbol" ? l + "" : l, t), t);
|
|
23
|
+
import { anyPositionToVector3 as D } from "../../shared-utils/positionToVector3.js";
|
|
24
|
+
import { IObject3D as V } from "../../shared-utils/three/IObject3D.js";
|
|
25
|
+
import { LineWithDotsMesh as W } from "./LineWithDots.js";
|
|
26
|
+
import * as w from "three";
|
|
27
|
+
import { closeVectors as C } from "../../shared-utils/three/closeVectors.js";
|
|
28
|
+
class P extends V {
|
|
30
29
|
constructor(t) {
|
|
31
30
|
super();
|
|
32
31
|
h(this, "name", "PolylineBaseMesh");
|
|
@@ -34,9 +33,7 @@ class P extends D {
|
|
|
34
33
|
h(this, "withDots");
|
|
35
34
|
h(this, "paramsStyle");
|
|
36
35
|
const n = t, { withDots: i, points: s } = n, o = S(n, ["withDots", "points"]);
|
|
37
|
-
this.withDots = i != null ? i : !0, s && this.setPoints(s), o && this.setStyle(o)
|
|
38
|
-
C(this);
|
|
39
|
-
});
|
|
36
|
+
this.withDots = i != null ? i : !0, s && this.setPoints(s), o && this.setStyle(o);
|
|
40
37
|
}
|
|
41
38
|
get style() {
|
|
42
39
|
var t;
|
|
@@ -56,7 +53,7 @@ class P extends D {
|
|
|
56
53
|
}
|
|
57
54
|
get lineColor() {
|
|
58
55
|
var t, i, s;
|
|
59
|
-
return (s = (t = this.lines[0]) == null ? void 0 : t.color) != null ? s : (i = this.paramsStyle) != null && i.lineColor ? new
|
|
56
|
+
return (s = (t = this.lines[0]) == null ? void 0 : t.color) != null ? s : (i = this.paramsStyle) != null && i.lineColor ? new w.Color(this.paramsStyle.lineColor) : void 0;
|
|
60
57
|
}
|
|
61
58
|
get lineWidth() {
|
|
62
59
|
var t, i, s;
|
|
@@ -79,19 +76,19 @@ class P extends D {
|
|
|
79
76
|
return this.lines.map((o) => o.points[0]).concat((s = (i = this.lines) == null ? void 0 : i[((t = this.lines) == null ? void 0 : t.length) - 1]) == null ? void 0 : s.points[1]).filter(Boolean);
|
|
80
77
|
}
|
|
81
78
|
setPoints(t, i = { closed: !1 }) {
|
|
82
|
-
let s = t.map(
|
|
83
|
-
i.closed && (s =
|
|
79
|
+
let s = t.map(D);
|
|
80
|
+
i.closed && (s = C(s)), s.forEach((o, n) => {
|
|
84
81
|
var d;
|
|
85
|
-
const
|
|
86
|
-
if (n !== 0 &&
|
|
82
|
+
const m = s[n + 1];
|
|
83
|
+
if (n !== 0 && m === void 0)
|
|
87
84
|
return;
|
|
88
85
|
const u = (d = this.lines[n]) != null ? d : (() => {
|
|
89
|
-
const y = new
|
|
86
|
+
const y = new W(c(r({}, this.style), {
|
|
90
87
|
pointVisibility: this.withDots ? { startPoint: n === 0, endPoint: !0 } : !1
|
|
91
88
|
}));
|
|
92
89
|
return this.lines[n] = y, this.add(y), y;
|
|
93
90
|
})();
|
|
94
|
-
u.setStyle(this.style), u.setPoints([o,
|
|
91
|
+
u.setStyle(this.style), u.setPoints([o, m]);
|
|
95
92
|
}), s.length === 0 ? (this.lines.forEach((o) => o.removeFromParent()), this.lines = []) : s.length === 1 || this.lines.length > s.length - 1 && this.lines.splice(s.length - 1).forEach((o) => o.removeFromParent());
|
|
96
93
|
}
|
|
97
94
|
setStyle(t) {
|
|
@@ -104,19 +101,19 @@ class P extends D {
|
|
|
104
101
|
this.lines.forEach((t) => t.unhighlight());
|
|
105
102
|
}
|
|
106
103
|
}
|
|
107
|
-
class
|
|
104
|
+
class j extends P {
|
|
108
105
|
constructor(...t) {
|
|
109
106
|
super(c(r({}, t[0]), { withDots: !1 }));
|
|
110
107
|
h(this, "name", "PolylineMesh");
|
|
111
108
|
}
|
|
112
109
|
}
|
|
113
|
-
class
|
|
110
|
+
class x extends P {
|
|
114
111
|
constructor(...t) {
|
|
115
112
|
super(c(r({}, t[0]), { withDots: !0 }));
|
|
116
113
|
h(this, "name", "PolylineWithDotsMesh");
|
|
117
114
|
}
|
|
118
115
|
}
|
|
119
116
|
export {
|
|
120
|
-
|
|
121
|
-
|
|
117
|
+
j as PolylineMesh,
|
|
118
|
+
x as PolylineWithDotsMesh
|
|
122
119
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
1
|
+
var g = Object.defineProperty;
|
|
2
2
|
var p = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var h = (n, i, e) => i in n ?
|
|
3
|
+
var m = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var h = (n, i, e) => i in n ? g(n, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[i] = e, a = (n, i) => {
|
|
5
5
|
for (var e in i || (i = {}))
|
|
6
|
-
|
|
6
|
+
m.call(i, e) && h(n, e, i[e]);
|
|
7
7
|
if (p)
|
|
8
8
|
for (var e of p(i))
|
|
9
9
|
y.call(i, e) && h(n, e, i[e]);
|
|
@@ -12,11 +12,10 @@ var h = (n, i, e) => i in n ? m(n, i, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
var s = (n, i, e) => (h(n, typeof i != "symbol" ? i + "" : i, e), e);
|
|
13
13
|
import { hotkeys as c } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
14
14
|
import { Sculpt as r } from "../../index.js";
|
|
15
|
-
import { IObject3D as
|
|
16
|
-
import { localToWorld as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class f extends v {
|
|
15
|
+
import { IObject3D as M } from "../../../shared-utils/three/IObject3D.js";
|
|
16
|
+
import { localToWorld as w, worldToLocal as v } from "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
17
|
+
const u = /* @__PURE__ */ new Map();
|
|
18
|
+
class f extends M {
|
|
20
19
|
constructor(e, t) {
|
|
21
20
|
super();
|
|
22
21
|
s(this, "name", "Sculpt");
|
|
@@ -34,23 +33,21 @@ class f extends v {
|
|
|
34
33
|
s(this, "off", (...e) => r.modules.fiveDomEvents.removeEventListener(this, ...e));
|
|
35
34
|
s(this, "applyObjectMatrixWorld", (e, t) => {
|
|
36
35
|
const o = t != null ? t : this;
|
|
37
|
-
return o.updateMatrixWorld(),
|
|
36
|
+
return o.updateMatrixWorld(), w(o, e);
|
|
38
37
|
});
|
|
39
38
|
s(this, "applyObjectReversalMatrixWorld", (e, t) => {
|
|
40
39
|
const o = t != null ? t : this;
|
|
41
|
-
return o.updateMatrixWorld(),
|
|
40
|
+
return o.updateMatrixWorld(), v(o, e);
|
|
42
41
|
});
|
|
43
|
-
e != null && e.id && (this.uuid = e.id), this.config = a({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, t), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility, e.style.occlusionMode = this.config.occlusionMode),
|
|
44
|
-
E(this);
|
|
45
|
-
}), c("esc", () => {
|
|
42
|
+
e != null && e.id && (this.uuid = e.id), this.config = a({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, t), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility, e.style.occlusionMode = this.config.occlusionMode), c("esc", () => {
|
|
46
43
|
this.stopCreating();
|
|
47
44
|
}), this.config.defaultAction && (c("backspace, delete", () => {
|
|
48
45
|
this.selected && this.delete();
|
|
49
46
|
}), this.on("click", () => {
|
|
50
47
|
var o;
|
|
51
48
|
this.editing || (this.select({ only: !0 }), this.editor.enable(), (o = this.parent) == null || o.children.forEach((l) => {
|
|
52
|
-
var
|
|
53
|
-
l instanceof f && l !== this && ((
|
|
49
|
+
var d;
|
|
50
|
+
l instanceof f && l !== this && ((d = l._editor) == null || d.disable());
|
|
54
51
|
}));
|
|
55
52
|
}), c("esc", () => {
|
|
56
53
|
this.selected && this.unselect();
|
|
@@ -113,8 +110,8 @@ class f extends v {
|
|
|
113
110
|
select(e = { only: !1 }) {
|
|
114
111
|
if (this.selected)
|
|
115
112
|
return;
|
|
116
|
-
this.selected = !0, this.highlight(),
|
|
117
|
-
const t =
|
|
113
|
+
this.selected = !0, this.highlight(), u.has(this.parent.uuid) || u.set(this.parent.uuid, []);
|
|
114
|
+
const t = u.get(this.parent.uuid);
|
|
118
115
|
t.push(this), e.only && (t == null || t.forEach((o) => {
|
|
119
116
|
o !== this && o.unselect();
|
|
120
117
|
}));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export type RenderDomObjectType = THREE.Object3D & {
|
|
3
|
+
_onAdded: () => void;
|
|
4
|
+
_onRemoved: () => void;
|
|
5
|
+
_onShowed: () => void;
|
|
6
|
+
_onHidden: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare class RenderDom {
|
|
9
|
+
static cacheObject: Set<THREE.Object3D & {
|
|
10
|
+
_onAdded: () => void;
|
|
11
|
+
_onRemoved: () => void;
|
|
12
|
+
_onShowed: () => void;
|
|
13
|
+
_onHidden: () => void;
|
|
14
|
+
}>;
|
|
15
|
+
static checkDomEveryFrameIsRunning: boolean;
|
|
16
|
+
static checkDom(obj: RenderDomObjectType): void;
|
|
17
|
+
static checkDomEveryFrame(): void;
|
|
18
|
+
static _checkDomEveryFrame(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var s = Object.defineProperty;
|
|
2
|
+
var m = (a, e, c) => e in a ? s(a, e, { enumerable: !0, configurable: !0, writable: !0, value: c }) : a[e] = c;
|
|
3
|
+
var n = (a, e, c) => (m(a, typeof e != "symbol" ? e + "" : e, c), c);
|
|
4
|
+
const t = class {
|
|
5
|
+
static checkDom(e) {
|
|
6
|
+
let c = e, i = !0;
|
|
7
|
+
for (; c.parent; )
|
|
8
|
+
i === !0 && c.visible === !1 && (i = !1), c = c.parent;
|
|
9
|
+
c.type === "Scene" ? (e._onAdded(), i ? e._onShowed() : e._onHidden()) : e._onRemoved();
|
|
10
|
+
}
|
|
11
|
+
static checkDomEveryFrame() {
|
|
12
|
+
t.checkDomEveryFrameIsRunning || (t.checkDomEveryFrameIsRunning = !0, t._checkDomEveryFrame());
|
|
13
|
+
}
|
|
14
|
+
static _checkDomEveryFrame() {
|
|
15
|
+
t.cacheObject.forEach((e) => t.checkDom(e)), requestAnimationFrame(t._checkDomEveryFrame);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
let r = t;
|
|
19
|
+
n(r, "cacheObject", /* @__PURE__ */ new Set()), n(r, "checkDomEveryFrameIsRunning", !1);
|
|
20
|
+
export {
|
|
21
|
+
r as RenderDom
|
|
22
|
+
};
|
|
@@ -9,6 +9,18 @@ function n(t, e = "m") {
|
|
|
9
9
|
return o === 0 && f === 0 ? void 0 : `${o}′${f}″`;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
function i(t, e = "m") {
|
|
13
|
+
let r;
|
|
14
|
+
if (e === "m")
|
|
15
|
+
return r = t.toFixed(2), r === "0.00" ? void 0 : r + "m²";
|
|
16
|
+
if (e === "mm")
|
|
17
|
+
return r = (t * 1e3 * 1e3).toFixed(0), r === "0" ? void 0 : r + "mm²";
|
|
18
|
+
if (e === "ft") {
|
|
19
|
+
const o = Math.floor(t / 0.3048 / 0.3048), f = Math.floor(t % 0.3048 / 0.3048 / 0.0254);
|
|
20
|
+
return o === 0 && f === 0 ? void 0 : `${o}′${f}″²`;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
12
23
|
export {
|
|
13
|
-
n as transformUnit
|
|
24
|
+
n as transformUnit,
|
|
25
|
+
i as transformUnitSquare
|
|
14
26
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -124,6 +124,7 @@ import "../../shared-utils/three/core/LineMaterial.js";
|
|
|
124
124
|
import "../../shared-utils/three/core/Line2.js";
|
|
125
125
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
126
126
|
import "../../Sculpt/utils/unit.js";
|
|
127
|
+
import "../../Sculpt/utils/renderDom.js";
|
|
127
128
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
128
129
|
import "../../shared-utils/isTouchDevice.js";
|
|
129
130
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -139,7 +140,7 @@ function G(d) {
|
|
|
139
140
|
const { latitude: n, longitude: t } = d, e = Math.abs(n - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
140
141
|
return e && i;
|
|
141
142
|
}
|
|
142
|
-
class
|
|
143
|
+
class ze extends D {
|
|
143
144
|
constructor(t, e) {
|
|
144
145
|
var a, m;
|
|
145
146
|
super(t);
|
|
@@ -476,5 +477,5 @@ class Ue extends D {
|
|
|
476
477
|
}
|
|
477
478
|
}
|
|
478
479
|
export {
|
|
479
|
-
|
|
480
|
+
ze as Controller
|
|
480
481
|
};
|
|
@@ -90,6 +90,7 @@ import "../../shared-utils/three/core/LineMaterial.js";
|
|
|
90
90
|
import "../../shared-utils/three/core/Line2.js";
|
|
91
91
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
92
92
|
import "../../Sculpt/utils/unit.js";
|
|
93
|
+
import "../../Sculpt/utils/renderDom.js";
|
|
93
94
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
94
95
|
import "../../shared-utils/isTouchDevice.js";
|
|
95
96
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -103,8 +104,8 @@ import "../utils/constant.js";
|
|
|
103
104
|
import "../../shared-utils/nearlyEqual.js";
|
|
104
105
|
import "../../shared-utils/five/changeMode.js";
|
|
105
106
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
106
|
-
const
|
|
107
|
+
const tr = (o, r) => new t(o, r);
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
tr as MapviewFloorplanPlugin,
|
|
110
|
+
tr as default
|
|
110
111
|
};
|
|
@@ -124,6 +124,7 @@ import "../../shared-utils/three/core/LineMaterial.js";
|
|
|
124
124
|
import "../../shared-utils/three/core/Line2.js";
|
|
125
125
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
126
126
|
import "../../Sculpt/utils/unit.js";
|
|
127
|
+
import "../../Sculpt/utils/renderDom.js";
|
|
127
128
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
128
129
|
import "../../shared-utils/isTouchDevice.js";
|
|
129
130
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -139,7 +140,7 @@ function z(d) {
|
|
|
139
140
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
140
141
|
return e && i;
|
|
141
142
|
}
|
|
142
|
-
class
|
|
143
|
+
class We extends T {
|
|
143
144
|
constructor(t, e) {
|
|
144
145
|
var a, p, c;
|
|
145
146
|
super(t);
|
|
@@ -472,5 +473,5 @@ class Ge extends T {
|
|
|
472
473
|
}
|
|
473
474
|
}
|
|
474
475
|
export {
|
|
475
|
-
|
|
476
|
+
We as Controller
|
|
476
477
|
};
|
|
@@ -91,6 +91,7 @@ import "../../shared-utils/three/core/LineMaterial.js";
|
|
|
91
91
|
import "../../shared-utils/three/core/Line2.js";
|
|
92
92
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
93
93
|
import "../../Sculpt/utils/unit.js";
|
|
94
|
+
import "../../Sculpt/utils/renderDom.js";
|
|
94
95
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
95
96
|
import "../../shared-utils/isTouchDevice.js";
|
|
96
97
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -103,8 +104,8 @@ import "../utils/constant.js";
|
|
|
103
104
|
import "../../shared-utils/nearlyEqual.js";
|
|
104
105
|
import "../../shared-utils/five/changeMode.js";
|
|
105
106
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
106
|
-
const
|
|
107
|
+
const tr = (o, r) => new t(o, r);
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
tr as ModelFloorplanPlugin,
|
|
110
|
+
tr as default
|
|
110
111
|
};
|
|
@@ -99,6 +99,7 @@ import "../../shared-utils/three/core/LineMaterial.js";
|
|
|
99
99
|
import "../../shared-utils/three/core/Line2.js";
|
|
100
100
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
101
101
|
import "../../Sculpt/utils/unit.js";
|
|
102
|
+
import "../../Sculpt/utils/renderDom.js";
|
|
102
103
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
103
104
|
import "../../shared-utils/isTouchDevice.js";
|
|
104
105
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -107,7 +108,7 @@ import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
|
107
108
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
108
109
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
109
110
|
import "../Assets/floorplanExtraObject.js";
|
|
110
|
-
class
|
|
111
|
+
class ii extends O {
|
|
111
112
|
constructor(t, i) {
|
|
112
113
|
super(t);
|
|
113
114
|
// =============== public properties =================
|
|
@@ -250,5 +251,5 @@ class ti extends O {
|
|
|
250
251
|
}
|
|
251
252
|
}
|
|
252
253
|
export {
|
|
253
|
-
|
|
254
|
+
ii as Controller
|
|
254
255
|
};
|
|
@@ -70,6 +70,7 @@ import "../../shared-utils/three/core/LineMaterial.js";
|
|
|
70
70
|
import "../../shared-utils/three/core/Line2.js";
|
|
71
71
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
72
72
|
import "../../Sculpt/utils/unit.js";
|
|
73
|
+
import "../../Sculpt/utils/renderDom.js";
|
|
73
74
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
74
75
|
import "../../shared-utils/isTouchDevice.js";
|
|
75
76
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -79,8 +80,8 @@ import "../../Sculpt/utils/three/rayOnLine.js";
|
|
|
79
80
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
80
81
|
import "../utils/formatData.js";
|
|
81
82
|
import "../Assets/floorplanExtraObject.js";
|
|
82
|
-
const
|
|
83
|
+
const Do = (o, r) => new t(o, r);
|
|
83
84
|
export {
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
Do as PanoFloorplanRadarPlugin,
|
|
86
|
+
Do as default
|
|
86
87
|
};
|
|
@@ -122,6 +122,7 @@ import "../../shared-utils/three/core/LineMaterial.js";
|
|
|
122
122
|
import "../../shared-utils/three/core/Line2.js";
|
|
123
123
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
124
124
|
import "../../Sculpt/utils/unit.js";
|
|
125
|
+
import "../../Sculpt/utils/renderDom.js";
|
|
125
126
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
126
127
|
import "../../shared-utils/isTouchDevice.js";
|
|
127
128
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -129,7 +130,7 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
129
130
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
130
131
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
131
132
|
import "@realsee/five";
|
|
132
|
-
class
|
|
133
|
+
class Mi extends M {
|
|
133
134
|
constructor(t, i) {
|
|
134
135
|
var h, p;
|
|
135
136
|
super(t);
|
|
@@ -402,5 +403,5 @@ class _i extends M {
|
|
|
402
403
|
}
|
|
403
404
|
}
|
|
404
405
|
export {
|
|
405
|
-
|
|
406
|
+
Mi as Controller
|
|
406
407
|
};
|
|
@@ -89,6 +89,7 @@ import "../../shared-utils/three/core/LineMaterial.js";
|
|
|
89
89
|
import "../../shared-utils/three/core/Line2.js";
|
|
90
90
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
91
91
|
import "../../Sculpt/utils/unit.js";
|
|
92
|
+
import "../../Sculpt/utils/renderDom.js";
|
|
92
93
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
93
94
|
import "../../shared-utils/isTouchDevice.js";
|
|
94
95
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -101,8 +102,8 @@ import "../../shared-utils/nearlyEqual.js";
|
|
|
101
102
|
import "../../shared-utils/to.js";
|
|
102
103
|
import "../../shared-utils/getPxmm.js";
|
|
103
104
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
104
|
-
const
|
|
105
|
+
const or = (o, r) => new t(o, r);
|
|
105
106
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
or as TopviewFloorplanPlugin,
|
|
108
|
+
or as default
|
|
108
109
|
};
|
package/libs/index.js
CHANGED
|
@@ -125,6 +125,7 @@ import "./shared-utils/three/core/LineMaterial.js";
|
|
|
125
125
|
import "./shared-utils/three/core/Line2.js";
|
|
126
126
|
import "./shared-utils/three/core/LineMaterial2.js";
|
|
127
127
|
import "./Sculpt/utils/unit.js";
|
|
128
|
+
import "./Sculpt/utils/renderDom.js";
|
|
128
129
|
import "./CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
129
130
|
import "./shared-utils/isTouchDevice.js";
|
|
130
131
|
import "./shared-utils/five/getPosition.js";
|
|
@@ -275,7 +276,6 @@ import "./shared-utils/five/FiveDomEvents.js";
|
|
|
275
276
|
import "./MeasurePlugin/utils/MeasureMesh.js";
|
|
276
277
|
import "./Sculpt/Meshes/LineWithDots.js";
|
|
277
278
|
import "./Sculpt/Meshes/Point.js";
|
|
278
|
-
import "./Sculpt/utils/removeAllTag.js";
|
|
279
279
|
import "./Sculpt/Meshes/Polygon.js";
|
|
280
280
|
import "./Sculpt/utils/three/ColoredMesh.js";
|
|
281
281
|
import "./MeasurePlugin/utils/validatePolygon.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.63.4-alpha.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.63.4-alpha.5",
|
|
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",
|
|
@@ -40,19 +40,15 @@ type EventMap = {
|
|
|
40
40
|
/**
|
|
41
41
|
* @description 与模型交点更新时触发,移出监听范围时为null
|
|
42
42
|
*/
|
|
43
|
-
intersectionUpdate: (intersection
|
|
43
|
+
intersectionUpdate: (intersection?: PointIntersection | null) => void;
|
|
44
44
|
/**
|
|
45
45
|
* @description 试图打点,返回false则不打点
|
|
46
46
|
*/
|
|
47
|
-
wantsSelect: (intersection
|
|
48
|
-
/**
|
|
49
|
-
* @description 选则的位置禁止打点
|
|
50
|
-
*/
|
|
51
|
-
disableSelect: () => void;
|
|
47
|
+
wantsSelect: (intersection?: PointIntersection | null) => boolean | void;
|
|
52
48
|
/**
|
|
53
49
|
* @description 打点成功
|
|
54
50
|
*/
|
|
55
|
-
select: (intersection
|
|
51
|
+
select: (intersection?: PointIntersection | null) => void;
|
|
56
52
|
/**
|
|
57
53
|
* @description 功能开启
|
|
58
54
|
*/
|