@realsee/dnalogel 3.60.3 → 3.61.1-alpha.0
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/Sculpt/Objects/Base/index.d.ts +4 -1
- package/dist/Sculpt/Objects/Box/index.d.ts +2 -2
- package/dist/Sculpt/Objects/Circle/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Line/index.d.ts +2 -2
- package/dist/Sculpt/Objects/Point/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Polygon/index.d.ts +2 -2
- package/dist/Sculpt/Objects/Polyline/index.d.ts +2 -2
- package/dist/Sculpt/Objects/Prism/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +2 -2
- package/dist/Sculpt/index.d.ts +17 -14
- package/dist/Sculpt/typings/style.d.ts +7 -0
- package/dist/Sculpt/utils/Modules/Global.d.ts +4 -0
- package/dist/index.cjs.js +33 -33
- package/dist/index.js +3609 -3561
- package/dist/index.umd.js +34 -34
- package/dist/shared-utils/three/PointSelector/index.d.ts +25 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- 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 +4 -4
- package/docs/classes/PanoTagPluginController.html +34 -34
- package/docs/classes/Sculpt.html +25 -25
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +14 -14
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +17 -11
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- 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 +3 -3
- package/docs/enums/Rotation.html +3 -3
- 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/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.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 +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +8 -8
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- 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 +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- 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 +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- 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 +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- 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 +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +7 -7
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- 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 +4 -4
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +4 -4
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- 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.ActionIfNoModelUnderMouse.html +1 -1
- 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/ModelViewPlugin/Plugin.js +95 -90
- package/libs/Sculpt/Objects/Base/index.d.ts +4 -1
- package/libs/Sculpt/Objects/Base/index.js +27 -23
- package/libs/Sculpt/Objects/Box/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Box/index.js +46 -44
- package/libs/Sculpt/Objects/Circle/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Circle/index.js +57 -55
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Cylinder/index.js +31 -29
- package/libs/Sculpt/Objects/Line/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Line/index.js +42 -40
- package/libs/Sculpt/Objects/Point/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Point/index.js +45 -43
- package/libs/Sculpt/Objects/Polygon/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Polygon/index.js +74 -72
- package/libs/Sculpt/Objects/Polyline/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Polyline/index.js +36 -34
- package/libs/Sculpt/Objects/Prism/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Prism/index.js +54 -52
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +2 -2
- package/libs/Sculpt/Objects/Rectangle/index.js +67 -66
- package/libs/Sculpt/index.d.ts +17 -14
- package/libs/Sculpt/index.js +76 -68
- package/libs/Sculpt/typings/style.d.ts +7 -0
- package/libs/Sculpt/utils/Modules/Global.d.ts +4 -0
- package/libs/Sculpt/utils/Modules/Global.js +24 -12
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +25 -0
- package/libs/shared-utils/three/PointSelector/index.js +32 -6
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.
|
|
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.61.1-alpha.0</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.61.1-alpha.0</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.61.1-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.
|
|
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.61.1-alpha.0</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.61.1-alpha.0</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.61.1-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.
|
|
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.61.1-alpha.0</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.61.1-alpha.0</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.61.1-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1,117 +1,122 @@
|
|
|
1
|
-
var
|
|
1
|
+
var V = Object.defineProperty;
|
|
2
2
|
var E = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
|
|
3
|
+
var G = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var D = (t, n, o) => n in t ? V(t, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[n] = o, k = (t, n) => {
|
|
5
|
+
for (var o in n || (n = {}))
|
|
6
|
+
G.call(n, o) && D(t, o, n[o]);
|
|
7
7
|
if (E)
|
|
8
|
-
for (var
|
|
9
|
-
|
|
10
|
-
return
|
|
8
|
+
for (var o of E(n))
|
|
9
|
+
H.call(n, o) && D(t, o, n[o]);
|
|
10
|
+
return t;
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
var I = (t, n, o) => new Promise((f, m) => {
|
|
13
|
+
var r = (d) => {
|
|
14
|
+
try {
|
|
15
|
+
s(o.next(d));
|
|
16
|
+
} catch (a) {
|
|
17
|
+
m(a);
|
|
18
|
+
}
|
|
19
|
+
}, C = (d) => {
|
|
20
|
+
try {
|
|
21
|
+
s(o.throw(d));
|
|
22
|
+
} catch (a) {
|
|
23
|
+
m(a);
|
|
24
|
+
}
|
|
25
|
+
}, s = (d) => d.done ? f(d.value) : Promise.resolve(d.value).then(r, C);
|
|
26
|
+
s((o = o.apply(t, n)).next());
|
|
27
|
+
});
|
|
28
|
+
import { Camera as q, loadAt3d as X } from "@realsee/five";
|
|
29
|
+
import * as c from "three";
|
|
30
|
+
const K = (t, n) => {
|
|
31
|
+
var P, N;
|
|
32
|
+
let o = (N = (P = n == null ? void 0 : n.initialState) == null ? void 0 : P.enabled) != null ? N : !0, f = !1, m = !0, r = null;
|
|
33
|
+
const s = k(k({}, {
|
|
18
34
|
lookAtCurrentCamera: !1,
|
|
19
35
|
lockedPanoIndex: null,
|
|
20
36
|
lockedLatitude: null,
|
|
21
37
|
lockedLongitude: null
|
|
22
|
-
}),
|
|
23
|
-
|
|
38
|
+
}), n == null ? void 0 : n.config), d = new c.Scene(), a = new q(60);
|
|
39
|
+
a.near = 1, a.updateTime(Date.now());
|
|
40
|
+
let u = new c.Object3D(), x, b;
|
|
24
41
|
{
|
|
25
|
-
const e = new
|
|
26
|
-
e.position.copy(new
|
|
42
|
+
const e = new c.DirectionalLight(16777215, 0.5);
|
|
43
|
+
e.position.copy(new c.Vector3(1, 1, 1)), d.add(e);
|
|
27
44
|
}
|
|
28
45
|
{
|
|
29
|
-
const e = new
|
|
30
|
-
|
|
46
|
+
const e = new c.DirectionalLight(16777215, 0.3);
|
|
47
|
+
d.add(e);
|
|
31
48
|
}
|
|
32
49
|
{
|
|
33
|
-
const e = new
|
|
34
|
-
|
|
50
|
+
const e = new c.AmbientLight(16777215, 0.3);
|
|
51
|
+
d.add(e);
|
|
35
52
|
}
|
|
36
|
-
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
const t = new d.Group();
|
|
51
|
-
return o.children.forEach((l) => t.add(u(l))), t;
|
|
52
|
-
} else {
|
|
53
|
-
const t = new d.Object3D();
|
|
54
|
-
return o.children.forEach((l) => t.add(u(l))), t;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}, D = () => {
|
|
58
|
-
if (n.renderer)
|
|
59
|
-
return a || (a = new d.WebGLRenderer({ antialias: !1, alpha: !0 }), a.setPixelRatio(n.renderer.getPixelRatio()), a.outputEncoding = d.sRGBEncoding, a.setClearColor(1579548, 0), a.autoClear = !0), a;
|
|
60
|
-
}, R = () => {
|
|
61
|
-
c.traverse((e) => {
|
|
62
|
-
e instanceof d.Mesh && [].concat(e.material).forEach((o) => o.dispose());
|
|
63
|
-
}), s.remove(c), c = new d.Object3D(), s.add(c), g = !1, p();
|
|
64
|
-
}, j = () => {
|
|
65
|
-
r && (g || C());
|
|
53
|
+
d.add(u);
|
|
54
|
+
const L = () => I(void 0, null, function* () {
|
|
55
|
+
var e, p;
|
|
56
|
+
f || (x = z(t.model, a.fov, a.aspect), b = t.model.bounding.getCenter(new c.Vector3()), d.remove(u), u = yield X(t.work.model.file, {
|
|
57
|
+
textureOptions: { size: 256, quality: 70 },
|
|
58
|
+
textureArray: (e = t.work.model) == null ? void 0 : e.textures,
|
|
59
|
+
textureBaseUri: (p = t.work.model) == null ? void 0 : p.textureBase
|
|
60
|
+
}).then((l) => {
|
|
61
|
+
const i = l.scene;
|
|
62
|
+
return i.rotateX(-Math.PI / 2), i;
|
|
63
|
+
}), d.add(u), f = !0, g());
|
|
64
|
+
}), R = () => {
|
|
65
|
+
if (t.renderer)
|
|
66
|
+
return r || (r = new c.WebGLRenderer({ antialias: !1, alpha: !0 }), r.setPixelRatio(t.renderer.getPixelRatio()), r.outputEncoding = c.sRGBEncoding, r.setClearColor(1579548, 0), r.autoClear = !0), r;
|
|
66
67
|
}, A = () => {
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
d.remove(u), u = new c.Object3D(), d.add(u), f = !1, g();
|
|
69
|
+
}, O = () => {
|
|
70
|
+
o && (f || L());
|
|
71
|
+
}, S = () => {
|
|
72
|
+
o || (o = !0, d.add(u), !f && t.model.loaded && L(), g());
|
|
73
|
+
}, W = () => {
|
|
74
|
+
o && (d.remove(u), m = !0, M(), o = !1);
|
|
75
|
+
}, j = (e, p = {}) => {
|
|
76
|
+
const l = R();
|
|
77
|
+
if (!l)
|
|
73
78
|
return;
|
|
74
|
-
e.appendChild(
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
if (!
|
|
79
|
+
e.appendChild(l.domElement), y(p);
|
|
80
|
+
const i = window.getComputedStyle(e).position;
|
|
81
|
+
i !== "relative" && i !== "absolute" && i !== "fixed" && i !== "sticky" && (e.style.position = "relative");
|
|
82
|
+
}, y = (e = {}) => {
|
|
83
|
+
if (!r)
|
|
79
84
|
return;
|
|
80
|
-
const
|
|
81
|
-
if (
|
|
82
|
-
const { width:
|
|
83
|
-
|
|
85
|
+
const l = r.domElement.parentNode;
|
|
86
|
+
if (l != null && l.nodeName) {
|
|
87
|
+
const { width: i = l.offsetWidth, height: h = l.offsetHeight } = e;
|
|
88
|
+
r.setSize(i, h), a.aspect = i / h, a.updateProjectionMatrix();
|
|
84
89
|
}
|
|
85
|
-
|
|
90
|
+
g();
|
|
86
91
|
};
|
|
87
|
-
function
|
|
88
|
-
const
|
|
89
|
-
Math.pow(
|
|
92
|
+
function z(e, p, l) {
|
|
93
|
+
const i = e.bounding, h = Math.pow(
|
|
94
|
+
Math.pow(i.max.x - i.min.x + 1, 2) + Math.pow(i.max.y - i.min.y + 1, 2) + Math.pow(i.max.z - i.min.z + 1, 2),
|
|
90
95
|
1 / 2
|
|
91
96
|
);
|
|
92
|
-
let w =
|
|
93
|
-
return
|
|
97
|
+
let w = h / 2 / Math.tan(Math.PI * p / 360);
|
|
98
|
+
return l < 1 && (w = w / l), isNaN(w) ? h : w;
|
|
94
99
|
}
|
|
95
|
-
function
|
|
96
|
-
return
|
|
100
|
+
function F(e) {
|
|
101
|
+
return t.work.observers[e].standingPosition.clone();
|
|
97
102
|
}
|
|
98
|
-
const
|
|
99
|
-
if (!
|
|
103
|
+
const g = () => {
|
|
104
|
+
if (!o || !x || !b)
|
|
100
105
|
return;
|
|
101
|
-
const e =
|
|
102
|
-
e.fov =
|
|
103
|
-
},
|
|
104
|
-
!
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
Object.assign(
|
|
109
|
-
},
|
|
110
|
-
enabled:
|
|
106
|
+
const e = t.getPose();
|
|
107
|
+
e.fov = a.fov, e.offset = b, e.distance = x, typeof s.lockedLatitude == "number" && (e.latitude = s.lockedLatitude), typeof s.lockedLongitude == "number" && (e.longitude = s.lockedLongitude), typeof s.lockedPanoIndex == "number" && (e.offset = F(s.lockedPanoIndex)), s.lookAtCurrentCamera && (e.offset = t.camera.position.clone().setY(t.camera.position.y + 1)), a.setFromPose(e), m = !0;
|
|
108
|
+
}, M = () => {
|
|
109
|
+
!o || m !== !0 || !r || !r.domElement.parentNode || r.domElement.parentNode.offsetWidth === 0 || (r.render(d, a), m = !1);
|
|
110
|
+
}, T = () => {
|
|
111
|
+
r && r.dispose(), r = null;
|
|
112
|
+
}, B = (e) => {
|
|
113
|
+
Object.assign(s, e), g();
|
|
114
|
+
}, U = () => ({
|
|
115
|
+
enabled: o
|
|
111
116
|
});
|
|
112
|
-
return
|
|
117
|
+
return t.on("modelLoaded", O), t.on("modelWillLoad", A), t.on("cameraDirectionUpdate", g), t.on("dispose", T), t.on("renderFrame", M), t.on("cameraPositionUpdate", g), { appendTo: j, refresh: y, changeConfigs: B, enable: S, disable: W, getCurrentState: U };
|
|
113
118
|
};
|
|
114
119
|
export {
|
|
115
|
-
|
|
116
|
-
|
|
120
|
+
K as ModelViewPlugin,
|
|
121
|
+
K as default
|
|
117
122
|
};
|
|
@@ -4,6 +4,7 @@ import type { BaseEditor } from './Editor';
|
|
|
4
4
|
import type { RequiredDeep } from 'type-fest';
|
|
5
5
|
import type { ImportDataToExportData } from '../../typings/utils.type';
|
|
6
6
|
import type * as THREE from 'three';
|
|
7
|
+
import type { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
7
8
|
export interface BaseImportData {
|
|
8
9
|
/**
|
|
9
10
|
* @description: 唯一标识
|
|
@@ -66,7 +67,9 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
|
|
|
66
67
|
id: string;
|
|
67
68
|
type: string;
|
|
68
69
|
};
|
|
69
|
-
protected get
|
|
70
|
+
protected get currentPointSelector(): PointSelector;
|
|
71
|
+
protected set currentPointSelector(value: PointSelector);
|
|
72
|
+
private _currentPointSelector?;
|
|
70
73
|
constructor(data?: Partial<ImportData>, config?: Partial<Config>);
|
|
71
74
|
abstract setData(data: Partial<ImportData>): void;
|
|
72
75
|
on: <T extends keyof FiveDomEventMap>(event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig) => void;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var m = Object.defineProperty;
|
|
2
2
|
var p = Object.getOwnPropertySymbols;
|
|
3
3
|
var g = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var c = (r, i, e) => i in r ? m(r, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[i] = e, a = (r, i) => {
|
|
5
5
|
for (var e in i || (i = {}))
|
|
6
|
-
g.call(i, e) &&
|
|
6
|
+
g.call(i, e) && c(r, e, i[e]);
|
|
7
7
|
if (p)
|
|
8
8
|
for (var e of p(i))
|
|
9
|
-
y.call(i, e) &&
|
|
10
|
-
return
|
|
9
|
+
y.call(i, e) && c(r, e, i[e]);
|
|
10
|
+
return r;
|
|
11
11
|
};
|
|
12
|
-
var s = (
|
|
13
|
-
import { hotkeys as
|
|
14
|
-
import { Sculpt as
|
|
12
|
+
var s = (r, i, e) => (c(r, typeof i != "symbol" ? i + "" : i, e), e);
|
|
13
|
+
import { hotkeys as h } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
14
|
+
import { Sculpt as n } from "../../index.js";
|
|
15
15
|
import { IObject3D as v } from "../../../shared-utils/three/IObject3D.js";
|
|
16
16
|
import { localToWorld as M, worldToLocal as w } from "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
17
17
|
import { removeAllTag as E } from "../../utils/removeAllTag.js";
|
|
18
|
-
const
|
|
18
|
+
const u = /* @__PURE__ */ new Map();
|
|
19
19
|
class f extends v {
|
|
20
20
|
constructor(e, t) {
|
|
21
21
|
super();
|
|
@@ -30,8 +30,9 @@ class f extends v {
|
|
|
30
30
|
* @description 配置
|
|
31
31
|
*/
|
|
32
32
|
s(this, "config");
|
|
33
|
-
s(this, "
|
|
34
|
-
s(this, "
|
|
33
|
+
s(this, "_currentPointSelector");
|
|
34
|
+
s(this, "on", (e, t, o) => n.modules.fiveDomEvents.addEventListener(this, e, t, o));
|
|
35
|
+
s(this, "off", (...e) => n.modules.fiveDomEvents.removeEventListener(this, ...e));
|
|
35
36
|
s(this, "applyObjectMatrixWorld", (e, t) => {
|
|
36
37
|
const o = t != null ? t : this;
|
|
37
38
|
return o.updateMatrixWorld(), M(o, e);
|
|
@@ -42,22 +43,22 @@ class f extends v {
|
|
|
42
43
|
});
|
|
43
44
|
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), this.addEventListener("removed", () => {
|
|
44
45
|
E(this);
|
|
45
|
-
}),
|
|
46
|
+
}), h("esc", () => {
|
|
46
47
|
this.stopCreating();
|
|
47
|
-
}), this.config.defaultAction && (
|
|
48
|
+
}), this.config.defaultAction && (h("backspace, delete", () => {
|
|
48
49
|
this.selected && this.delete();
|
|
49
50
|
}), this.on("click", () => {
|
|
50
51
|
var o;
|
|
51
52
|
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 && ((
|
|
53
|
+
var d;
|
|
54
|
+
l instanceof f && l !== this && ((d = l._editor) == null || d.disable());
|
|
54
55
|
}));
|
|
55
|
-
}),
|
|
56
|
+
}), h("esc", () => {
|
|
56
57
|
this.selected && this.unselect();
|
|
57
58
|
}));
|
|
58
59
|
}
|
|
59
60
|
get editing() {
|
|
60
|
-
return this.
|
|
61
|
+
return this.currentPointSelector.enabled;
|
|
61
62
|
}
|
|
62
63
|
get baseData() {
|
|
63
64
|
return {
|
|
@@ -65,8 +66,11 @@ class f extends v {
|
|
|
65
66
|
type: this.type
|
|
66
67
|
};
|
|
67
68
|
}
|
|
68
|
-
get
|
|
69
|
-
return
|
|
69
|
+
get currentPointSelector() {
|
|
70
|
+
return this._currentPointSelector;
|
|
71
|
+
}
|
|
72
|
+
set currentPointSelector(e) {
|
|
73
|
+
this._currentPointSelector = e;
|
|
70
74
|
}
|
|
71
75
|
/**
|
|
72
76
|
* @description 撤销
|
|
@@ -96,7 +100,7 @@ class f extends v {
|
|
|
96
100
|
* @description 停止创建当前物体,等同于`esc`
|
|
97
101
|
*/
|
|
98
102
|
stopCreating() {
|
|
99
|
-
|
|
103
|
+
n.modules.pointSelector.disable();
|
|
100
104
|
}
|
|
101
105
|
/**
|
|
102
106
|
* @description 从场景中删除当前物体,并且移除事件监听
|
|
@@ -113,8 +117,8 @@ class f extends v {
|
|
|
113
117
|
select(e = { only: !1 }) {
|
|
114
118
|
if (this.selected)
|
|
115
119
|
return;
|
|
116
|
-
this.selected = !0, this.highlight(),
|
|
117
|
-
const t =
|
|
120
|
+
this.selected = !0, this.highlight(), u.has(this.parent.uuid) || u.set(this.parent.uuid, []);
|
|
121
|
+
const t = u.get(this.parent.uuid);
|
|
118
122
|
t.push(this), e.only && (t == null || t.forEach((o) => {
|
|
119
123
|
o !== this && o.unselect();
|
|
120
124
|
}));
|
|
@@ -140,8 +144,8 @@ class f extends v {
|
|
|
140
144
|
* @description 显示删除按钮
|
|
141
145
|
*/
|
|
142
146
|
showDeleteButton(e, t) {
|
|
143
|
-
|
|
144
|
-
|
|
147
|
+
n.modules.cursor.showDeleteButton({ clientX: e, clientY: t, container: document.body, onClick: () => this.delete() }), n.modules.five.once("cameraUpdate", () => {
|
|
148
|
+
n.modules.cursor.removeDeleteButton();
|
|
145
149
|
});
|
|
146
150
|
}
|
|
147
151
|
}
|
|
@@ -3,7 +3,7 @@ import type { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
|
3
3
|
import { BoxMeshEditor } from '../../Editors/BoxMeshEditor';
|
|
4
4
|
import { BoxMesh, type BoxData, type BoxStyle } from '../../Meshes/Box';
|
|
5
5
|
import type { LiteralString } from '../../../typings/utils.type';
|
|
6
|
-
import type { CreateLimitConfig, DrawMethodConfig } from '../../typings/style';
|
|
6
|
+
import type { CreateLimitConfig, CreateUtils, DrawMethodConfig } from '../../typings/style';
|
|
7
7
|
export interface BoxImportData extends BaseImportData, BoxData {
|
|
8
8
|
type: LiteralString<'Box'>;
|
|
9
9
|
style?: Partial<BoxStyle>;
|
|
@@ -29,6 +29,6 @@ export declare class Box extends BaseObject<BoxImportData> {
|
|
|
29
29
|
setData(data: Partial<BoxImportData>): void;
|
|
30
30
|
highlight(): void;
|
|
31
31
|
unhighlight(): void;
|
|
32
|
-
create(params?: Partial<BoxStyle & CreateLimitConfig & DrawMethodConfig>): Promise<void>;
|
|
32
|
+
create(params?: Partial<BoxStyle & CreateLimitConfig & DrawMethodConfig & CreateUtils>): Promise<void>;
|
|
33
33
|
}
|
|
34
34
|
export declare function createBox(boxMesh: BoxMesh, pointSelector: PointSelector, config?: Partial<CreateLimitConfig & DrawMethodConfig>): Promise<void>;
|