@realsee/dnalogel 3.53.5-alpha.0 → 3.53.5-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/Sculpt/Objects/Base/Editor.d.ts +5 -0
- package/dist/index.cjs.js +14 -14
- package/dist/index.js +95 -87
- package/dist/index.umd.js +9 -9
- package/dist/shared-utils/Object3DHelper/typings/Hooks.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 +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -6
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -6
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -6
- 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 +7 -6
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -6
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -6
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/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 +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.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/Object3DHelperPlugin/Controller.js +40 -40
- package/libs/Sculpt/Objects/Base/Editor.d.ts +5 -0
- package/libs/Sculpt/Objects/Base/Editor.js +31 -22
- package/libs/Sculpt/Objects/Box/index.js +1 -1
- package/libs/Sculpt/Objects/Cylinder/index.js +1 -1
- package/libs/Sculpt/Objects/Prism/index.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +13 -13
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -1
- package/libs/shared-utils/five/FivePuppet.js +8 -8
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import Vp from "earcut";
|
|
|
48
48
|
import { GLTFLoader as Rp } from "@realsee/five/gltf-loader";
|
|
49
49
|
function _p() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.53.5-alpha.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.53.5-alpha.1",
|
|
52
52
|
[
|
|
53
53
|
"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=')",
|
|
54
54
|
"background-repeat: no-repeat",
|
|
@@ -3589,7 +3589,7 @@ class s0 {
|
|
|
3589
3589
|
pixelRatio: window.devicePixelRatio,
|
|
3590
3590
|
backgroundAlpha: 0,
|
|
3591
3591
|
backgroundColor: 0
|
|
3592
|
-
}), this.renderer.setSize(1, 1), window.__FIVEPUPPET_DEBUG__ = this, this.animate();
|
|
3592
|
+
}), this.renderer.domElement.style.pointerEvents = "none", this.renderer.setSize(1, 1), window.__FIVEPUPPET_DEBUG__ = this, this.animate();
|
|
3593
3593
|
}
|
|
3594
3594
|
}
|
|
3595
3595
|
const nm = 1, $c = `CSS3DObjectPlus@${nm}`, o0 = 216e-5, r0 = 3e-3;
|
|
@@ -6142,12 +6142,12 @@ function CA(n, t, e) {
|
|
|
6142
6142
|
return () => !1;
|
|
6143
6143
|
const Le = K.path.map(({ x: Oe, y: He }) => [Oe, He]), pe = K.roomLabel.position, { x: Ye, y: ze } = pe, { width: ke, height: tt } = Ae, le = ke / 2, Ce = tt / 2;
|
|
6144
6144
|
return function(He) {
|
|
6145
|
-
const rt = Ye * He,
|
|
6145
|
+
const rt = Ye * He, Je = ze * He, it = Le.map(([Ie, Xe]) => [Ie * He, Xe * He]);
|
|
6146
6146
|
return [
|
|
6147
|
-
[rt + le,
|
|
6148
|
-
[rt - le,
|
|
6149
|
-
[rt - le,
|
|
6150
|
-
[rt + le,
|
|
6147
|
+
[rt + le, Je - Ce],
|
|
6148
|
+
[rt - le, Je - Ce],
|
|
6149
|
+
[rt - le, Je + Ce],
|
|
6150
|
+
[rt + le, Je + Ce]
|
|
6151
6151
|
].every((Ie) => wA(Ie, it));
|
|
6152
6152
|
};
|
|
6153
6153
|
}
|
|
@@ -9016,7 +9016,7 @@ let Hi = class {
|
|
|
9016
9016
|
/**
|
|
9017
9017
|
* @realsee/dnalogel 版本号
|
|
9018
9018
|
*/
|
|
9019
|
-
d(this, "VERSION", "3.53.5-alpha.
|
|
9019
|
+
d(this, "VERSION", "3.53.5-alpha.1");
|
|
9020
9020
|
d(this, "NAME");
|
|
9021
9021
|
d(this, "five");
|
|
9022
9022
|
d(this, "workUtil");
|
|
@@ -16712,12 +16712,12 @@ const La = 1e-3, xd = 0.01, Sw = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
16712
16712
|
const rt = Oe.position.clone().sub(pe.position).setY(0);
|
|
16713
16713
|
if (rt.angleTo(Oe.normal) > Math.PI / 2 - r && rt.angleTo(Oe.normal) < Math.PI / 2 + r)
|
|
16714
16714
|
return Ce;
|
|
16715
|
-
const
|
|
16715
|
+
const Je = Oe.position.clone().project(pe);
|
|
16716
16716
|
if (!p.tags.every((Ie) => {
|
|
16717
16717
|
if (Ie.position.clone().sub(pe.position).setY(0).angleTo(ke.setY(0)) > Math.PI / 2)
|
|
16718
16718
|
return !0;
|
|
16719
16719
|
const Xe = Ie.position.clone().project(pe);
|
|
16720
|
-
return Math.sqrt(Math.pow((
|
|
16720
|
+
return Math.sqrt(Math.pow((Je.x - Xe.x) / 2 * K, 2) + Math.pow((Je.y - Xe.y) / 2 * Ae, 2)) > a;
|
|
16721
16721
|
}))
|
|
16722
16722
|
return Ce;
|
|
16723
16723
|
const it = {
|
|
@@ -16754,12 +16754,12 @@ const La = 1e-3, xd = 0.01, Sw = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
16754
16754
|
return Math.sqrt(Math.pow((rt.x - Ie.x) / 2 * K, 2) + Math.pow((rt.y - Ie.y) / 2 * Ae, 2)) > a;
|
|
16755
16755
|
}))
|
|
16756
16756
|
continue;
|
|
16757
|
-
const
|
|
16757
|
+
const Je = new b.Raycaster(
|
|
16758
16758
|
pe.position.clone().setY(i),
|
|
16759
16759
|
He.position.clone().sub(pe.position.clone().setY(i)).normalize(),
|
|
16760
16760
|
0,
|
|
16761
16761
|
He.distance + xd
|
|
16762
|
-
), [it] = p.intersectObjects ?
|
|
16762
|
+
), [it] = p.intersectObjects ? Je.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(Je) : Je.intersectObjects(n.model.children, !0);
|
|
16763
16763
|
if (it && He.distance - it.distance < xd) {
|
|
16764
16764
|
const { position: Se, normal: Ie, id: Xe, replacement: ut } = He, gs = new b.Plane().setFromNormalAndCoplanarPoint(Ie, Se), qt = Se.clone().sub(pe.position).cross(new b.Vector3(0, 1, 0)).setLength(La), Pi = [
|
|
16765
16765
|
Se.clone(),
|
|
@@ -18613,8 +18613,8 @@ function VC(n) {
|
|
|
18613
18613
|
} = Ye, Ce = K + ze, Oe = Le + ke + 2;
|
|
18614
18614
|
for (let Ie = Ce; Ie < Oe; Ie++)
|
|
18615
18615
|
ve < ge ? (g[Ie * 6 + 0] = tt, g[Ie * 6 + 2] = le) : (g[Ie * 6 + 3] = tt, g[Ie * 6 + 5] = le), H = Ie;
|
|
18616
|
-
let He, rt,
|
|
18617
|
-
ve < ge ? (He = g[K * 6 + 1], rt = g[Ce * 6 + 1],
|
|
18616
|
+
let He, rt, Je, it, Se;
|
|
18617
|
+
ve < ge ? (He = g[K * 6 + 1], rt = g[Ce * 6 + 1], Je = g[Oe * 6 + 1], it = g[pe * 6 + 1], Se = (rt + Je) / 2) : (He = g[K * 6 + 4], rt = g[Ce * 6 + 4], Je = g[Oe * 6 + 4], it = g[pe * 6 + 4], Se = (rt + Je) / 2);
|
|
18618
18618
|
for (let Ie = K; Ie < Ce; Ie++) {
|
|
18619
18619
|
const Xe = Ce - K, ut = (Ie - K) / Xe;
|
|
18620
18620
|
ve < ge ? g[Ie * 6 + 1] = He + (Se - He) * ut : g[Ie * 6 + 4] = He + (Se - He) * ut;
|
|
@@ -18676,7 +18676,7 @@ function FC(n, t) {
|
|
|
18676
18676
|
});
|
|
18677
18677
|
});
|
|
18678
18678
|
}
|
|
18679
|
-
const
|
|
18679
|
+
const Ke = (n) => n;
|
|
18680
18680
|
function sg(n) {
|
|
18681
18681
|
if (!n || n.length < 3)
|
|
18682
18682
|
return;
|
|
@@ -21631,12 +21631,12 @@ var Fo = D2, fr = {}, S2 = {
|
|
|
21631
21631
|
R[++k] = X;
|
|
21632
21632
|
}), R;
|
|
21633
21633
|
}
|
|
21634
|
-
var He = Array.prototype, rt = Function.prototype,
|
|
21634
|
+
var He = Array.prototype, rt = Function.prototype, Je = Object.prototype, it = ge["__core-js_shared__"], Se = function() {
|
|
21635
21635
|
var y = /[^.]+$/.exec(it && it.keys && it.keys.IE_PROTO || "");
|
|
21636
21636
|
return y ? "Symbol(src)_1." + y : "";
|
|
21637
|
-
}(), Ie = rt.toString, Xe =
|
|
21637
|
+
}(), Ie = rt.toString, Xe = Je.hasOwnProperty, ut = Je.toString, gs = RegExp(
|
|
21638
21638
|
"^" + Ie.call(Xe).replace(Y, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
21639
|
-
), qt = Qe ? ge.Buffer : void 0, Pi = ge.Symbol, Gi = ge.Uint8Array, kt = Ce(Object.getPrototypeOf, Object), gn = Object.create, pn =
|
|
21639
|
+
), qt = Qe ? ge.Buffer : void 0, Pi = ge.Symbol, Gi = ge.Uint8Array, kt = Ce(Object.getPrototypeOf, Object), gn = Object.create, pn = Je.propertyIsEnumerable, Br = He.splice, ps = Object.getOwnPropertySymbols, vn = qt ? qt.isBuffer : void 0, ho = Ce(Object.keys, Object), An = Nt(ge, "DataView"), Qi = Nt(ge, "Map"), Ft = Nt(ge, "Promise"), bn = Nt(ge, "Set"), vs = Nt(ge, "WeakMap"), Wi = Nt(Object, "create"), As = It(An), Ui = It(Qi), bs = It(Ft), ys = It(bn), ws = It(vs), Ii = Pi ? Pi.prototype : void 0, uo = Ii ? Ii.valueOf : void 0;
|
|
21640
21640
|
function ci(y) {
|
|
21641
21641
|
var k = -1, R = y ? y.length : 0;
|
|
21642
21642
|
for (this.clear(); ++k < R; ) {
|
|
@@ -21957,7 +21957,7 @@ var Fo = D2, fr = {}, S2 = {
|
|
|
21957
21957
|
return !!Se && Se in y;
|
|
21958
21958
|
}
|
|
21959
21959
|
function vo(y) {
|
|
21960
|
-
var k = y && y.constructor, R = typeof k == "function" && k.prototype ||
|
|
21960
|
+
var k = y && y.constructor, R = typeof k == "function" && k.prototype || Je;
|
|
21961
21961
|
return y === R;
|
|
21962
21962
|
}
|
|
21963
21963
|
function It(y) {
|
|
@@ -22061,7 +22061,7 @@ var mr = {}, L2 = {
|
|
|
22061
22061
|
return y(k);
|
|
22062
22062
|
};
|
|
22063
22063
|
}
|
|
22064
|
-
function
|
|
22064
|
+
function Je(y, k) {
|
|
22065
22065
|
return y.has(k);
|
|
22066
22066
|
}
|
|
22067
22067
|
function it(y, k) {
|
|
@@ -22305,7 +22305,7 @@ var mr = {}, L2 = {
|
|
|
22305
22305
|
}
|
|
22306
22306
|
if (at) {
|
|
22307
22307
|
if (!Oe(k, function(ui, Zi) {
|
|
22308
|
-
if (!
|
|
22308
|
+
if (!Je(at, Zi) && (yt === ui || Me(yt, ui, R, X, be)))
|
|
22309
22309
|
return at.push(Zi);
|
|
22310
22310
|
})) {
|
|
22311
22311
|
Dt = !1;
|
|
@@ -26537,7 +26537,7 @@ function eM(n) {
|
|
|
26537
26537
|
};
|
|
26538
26538
|
return rr(
|
|
26539
26539
|
e = /*getImage*/
|
|
26540
|
-
n[11](
|
|
26540
|
+
n[11](Ke({
|
|
26541
26541
|
url: (
|
|
26542
26542
|
/*iconUrl*/
|
|
26543
26543
|
n[7]
|
|
@@ -26558,7 +26558,7 @@ function eM(n) {
|
|
|
26558
26558
|
p(s, o) {
|
|
26559
26559
|
n = s, i.ctx = n, o & /*iconUrl, iconRatio*/
|
|
26560
26560
|
160 && e !== (e = /*getImage*/
|
|
26561
|
-
n[11](
|
|
26561
|
+
n[11](Ke({
|
|
26562
26562
|
url: (
|
|
26563
26563
|
/*iconUrl*/
|
|
26564
26564
|
n[7]
|
|
@@ -26587,7 +26587,7 @@ function tM(n) {
|
|
|
26587
26587
|
};
|
|
26588
26588
|
return rr(
|
|
26589
26589
|
e = /*getKeyframe*/
|
|
26590
|
-
n[10](
|
|
26590
|
+
n[10](Ke({
|
|
26591
26591
|
url: (
|
|
26592
26592
|
/*iconUrl*/
|
|
26593
26593
|
n[7]
|
|
@@ -26616,7 +26616,7 @@ function tM(n) {
|
|
|
26616
26616
|
p(s, o) {
|
|
26617
26617
|
n = s, i.ctx = n, o & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
26618
26618
|
228 && e !== (e = /*getKeyframe*/
|
|
26619
|
-
n[10](
|
|
26619
|
+
n[10](Ke({
|
|
26620
26620
|
url: (
|
|
26621
26621
|
/*iconUrl*/
|
|
26622
26622
|
n[7]
|
|
@@ -26872,7 +26872,7 @@ function cM(n, t, e) {
|
|
|
26872
26872
|
4096 && e(5, r = m == null ? void 0 : m.ratio), n.$$.dirty & /*icon*/
|
|
26873
26873
|
4096 && e(4, a = (C = m == null ? void 0 : m.scale) != null ? C : 1), n.$$.dirty & /*icon*/
|
|
26874
26874
|
4096 && e(3, l = m == null ? void 0 : m.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
26875
|
-
252 && e(9, c =
|
|
26875
|
+
252 && e(9, c = Ke({
|
|
26876
26876
|
url: i,
|
|
26877
26877
|
steps: s,
|
|
26878
26878
|
fps: o,
|
|
@@ -28540,7 +28540,7 @@ function RM(n) {
|
|
|
28540
28540
|
let t, e, i, s, o, r, a;
|
|
28541
28541
|
return e = new CM({
|
|
28542
28542
|
props: {
|
|
28543
|
-
tag:
|
|
28543
|
+
tag: Ke(
|
|
28544
28544
|
/*tag*/
|
|
28545
28545
|
n[0]
|
|
28546
28546
|
),
|
|
@@ -28579,7 +28579,7 @@ function RM(n) {
|
|
|
28579
28579
|
p(l, c) {
|
|
28580
28580
|
const h = {};
|
|
28581
28581
|
c & /*tag*/
|
|
28582
|
-
1 && (h.tag =
|
|
28582
|
+
1 && (h.tag = Ke(
|
|
28583
28583
|
/*tag*/
|
|
28584
28584
|
l[0]
|
|
28585
28585
|
)), c & /*rendererMap*/
|
|
@@ -28619,7 +28619,7 @@ function RM(n) {
|
|
|
28619
28619
|
function _M(n) {
|
|
28620
28620
|
let t, e;
|
|
28621
28621
|
return t = new vM({
|
|
28622
|
-
props: { tag:
|
|
28622
|
+
props: { tag: Ke(
|
|
28623
28623
|
/*tag*/
|
|
28624
28624
|
n[0]
|
|
28625
28625
|
) }
|
|
@@ -28633,7 +28633,7 @@ function _M(n) {
|
|
|
28633
28633
|
p(i, s) {
|
|
28634
28634
|
const o = {};
|
|
28635
28635
|
s & /*tag*/
|
|
28636
|
-
1 && (o.tag =
|
|
28636
|
+
1 && (o.tag = Ke(
|
|
28637
28637
|
/*tag*/
|
|
28638
28638
|
i[0]
|
|
28639
28639
|
)), t.$set(o);
|
|
@@ -28652,7 +28652,7 @@ function _M(n) {
|
|
|
28652
28652
|
function FM(n) {
|
|
28653
28653
|
let t, e;
|
|
28654
28654
|
return t = new JE({
|
|
28655
|
-
props: { tag:
|
|
28655
|
+
props: { tag: Ke(
|
|
28656
28656
|
/*tag*/
|
|
28657
28657
|
n[0]
|
|
28658
28658
|
) }
|
|
@@ -28666,7 +28666,7 @@ function FM(n) {
|
|
|
28666
28666
|
p(i, s) {
|
|
28667
28667
|
const o = {};
|
|
28668
28668
|
s & /*tag*/
|
|
28669
|
-
1 && (o.tag =
|
|
28669
|
+
1 && (o.tag = Ke(
|
|
28670
28670
|
/*tag*/
|
|
28671
28671
|
i[0]
|
|
28672
28672
|
)), t.$set(o);
|
|
@@ -28685,7 +28685,7 @@ function FM(n) {
|
|
|
28685
28685
|
function NM(n) {
|
|
28686
28686
|
let t, e;
|
|
28687
28687
|
return t = new fM({
|
|
28688
|
-
props: { tag:
|
|
28688
|
+
props: { tag: Ke(
|
|
28689
28689
|
/*tag*/
|
|
28690
28690
|
n[0]
|
|
28691
28691
|
) }
|
|
@@ -28699,7 +28699,7 @@ function NM(n) {
|
|
|
28699
28699
|
p(i, s) {
|
|
28700
28700
|
const o = {};
|
|
28701
28701
|
s & /*tag*/
|
|
28702
|
-
1 && (o.tag =
|
|
28702
|
+
1 && (o.tag = Ke(
|
|
28703
28703
|
/*tag*/
|
|
28704
28704
|
i[0]
|
|
28705
28705
|
)), t.$set(o);
|
|
@@ -28718,7 +28718,7 @@ function NM(n) {
|
|
|
28718
28718
|
function HM(n) {
|
|
28719
28719
|
let t, e;
|
|
28720
28720
|
return t = new PE({
|
|
28721
|
-
props: { tag:
|
|
28721
|
+
props: { tag: Ke(
|
|
28722
28722
|
/*tag*/
|
|
28723
28723
|
n[0]
|
|
28724
28724
|
) }
|
|
@@ -28732,7 +28732,7 @@ function HM(n) {
|
|
|
28732
28732
|
p(i, s) {
|
|
28733
28733
|
const o = {};
|
|
28734
28734
|
s & /*tag*/
|
|
28735
|
-
1 && (o.tag =
|
|
28735
|
+
1 && (o.tag = Ke(
|
|
28736
28736
|
/*tag*/
|
|
28737
28737
|
i[0]
|
|
28738
28738
|
)), t.$set(o);
|
|
@@ -28751,7 +28751,7 @@ function HM(n) {
|
|
|
28751
28751
|
function GM(n) {
|
|
28752
28752
|
let t, e;
|
|
28753
28753
|
return t = new UE({
|
|
28754
|
-
props: { tag:
|
|
28754
|
+
props: { tag: Ke(
|
|
28755
28755
|
/*tag*/
|
|
28756
28756
|
n[0]
|
|
28757
28757
|
) }
|
|
@@ -28765,7 +28765,7 @@ function GM(n) {
|
|
|
28765
28765
|
p(i, s) {
|
|
28766
28766
|
const o = {};
|
|
28767
28767
|
s & /*tag*/
|
|
28768
|
-
1 && (o.tag =
|
|
28768
|
+
1 && (o.tag = Ke(
|
|
28769
28769
|
/*tag*/
|
|
28770
28770
|
i[0]
|
|
28771
28771
|
)), t.$set(o);
|
|
@@ -28784,7 +28784,7 @@ function GM(n) {
|
|
|
28784
28784
|
function QM(n) {
|
|
28785
28785
|
let t, e;
|
|
28786
28786
|
return t = new bE({
|
|
28787
|
-
props: { tag:
|
|
28787
|
+
props: { tag: Ke(
|
|
28788
28788
|
/*tag*/
|
|
28789
28789
|
n[0]
|
|
28790
28790
|
) }
|
|
@@ -28798,7 +28798,7 @@ function QM(n) {
|
|
|
28798
28798
|
p(i, s) {
|
|
28799
28799
|
const o = {};
|
|
28800
28800
|
s & /*tag*/
|
|
28801
|
-
1 && (o.tag =
|
|
28801
|
+
1 && (o.tag = Ke(
|
|
28802
28802
|
/*tag*/
|
|
28803
28803
|
i[0]
|
|
28804
28804
|
)), t.$set(o);
|
|
@@ -28817,7 +28817,7 @@ function QM(n) {
|
|
|
28817
28817
|
function WM(n) {
|
|
28818
28818
|
let t, e;
|
|
28819
28819
|
return t = new RP({
|
|
28820
|
-
props: { tag:
|
|
28820
|
+
props: { tag: Ke(
|
|
28821
28821
|
/*tag*/
|
|
28822
28822
|
n[0]
|
|
28823
28823
|
) }
|
|
@@ -28831,7 +28831,7 @@ function WM(n) {
|
|
|
28831
28831
|
p(i, s) {
|
|
28832
28832
|
const o = {};
|
|
28833
28833
|
s & /*tag*/
|
|
28834
|
-
1 && (o.tag =
|
|
28834
|
+
1 && (o.tag = Ke(
|
|
28835
28835
|
/*tag*/
|
|
28836
28836
|
i[0]
|
|
28837
28837
|
)), t.$set(o);
|
|
@@ -29903,7 +29903,7 @@ function d3(n) {
|
|
|
29903
29903
|
/*mediaStore*/
|
|
29904
29904
|
n[1]
|
|
29905
29905
|
),
|
|
29906
|
-
tag:
|
|
29906
|
+
tag: Ke(
|
|
29907
29907
|
/*tag*/
|
|
29908
29908
|
n[0]
|
|
29909
29909
|
),
|
|
@@ -29940,7 +29940,7 @@ function d3(n) {
|
|
|
29940
29940
|
s & /*mediaStore*/
|
|
29941
29941
|
2 && (o.mediaStore = /*mediaStore*/
|
|
29942
29942
|
i[1]), s & /*tag*/
|
|
29943
|
-
1 && (o.tag =
|
|
29943
|
+
1 && (o.tag = Ke(
|
|
29944
29944
|
/*tag*/
|
|
29945
29945
|
i[0]
|
|
29946
29946
|
)), s & /*state*/
|
|
@@ -33814,12 +33814,12 @@ class uk extends ao {
|
|
|
33814
33814
|
var l, c;
|
|
33815
33815
|
if (!this.startInfo)
|
|
33816
33816
|
return;
|
|
33817
|
-
const { line: i, scaleStartPoint: s, draggingObject: o } = this.startInfo, { scalePosition: r } = o, a = hn({ raycaster: e, line: i });
|
|
33817
|
+
const { line: i, scaleStartPoint: s, draggingObject: o } = this.startInfo, { scalePosition: r } = o, a = hn({ raycaster: e, line: i, clampToLine: !1 });
|
|
33818
33818
|
a.applyMatrix4(new b.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone())), (c = (l = this.config) == null ? void 0 : l.scaleCallback) == null || c.call(l, {
|
|
33819
33819
|
intersectPoint: a,
|
|
33820
33820
|
scalePosition: r,
|
|
33821
33821
|
offset: a.clone().sub(s)
|
|
33822
|
-
}), o.position.copy(a.clone());
|
|
33822
|
+
}), o.position.copy(a.clone()), this.hooks.emit("scale", new b.Vector3(1, 1, 1));
|
|
33823
33823
|
});
|
|
33824
33824
|
d(this, "dragEnd", () => {
|
|
33825
33825
|
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.internalHooks.emit("initialHelperPosition"), this.hooks.emit("scaleEnd"));
|
|
@@ -34117,7 +34117,7 @@ class Rg extends Hi {
|
|
|
34117
34117
|
scaleHelper: !0,
|
|
34118
34118
|
boundingBoxHelper: !1,
|
|
34119
34119
|
positionFrom: "objectPosition"
|
|
34120
|
-
}), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: m } = c, v =
|
|
34120
|
+
}), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: m } = c, v = s.hooks, p = new ct(), g = new Ve(this.five.camera, this.five.getElement()), A = (I) => {
|
|
34121
34121
|
if (I)
|
|
34122
34122
|
return typeof I == "boolean" ? I : I.enable;
|
|
34123
34123
|
};
|
|
@@ -36629,7 +36629,7 @@ const eo = {
|
|
|
36629
36629
|
18: !1,
|
|
36630
36630
|
17: !1,
|
|
36631
36631
|
91: !1
|
|
36632
|
-
},
|
|
36632
|
+
}, qe = {};
|
|
36633
36633
|
for (let n = 1; n < 20; n++)
|
|
36634
36634
|
eo["f".concat(n)] = 111 + n;
|
|
36635
36635
|
let Ue = [], Ws = null, Ug = "all";
|
|
@@ -36648,8 +36648,8 @@ function ex() {
|
|
|
36648
36648
|
}
|
|
36649
36649
|
function tx() {
|
|
36650
36650
|
const n = [];
|
|
36651
|
-
return Object.keys(
|
|
36652
|
-
|
|
36651
|
+
return Object.keys(qe).forEach((t) => {
|
|
36652
|
+
qe[t].forEach((e) => {
|
|
36653
36653
|
let {
|
|
36654
36654
|
key: i,
|
|
36655
36655
|
scope: s,
|
|
@@ -36679,9 +36679,9 @@ function nx(n) {
|
|
|
36679
36679
|
function sx(n, t) {
|
|
36680
36680
|
let e, i;
|
|
36681
36681
|
n || (n = to());
|
|
36682
|
-
for (const s in
|
|
36683
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
36684
|
-
for (e =
|
|
36682
|
+
for (const s in qe)
|
|
36683
|
+
if (Object.prototype.hasOwnProperty.call(qe, s))
|
|
36684
|
+
for (e = qe[s], i = 0; i < e.length; )
|
|
36685
36685
|
e[i].scope === n ? e.splice(i, 1).forEach((r) => {
|
|
36686
36686
|
let {
|
|
36687
36687
|
element: a
|
|
@@ -36701,8 +36701,8 @@ function ox(n) {
|
|
|
36701
36701
|
}
|
|
36702
36702
|
function Xg(n) {
|
|
36703
36703
|
if (typeof n == "undefined")
|
|
36704
|
-
Object.keys(
|
|
36705
|
-
Array.isArray(
|
|
36704
|
+
Object.keys(qe).forEach((s) => {
|
|
36705
|
+
Array.isArray(qe[s]) && qe[s].forEach((o) => Go(o)), delete qe[s];
|
|
36706
36706
|
}), xc(null);
|
|
36707
36707
|
else if (Array.isArray(n))
|
|
36708
36708
|
n.forEach((s) => {
|
|
@@ -36731,11 +36731,11 @@ const Go = (n) => {
|
|
|
36731
36731
|
} = n;
|
|
36732
36732
|
Wg(t).forEach((r) => {
|
|
36733
36733
|
const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" : lo(c);
|
|
36734
|
-
if (!
|
|
36734
|
+
if (!qe[h])
|
|
36735
36735
|
return;
|
|
36736
36736
|
e || (e = to());
|
|
36737
36737
|
const u = l > 1 ? Qg(ai, a) : [], f = [];
|
|
36738
|
-
|
|
36738
|
+
qe[h] = qe[h].filter((m) => {
|
|
36739
36739
|
const p = (i ? m.method === i : !0) && m.scope === e && Jk(m.mods, u);
|
|
36740
36740
|
return p && f.push(m.element), !p;
|
|
36741
36741
|
}), f.forEach((m) => xc(m));
|
|
@@ -36753,7 +36753,7 @@ function vf(n, t, e, i) {
|
|
|
36753
36753
|
}
|
|
36754
36754
|
}
|
|
36755
36755
|
function Af(n, t) {
|
|
36756
|
-
const e =
|
|
36756
|
+
const e = qe["*"];
|
|
36757
36757
|
let i = n.keyCode || n.which || n.charCode;
|
|
36758
36758
|
if (!Lt.filter.call(this, n))
|
|
36759
36759
|
return;
|
|
@@ -36774,9 +36774,9 @@ function Af(n, t) {
|
|
|
36774
36774
|
if (e)
|
|
36775
36775
|
for (let a = 0; a < e.length; a++)
|
|
36776
36776
|
e[a].scope === s && (n.type === "keydown" && e[a].keydown || n.type === "keyup" && e[a].keyup) && vf(n, e[a], s, t);
|
|
36777
|
-
if (!(i in
|
|
36777
|
+
if (!(i in qe))
|
|
36778
36778
|
return;
|
|
36779
|
-
const o =
|
|
36779
|
+
const o = qe[i], r = o.length;
|
|
36780
36780
|
for (let a = 0; a < r; a++)
|
|
36781
36781
|
if ((n.type === "keydown" && o[a].keydown || n.type === "keyup" && o[a].keyup) && o[a].key) {
|
|
36782
36782
|
const l = o[a], {
|
|
@@ -36792,7 +36792,7 @@ function Lt(n, t, e) {
|
|
|
36792
36792
|
const i = Wg(n);
|
|
36793
36793
|
let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
|
|
36794
36794
|
for (e === void 0 && typeof t == "function" && (e = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (o = t.scope), t.element && (r = t.element), t.keyup && (l = t.keyup), t.keydown !== void 0 && (c = t.keydown), t.capture !== void 0 && (u = t.capture), typeof t.splitKey == "string" && (h = t.splitKey), t.single === !0 && (f = !0)), typeof t == "string" && (o = t), f && Xg(n, o); a < i.length; a++)
|
|
36795
|
-
n = i[a].split(h), s = [], n.length > 1 && (s = Qg(ai, n)), n = n[n.length - 1], n = n === "*" ? "*" : lo(n), n in
|
|
36795
|
+
n = i[a].split(h), s = [], n.length > 1 && (s = Qg(ai, n)), n = n[n.length - 1], n = n === "*" ? "*" : lo(n), n in qe || (qe[n] = []), qe[n].push({
|
|
36796
36796
|
keyup: l,
|
|
36797
36797
|
keydown: c,
|
|
36798
36798
|
scope: o,
|
|
@@ -36831,14 +36831,14 @@ function Lt(n, t, e) {
|
|
|
36831
36831
|
}
|
|
36832
36832
|
function rx(n) {
|
|
36833
36833
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "all";
|
|
36834
|
-
Object.keys(
|
|
36835
|
-
|
|
36834
|
+
Object.keys(qe).forEach((e) => {
|
|
36835
|
+
qe[e].filter((s) => s.scope === t && s.shortcut === n).forEach((s) => {
|
|
36836
36836
|
s && s.method && s.method();
|
|
36837
36837
|
});
|
|
36838
36838
|
});
|
|
36839
36839
|
}
|
|
36840
36840
|
function xc(n) {
|
|
36841
|
-
const t = Object.values(
|
|
36841
|
+
const t = Object.values(qe).flat();
|
|
36842
36842
|
if (t.findIndex((i) => {
|
|
36843
36843
|
let {
|
|
36844
36844
|
element: s
|
|
@@ -36859,7 +36859,7 @@ function xc(n) {
|
|
|
36859
36859
|
capture: a
|
|
36860
36860
|
} = mi.get(s) || {};
|
|
36861
36861
|
o && r && (js(s, "keyup", r, a), js(s, "keydown", o, a), mi.delete(s));
|
|
36862
|
-
}), mi.clear(), Object.keys(
|
|
36862
|
+
}), mi.clear(), Object.keys(qe).forEach((s) => delete qe[s]), Ws)) {
|
|
36863
36863
|
const {
|
|
36864
36864
|
listener: s,
|
|
36865
36865
|
capture: o
|
|
@@ -36903,8 +36903,8 @@ class Ci extends Rt {
|
|
|
36903
36903
|
* @description 配置
|
|
36904
36904
|
*/
|
|
36905
36905
|
d(this, "config");
|
|
36906
|
-
d(this, "on", (e, i, s) =>
|
|
36907
|
-
d(this, "off", (...e) =>
|
|
36906
|
+
d(this, "on", (e, i, s) => Ze.modules.fiveDomEvents.addEventListener(this, e, i, s));
|
|
36907
|
+
d(this, "off", (...e) => Ze.modules.fiveDomEvents.removeEventListener(this, ...e));
|
|
36908
36908
|
e != null && e.id && (this.uuid = e.id), this.config = x({ canEdit: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility, e.style.occlusionMode = this.config.occlusionMode), this.addEventListener("removed", () => {
|
|
36909
36909
|
br(this);
|
|
36910
36910
|
}), Lt("esc", () => {
|
|
@@ -36932,7 +36932,7 @@ class Ci extends Rt {
|
|
|
36932
36932
|
};
|
|
36933
36933
|
}
|
|
36934
36934
|
get pointSelector() {
|
|
36935
|
-
return
|
|
36935
|
+
return Ze.modules.pointSelector;
|
|
36936
36936
|
}
|
|
36937
36937
|
/**
|
|
36938
36938
|
* @description 撤销
|
|
@@ -36962,7 +36962,7 @@ class Ci extends Rt {
|
|
|
36962
36962
|
* @description 停止创建当前物体,等同于`esc`
|
|
36963
36963
|
*/
|
|
36964
36964
|
stopCreating() {
|
|
36965
|
-
|
|
36965
|
+
Ze.modules.pointSelector.disable();
|
|
36966
36966
|
}
|
|
36967
36967
|
/**
|
|
36968
36968
|
* @description 从场景中删除当前物体,并且移除事件监听
|
|
@@ -36985,8 +36985,8 @@ class Ci extends Rt {
|
|
|
36985
36985
|
* @description 显示删除按钮
|
|
36986
36986
|
*/
|
|
36987
36987
|
showDeleteButton(e, i) {
|
|
36988
|
-
|
|
36989
|
-
|
|
36988
|
+
Ze.modules.cursor.showDeleteButton({ clientX: e, clientY: i, container: document.body, onClick: () => this.delete() }), Ze.modules.five.once("cameraUpdate", () => {
|
|
36989
|
+
Ze.modules.cursor.removeDeleteButton();
|
|
36990
36990
|
});
|
|
36991
36991
|
}
|
|
36992
36992
|
applyObjectMatrixWorld(e, i) {
|
|
@@ -36996,6 +36996,7 @@ class Ci extends Rt {
|
|
|
36996
36996
|
class jr extends Rt {
|
|
36997
36997
|
constructor(e) {
|
|
36998
36998
|
super();
|
|
36999
|
+
d(this, "hooks", new ct());
|
|
36999
37000
|
d(this, "originObject");
|
|
37000
37001
|
this.originObject = e;
|
|
37001
37002
|
}
|
|
@@ -37016,15 +37017,22 @@ class co extends jr {
|
|
|
37016
37017
|
constructor(e, i) {
|
|
37017
37018
|
super(e);
|
|
37018
37019
|
d(this, "objectHelperConfig");
|
|
37020
|
+
d(this, "onObjectUpdate", () => {
|
|
37021
|
+
this.hooks.emit("objectUpdate");
|
|
37022
|
+
});
|
|
37019
37023
|
this.objectHelperConfig = i;
|
|
37020
37024
|
}
|
|
37021
37025
|
enable() {
|
|
37022
37026
|
super.enable();
|
|
37023
37027
|
const e = typeof this.objectHelperConfig == "function" ? this.objectHelperConfig() : this.objectHelperConfig;
|
|
37024
|
-
|
|
37028
|
+
Ze.modules.object3DHelper.addObject3DHelper(this.originObject, x({ positionFrom: "boundingBox" }, e));
|
|
37029
|
+
const i = Ze.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
|
|
37030
|
+
i.hooks.on("move", this.onObjectUpdate), i.hooks.on("rotate", this.onObjectUpdate), i.hooks.on("scale", this.onObjectUpdate);
|
|
37025
37031
|
}
|
|
37026
37032
|
disable() {
|
|
37027
|
-
super.disable()
|
|
37033
|
+
super.disable();
|
|
37034
|
+
const e = Ze.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
|
|
37035
|
+
e.hooks.off("move", this.onObjectUpdate), e.hooks.off("rotate", this.onObjectUpdate), e.hooks.off("scale", this.onObjectUpdate), Ze.modules.object3DHelper.removeObject3DHelper(this.originObject);
|
|
37028
37036
|
}
|
|
37029
37037
|
}
|
|
37030
37038
|
class Dc extends jr {
|
|
@@ -37048,7 +37056,7 @@ class Dc extends jr {
|
|
|
37048
37056
|
enable() {
|
|
37049
37057
|
super.enable(), this.points.filter(De).forEach((e) => {
|
|
37050
37058
|
const i = new ts();
|
|
37051
|
-
i.visible = !1, i.position.copy(e), i.draggable = !0,
|
|
37059
|
+
i.visible = !1, i.position.copy(e), i.draggable = !0, Ze.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), Ze.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), Ze.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
|
|
37052
37060
|
});
|
|
37053
37061
|
}
|
|
37054
37062
|
disable() {
|
|
@@ -37061,7 +37069,7 @@ class ax extends Dc {
|
|
|
37061
37069
|
d(this, "onDrag", (e) => {
|
|
37062
37070
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
37063
37071
|
return;
|
|
37064
|
-
const i = no(
|
|
37072
|
+
const i = no(Ze.modules.five, e.raycaster);
|
|
37065
37073
|
this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
|
|
37066
37074
|
});
|
|
37067
37075
|
}
|
|
@@ -37075,7 +37083,7 @@ class lx extends Dc {
|
|
|
37075
37083
|
d(this, "onDrag", (e) => {
|
|
37076
37084
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
37077
37085
|
return;
|
|
37078
|
-
const i = no(
|
|
37086
|
+
const i = no(Ze.modules.five, e.raycaster);
|
|
37079
37087
|
this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((s) => s.position));
|
|
37080
37088
|
});
|
|
37081
37089
|
}
|
|
@@ -37198,7 +37206,7 @@ class hx extends jr {
|
|
|
37198
37206
|
super(e);
|
|
37199
37207
|
d(this, "onDrag", (e) => {
|
|
37200
37208
|
var s;
|
|
37201
|
-
const i = no(
|
|
37209
|
+
const i = no(Ze.modules.five, e.raycaster);
|
|
37202
37210
|
(s = this.originObject.pointMesh) == null || s.position.copy(i.point);
|
|
37203
37211
|
});
|
|
37204
37212
|
}
|
|
@@ -37469,7 +37477,7 @@ class dx extends Dc {
|
|
|
37469
37477
|
d(this, "onDrag", (e) => {
|
|
37470
37478
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
37471
37479
|
return;
|
|
37472
|
-
const i = no(
|
|
37480
|
+
const i = no(Ze.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
|
|
37473
37481
|
this.draggingPoints.forEach((o) => o.position.copy(s)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((o) => o.position));
|
|
37474
37482
|
});
|
|
37475
37483
|
}
|
|
@@ -37814,7 +37822,7 @@ function Kg(n, t) {
|
|
|
37814
37822
|
e.add(i), yield zc(i, t).finished, e.remove(i), n.setPoints({ points: i.points });
|
|
37815
37823
|
const s = new Yt();
|
|
37816
37824
|
s.name = "LineHelper", e.add(s);
|
|
37817
|
-
const o = i.points.at(-1), r = fn(i.points), a = o.clone().add(r.clone().multiplyScalar(
|
|
37825
|
+
const o = i.points.at(-1), r = fn(i.points), a = o.clone().add(r.clone().multiplyScalar(100)), l = o.clone().sub(r.clone().multiplyScalar(100));
|
|
37818
37826
|
return s.setPoints([a, l]), t.enable(), new Promise((c, h) => {
|
|
37819
37827
|
const u = (p) => {
|
|
37820
37828
|
m(), c();
|
|
@@ -38051,7 +38059,7 @@ function mx(n, t, e) {
|
|
|
38051
38059
|
o.remove(a);
|
|
38052
38060
|
const E = I.raycaster.ray.intersectPlane(m, new b.Vector3()), S = h[0].distanceTo(h[1]) / 2, T = new b.Vector3().lerpVectors(h[0], h[1], 0.5), W = new b.Vector3().subVectors(E, T).normalize();
|
|
38053
38061
|
u = new b.Vector3().addVectors(T, W.multiplyScalar(S));
|
|
38054
|
-
const F = [h[0], u, h[1]], H = tp(F,
|
|
38062
|
+
const F = [h[0], u, h[1]], H = tp(F, Ze.modules.five.camera.position);
|
|
38055
38063
|
n.setPoints(H);
|
|
38056
38064
|
return;
|
|
38057
38065
|
}
|
|
@@ -38100,7 +38108,7 @@ function gx(n, t, e) {
|
|
|
38100
38108
|
o.remove(a);
|
|
38101
38109
|
const E = new b.Vector3().crossVectors(h[0].clone().sub(h[1]), m.normal).normalize();
|
|
38102
38110
|
u = new b.Line3(h[1].clone().add(E), h[1].clone().sub(E)).closestPointToPoint(I.point, !1, new b.Vector3());
|
|
38103
|
-
const T = [h[0], h[1], u], W = tp(T,
|
|
38111
|
+
const T = [h[0], h[1], u], W = tp(T, Ze.modules.five.camera.position);
|
|
38104
38112
|
n.setPoints(W);
|
|
38105
38113
|
return;
|
|
38106
38114
|
}
|
|
@@ -38395,7 +38403,7 @@ function rp(n, t) {
|
|
|
38395
38403
|
yield Oc(n.bottomCircle, t);
|
|
38396
38404
|
const i = new Yt();
|
|
38397
38405
|
i.name = "LineHelper", e.add(i);
|
|
38398
|
-
const s = t.position.point, o = n.normal.clone().normalize(), r = s.clone().add(o.clone().multiplyScalar(
|
|
38406
|
+
const s = t.position.point, o = n.normal.clone().normalize(), r = s.clone().add(o.clone().multiplyScalar(100)), a = s.clone().sub(o.clone().multiplyScalar(100));
|
|
38399
38407
|
return i.setPoints([r, a]), t.enable(), new Promise((l, c) => {
|
|
38400
38408
|
const h = (v) => {
|
|
38401
38409
|
f(), l();
|
|
@@ -38578,7 +38586,7 @@ function lp(n, t, e) {
|
|
|
38578
38586
|
}
|
|
38579
38587
|
const r = new gr(n.style);
|
|
38580
38588
|
o.add(r), yield jc(r, t, e), o.remove(r), n.setPoints({ points: r.points });
|
|
38581
|
-
const a = new Yt(), l = fn(n.bottomPositions), c = jt(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(
|
|
38589
|
+
const a = new Yt(), l = fn(n.bottomPositions), c = jt(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), u = c.clone().sub(l.clone().multiplyScalar(100));
|
|
38582
38590
|
a.setPoints([h, u]), o.add(a), t.enable();
|
|
38583
38591
|
const f = (g) => {
|
|
38584
38592
|
v(), i();
|
|
@@ -38894,9 +38902,9 @@ const Vn = class extends ct {
|
|
|
38894
38902
|
});
|
|
38895
38903
|
}
|
|
38896
38904
|
};
|
|
38897
|
-
let
|
|
38898
|
-
d(
|
|
38899
|
-
const $D = (n) => new
|
|
38905
|
+
let Ze = Vn;
|
|
38906
|
+
d(Ze, "modules", Ng);
|
|
38907
|
+
const $D = (n) => new Ze(n);
|
|
38900
38908
|
function vx(n, ...t) {
|
|
38901
38909
|
t.forEach((e) => {
|
|
38902
38910
|
n.children.includes(e) || e && n.add(e);
|
|
@@ -39379,7 +39387,7 @@ export {
|
|
|
39379
39387
|
oD as ROOM_FETILE_TYPE_MAP,
|
|
39380
39388
|
aD as ROOM_TYPE_MAP,
|
|
39381
39389
|
gi as Rotation,
|
|
39382
|
-
|
|
39390
|
+
Ze as Sculpt,
|
|
39383
39391
|
$D as SculptPlugin,
|
|
39384
39392
|
iD as TopviewFloorplanPlugin,
|
|
39385
39393
|
t5 as Util,
|