@realsee/dnalogel 3.64.23-alpha.1 → 3.64.23-alpha.16
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 -6
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
- package/dist/ModelMakerPlugin/Controller.d.ts +38 -1
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +5 -0
- package/dist/ModelMakerPlugin/item/boxItem.d.ts +5 -1
- package/dist/ModelMakerPlugin/typings/data.d.ts +2 -0
- package/dist/ModelMakerPlugin/utils/BoxLabelItem.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +5 -18
- package/dist/Sculpt/Meshes/Prism.d.ts +6 -1
- package/dist/floorplan/typings/floorplanData.d.ts +49 -0
- package/dist/floorplan/typings/floorplanServerData.d.ts +2 -0
- package/dist/index.cjs.js +136 -89
- package/dist/index.js +9947 -9610
- package/dist/index.umd.js +124 -77
- package/dist/shared-utils/three/index.d.ts +0 -4
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +30 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
- package/docs/classes/PanoTagPluginController.html +35 -37
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +15 -15
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +16 -16
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +10 -7
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +10 -7
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +4 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +9 -9
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +3 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +10 -10
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -20
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +6 -6
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/IFloorplanArea.html +25 -0
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +5 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +6 -6
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +11 -11
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -7
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +3 -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/GuideLinePluginType.RouteConfig.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/MeasurePluginConfig.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/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/AreaMakerPlugin/Controller.js +2 -6
- package/libs/AreaMakerPlugin/index.js +5 -9
- package/libs/AreaMakerPlugin/utils/Item.js +3 -7
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +12 -16
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +14 -13
- package/libs/CruisePlugin/BaseController.js +11 -15
- package/libs/CruisePlugin/Move.js +6 -10
- package/libs/CruisePlugin/Work.js +6 -10
- package/libs/CruisePlugin/index.js +15 -19
- package/libs/CurrentPanoImagePlugin/Controller.js +12 -16
- package/libs/CurrentPanoImagePlugin/index.js +9 -13
- package/libs/GuideLinePlugin/Controller.js +8 -12
- package/libs/GuideLinePlugin/GuideLineItem.js +11 -15
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -4
- package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -10
- package/libs/GuideLinePlugin/index.js +15 -19
- package/libs/MeasurePlugin/Controller.js +36 -40
- package/libs/MeasurePlugin/index.js +8 -12
- package/libs/MeasurePlugin/utils/MeasureMesh.js +8 -12
- package/libs/ModelMakerPlugin/Controller.d.ts +38 -1
- package/libs/ModelMakerPlugin/Controller.js +401 -140
- package/libs/ModelMakerPlugin/index.js +9 -12
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +5 -0
- package/libs/ModelMakerPlugin/item/baseItem.js +47 -31
- package/libs/ModelMakerPlugin/item/boxItem.d.ts +5 -1
- package/libs/ModelMakerPlugin/item/boxItem.js +42 -23
- package/libs/ModelMakerPlugin/item/polygonItem.js +8 -12
- package/libs/ModelMakerPlugin/item/prismItem.js +2 -6
- package/libs/ModelMakerPlugin/typings/data.d.ts +2 -0
- package/libs/ModelMakerPlugin/utils/BoxLabelItem.js +204 -0
- package/libs/ModelMakerPlugin/utils/BoxLabelItem.svelte.d.ts +1 -0
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +18 -10
- package/libs/ModelViewPlugin/Plugin.js +59 -63
- package/libs/ModelViewPlugin/index.js +5 -9
- package/libs/Object3DHelperPlugin/Controller.js +3 -3
- package/libs/Object3DHelperPlugin/index.js +10 -10
- package/libs/PanoCompassPlugin/Controller.js +9 -9
- package/libs/PanoCompassPlugin/index.js +9 -9
- package/libs/PanoDoorLabelPlugin/Controller.js +30 -34
- package/libs/PanoDoorLabelPlugin/index.js +9 -13
- package/libs/PanoMeasurePlugin/Components/Controller0.js +7 -11
- package/libs/PanoMeasurePlugin/Components/Controller1.js +7 -11
- package/libs/PanoMeasurePlugin/Controller/EditController.js +2 -6
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +7 -11
- package/libs/PanoMeasurePlugin/Controller/index.js +7 -11
- package/libs/PanoMeasurePlugin/Model/area.js +15 -19
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +7 -11
- package/libs/PanoMeasurePlugin/index.js +13 -17
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -6
- package/libs/PanoRulerProPlugin/Controller.js +7 -11
- package/libs/PanoRulerProPlugin/RulerItems.js +3 -7
- package/libs/PanoRulerProPlugin/index.js +8 -12
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -28
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +51 -55
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -6
- package/libs/PanoTagPlugin/Components/TagContainer.js +8 -12
- package/libs/PanoTagPlugin/Components/TagItem.js +46 -50
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -7
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +4 -8
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +4 -8
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +17 -21
- package/libs/PanoTagPlugin/controller/TagRender.js +21 -30
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +5 -18
- package/libs/PanoTagPlugin/controller/TagUtil.js +120 -197
- package/libs/PanoTagPlugin/controller/index.js +10 -14
- package/libs/PanoTagPlugin/index.js +28 -32
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +2 -6
- package/libs/PanoVideoPlugin/Controller.js +8 -12
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -7
- package/libs/PanoVideoPlugin/index.js +11 -15
- package/libs/PipelinePlugin/Controller.js +2 -6
- package/libs/PipelinePlugin/index.js +9 -13
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +13 -17
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -7
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -5
- package/libs/Sculpt/Meshes/Circle.js +10 -11
- package/libs/Sculpt/Meshes/Cylinder.js +8 -9
- package/libs/Sculpt/Meshes/Line.js +3 -4
- package/libs/Sculpt/Meshes/LineWithDots.js +3 -4
- package/libs/Sculpt/Meshes/Point.js +6 -7
- package/libs/Sculpt/Meshes/Polygon.js +2 -3
- package/libs/Sculpt/Meshes/Prism.d.ts +6 -1
- package/libs/Sculpt/Meshes/Prism.js +37 -30
- package/libs/Sculpt/Meshes/Rectangle.js +2 -3
- package/libs/Sculpt/Objects/Base/index.js +0 -1
- package/libs/Sculpt/Objects/Line/Editor.js +6 -7
- package/libs/Sculpt/index.js +2 -3
- package/libs/Sculpt/utils/Meshes/getLengthHTML.js +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +2 -3
- package/libs/base/BasePlugin.js +6 -7
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +146 -136
- package/libs/floorplan/Components/SvgImage.js +23 -17
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +9 -13
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -6
- package/libs/floorplan/ModelFloorplanPlugin/index.js +9 -13
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +44 -48
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +9 -13
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -6
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +9 -13
- package/libs/floorplan/index.js +0 -1
- package/libs/floorplan/typings/floorplanData.d.ts +49 -0
- package/libs/floorplan/typings/floorplanServerData.d.ts +2 -0
- package/libs/floorplan/utils/formatData.js +14 -13
- package/libs/index.js +151 -155
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +2 -3
- package/libs/shared-utils/exports.js +38 -46
- package/libs/shared-utils/five/index.js +2 -3
- package/libs/shared-utils/five/lookObject.js +25 -26
- package/libs/shared-utils/index.js +0 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +3 -4
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +7 -13
- package/libs/shared-utils/three/index.d.ts +0 -4
- package/libs/shared-utils/three/index.js +0 -1
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
- package/package.json +1 -1
- package/dist/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +0 -4
- package/dist/shared-utils/three/LegacyPointHelper.d.ts +0 -22
- package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/dist/shared-utils/three/getIntersect.d.ts +0 -21
- package/dist/shared-utils/three/getRaycaster.d.ts +0 -6
- package/docs/classes/Util.LegacyPointHelper.html +0 -7
- package/docs/classes/Util.PointDomHelper.html +0 -8
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -1
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +0 -4
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +0 -67
- package/libs/shared-utils/three/LegacyPointHelper.d.ts +0 -22
- package/libs/shared-utils/three/LegacyPointHelper.js +0 -73
- package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.js +0 -69
- package/libs/shared-utils/three/getIntersect.d.ts +0 -21
- package/libs/shared-utils/three/getIntersect.js +0 -24
- package/libs/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getRaycaster.js +0 -12
|
@@ -34,30 +34,26 @@ import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
34
34
|
import "../shared-utils/three/core/Sphere.js";
|
|
35
35
|
import "../vendor/animejs/lib/anime.es.js";
|
|
36
36
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
37
|
-
import "../
|
|
38
|
-
import "
|
|
39
|
-
import "../shared-utils/
|
|
40
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
41
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
42
|
-
import "../shared-utils/util.js";
|
|
43
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
37
|
+
import "../shared-utils/five/FivePuppet.js";
|
|
38
|
+
import "@realsee/five";
|
|
39
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
44
40
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
45
41
|
import "../shared-utils/CSS3DRender/index.js";
|
|
46
|
-
import "../shared-utils/
|
|
42
|
+
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
43
|
+
import "../shared-utils/createResizeObserver.js";
|
|
47
44
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
48
45
|
import "../Sculpt/Meshes/Line.js";
|
|
49
46
|
import "../Sculpt/typings/style.js";
|
|
50
47
|
import "../shared-utils/three/IObject3D.js";
|
|
51
48
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
52
49
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
50
|
+
import "../shared-utils/util.js";
|
|
53
51
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
54
52
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
55
53
|
import "../shared-utils/three/core/Line2.js";
|
|
56
54
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
57
55
|
import "../Sculpt/utils/unit.js";
|
|
58
56
|
import "../Sculpt/utils/renderDom.js";
|
|
59
|
-
import "../shared-utils/five/FivePuppet.js";
|
|
60
|
-
import "@realsee/five";
|
|
61
57
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
62
58
|
import "../shared-utils/isTouchDevice.js";
|
|
63
59
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -70,8 +66,8 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
70
66
|
import "../shared-utils/equal.js";
|
|
71
67
|
import "../shared-utils/isTruelyObject.js";
|
|
72
68
|
import "../shared-utils/three/loadTexture.js";
|
|
73
|
-
const
|
|
69
|
+
const cr = (r, o) => new t(r, o);
|
|
74
70
|
export {
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
cr as CurrentPanoImagePlugin,
|
|
72
|
+
cr as default
|
|
77
73
|
};
|
|
@@ -39,9 +39,8 @@ import "@realsee/five/line";
|
|
|
39
39
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
40
40
|
import "../shared-utils/three/core/Sphere.js";
|
|
41
41
|
import "../vendor/animejs/lib/anime.es.js";
|
|
42
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
43
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
44
42
|
import { uuid as H } from "../shared-utils/uuid.js";
|
|
43
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
45
44
|
import { equal as U } from "../shared-utils/equal.js";
|
|
46
45
|
import "../shared-utils/five/FivePuppet.js";
|
|
47
46
|
import { GuideLineItem as j } from "./GuideLineItem/index.js";
|
|
@@ -95,9 +94,6 @@ import "../shared-utils/five/getPosition.js";
|
|
|
95
94
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
96
95
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
97
96
|
import "../Sculpt/utils/three/rayOnLine.js";
|
|
98
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
99
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
100
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
101
97
|
import "@realsee/five";
|
|
102
98
|
import "../shared-utils/isTruelyObject.js";
|
|
103
99
|
import "./GuideLineModeItem/index.js";
|
|
@@ -124,7 +120,6 @@ import "../PanoTagPlugin/utils/tag/format.js";
|
|
|
124
120
|
import "../shared-utils/audio.js";
|
|
125
121
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
126
122
|
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
127
|
-
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
128
123
|
import "../PanoTagPlugin/tag.config.js";
|
|
129
124
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
130
125
|
import "../vendor/svelte/store/index.js";
|
|
@@ -142,14 +137,15 @@ import "../shared-utils/constants.js";
|
|
|
142
137
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
143
138
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
144
139
|
import "../PanoTagPlugin/utils/Cache.js";
|
|
145
|
-
import "../shared-utils/typescript/entries.js";
|
|
146
|
-
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
147
140
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
148
141
|
import "../shared-utils/safeObj.js";
|
|
149
142
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
150
143
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
151
144
|
import "../PanoTagPlugin/controller/Tag/BaseTag.js";
|
|
152
145
|
import "../PanoTagPlugin/utils/tag/calculateTagConfig.js";
|
|
146
|
+
import "../shared-utils/typescript/entries.js";
|
|
147
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
148
|
+
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
153
149
|
import "../shared-utils/vectorToCoordinate.js";
|
|
154
150
|
import "../shared-utils/formatRad.js";
|
|
155
151
|
import "../shared-utils/five/lookPoint.js";
|
|
@@ -250,8 +246,8 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
250
246
|
import "../CruisePlugin/utils/safeCall.js";
|
|
251
247
|
import "../CruisePlugin/utils/sleep.js";
|
|
252
248
|
import "../shared-utils/five/fiveLoaded.js";
|
|
253
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
254
|
-
class
|
|
249
|
+
const b = "GuideLinePlugin", g = `${b}`, qo = (p) => `${g}--${p}`;
|
|
250
|
+
class zo extends P {
|
|
255
251
|
constructor(t, i) {
|
|
256
252
|
super(t, i);
|
|
257
253
|
h(this, "name", b);
|
|
@@ -391,6 +387,6 @@ class Yo extends P {
|
|
|
391
387
|
}
|
|
392
388
|
}
|
|
393
389
|
export {
|
|
394
|
-
|
|
395
|
-
|
|
390
|
+
zo as default,
|
|
391
|
+
qo as pluginFlag
|
|
396
392
|
};
|
|
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
|
|
|
5
5
|
import "../CruisePlugin/Move.js";
|
|
6
6
|
import "../CruisePlugin/Work.js";
|
|
7
7
|
import "../shared-utils/Subscribe.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as pr } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -48,30 +48,26 @@ import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
48
48
|
import "../shared-utils/three/core/Sphere.js";
|
|
49
49
|
import "../vendor/animejs/lib/anime.es.js";
|
|
50
50
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
51
|
-
import "../
|
|
52
|
-
import "
|
|
53
|
-
import "../shared-utils/
|
|
54
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
55
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
56
|
-
import "../shared-utils/util.js";
|
|
57
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
51
|
+
import "../shared-utils/five/FivePuppet.js";
|
|
52
|
+
import "@realsee/five";
|
|
53
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
58
54
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
59
55
|
import "../shared-utils/CSS3DRender/index.js";
|
|
60
|
-
import "../shared-utils/
|
|
56
|
+
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
57
|
+
import "../shared-utils/createResizeObserver.js";
|
|
61
58
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
62
59
|
import "../Sculpt/Meshes/Line.js";
|
|
63
60
|
import "../Sculpt/typings/style.js";
|
|
64
61
|
import "../shared-utils/three/IObject3D.js";
|
|
65
62
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
66
63
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
64
|
+
import "../shared-utils/util.js";
|
|
67
65
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
68
66
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
69
67
|
import "../shared-utils/three/core/Line2.js";
|
|
70
68
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
71
69
|
import "../Sculpt/utils/unit.js";
|
|
72
70
|
import "../Sculpt/utils/renderDom.js";
|
|
73
|
-
import "../shared-utils/five/FivePuppet.js";
|
|
74
|
-
import "@realsee/five";
|
|
75
71
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
76
72
|
import "../shared-utils/isTouchDevice.js";
|
|
77
73
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -92,7 +88,6 @@ import "../PanoTagPlugin/utils/tag/format.js";
|
|
|
92
88
|
import "../shared-utils/audio.js";
|
|
93
89
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
94
90
|
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
95
|
-
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
96
91
|
import "../PanoTagPlugin/tag.config.js";
|
|
97
92
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
98
93
|
import "../vendor/svelte/store/index.js";
|
|
@@ -112,14 +107,15 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
112
107
|
import "../PanoTagPlugin/utils/Cache.js";
|
|
113
108
|
import "../base/BasePlugin.js";
|
|
114
109
|
import "../shared-utils/url/absoluteUrl.js";
|
|
115
|
-
import "../shared-utils/typescript/entries.js";
|
|
116
|
-
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
117
110
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
118
111
|
import "../shared-utils/safeObj.js";
|
|
119
112
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
120
113
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
121
114
|
import "../PanoTagPlugin/controller/Tag/BaseTag.js";
|
|
122
115
|
import "../PanoTagPlugin/utils/tag/calculateTagConfig.js";
|
|
116
|
+
import "../shared-utils/typescript/entries.js";
|
|
117
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
118
|
+
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
123
119
|
import "../shared-utils/vectorToCoordinate.js";
|
|
124
120
|
import "../shared-utils/formatRad.js";
|
|
125
121
|
import "../shared-utils/five/lookPoint.js";
|
|
@@ -222,5 +218,5 @@ import "../CruisePlugin/utils/safeCall.js";
|
|
|
222
218
|
import "../CruisePlugin/utils/sleep.js";
|
|
223
219
|
import "../shared-utils/five/fiveLoaded.js";
|
|
224
220
|
export {
|
|
225
|
-
|
|
221
|
+
pr as GuideLineItem
|
|
226
222
|
};
|
|
@@ -25,8 +25,6 @@ import { notNil as _ } from "../../shared-utils/isNil.js";
|
|
|
25
25
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
26
26
|
import "../../shared-utils/three/core/Sphere.js";
|
|
27
27
|
import { blink as O } from "../../shared-utils/three/blink.js";
|
|
28
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
29
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
30
28
|
import { BetterTween as U } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
31
29
|
import "../../shared-utils/five/FivePuppet.js";
|
|
32
30
|
import { loadTexture as E } from "../../shared-utils/three/loadTexture.js";
|
|
@@ -509,11 +507,11 @@ class N {
|
|
|
509
507
|
function H(h) {
|
|
510
508
|
return h.contentType === "Custom";
|
|
511
509
|
}
|
|
512
|
-
const
|
|
510
|
+
const ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
513
511
|
__proto__: null,
|
|
514
512
|
GuideLineModeItem: N
|
|
515
513
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
516
514
|
export {
|
|
517
515
|
N as GuideLineModeItem,
|
|
518
|
-
|
|
516
|
+
ge as GuideLineModeItem$1
|
|
519
517
|
};
|
|
@@ -12,8 +12,6 @@ import "../shared-utils/isNil.js";
|
|
|
12
12
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
13
13
|
import "../shared-utils/three/core/Sphere.js";
|
|
14
14
|
import "../shared-utils/three/blink.js";
|
|
15
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
16
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
17
15
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
18
16
|
import "../shared-utils/five/FivePuppet.js";
|
|
19
17
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -22,7 +20,7 @@ import "./Components/Tag.js";
|
|
|
22
20
|
import "./utils/index.js";
|
|
23
21
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
24
22
|
import "./utils/createPath.js";
|
|
25
|
-
import { GuideLineModeItem as
|
|
23
|
+
import { GuideLineModeItem as Pm } from "./GuideLineModeItem/index.js";
|
|
26
24
|
import "../vendor/polyline-normals/index.js";
|
|
27
25
|
import "../vendor/polyline-miter-util/index.js";
|
|
28
26
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -46,6 +44,7 @@ import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
|
46
44
|
import "../shared-utils/throttle.js";
|
|
47
45
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
48
46
|
import "../vendor/animejs/lib/anime.es.js";
|
|
47
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
49
48
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
50
49
|
import "../shared-utils/three/Magnifier.js";
|
|
51
50
|
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
@@ -78,9 +77,6 @@ import "../shared-utils/five/getPosition.js";
|
|
|
78
77
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
79
78
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
80
79
|
import "../Sculpt/utils/three/rayOnLine.js";
|
|
81
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
82
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
83
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
84
80
|
import "@realsee/five";
|
|
85
81
|
import "../shared-utils/animationFrame/index.js";
|
|
86
82
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
@@ -90,7 +86,6 @@ import "../PanoTagPlugin/utils/tag/format.js";
|
|
|
90
86
|
import "../shared-utils/audio.js";
|
|
91
87
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
92
88
|
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
93
|
-
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
94
89
|
import "../PanoTagPlugin/tag.config.js";
|
|
95
90
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
96
91
|
import "../vendor/svelte/store/index.js";
|
|
@@ -110,14 +105,15 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
110
105
|
import "../PanoTagPlugin/utils/Cache.js";
|
|
111
106
|
import "../base/BasePlugin.js";
|
|
112
107
|
import "../shared-utils/url/absoluteUrl.js";
|
|
113
|
-
import "../shared-utils/typescript/entries.js";
|
|
114
|
-
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
115
108
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
116
109
|
import "../shared-utils/safeObj.js";
|
|
117
110
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
118
111
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
119
112
|
import "../PanoTagPlugin/controller/Tag/BaseTag.js";
|
|
120
113
|
import "../PanoTagPlugin/utils/tag/calculateTagConfig.js";
|
|
114
|
+
import "../shared-utils/typescript/entries.js";
|
|
115
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
116
|
+
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
121
117
|
import "../shared-utils/vectorToCoordinate.js";
|
|
122
118
|
import "../shared-utils/formatRad.js";
|
|
123
119
|
import "../shared-utils/five/lookPoint.js";
|
|
@@ -204,5 +200,5 @@ import "../PanoTagPlugin/Components/TagContainer.js";
|
|
|
204
200
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
205
201
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
206
202
|
export {
|
|
207
|
-
|
|
203
|
+
Pm as GuideLineModeItem
|
|
208
204
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as ur } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as Lr } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -37,30 +37,26 @@ import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
37
37
|
import "../shared-utils/three/core/Sphere.js";
|
|
38
38
|
import "../vendor/animejs/lib/anime.es.js";
|
|
39
39
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
40
|
-
import "../
|
|
41
|
-
import "
|
|
42
|
-
import "../shared-utils/
|
|
43
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
44
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
45
|
-
import "../shared-utils/util.js";
|
|
46
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
40
|
+
import "../shared-utils/five/FivePuppet.js";
|
|
41
|
+
import "@realsee/five";
|
|
42
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
47
43
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
48
44
|
import "../shared-utils/CSS3DRender/index.js";
|
|
49
|
-
import "../shared-utils/
|
|
45
|
+
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
46
|
+
import "../shared-utils/createResizeObserver.js";
|
|
50
47
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
51
48
|
import "../Sculpt/Meshes/Line.js";
|
|
52
49
|
import "../Sculpt/typings/style.js";
|
|
53
50
|
import "../shared-utils/three/IObject3D.js";
|
|
54
51
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
55
52
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
53
|
+
import "../shared-utils/util.js";
|
|
56
54
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
57
55
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
58
56
|
import "../shared-utils/three/core/Line2.js";
|
|
59
57
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
60
58
|
import "../Sculpt/utils/unit.js";
|
|
61
59
|
import "../Sculpt/utils/renderDom.js";
|
|
62
|
-
import "../shared-utils/five/FivePuppet.js";
|
|
63
|
-
import "@realsee/five";
|
|
64
60
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
65
61
|
import "../shared-utils/isTouchDevice.js";
|
|
66
62
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -105,7 +101,6 @@ import "../PanoTagPlugin/utils/tag/format.js";
|
|
|
105
101
|
import "../shared-utils/audio.js";
|
|
106
102
|
import "../PanoTagPlugin/controller/TagRender.js";
|
|
107
103
|
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
108
|
-
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
109
104
|
import "../PanoTagPlugin/tag.config.js";
|
|
110
105
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
111
106
|
import "../vendor/svelte/store/index.js";
|
|
@@ -123,14 +118,15 @@ import "../shared-utils/constants.js";
|
|
|
123
118
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
124
119
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
125
120
|
import "../PanoTagPlugin/utils/Cache.js";
|
|
126
|
-
import "../shared-utils/typescript/entries.js";
|
|
127
|
-
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
128
121
|
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
129
122
|
import "../shared-utils/safeObj.js";
|
|
130
123
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
131
124
|
import "../PanoTagPlugin/controller/Tag/PointTag.js";
|
|
132
125
|
import "../PanoTagPlugin/controller/Tag/BaseTag.js";
|
|
133
126
|
import "../PanoTagPlugin/utils/tag/calculateTagConfig.js";
|
|
127
|
+
import "../shared-utils/typescript/entries.js";
|
|
128
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
129
|
+
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
134
130
|
import "../shared-utils/five/lookPoint.js";
|
|
135
131
|
import "../PanoTagPlugin/utils/tagPosition.js";
|
|
136
132
|
import "../PanoTagPlugin/utils/checkRange.js";
|
|
@@ -221,10 +217,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
221
217
|
import "../shared-utils/nearlyEqual.js";
|
|
222
218
|
import "../CruisePlugin/Move.js";
|
|
223
219
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
224
|
-
const r = (i, o) => new t(i, o),
|
|
220
|
+
const r = (i, o) => new t(i, o), er = r;
|
|
225
221
|
export {
|
|
226
|
-
|
|
227
|
-
|
|
222
|
+
ur as GuideLineItem,
|
|
223
|
+
Lr as GuideLineModeItem,
|
|
228
224
|
r as GuideLinePlugin,
|
|
229
|
-
|
|
225
|
+
er as default
|
|
230
226
|
};
|
|
@@ -21,9 +21,8 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
21
21
|
import { LineMesh as D } from "../Sculpt/Meshes/Line.js";
|
|
22
22
|
import "../shared-utils/three/core/Sphere.js";
|
|
23
23
|
import "../vendor/animejs/lib/anime.es.js";
|
|
24
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
26
24
|
import { FiveDomEvents as x } from "../shared-utils/five/FiveDomEvents.js";
|
|
25
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
27
26
|
import "../shared-utils/five/FivePuppet.js";
|
|
28
27
|
import { MeasureMesh as U } from "./utils/MeasureMesh.js";
|
|
29
28
|
import { PointMesh as _ } from "../Sculpt/Meshes/Point.js";
|
|
@@ -79,9 +78,6 @@ import "../shared-utils/five/getPosition.js";
|
|
|
79
78
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
80
79
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
81
80
|
import "../Sculpt/utils/three/rayOnLine.js";
|
|
82
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
83
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
84
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
85
81
|
import "@realsee/five";
|
|
86
82
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
87
83
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
@@ -92,7 +88,7 @@ import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
|
92
88
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
93
89
|
import "../shared-utils/three/geometryUtil.js";
|
|
94
90
|
import "../shared-utils/three/vectorIsEqual.js";
|
|
95
|
-
class
|
|
91
|
+
class pt extends T {
|
|
96
92
|
constructor(e, t) {
|
|
97
93
|
super();
|
|
98
94
|
i(this, "name", "MeasurePlugin");
|
|
@@ -118,13 +114,13 @@ class ft extends T {
|
|
|
118
114
|
* @description 开始测量
|
|
119
115
|
*/
|
|
120
116
|
i(this, "measure", () => {
|
|
121
|
-
this.listener.addMeasureListener(), this.listener.removeClickListener(), this.group.children.forEach((
|
|
117
|
+
this.listener.addMeasureListener(), this.listener.removeClickListener(), this.group.children.forEach((r) => r.unselect()), this.cursor.removeDeleteButton();
|
|
122
118
|
const e = new U({
|
|
123
119
|
lineStyle: this.lineStyle,
|
|
124
120
|
polygonStyle: this.polygonStyle
|
|
125
121
|
});
|
|
126
122
|
this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
|
|
127
|
-
const t = new _({ occlusionMode: "depthTest", occlusionVisibility: !0 }),
|
|
123
|
+
const t = new _({ occlusionMode: "depthTest", occlusionVisibility: !0 }), n = new V(P(y({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new z(this.polygonStyle), a = new D(P(y({}, this.lineStyle), {
|
|
128
124
|
lineOpacity: 0.5,
|
|
129
125
|
lineColor: 3407837,
|
|
130
126
|
dashed: !0,
|
|
@@ -135,37 +131,37 @@ class ft extends T {
|
|
|
135
131
|
dashed: !0,
|
|
136
132
|
cssStyle: "pointer-events: none; color: #fff; opacity: 0.5;"
|
|
137
133
|
})), u = new _({ occlusionMode: "depthTest", occlusionVisibility: !0, color: 3407837, opacity: 0.5 }), f = () => {
|
|
138
|
-
t.removeFromParent(),
|
|
134
|
+
t.removeFromParent(), n.removeFromParent(), o.removeFromParent(), a.removeFromParent(), p.removeFromParent(), u.removeFromParent();
|
|
139
135
|
};
|
|
140
136
|
this.group.add(e);
|
|
141
|
-
const v = (
|
|
142
|
-
if (!
|
|
137
|
+
const v = (r) => {
|
|
138
|
+
if (!r) {
|
|
143
139
|
f();
|
|
144
140
|
return;
|
|
145
141
|
}
|
|
146
|
-
if (e.points.length === 0 && (this.pointSelector.actionIfNoIntersection = "disable", this.group.addIfNotExists(t), t.position.copy(
|
|
147
|
-
if (this.pointSelector.actionIfNoIntersection = "virtualPoint", t.removeFromParent(), this.group.addIfNotExists(
|
|
142
|
+
if (e.points.length === 0 && (this.pointSelector.actionIfNoIntersection = "disable", this.group.addIfNotExists(t), t.position.copy(r.point)), e.points.length >= 1)
|
|
143
|
+
if (this.pointSelector.actionIfNoIntersection = "virtualPoint", t.removeFromParent(), this.group.addIfNotExists(n), n.setPoints([e.points.at(-1), r.point]), r.isAdsorbed)
|
|
148
144
|
a.removeFromParent(), p.removeFromParent(), u.removeFromParent();
|
|
149
145
|
else {
|
|
150
146
|
const s = e.points.at(-1);
|
|
151
|
-
if (Math.abs(
|
|
152
|
-
const m = new c.Vector3(
|
|
153
|
-
a.setPoints([s, m]), p.setPoints([m,
|
|
147
|
+
if (Math.abs(r.point.y - s.y) > 0.2) {
|
|
148
|
+
const m = new c.Vector3(r.point.x, s.y, r.point.z);
|
|
149
|
+
a.setPoints([s, m]), p.setPoints([m, r.point]), u.position.copy(m);
|
|
154
150
|
} else {
|
|
155
151
|
let m = new c.Vector3();
|
|
156
|
-
Math.abs(
|
|
152
|
+
Math.abs(r.point.x - s.x) < Math.abs(r.point.z - s.z) ? m = new c.Vector3(r.point.x, s.y, s.z) : m = new c.Vector3(s.x, s.y, r.point.z), a.setPoints([s, m]), p.setPoints([m, r.point]), u.position.copy(m);
|
|
157
153
|
}
|
|
158
154
|
this.group.addIfNotExists(a, p, u);
|
|
159
155
|
}
|
|
160
156
|
if (e.points.length >= 2) {
|
|
161
|
-
const s = [...e.points,
|
|
157
|
+
const s = [...e.points, r.point];
|
|
162
158
|
A(s) ? (o.setPoints(s), this.group.addIfNotExists(o)) : o.removeFromParent();
|
|
163
159
|
}
|
|
164
|
-
}, M = (
|
|
165
|
-
|
|
160
|
+
}, M = (r) => {
|
|
161
|
+
r && (f(), e.setPoints([...e.points, r.point]), this.updateSelectAdsorbedHelper(), e.isPolygon && this.pointSelector.disable());
|
|
166
162
|
}, g = () => {
|
|
167
|
-
var
|
|
168
|
-
e == null || e.setPoints(e.points.slice(0, -1)), f(), (s = (
|
|
163
|
+
var r, s;
|
|
164
|
+
e == null || e.setPoints(e.points.slice(0, -1)), f(), (s = (r = this.pointSelector.pointSelectorHelper) == null ? void 0 : r.magnifier) == null || s.render(), this.updateSelectAdsorbedHelper(), this.five.needsRender = !0;
|
|
169
165
|
}, E = () => {
|
|
170
166
|
this.pointSelector.off("intersectionUpdate", v), this.pointSelector.off("select", M), this.pointSelector.off("disable", E), this.off("undo", g), e.line.setStyle({ cssStyle: "pointer-events: auto;" }), f(), e.points.length < 2 && e.removeFromParent(), e.__five_pano_index = this.five.panoIndex, this.currentMeasureMesh = null, this.listener.addClickListener(), this.listener.removeMeasureListener(), this.emit("measureEnd");
|
|
171
167
|
};
|
|
@@ -212,17 +208,17 @@ class ft extends T {
|
|
|
212
208
|
addClickListener: () => {
|
|
213
209
|
this.group.children.forEach((e) => {
|
|
214
210
|
var t;
|
|
215
|
-
(t = e.line.doms) == null || t.forEach((
|
|
216
|
-
|
|
217
|
-
}), e.polygon.areaDom && (e.polygon.areaDom.container.onclick = (
|
|
211
|
+
(t = e.line.doms) == null || t.forEach((n) => {
|
|
212
|
+
n.container.onclick = (o) => this.onClick({ origDomEvent: o, target: e }), n.container.onmouseenter = () => this.onHover({ target: e }), n.container.onmouseleave = () => this.onUnHover({ target: e });
|
|
213
|
+
}), e.polygon.areaDom && (e.polygon.areaDom.container.onclick = (n) => this.onClick({ origDomEvent: n, target: e }), e.polygon.areaDom.container.onmouseenter = () => this.onHover({ target: e }), e.polygon.areaDom.container.onmouseleave = () => this.onUnHover({ target: e })), this.fiveDomEvents.addEventListener(e, "click", this.onClick), this.fiveDomEvents.addEventListener(e, "hover", this.onHover), this.fiveDomEvents.addEventListener(e, "unHover", this.onUnHover), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), d("delete, backspace", this.deleteSelectedMesh);
|
|
218
214
|
});
|
|
219
215
|
},
|
|
220
216
|
removeClickListener: () => {
|
|
221
217
|
this.group.children.forEach((e) => {
|
|
222
|
-
var t,
|
|
218
|
+
var t, n;
|
|
223
219
|
(t = e.line.doms) == null || t.forEach((o) => {
|
|
224
220
|
o != null && o.container && (o.container.onclick = null, o.container.onmouseenter = null, o.container.onmouseleave = null);
|
|
225
|
-
}), (
|
|
221
|
+
}), (n = e.polygon.areaDom) != null && n.container && (e.polygon.areaDom.container.onclick = null, e.polygon.areaDom.container.onmouseenter = null, e.polygon.areaDom.container.onmouseleave = null);
|
|
226
222
|
}), this.fiveDomEvents.clear(), this.five.off("panoArrived", this.onMoveToPano), this.five.off("modeChange", this.onModeChange), d.unbind("delete, backspace");
|
|
227
223
|
},
|
|
228
224
|
// 绘制快捷键
|
|
@@ -234,7 +230,7 @@ class ft extends T {
|
|
|
234
230
|
}
|
|
235
231
|
});
|
|
236
232
|
i(this, "onMoveToPano", (e) => {
|
|
237
|
-
const t = this.group.children.filter((o) => o !== this.currentMeasureMesh),
|
|
233
|
+
const t = this.group.children.filter((o) => o !== this.currentMeasureMesh), n = new N();
|
|
238
234
|
t.forEach((o) => {
|
|
239
235
|
var p;
|
|
240
236
|
if (o.unselect(), o.__five_pano_index === e) {
|
|
@@ -244,8 +240,8 @@ class ft extends T {
|
|
|
244
240
|
((p = o.line.points) == null ? void 0 : p.some((u) => {
|
|
245
241
|
var s, S;
|
|
246
242
|
const f = u.clone().sub(this.five.camera.position).normalize();
|
|
247
|
-
|
|
248
|
-
const v = (S = (s = this.five.model.intersectRaycaster(
|
|
243
|
+
n.set(this.five.camera.position, f);
|
|
244
|
+
const v = (S = (s = this.five.model.intersectRaycaster(n, void 0, !0)) == null ? void 0 : s[0]) == null ? void 0 : S.point;
|
|
249
245
|
if (!v)
|
|
250
246
|
return !0;
|
|
251
247
|
const M = 0.01, g = u.distanceTo(this.five.camera.position);
|
|
@@ -259,19 +255,19 @@ class ft extends T {
|
|
|
259
255
|
});
|
|
260
256
|
});
|
|
261
257
|
i(this, "onClick", ({ origDomEvent: e, target: t }) => {
|
|
262
|
-
const
|
|
263
|
-
if (!
|
|
258
|
+
const n = t;
|
|
259
|
+
if (!n)
|
|
264
260
|
return;
|
|
265
|
-
if (
|
|
266
|
-
|
|
261
|
+
if (n.selected) {
|
|
262
|
+
n.unselect(), this.cursor.removeDeleteButton();
|
|
267
263
|
return;
|
|
268
264
|
}
|
|
269
265
|
let o, a;
|
|
270
266
|
if (e instanceof TouchEvent ? (o = e.touches[0].clientX, a = e.touches[0].clientY) : e instanceof MouseEvent && (o = e.clientX, a = e.clientY), o === void 0 || a === void 0)
|
|
271
267
|
return;
|
|
272
|
-
this.group.children.forEach((u) => u.unselect()),
|
|
268
|
+
this.group.children.forEach((u) => u.unselect()), n.select();
|
|
273
269
|
const p = () => {
|
|
274
|
-
|
|
270
|
+
n.removeFromParent(), this.cursor.removeDeleteButton(), this.five.needsRender = !0;
|
|
275
271
|
};
|
|
276
272
|
this.cursor.showDeleteButton({
|
|
277
273
|
clientX: o,
|
|
@@ -279,7 +275,7 @@ class ft extends T {
|
|
|
279
275
|
container: this.five.getElement().parentElement,
|
|
280
276
|
onClick: p
|
|
281
277
|
}), this.five.once("cameraUpdate", () => {
|
|
282
|
-
|
|
278
|
+
n.unselect(), this.cursor.removeDeleteButton();
|
|
283
279
|
});
|
|
284
280
|
});
|
|
285
281
|
i(this, "onHover", ({ target: e }) => {
|
|
@@ -336,10 +332,10 @@ class ft extends T {
|
|
|
336
332
|
return this._config;
|
|
337
333
|
}
|
|
338
334
|
set config(e) {
|
|
339
|
-
var t,
|
|
340
|
-
this._config = e, this.lineStyle.lengthUnit = e.unit, this.polygonStyle.lengthUnit = e.unit, (
|
|
335
|
+
var t, n;
|
|
336
|
+
this._config = e, this.lineStyle.lengthUnit = e.unit, this.polygonStyle.lengthUnit = e.unit, (n = (t = this.group) == null ? void 0 : t.children) == null || n.forEach((o) => o.changeConfig({ lineStyle: this.lineStyle, polygonStyle: this.polygonStyle }));
|
|
341
337
|
}
|
|
342
338
|
}
|
|
343
339
|
export {
|
|
344
|
-
|
|
340
|
+
pt as MeasureController
|
|
345
341
|
};
|
|
@@ -33,30 +33,26 @@ import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
33
33
|
import "../shared-utils/three/core/Sphere.js";
|
|
34
34
|
import "../vendor/animejs/lib/anime.es.js";
|
|
35
35
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
36
|
-
import "../
|
|
37
|
-
import "
|
|
38
|
-
import "../shared-utils/
|
|
39
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
40
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
41
|
-
import "../shared-utils/util.js";
|
|
42
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
36
|
+
import "../shared-utils/five/FivePuppet.js";
|
|
37
|
+
import "@realsee/five";
|
|
38
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
43
39
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
44
40
|
import "../shared-utils/CSS3DRender/index.js";
|
|
45
|
-
import "../shared-utils/
|
|
41
|
+
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
42
|
+
import "../shared-utils/createResizeObserver.js";
|
|
46
43
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
47
44
|
import "../Sculpt/Meshes/Line.js";
|
|
48
45
|
import "../Sculpt/typings/style.js";
|
|
49
46
|
import "../shared-utils/three/IObject3D.js";
|
|
50
47
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
51
48
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
49
|
+
import "../shared-utils/util.js";
|
|
52
50
|
import "../shared-utils/three/core/LineGeometry.js";
|
|
53
51
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
54
52
|
import "../shared-utils/three/core/Line2.js";
|
|
55
53
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
56
54
|
import "../Sculpt/utils/unit.js";
|
|
57
55
|
import "../Sculpt/utils/renderDom.js";
|
|
58
|
-
import "../shared-utils/five/FivePuppet.js";
|
|
59
|
-
import "@realsee/five";
|
|
60
56
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
61
57
|
import "../shared-utils/isTouchDevice.js";
|
|
62
58
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -80,7 +76,7 @@ import "./utils/validatePolygon.js";
|
|
|
80
76
|
import "../shared-utils/three/vectorIsEqual.js";
|
|
81
77
|
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
82
78
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
83
|
-
const
|
|
79
|
+
const yr = (r, o) => new t(r, o);
|
|
84
80
|
export {
|
|
85
|
-
|
|
81
|
+
yr as MeasurePlugin
|
|
86
82
|
};
|