@realsee/dnalogel 3.54.2 → 3.55.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 +5 -0
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -0
- package/dist/ModelMakerPlugin/item/prismItem.d.ts +7 -0
- package/dist/Sculpt/Meshes/Line.d.ts +1 -1
- package/dist/Sculpt/Objects/Base/Editor.d.ts +2 -0
- package/dist/Sculpt/typings/style.d.ts +15 -5
- package/dist/index.cjs.js +49 -49
- package/dist/index.js +3417 -3373
- package/dist/index.umd.js +40 -40
- package/dist/shared-utils/Object3DHelper/index.d.ts +4 -0
- package/dist/shared-utils/three/core/LineMaterial.d.ts +1 -5
- package/dist/shared-utils/three/core/LineMaterial2.d.ts +1 -5
- 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 +10 -10
- 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 +7 -7
- 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 +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +3 -3
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +5 -4
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +5 -4
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +3 -3
- package/docs/classes/Util.sculpt.CylinderMesh.html +3 -3
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +5 -4
- package/docs/classes/Util.sculpt.LineMesh.html +6 -6
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +5 -5
- package/docs/classes/Util.sculpt.PrismMesh.html +3 -3
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +5 -4
- package/docs/classes/Util.sculpt.RectangleMesh.html +5 -5
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +5 -4
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +3 -3
- 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/CruisePlugin/Work.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +116 -125
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -0
- package/libs/ModelMakerPlugin/item/baseItem.js +21 -18
- package/libs/ModelMakerPlugin/item/prismItem.d.ts +7 -0
- package/libs/ModelMakerPlugin/item/prismItem.js +86 -22
- package/libs/Sculpt/Meshes/CircleWithEdge.js +22 -30
- package/libs/Sculpt/Meshes/Line.d.ts +1 -1
- package/libs/Sculpt/Meshes/Line.js +96 -97
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +14 -14
- package/libs/Sculpt/Meshes/Polyline.js +20 -20
- package/libs/Sculpt/Meshes/Prism.js +48 -49
- package/libs/Sculpt/Meshes/RectangleWithEdge.js +18 -19
- package/libs/Sculpt/Objects/Base/Editor.d.ts +2 -0
- package/libs/Sculpt/Objects/Base/Editor.js +34 -28
- package/libs/Sculpt/Objects/Box/index.js +24 -24
- package/libs/Sculpt/Objects/Circle/index.js +25 -25
- package/libs/Sculpt/Objects/Cylinder/index.js +35 -35
- package/libs/Sculpt/Objects/Polygon/index.js +18 -18
- package/libs/Sculpt/Objects/Prism/index.js +25 -25
- package/libs/Sculpt/Objects/Rectangle/index.js +14 -14
- package/libs/Sculpt/typings/style.d.ts +15 -5
- package/libs/Sculpt/typings/style.js +3 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +5 -5
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/Object3DHelper/index.d.ts +4 -0
- package/libs/shared-utils/Object3DHelper/index.js +21 -13
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -1
- package/libs/shared-utils/three/core/LineMaterial.d.ts +1 -5
- package/libs/shared-utils/three/core/LineMaterial.js +18 -11
- package/libs/shared-utils/three/core/LineMaterial2.d.ts +1 -5
- package/libs/shared-utils/three/core/LineMaterial2.js +18 -11
- package/package.json +1 -1
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
1
|
+
var D = Object.defineProperty;
|
|
2
|
+
var W = Object.getOwnPropertySymbols;
|
|
3
|
+
var j = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var b = (l, n, e) => n in l ? D(l, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[n] = e, g = (l, n) => {
|
|
5
5
|
for (var e in n || (n = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
|
|
10
|
-
return
|
|
6
|
+
j.call(n, e) && b(l, e, n[e]);
|
|
7
|
+
if (W)
|
|
8
|
+
for (var e of W(n))
|
|
9
|
+
L.call(n, e) && b(l, e, n[e]);
|
|
10
|
+
return l;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
var h = (l, n, e) => (b(l, typeof n != "symbol" ? n + "" : n, e), e);
|
|
13
|
+
var E = (l, n, e) => new Promise((i, a) => {
|
|
14
|
+
var o = (t) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
16
|
+
s(e.next(t));
|
|
17
|
+
} catch (p) {
|
|
18
|
+
a(p);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, r = (t) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
|
|
22
|
+
s(e.throw(t));
|
|
23
|
+
} catch (p) {
|
|
24
|
+
a(p);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, s = (t) => t.done ? i(t.value) : Promise.resolve(t.value).then(o, r);
|
|
27
|
+
s((e = e.apply(l, n)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Controller as
|
|
30
|
-
import * as
|
|
31
|
-
import { ModelMakerBoxItem as
|
|
32
|
-
import { PrismMesh as
|
|
33
|
-
import { anyPositionToVector3 as
|
|
34
|
-
import { PolygonWithEdgeMesh as
|
|
29
|
+
import { Controller as S } from "../base/BasePluginWithData.js";
|
|
30
|
+
import * as d from "three";
|
|
31
|
+
import { ModelMakerBoxItem as A } from "./item/boxItem.js";
|
|
32
|
+
import { PrismMesh as k } from "../Sculpt/Meshes/Prism.js";
|
|
33
|
+
import { anyPositionToVector3 as H } from "../shared-utils/positionToVector3.js";
|
|
34
|
+
import { PolygonWithEdgeMesh as B } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
35
35
|
import "../shared-utils/tag.js";
|
|
36
36
|
import "hammerjs";
|
|
37
37
|
import "../shared-utils/three/PointSelector/index.js";
|
|
38
38
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
39
39
|
import "@realsee/five/line";
|
|
40
|
-
import { notNil as
|
|
40
|
+
import { notNil as T } from "../shared-utils/isNil.js";
|
|
41
41
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
42
|
-
import { boxVertex as
|
|
42
|
+
import { boxVertex as v } from "../shared-utils/three/boundingBox.js";
|
|
43
43
|
import "animejs";
|
|
44
|
-
import { waitFiveModelLoaded as
|
|
44
|
+
import { waitFiveModelLoaded as O } from "../shared-utils/five/fiveModelLoad.js";
|
|
45
45
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
46
|
import "../shared-utils/five/FivePuppet.js";
|
|
47
|
-
import { tagRendererMap as
|
|
48
|
-
import { ModelMakerPrismItem as
|
|
49
|
-
import { ModelMakerPolygonItem as
|
|
50
|
-
import { getFiveDomEvent as
|
|
51
|
-
import { fiveEveryReadyListener as
|
|
52
|
-
import { sleep as
|
|
47
|
+
import { tagRendererMap as z } from "./utils/tagRenderer.js";
|
|
48
|
+
import { ModelMakerPrismItem as F } from "./item/prismItem.js";
|
|
49
|
+
import { ModelMakerPolygonItem as G } from "./item/polygonItem.js";
|
|
50
|
+
import { getFiveDomEvent as Q } from "./utils/getFiveDomEvent.js";
|
|
51
|
+
import { fiveEveryReadyListener as q } from "../shared-utils/five/fiveEveryReadyListener.js";
|
|
52
|
+
import { sleep as N } from "../CruisePlugin/utils/sleep.js";
|
|
53
53
|
import "../base/BasePlugin.js";
|
|
54
54
|
import "../shared-utils/Subscribe.js";
|
|
55
55
|
import "../shared-utils/three/core/Sphere.js";
|
|
@@ -118,153 +118,144 @@ import "./item/baseItem.js";
|
|
|
118
118
|
import "../shared-utils/three/addIfNotExists.js";
|
|
119
119
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
120
120
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
121
|
-
class
|
|
121
|
+
class Ft extends S {
|
|
122
122
|
constructor(e, i) {
|
|
123
|
-
var
|
|
123
|
+
var a, o;
|
|
124
124
|
super(e);
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
125
|
+
h(this, "state");
|
|
126
|
+
h(this, "items", []);
|
|
127
|
+
h(this, "group", new d.Group());
|
|
128
|
+
h(this, "data");
|
|
129
|
+
h(this, "tagRendererMap", {});
|
|
130
|
+
h(this, "fiveDomEvents");
|
|
131
|
+
h(this, "zFightingOffset", 0);
|
|
132
|
+
h(this, "tagWrapper");
|
|
133
|
+
h(this, "occlusionVisibility");
|
|
134
|
+
h(this, "occlusionMode");
|
|
135
|
+
h(this, "fiveEveryReadyListenerDisposer");
|
|
136
|
+
h(this, "onFiveModeChange", (e) => {
|
|
137
137
|
const i = this.occlusionVisibility;
|
|
138
|
-
Array.isArray(i) && this.items.forEach((
|
|
139
|
-
|
|
138
|
+
Array.isArray(i) && this.items.forEach((a) => {
|
|
139
|
+
a.model.setStyle instanceof Function && a.model.setStyle({ occlusionVisibility: i.includes(e) });
|
|
140
140
|
});
|
|
141
141
|
});
|
|
142
|
-
|
|
142
|
+
h(this, "handleEnable", () => {
|
|
143
143
|
var e, i;
|
|
144
|
-
this.five.scene.add(this.group), (i = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0, this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveEveryReady(), this.five.on("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer =
|
|
144
|
+
this.five.scene.add(this.group), (i = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0, this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveEveryReady(), this.five.on("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer = q(this.five, this.onFiveEveryReady);
|
|
145
145
|
});
|
|
146
|
-
|
|
146
|
+
h(this, "handleDisable", () => {
|
|
147
147
|
this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0, this.five.off("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer();
|
|
148
148
|
});
|
|
149
|
-
|
|
149
|
+
h(this, "onFiveEveryReady", () => E(this, null, function* () {
|
|
150
150
|
if (this.five.state.mode === "Panorama")
|
|
151
151
|
return;
|
|
152
|
-
const e = this.items.filter((t) => t instanceof
|
|
153
|
-
yield
|
|
154
|
-
const
|
|
152
|
+
const e = this.items.filter((t) => t instanceof F).map((t) => t.tag), i = e.filter((t) => t.position && t.visible && t.enabled);
|
|
153
|
+
yield N(0);
|
|
154
|
+
const a = this.five.camera.position.clone(), o = i.sort((t, p) => a.distanceTo(t.position) - a.distanceTo(p.position)), r = [], s = (t, p) => !(t.right < p.left || t.left > p.right || t.bottom < p.top || t.top > p.bottom);
|
|
155
155
|
e.forEach((t) => {
|
|
156
156
|
t.visibles[2] = void 0;
|
|
157
|
-
}),
|
|
157
|
+
}), o.forEach((t) => {
|
|
158
158
|
if (t.visibles[1] === !1)
|
|
159
159
|
return;
|
|
160
|
-
const
|
|
161
|
-
if (!
|
|
160
|
+
const p = t.container.getElementsByClassName("room-label-item__text")[0];
|
|
161
|
+
if (!p)
|
|
162
162
|
return;
|
|
163
|
-
const
|
|
164
|
-
|
|
163
|
+
const m = p.getBoundingClientRect();
|
|
164
|
+
r.every((c) => !s(c.boundingClientRect, m)) ? (r.push({ tag: t, boundingClientRect: m }), t.visibles[2] = !0) : t.visibles[2] = !1, t.needsRender = !0;
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
|
|
167
|
+
h(this, "updateTagRenderer", () => {
|
|
168
168
|
this.items.forEach((e) => {
|
|
169
|
-
var
|
|
170
|
-
const i = (
|
|
169
|
+
var a;
|
|
170
|
+
const i = (a = this.tagRendererMap[e.type]) != null ? a : z[e.type];
|
|
171
171
|
i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
|
-
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (
|
|
175
|
-
var
|
|
176
|
-
const
|
|
177
|
-
return
|
|
174
|
+
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (a = i == null ? void 0 : i.occlusionVisibility) != null ? a : !1, this.occlusionMode = (o = i == null ? void 0 : i.occlusionMode) != null ? o : "translucence", this.fiveDomEvents = Q(e), this.tagWrapper = (() => {
|
|
175
|
+
var s;
|
|
176
|
+
const r = document.createElement("div");
|
|
177
|
+
return r.style.position = "absolute", r.style.top = "0", r.style.left = "0", r.style.width = "100%", r.style.height = "100%", r.style.pointerEvents = "none", r.style.zIndex = `${(s = i == null ? void 0 : i.tagContainerZIndex) != null ? s : ""}`, r;
|
|
178
178
|
})(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
|
|
179
179
|
}
|
|
180
180
|
load(e) {
|
|
181
|
-
return
|
|
182
|
-
var
|
|
183
|
-
if (this.clear(), this.data = e, yield
|
|
181
|
+
return E(this, null, function* () {
|
|
182
|
+
var a;
|
|
183
|
+
if (this.clear(), this.data = e, yield O(this.five), this.data !== e)
|
|
184
184
|
return;
|
|
185
185
|
this.clear();
|
|
186
|
-
const i =
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
const i = (o) => {
|
|
187
|
+
var s;
|
|
188
|
+
const r = o.object_data.color ? new d.Color().setHex(parseInt(o.object_data.color.slice(1), 16)).convertSRGBToLinear() : new d.Color(1, 1, 1);
|
|
189
|
+
return {
|
|
190
|
+
color: r,
|
|
191
|
+
lineColor: r,
|
|
192
|
+
opacity: ((s = o.object_data.opacity) != null ? s : 0.4) / 2,
|
|
193
|
+
lineOpacity: 1,
|
|
194
|
+
lineWidth: 1,
|
|
195
|
+
occlusionVisibility: typeof this.occlusionVisibility == "boolean" ? this.occlusionVisibility : !1,
|
|
196
|
+
occlusionMode: this.occlusionMode
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
(a = e == null ? void 0 : e.list) == null || a.forEach((o) => {
|
|
200
|
+
var r;
|
|
189
201
|
if (o.type === "triangles") {
|
|
190
|
-
const
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
opacity: ((t = o.object_data.opacity) != null ? t : 0.4) / 2,
|
|
194
|
-
lineColor: o.object_data.color,
|
|
195
|
-
lineWidth: d,
|
|
196
|
-
occlusionVisibility: i,
|
|
197
|
-
occlusionMode: s
|
|
198
|
-
}), this.fiveDomEvents.addEventListener(r, "hover", () => r.highlight()), this.fiveDomEvents.addEventListener(r, "unHover", () => r.unhighlight());
|
|
199
|
-
const m = new U({
|
|
202
|
+
const s = new B();
|
|
203
|
+
s.setPoints(o.object_data.points), s.setStyle(i(o)), this.fiveDomEvents.addEventListener(s, "hover", () => s.highlight()), this.fiveDomEvents.addEventListener(s, "unHover", () => s.unhighlight());
|
|
204
|
+
const t = new G({
|
|
200
205
|
five: this.five,
|
|
201
206
|
tagWrapper: this.tagWrapper,
|
|
202
|
-
model:
|
|
207
|
+
model: s,
|
|
203
208
|
group: this.group,
|
|
204
209
|
type: o.type,
|
|
205
210
|
rawData: o
|
|
206
211
|
});
|
|
207
|
-
this.items.push(
|
|
212
|
+
this.items.push(t);
|
|
208
213
|
} else if (o.type === "prism") {
|
|
209
|
-
const
|
|
210
|
-
this.zFightingOffset +=
|
|
211
|
-
const
|
|
212
|
-
var
|
|
213
|
-
return [
|
|
214
|
+
const s = new k();
|
|
215
|
+
this.zFightingOffset += 5e-4;
|
|
216
|
+
const t = o.object_data.points.map((c) => {
|
|
217
|
+
var u;
|
|
218
|
+
return [c[0], c[1] + ((u = o.object_data.fixedY) != null ? u : 0), c[2]];
|
|
214
219
|
});
|
|
215
|
-
|
|
216
|
-
const
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
opacity: ((u = o.object_data.opacity) != null ? u : 0.4) / 2,
|
|
220
|
-
lineColor: o.object_data.color,
|
|
221
|
-
lineWidth: d,
|
|
222
|
-
occlusionVisibility: i,
|
|
223
|
-
occlusionMode: s
|
|
224
|
-
});
|
|
225
|
-
const b = new D({
|
|
220
|
+
t.push(t[0]);
|
|
221
|
+
const p = o.object_data.height + ((r = o.object_data.fixedHeight) != null ? r : 0) + this.zFightingOffset, m = H(t[0]).add(new d.Vector3().setY(p));
|
|
222
|
+
s.setPoints({ points: t, heightPoint: m }), s.setStyle(i(o));
|
|
223
|
+
const y = new F({
|
|
226
224
|
five: this.five,
|
|
227
225
|
tagWrapper: this.tagWrapper,
|
|
228
|
-
model:
|
|
226
|
+
model: s,
|
|
229
227
|
group: this.group,
|
|
230
228
|
type: o.type,
|
|
231
229
|
rawData: o
|
|
232
230
|
});
|
|
233
|
-
this.items.push(
|
|
231
|
+
this.items.push(y);
|
|
234
232
|
} else if (o.type === "box") {
|
|
235
|
-
const
|
|
236
|
-
|
|
237
|
-
points: [
|
|
238
|
-
heightPoint:
|
|
239
|
-
}),
|
|
240
|
-
|
|
241
|
-
opacity: (b != null ? b : 0.4) / 2,
|
|
242
|
-
lineColor: f,
|
|
243
|
-
lineWidth: d,
|
|
244
|
-
occlusionVisibility: i,
|
|
245
|
-
occlusionMode: s
|
|
246
|
-
});
|
|
247
|
-
const A = new O({
|
|
233
|
+
const s = new k(), { start: t, end: p, rotation: m = [0, 0, 0, 0], opacity: y, color: c } = o.object_data, u = new d.Vector3().fromArray(t), R = new d.Vector3().fromArray(p), I = new d.Euler().fromArray(m), w = new d.Quaternion().setFromEuler(I), M = w.clone().inverse(), _ = new d.Vector3().lerpVectors(u, R, 0.5), C = _.clone().negate(), x = u.clone().add(C).applyQuaternion(M), V = R.clone().add(C).applyQuaternion(M), f = new d.Box3(x.clone().max(V), x.clone().min(V));
|
|
234
|
+
s.setPoints({
|
|
235
|
+
points: [v(f, 2), v(f, 3), v(f, 7), v(f, 6)],
|
|
236
|
+
heightPoint: v(f, 1)
|
|
237
|
+
}), s.position.copy(_), s.quaternion.copy(w), s.setStyle(i(o));
|
|
238
|
+
const P = new A({
|
|
248
239
|
five: this.five,
|
|
249
240
|
tagWrapper: this.tagWrapper,
|
|
250
|
-
model:
|
|
241
|
+
model: s,
|
|
251
242
|
group: this.group,
|
|
252
243
|
type: o.type,
|
|
253
244
|
rawData: o
|
|
254
245
|
});
|
|
255
|
-
this.items.push(
|
|
246
|
+
this.items.push(P);
|
|
256
247
|
}
|
|
257
248
|
}), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e);
|
|
258
249
|
});
|
|
259
250
|
}
|
|
260
251
|
setState(e) {
|
|
261
|
-
|
|
252
|
+
T(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), T(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
|
|
262
253
|
}
|
|
263
254
|
getItemById(e) {
|
|
264
255
|
return this.items.find((i) => i.rawData.id === e);
|
|
265
256
|
}
|
|
266
257
|
registerTagRenderer(e) {
|
|
267
|
-
this.tagRendererMap =
|
|
258
|
+
this.tagRendererMap = g(g({}, this.tagRendererMap), e), this.updateTagRenderer();
|
|
268
259
|
}
|
|
269
260
|
hasCustomTagRenderer(e) {
|
|
270
261
|
return !!this.tagRendererMap[e];
|
|
@@ -298,5 +289,5 @@ class Dt extends z {
|
|
|
298
289
|
}
|
|
299
290
|
}
|
|
300
291
|
export {
|
|
301
|
-
|
|
292
|
+
Ft as Controller
|
|
302
293
|
};
|
|
@@ -23,6 +23,7 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
|
|
|
23
23
|
protected five: Five;
|
|
24
24
|
protected group: THREE.Object3D;
|
|
25
25
|
protected fiveDomEvents: FiveDomEvents;
|
|
26
|
+
protected disposers: (() => any)[];
|
|
26
27
|
constructor(params: {
|
|
27
28
|
five: Five;
|
|
28
29
|
model: THREE.Object3D;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var m = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import * as
|
|
5
|
-
import { addIfNotExists as
|
|
6
|
-
import { Subscribe as
|
|
2
|
+
var d = (s, i, t) => i in s ? m(s, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[i] = t;
|
|
3
|
+
var e = (s, i, t) => (d(s, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
|
+
import * as n from "three";
|
|
5
|
+
import { addIfNotExists as p } from "../../shared-utils/three/addIfNotExists.js";
|
|
6
|
+
import { Subscribe as l } from "../../shared-utils/Subscribe.js";
|
|
7
7
|
import { tag as a } from "../../shared-utils/tag.js";
|
|
8
8
|
import { boundingBox as v } from "../../shared-utils/three/boundingBox.js";
|
|
9
9
|
import { getFiveDomEvent as c } from "../utils/getFiveDomEvent.js";
|
|
@@ -23,19 +23,20 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
23
23
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
24
24
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
25
25
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
26
|
-
class O extends
|
|
26
|
+
class O extends l {
|
|
27
27
|
constructor(t) {
|
|
28
|
-
var
|
|
28
|
+
var o, r;
|
|
29
29
|
super();
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
e(this, "type");
|
|
31
|
+
e(this, "tag");
|
|
32
|
+
e(this, "rawData");
|
|
33
|
+
e(this, "model");
|
|
34
|
+
e(this, "five");
|
|
35
|
+
e(this, "group");
|
|
36
|
+
e(this, "fiveDomEvents");
|
|
37
|
+
e(this, "disposers", []);
|
|
37
38
|
this.five = t.five, this.model = t.model, this.group = t.group, this.type = t.type, this.rawData = t.rawData, this.fiveDomEvents = c(this.five);
|
|
38
|
-
const h = (r = (
|
|
39
|
+
const h = (r = (o = t.position) != null ? o : this.model.center) != null ? r : v(this.model).getCenter(new n.Vector3());
|
|
39
40
|
this.tag = a(this.five, h, { wrapper: t.tagWrapper }), this.tag.extraObjectsForIntersectCheck.push(this.group);
|
|
40
41
|
}
|
|
41
42
|
get container() {
|
|
@@ -54,12 +55,14 @@ class O extends p {
|
|
|
54
55
|
this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
|
|
55
56
|
}
|
|
56
57
|
enable() {
|
|
57
|
-
|
|
58
|
+
p(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
|
|
58
59
|
const t = this.onClick.bind(this);
|
|
59
|
-
this.fiveDomEvents.addEventListener(this.model, "click", t), this.
|
|
60
|
+
this.fiveDomEvents.addEventListener(this.model, "click", t), this.disposers.push(() => {
|
|
61
|
+
this.fiveDomEvents.removeEventListener(this.model, "click");
|
|
62
|
+
}), this.emit("enable");
|
|
60
63
|
}
|
|
61
64
|
disable() {
|
|
62
|
-
this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.
|
|
65
|
+
this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.disposers.forEach((t) => t()), this.disposers = [], this.emit("disable");
|
|
63
66
|
}
|
|
64
67
|
onClick() {
|
|
65
68
|
return this.emit("click", this);
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { ModelMakerBaseItem } from './baseItem';
|
|
2
2
|
export declare class ModelMakerPrismItem extends ModelMakerBaseItem {
|
|
3
|
+
private _visible;
|
|
4
|
+
private _visibleByFloor;
|
|
3
5
|
constructor(...args: ConstructorParameters<typeof ModelMakerBaseItem>);
|
|
6
|
+
onModelShownFloorChange: (fiveCurrentfloor: number | null) => void;
|
|
7
|
+
show(): void;
|
|
8
|
+
hide(): void;
|
|
9
|
+
private updateFiveCurrentFloorState;
|
|
10
|
+
private updateVisible;
|
|
4
11
|
}
|
|
@@ -1,27 +1,35 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
1
|
+
var d = Object.defineProperty, u = Object.defineProperties;
|
|
2
|
+
var b = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var l = Object.getOwnPropertySymbols;
|
|
4
|
+
var F = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var s = (t, i, o) => i in t ? d(t, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[i] = o, h = (t, i) => {
|
|
6
|
+
for (var o in i || (i = {}))
|
|
7
|
+
F.call(i, o) && s(t, o, i[o]);
|
|
8
|
+
if (l)
|
|
9
|
+
for (var o of l(i))
|
|
10
|
+
v.call(i, o) && s(t, o, i[o]);
|
|
11
11
|
return t;
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
import { ModelMakerBaseItem as f } from "./baseItem.js";
|
|
15
|
-
import * as u from "three";
|
|
16
|
-
import "../../shared-utils/three/core/Sphere.js";
|
|
17
|
-
import "../../shared-utils/three/addIfNotExists.js";
|
|
18
|
-
import "../../shared-utils/Subscribe.js";
|
|
12
|
+
}, n = (t, i) => u(t, b(i));
|
|
13
|
+
var m = (t, i, o) => (s(t, typeof i != "symbol" ? i + "" : i, o), o);
|
|
19
14
|
import "../../shared-utils/tag.js";
|
|
15
|
+
import * as c from "three";
|
|
16
|
+
import "hammerjs";
|
|
17
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
18
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
19
|
+
import "@realsee/five/line";
|
|
20
|
+
import { isNil as f } from "../../shared-utils/isNil.js";
|
|
21
|
+
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
22
|
+
import { boundingBox as w, boxVertex as a } from "../../shared-utils/three/boundingBox.js";
|
|
23
|
+
import "animejs";
|
|
24
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
|
+
import "../../shared-utils/five/FivePuppet.js";
|
|
26
|
+
import { ModelMakerBaseItem as _ } from "./baseItem.js";
|
|
20
27
|
import "../../shared-utils/positionToVector3.js";
|
|
21
28
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
22
29
|
import "../../shared-utils/five/getFiveModel.js";
|
|
23
30
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
24
31
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
32
|
+
import "../../shared-utils/Subscribe.js";
|
|
25
33
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
26
34
|
import "../../shared-utils/five/transformPosition.js";
|
|
27
35
|
import "../../shared-utils/three/temp.js";
|
|
@@ -29,16 +37,72 @@ import "../../shared-utils/three/core/Raycaster.js";
|
|
|
29
37
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
30
38
|
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
31
39
|
import "../../shared-utils/throttle.js";
|
|
40
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
41
|
+
import "../../shared-utils/three/Magnifier.js";
|
|
42
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
43
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
44
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
45
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
46
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
47
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
48
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
49
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
50
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
51
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
52
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
53
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
54
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
55
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
56
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
57
|
+
import "../../Sculpt/typings/style.js";
|
|
58
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
59
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
60
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
61
|
+
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
62
|
+
import "../../shared-utils/util.js";
|
|
63
|
+
import "../../shared-utils/three/core/LineGeometry.js";
|
|
64
|
+
import "../../shared-utils/three/core/LineMaterial.js";
|
|
65
|
+
import "../../shared-utils/three/core/Line2.js";
|
|
66
|
+
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
67
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
68
|
+
import "../../shared-utils/isTouchDevice.js";
|
|
69
|
+
import "../../shared-utils/five/getPosition.js";
|
|
70
|
+
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
71
|
+
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
72
|
+
import "@realsee/five";
|
|
73
|
+
import "../../shared-utils/three/addIfNotExists.js";
|
|
32
74
|
import "../utils/getFiveDomEvent.js";
|
|
33
75
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
34
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
35
76
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
36
|
-
class
|
|
77
|
+
class Eo extends _ {
|
|
37
78
|
constructor(...o) {
|
|
38
|
-
const r = o[0],
|
|
39
|
-
super(
|
|
79
|
+
const r = o[0], e = w(r.model), p = new c.Vector3().lerpVectors(a(e, 0), a(e, 5), 0.5);
|
|
80
|
+
super(n(h({}, r), { position: p }));
|
|
81
|
+
m(this, "_visible", !0);
|
|
82
|
+
m(this, "_visibleByFloor", !0);
|
|
83
|
+
m(this, "onModelShownFloorChange", (o) => {
|
|
84
|
+
this.updateFiveCurrentFloorState(o), this.updateVisible();
|
|
85
|
+
});
|
|
86
|
+
m(this, "updateFiveCurrentFloorState", (o) => {
|
|
87
|
+
var e, p;
|
|
88
|
+
const r = (p = (e = this.rawData) == null ? void 0 : e.object_data) == null ? void 0 : p.floorIndex;
|
|
89
|
+
f(r) ? this._visibleByFloor = !0 : this._visibleByFloor = o === null ? !0 : r === o;
|
|
90
|
+
});
|
|
91
|
+
this.enable(), this.five.on("modelShownFloorChange", this.onModelShownFloorChange), this.disposers.push(() => {
|
|
92
|
+
this.five.off("modelShownFloorChange", this.onModelShownFloorChange);
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
show() {
|
|
96
|
+
this.updateFiveCurrentFloorState(this.five.model.shownFloor), this._visible = !0, this.updateVisible(), this.emit("show");
|
|
97
|
+
}
|
|
98
|
+
hide() {
|
|
99
|
+
this._visible = !1, this.updateVisible(), this.emit("hide");
|
|
100
|
+
}
|
|
101
|
+
updateVisible() {
|
|
102
|
+
const o = this._visible && this._visibleByFloor;
|
|
103
|
+
o ? this.tag.show() : this.tag.hide(), this.model.visible = o, this.five.needsRender = !0;
|
|
40
104
|
}
|
|
41
105
|
}
|
|
42
106
|
export {
|
|
43
|
-
|
|
107
|
+
Eo as ModelMakerPrismItem
|
|
44
108
|
};
|
|
@@ -1,41 +1,33 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var e in i || (i = {}))
|
|
7
|
-
c.call(i, e) && n(t, e, i[e]);
|
|
8
|
-
if (h)
|
|
9
|
-
for (var e of h(i))
|
|
10
|
-
d.call(i, e) && n(t, e, i[e]);
|
|
11
|
-
return t;
|
|
12
|
-
}, L = (t, i) => f(t, m(i));
|
|
13
|
-
var p = (t, i) => {
|
|
1
|
+
var c = Object.defineProperty;
|
|
2
|
+
var r = Object.getOwnPropertySymbols;
|
|
3
|
+
var u = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var P = (i, s, e) => s in i ? c(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e;
|
|
5
|
+
var l = (i, s) => {
|
|
14
6
|
var e = {};
|
|
15
|
-
for (var
|
|
16
|
-
|
|
17
|
-
if (
|
|
18
|
-
for (var
|
|
19
|
-
|
|
7
|
+
for (var t in i)
|
|
8
|
+
u.call(i, t) && s.indexOf(t) < 0 && (e[t] = i[t]);
|
|
9
|
+
if (i != null && r)
|
|
10
|
+
for (var t of r(i))
|
|
11
|
+
s.indexOf(t) < 0 && L.call(i, t) && (e[t] = i[t]);
|
|
20
12
|
return e;
|
|
21
13
|
};
|
|
22
|
-
var
|
|
23
|
-
import { CircleMesh as
|
|
24
|
-
import { LineMesh as
|
|
25
|
-
class
|
|
14
|
+
var d = (i, s, e) => (P(i, typeof s != "symbol" ? s + "" : s, e), e);
|
|
15
|
+
import { CircleMesh as p } from "./Circle.js";
|
|
16
|
+
import { LineMesh as y } from "./Line.js";
|
|
17
|
+
class S extends p {
|
|
26
18
|
constructor(e) {
|
|
27
|
-
const
|
|
28
|
-
super(
|
|
29
|
-
|
|
30
|
-
this.edgeLine = new
|
|
19
|
+
const o = e != null ? e : {}, { normal: t, radius: h, center: n } = o, g = l(o, ["normal", "radius", "center"]);
|
|
20
|
+
super(g);
|
|
21
|
+
d(this, "edgeLine");
|
|
22
|
+
this.edgeLine = new y(g), this.add(this.edgeLine), t && h && n && this.setPoints({ normal: t, radius: h, center: n });
|
|
31
23
|
}
|
|
32
24
|
setPoints(...e) {
|
|
33
25
|
super.setPoints(...e);
|
|
34
|
-
const
|
|
35
|
-
this.edgeLine.setPoints(
|
|
26
|
+
const t = this.meshFont.geometry.vertices.slice(1);
|
|
27
|
+
this.edgeLine.setPoints(t.concat(t[0]));
|
|
36
28
|
}
|
|
37
29
|
setStyle(e) {
|
|
38
|
-
super.setStyle(e), this.edgeLine.setStyle(
|
|
30
|
+
super.setStyle(e), this.edgeLine.setStyle(e);
|
|
39
31
|
}
|
|
40
32
|
highlight() {
|
|
41
33
|
super.highlight(), this.edgeLine.highlight();
|
|
@@ -45,5 +37,5 @@ class w extends M {
|
|
|
45
37
|
}
|
|
46
38
|
}
|
|
47
39
|
export {
|
|
48
|
-
|
|
40
|
+
S as CircleWithEdgeMesh
|
|
49
41
|
};
|