@realsee/dnalogel 3.63.4-alpha.4 → 3.64.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/GuideLinePlugin/Controller.d.ts +2 -13
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +3 -15
- package/dist/GuideLinePlugin/typing.d.ts +21 -4
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -12
- package/dist/GuideLinePlugin/utils/createPath.d.ts +3 -0
- package/dist/GuideLinePlugin/utils/index.d.ts +0 -7
- package/dist/MeasurePlugin/Controller.d.ts +1 -11
- package/dist/MeasurePlugin/utils/MeasureMesh.d.ts +2 -7
- package/dist/Sculpt/index.d.ts +8 -6
- package/dist/Sculpt/typings/index.d.ts +22 -11
- package/dist/Sculpt/typings/style.d.ts +1 -1
- package/dist/index.cjs.js +63 -83
- package/dist/index.js +10542 -10680
- package/dist/index.umd.js +65 -85
- package/dist/shared-utils/three/PointSelector/index.d.ts +3 -3
- package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
- 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 +27 -28
- package/docs/classes/ModelMakerPluginInstance.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
- package/docs/classes/PanoTagPluginController.html +34 -34
- package/docs/classes/Sculpt.html +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 +14 -14
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +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 +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/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 +4 -4
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.PluginData.html +4 -4
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +8 -8
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -5
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +9 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +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 +4 -4
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +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 +4 -3
- 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 -0
- package/docs/modules/Util.html +2 -2
- 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 -10
- 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 +4 -0
- 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/SculptType.Theme.html +10 -0
- 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 -3
- package/libs/AreaMakerPlugin/index.js +2 -3
- package/libs/AreaMakerPlugin/utils/Item.js +2 -3
- package/libs/CSS3DRenderPlugin/Controller.js +2 -3
- package/libs/CSS3DRenderPlugin/index.js +5 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +2 -3
- package/libs/CruisePlugin/BaseController.js +4 -5
- package/libs/CruisePlugin/Move.js +1 -1
- package/libs/CruisePlugin/Work.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +2 -3
- package/libs/CurrentPanoImagePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/Controller.d.ts +2 -13
- package/libs/GuideLinePlugin/Controller.js +53 -54
- package/libs/GuideLinePlugin/GuideLineItem/index.js +52 -50
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +109 -175
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +3 -15
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/typing.d.ts +21 -4
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -12
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +88 -124
- package/libs/GuideLinePlugin/utils/createPath.d.ts +3 -0
- package/libs/GuideLinePlugin/utils/createPath.js +33 -0
- package/libs/GuideLinePlugin/utils/index.d.ts +0 -7
- package/libs/GuideLinePlugin/utils/index.js +3 -11
- package/libs/MeasurePlugin/Controller.d.ts +1 -11
- package/libs/MeasurePlugin/Controller.js +80 -111
- package/libs/MeasurePlugin/index.js +2 -3
- package/libs/MeasurePlugin/utils/MeasureMesh.d.ts +2 -7
- package/libs/MeasurePlugin/utils/MeasureMesh.js +16 -30
- package/libs/ModelMakerPlugin/Controller.js +2 -3
- package/libs/ModelMakerPlugin/index.js +2 -3
- package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +2 -3
- package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
- package/libs/ModelTVVideoPlugin/index.js +2 -3
- package/libs/ModelViewPlugin/Plugin.js +3 -4
- package/libs/ModelViewPlugin/index.js +0 -1
- package/libs/Object3DHelperPlugin/Controller.js +15 -16
- package/libs/Object3DHelperPlugin/index.js +5 -6
- package/libs/PanoCompassPlugin/Controller.js +2 -3
- package/libs/PanoCompassPlugin/index.js +3 -4
- package/libs/PanoDoorLabelPlugin/Controller.js +2 -3
- package/libs/PanoDoorLabelPlugin/index.js +3 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +2 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +2 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +2 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +2 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +2 -3
- package/libs/PanoMeasurePlugin/Model/area.js +11 -12
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +2 -3
- package/libs/PanoMeasurePlugin/index.js +13 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -3
- package/libs/PanoRulerProPlugin/Controller.js +2 -3
- package/libs/PanoRulerProPlugin/RulerItems.js +2 -3
- package/libs/PanoRulerProPlugin/index.js +3 -4
- package/libs/PanoSpatialTagPlugin/Plugin.js +63 -64
- package/libs/PanoSpatialTagPlugin/index.js +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +2 -3
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +2 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +2 -3
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +2 -3
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +26 -27
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +2 -3
- package/libs/PanoTagPlugin/controller/TagRender.js +2 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -3
- package/libs/PanoTagPlugin/controller/index.js +5 -6
- package/libs/PanoTagPlugin/index.js +11 -12
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +16 -17
- package/libs/PanoVideoPlugin/Controller.js +2 -3
- package/libs/PanoVideoPlugin/VideoMeshController.js +2 -3
- package/libs/PanoVideoPlugin/index.js +5 -6
- package/libs/PipelinePlugin/Controller.js +19 -20
- package/libs/PipelinePlugin/index.js +3 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +2 -3
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +2 -3
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -1
- package/libs/Sculpt/Meshes/Line.js +75 -75
- package/libs/Sculpt/Meshes/Polygon.js +11 -7
- package/libs/Sculpt/index.d.ts +8 -6
- package/libs/Sculpt/index.js +20 -20
- package/libs/Sculpt/typings/index.d.ts +22 -11
- package/libs/Sculpt/typings/style.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +21 -22
- package/libs/base/BasePlugin.js +3 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -3
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
- package/libs/index.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +1 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +3 -3
- package/libs/shared-utils/three/PointSelector/index.js +5 -6
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -3
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
- package/package.json +1 -1
- package/dist/Sculpt/utils/unit.d.ts +0 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -4
- package/libs/Sculpt/utils/unit.d.ts +0 -2
- package/libs/Sculpt/utils/unit.js +0 -14
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
var
|
|
1
|
+
var y = Object.defineProperty, _ = Object.defineProperties;
|
|
2
2
|
var F = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var e in
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
3
|
+
var b = Object.getOwnPropertySymbols;
|
|
4
|
+
var D = Object.prototype.hasOwnProperty, V = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var P = (p, t, e) => t in p ? y(p, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[t] = e, f = (p, t) => {
|
|
6
|
+
for (var e in t || (t = {}))
|
|
7
|
+
D.call(t, e) && P(p, e, t[e]);
|
|
8
|
+
if (b)
|
|
9
|
+
for (var e of b(t))
|
|
10
|
+
V.call(t, e) && P(p, e, t[e]);
|
|
11
|
+
return p;
|
|
12
|
+
}, v = (p, t) => _(p, F(t));
|
|
13
|
+
var o = (p, t, e) => (P(p, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
14
|
import * as r from "three";
|
|
15
15
|
import "../shared-utils/tag.js";
|
|
16
16
|
import "../vendor/hammerjs/hammer.js";
|
|
17
|
-
import { Subscribe as
|
|
18
|
-
import { PointSelector as
|
|
17
|
+
import { Subscribe as L } from "../shared-utils/Subscribe.js";
|
|
18
|
+
import { PointSelector as z } from "../shared-utils/three/PointSelector/index.js";
|
|
19
19
|
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
21
|
-
import { IObject3D as
|
|
21
|
+
import { IObject3D as U } from "../shared-utils/three/IObject3D.js";
|
|
22
22
|
import "@realsee/five/line";
|
|
23
23
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
24
24
|
import "../shared-utils/three/core/Sphere.js";
|
|
25
25
|
import "../vendor/animejs/lib/anime.es.js";
|
|
26
|
-
import { FiveDomEvents as
|
|
26
|
+
import { FiveDomEvents as x } from "../shared-utils/five/FiveDomEvents.js";
|
|
27
27
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
28
28
|
import "../shared-utils/five/FivePuppet.js";
|
|
29
|
-
import { MeasureMesh as
|
|
29
|
+
import { MeasureMesh as A } from "./utils/MeasureMesh.js";
|
|
30
30
|
import { PointMesh as k } from "../Sculpt/Meshes/Point.js";
|
|
31
|
-
import { LineWithDotsMesh as
|
|
32
|
-
import { hotkeys as
|
|
33
|
-
import { PolygonMesh as
|
|
34
|
-
import { validatePolygon as
|
|
35
|
-
import { Cursor as
|
|
31
|
+
import { LineWithDotsMesh as g } from "../Sculpt/Meshes/LineWithDots.js";
|
|
32
|
+
import { hotkeys as M } from "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
33
|
+
import { PolygonMesh as C } from "../Sculpt/Meshes/Polygon.js";
|
|
34
|
+
import { validatePolygon as H } from "./utils/validatePolygon.js";
|
|
35
|
+
import { Cursor as O } from "../Sculpt/utils/Modules/Cursor.js";
|
|
36
36
|
import "../shared-utils/positionToVector3.js";
|
|
37
37
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
38
38
|
import "../shared-utils/five/getFiveModel.js";
|
|
@@ -70,7 +70,6 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
70
70
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
71
71
|
import "../shared-utils/three/core/Line2.js";
|
|
72
72
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
73
|
-
import "../Sculpt/utils/unit.js";
|
|
74
73
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
75
74
|
import "../shared-utils/isTouchDevice.js";
|
|
76
75
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -99,128 +98,100 @@ const S = {
|
|
|
99
98
|
opacity: 0.2,
|
|
100
99
|
lengthUnit: "m"
|
|
101
100
|
};
|
|
102
|
-
class mt extends
|
|
101
|
+
class mt extends L {
|
|
103
102
|
constructor(e) {
|
|
104
103
|
super();
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
t(this, "unbindHotKey");
|
|
104
|
+
o(this, "name", "MeasurePlugin");
|
|
105
|
+
o(this, "five");
|
|
106
|
+
o(this, "group");
|
|
107
|
+
o(this, "currentMeasureMesh");
|
|
108
|
+
o(this, "_pointSelector");
|
|
109
|
+
o(this, "_fiveDomEvents");
|
|
110
|
+
o(this, "_cursor");
|
|
113
111
|
/**
|
|
114
112
|
* @description 开始测量
|
|
115
113
|
*/
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
const p = new k(), m = new P(f(v({}, S), { dashed: !0 })), c = new A(T), h = new P(f(v({}, S), { lineOpacity: 0.5, dashed: !0 })), l = new P(f(v({}, S), { lineOpacity: 0.5, dashed: !0 })), d = () => {
|
|
121
|
-
p.removeFromParent(), m.removeFromParent(), c.removeFromParent(), h.removeFromParent(), l.removeFromParent();
|
|
122
|
-
};
|
|
114
|
+
o(this, "measure", () => {
|
|
115
|
+
const e = new A();
|
|
116
|
+
this.currentMeasureMesh = e, this.updateSelectAdsorbedHelper();
|
|
117
|
+
const l = new k(), c = new g(v(f({}, S), { dashed: !0 })), m = new C(T), h = new g(v(f({}, S), { lineOpacity: 0.5, dashed: !0 })), n = new g(v(f({}, S), { lineOpacity: 0.5, dashed: !0 }));
|
|
123
118
|
this.group.add(e);
|
|
124
|
-
const
|
|
119
|
+
const u = (i) => {
|
|
125
120
|
if (!i) {
|
|
126
|
-
|
|
121
|
+
l.removeFromParent(), c.removeFromParent(), m.removeFromParent(), h.removeFromParent(), n.removeFromParent();
|
|
127
122
|
return;
|
|
128
123
|
}
|
|
129
|
-
if (e.points.length === 0 && (
|
|
130
|
-
if (
|
|
131
|
-
h.removeFromParent(),
|
|
124
|
+
if (e.points.length === 0 && (l.parent === null && this.five.scene.add(l), l.position.copy(i.point)), e.points.length >= 1)
|
|
125
|
+
if (l.removeFromParent(), c.parent === null && this.five.scene.add(c), c.setPoints([e.points.at(-1), i.point]), i.isAdsorbed)
|
|
126
|
+
h.removeFromParent(), n.removeFromParent();
|
|
132
127
|
else {
|
|
133
|
-
const
|
|
134
|
-
if (Math.abs(i.point.y -
|
|
135
|
-
const
|
|
136
|
-
h.setPoints([
|
|
128
|
+
const s = e.points.at(-1);
|
|
129
|
+
if (Math.abs(i.point.y - s.y) > 0.2) {
|
|
130
|
+
const a = new r.Vector3(i.point.x, s.y, i.point.z);
|
|
131
|
+
h.setPoints([s, a]), n.setPoints([a, i.point]);
|
|
137
132
|
} else {
|
|
138
|
-
let
|
|
139
|
-
Math.abs(i.point.x -
|
|
133
|
+
let a = new r.Vector3();
|
|
134
|
+
Math.abs(i.point.x - s.x) < Math.abs(i.point.z - s.z) ? a = new r.Vector3(i.point.x, s.y, s.z) : a = new r.Vector3(s.x, s.y, i.point.z), h.setPoints([s, a]), n.setPoints([a, i.point]);
|
|
140
135
|
}
|
|
141
|
-
this.group.addIfNotExists(h,
|
|
136
|
+
this.group.addIfNotExists(h, n);
|
|
142
137
|
}
|
|
143
138
|
if (e.points.length >= 2) {
|
|
144
|
-
const
|
|
145
|
-
|
|
139
|
+
const s = [...e.points, i.point];
|
|
140
|
+
H(s) ? (m.setPoints(s), m.parent === null && this.five.scene.add(m)) : m.removeFromParent();
|
|
146
141
|
}
|
|
147
|
-
},
|
|
148
|
-
|
|
149
|
-
},
|
|
150
|
-
this.pointSelector.off("intersectionUpdate",
|
|
142
|
+
}, d = (i) => {
|
|
143
|
+
e.setPoints([...e.points, i.point]), this.updateSelectAdsorbedHelper(), e.isPolygon && this.pointSelector.disable();
|
|
144
|
+
}, w = () => {
|
|
145
|
+
this.pointSelector.off("intersectionUpdate", u), this.pointSelector.off("select", d), this.pointSelector.off("disable", w), l.removeFromParent(), c.removeFromParent(), m.removeFromParent(), h.removeFromParent(), n.removeFromParent(), this.currentMeasureMesh = null, this.emit("measureEnd");
|
|
151
146
|
};
|
|
152
|
-
this.pointSelector.on("intersectionUpdate",
|
|
147
|
+
this.pointSelector.on("intersectionUpdate", u), this.pointSelector.on("select", d), this.pointSelector.on("disable", w), this.pointSelector.enable();
|
|
153
148
|
});
|
|
154
149
|
/**
|
|
155
150
|
* @description 结束测量
|
|
156
151
|
*/
|
|
157
|
-
|
|
158
|
-
this.pointSelector.disable();
|
|
159
|
-
});
|
|
160
|
-
/**
|
|
161
|
-
* @description 取消本次测量
|
|
162
|
-
*/
|
|
163
|
-
t(this, "cancel", () => {
|
|
164
|
-
var e;
|
|
165
|
-
(e = this.currentMeasureMesh) == null || e.removeFromParent(), this.pointSelector.disable();
|
|
152
|
+
o(this, "endMeasure", () => {
|
|
153
|
+
this.pointSelector.disable(), this.emit("measureEnd");
|
|
166
154
|
});
|
|
167
155
|
/**
|
|
168
156
|
* @description 撤销上一步
|
|
169
157
|
*/
|
|
170
|
-
|
|
158
|
+
o(this, "undo", () => {
|
|
171
159
|
var e;
|
|
172
160
|
(e = this.currentMeasureMesh) == null || e.setPoints(this.currentMeasureMesh.points.slice(0, -1)), this.pointSelector.emit("intersectionUpdate", this.pointSelector.position), this.updateSelectAdsorbedHelper(), this.five.needsRender = !0;
|
|
173
161
|
});
|
|
174
162
|
/**
|
|
175
163
|
* @description 清空所有测量内容
|
|
176
164
|
*/
|
|
177
|
-
|
|
165
|
+
o(this, "clear", () => {
|
|
178
166
|
this.currentMeasureMesh = null, this.pointSelector.disable(), this.group.children.forEach((e) => e.removeFromParent());
|
|
179
167
|
});
|
|
180
|
-
|
|
181
|
-
|
|
168
|
+
o(this, "dispose", () => {
|
|
169
|
+
M.unbind("ctrl+z, command+z"), M.unbind("shift"), this.pointSelector.disable(), this.clear();
|
|
182
170
|
});
|
|
183
|
-
|
|
184
|
-
this.
|
|
185
|
-
this.fiveDomEvents.addEventListener(e, "click", this.onClick), this.fiveDomEvents.addEventListener(e, "hover", this.onHover), this.fiveDomEvents.addEventListener(e, "unHover", this.onUnHover);
|
|
186
|
-
});
|
|
187
|
-
});
|
|
188
|
-
t(this, "removeEventListener", () => {
|
|
189
|
-
this.fiveDomEvents.clear();
|
|
190
|
-
});
|
|
191
|
-
t(this, "onClick", ({ origDomEvent: e, target: p }) => {
|
|
192
|
-
const m = p;
|
|
193
|
-
if (!m)
|
|
171
|
+
o(this, "onClick", ({ origDomEvent: e, target: l, intersects: c }) => {
|
|
172
|
+
if (this.currentMeasureMesh)
|
|
194
173
|
return;
|
|
195
|
-
let
|
|
196
|
-
if (e instanceof TouchEvent ? (
|
|
174
|
+
let m, h;
|
|
175
|
+
if (e instanceof TouchEvent ? (m = e.changedTouches[0].clientX, h = e.changedTouches[0].clientY) : e instanceof MouseEvent && (m = e.clientX, h = e.clientY), m === void 0 || h === void 0)
|
|
197
176
|
return;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
177
|
+
let n = c[0].object;
|
|
178
|
+
for (; n && !n.isMeasureMesh; )
|
|
179
|
+
n = n.parent;
|
|
180
|
+
if (!n)
|
|
181
|
+
return;
|
|
182
|
+
const u = n;
|
|
183
|
+
this.group.children.forEach((d) => d.unhighlight()), u.highlight(), this.cursor.showDeleteButton({
|
|
184
|
+
clientX: m,
|
|
204
185
|
clientY: h,
|
|
205
186
|
container: this.five.getElement().parentElement,
|
|
206
|
-
onClick:
|
|
187
|
+
onClick: () => {
|
|
188
|
+
u.removeFromParent(), this.five.needsRender = !0;
|
|
189
|
+
}
|
|
207
190
|
}), this.five.once("cameraUpdate", () => {
|
|
208
|
-
|
|
191
|
+
u.unhighlight(), this.cursor.removeDeleteButton();
|
|
209
192
|
});
|
|
210
193
|
});
|
|
211
|
-
|
|
212
|
-
if (this.currentMeasureMesh)
|
|
213
|
-
return;
|
|
214
|
-
const p = e;
|
|
215
|
-
p && p.hover();
|
|
216
|
-
});
|
|
217
|
-
t(this, "onUnHover", ({ target: e }) => {
|
|
218
|
-
if (this.currentMeasureMesh)
|
|
219
|
-
return;
|
|
220
|
-
const p = e;
|
|
221
|
-
p && p.unhover();
|
|
222
|
-
});
|
|
223
|
-
t(this, "updateSelectAdsorbedHelper", () => {
|
|
194
|
+
o(this, "updateSelectAdsorbedHelper", () => {
|
|
224
195
|
if (!this.currentMeasureMesh || this.currentMeasureMesh.points.length === 0) {
|
|
225
196
|
this.pointSelector.setAdherePoints(null), this.pointSelector.adhereLine = [], this.pointSelector.adherePlane = [];
|
|
226
197
|
return;
|
|
@@ -244,18 +215,16 @@ class mt extends I {
|
|
|
244
215
|
} else
|
|
245
216
|
this.pointSelector.adherePlane = [];
|
|
246
217
|
});
|
|
247
|
-
this.five = e, this.group = new
|
|
248
|
-
a.unbind("ctrl+z, command+z"), a.unbind("esc"), a.unbind("enter");
|
|
249
|
-
};
|
|
218
|
+
this.five = e, this.group = new U(), this.five.scene.add(this.group), this.fiveDomEvents.addEventListener(this.group, "click", this.onClick), M("ctrl+z, command+z", this.undo), M("enter", this.endMeasure);
|
|
250
219
|
}
|
|
251
220
|
get pointSelector() {
|
|
252
|
-
return this._pointSelector ? this._pointSelector : (this._pointSelector = new
|
|
221
|
+
return this._pointSelector ? this._pointSelector : (this._pointSelector = new z(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
|
|
253
222
|
}
|
|
254
223
|
get fiveDomEvents() {
|
|
255
|
-
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new
|
|
224
|
+
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new x(this.five), this._fiveDomEvents);
|
|
256
225
|
}
|
|
257
226
|
get cursor() {
|
|
258
|
-
return this._cursor ? this._cursor : (this._cursor = new
|
|
227
|
+
return this._cursor ? this._cursor : (this._cursor = new O(), this._cursor);
|
|
259
228
|
}
|
|
260
229
|
}
|
|
261
230
|
export {
|
|
@@ -51,7 +51,6 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
51
51
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
52
52
|
import "../shared-utils/three/core/Line2.js";
|
|
53
53
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
54
|
-
import "../Sculpt/utils/unit.js";
|
|
55
54
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
56
55
|
import "../shared-utils/isTouchDevice.js";
|
|
57
56
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -76,7 +75,7 @@ import "./utils/validatePolygon.js";
|
|
|
76
75
|
import "../shared-utils/three/vectorIsEqual.js";
|
|
77
76
|
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
78
77
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
79
|
-
const
|
|
78
|
+
const qr = (r) => new o(r);
|
|
80
79
|
export {
|
|
81
|
-
|
|
80
|
+
qr as MeasurePlugin
|
|
82
81
|
};
|
|
@@ -5,15 +5,10 @@ export declare class MeasureMesh extends IObject3D {
|
|
|
5
5
|
readonly isMeasureMesh = true;
|
|
6
6
|
points: THREE.Vector3[];
|
|
7
7
|
isPolygon: boolean;
|
|
8
|
-
private selected;
|
|
9
8
|
private line;
|
|
10
9
|
private polygon;
|
|
11
10
|
constructor();
|
|
12
11
|
setPoints(points: THREE.Vector3[]): void;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
hover(): void;
|
|
16
|
-
unhover(): void;
|
|
17
|
-
private highlight;
|
|
18
|
-
private unhighlight;
|
|
12
|
+
highlight(): void;
|
|
13
|
+
unhighlight(): void;
|
|
19
14
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var m = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { IObject3D as
|
|
2
|
+
var s = (r, i, o) => i in r ? m(r, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[i] = o;
|
|
3
|
+
var t = (r, i, o) => (s(r, typeof i != "symbol" ? i + "" : i, o), o);
|
|
4
|
+
import { IObject3D as e } from "../../shared-utils/three/IObject3D.js";
|
|
5
5
|
import { LineWithDotsMesh as h } from "../../Sculpt/Meshes/LineWithDots.js";
|
|
6
6
|
import { PolygonMesh as n } from "../../Sculpt/Meshes/Polygon.js";
|
|
7
7
|
import { validatePolygon as l } from "./validatePolygon.js";
|
|
8
|
-
import { lineStyle as g, polygonStyle as
|
|
8
|
+
import { lineStyle as g, polygonStyle as y } from "../Controller.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "../../shared-utils/positionToVector3.js";
|
|
11
11
|
import "../../Sculpt/Meshes/Point.js";
|
|
@@ -58,7 +58,6 @@ import "../../shared-utils/three/core/LineGeometry.js";
|
|
|
58
58
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
59
59
|
import "../../shared-utils/three/core/Line2.js";
|
|
60
60
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
61
|
-
import "../../Sculpt/utils/unit.js";
|
|
62
61
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
63
62
|
import "../../shared-utils/isTouchDevice.js";
|
|
64
63
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -79,44 +78,31 @@ import "../../shared-utils/five/calculateThreeMouse.js";
|
|
|
79
78
|
import "./MeasureMesh.js";
|
|
80
79
|
import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
81
80
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
82
|
-
class
|
|
81
|
+
class Ai extends e {
|
|
83
82
|
constructor() {
|
|
84
83
|
super();
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
o(this, "polygon", new n(a));
|
|
84
|
+
t(this, "name", "MeasureMesh");
|
|
85
|
+
t(this, "isMeasureMesh", !0);
|
|
86
|
+
t(this, "points", []);
|
|
87
|
+
t(this, "isPolygon", !1);
|
|
88
|
+
t(this, "line", new h(g));
|
|
89
|
+
t(this, "polygon", new n(y));
|
|
92
90
|
this.add(this.line), this.addEventListener("removed", () => {
|
|
93
91
|
this.line.removeFromParent(), this.polygon.removeFromParent();
|
|
94
92
|
});
|
|
95
93
|
}
|
|
96
|
-
setPoints(
|
|
97
|
-
this.points =
|
|
94
|
+
setPoints(o) {
|
|
95
|
+
this.points = o, this.line.setPoints(this.points);
|
|
98
96
|
const p = l(this.points);
|
|
99
97
|
this.isPolygon = p, p && (this.addIfNotExists(this.polygon), this.polygon.setPoints(this.points));
|
|
100
98
|
}
|
|
101
|
-
|
|
102
|
-
this.highlight(3373055), this.
|
|
103
|
-
}
|
|
104
|
-
unselect() {
|
|
105
|
-
this.unhighlight(), this.selected = !1;
|
|
106
|
-
}
|
|
107
|
-
hover() {
|
|
108
|
-
this.selected || this.highlight();
|
|
109
|
-
}
|
|
110
|
-
unhover() {
|
|
111
|
-
this.selected || this.unhighlight();
|
|
112
|
-
}
|
|
113
|
-
highlight(i) {
|
|
114
|
-
this.line.highlight({ color: i }), this.polygon.highlight({ color: i });
|
|
99
|
+
highlight() {
|
|
100
|
+
this.line.highlight({ color: 3373055 }), this.polygon.highlight({ color: 3373055 });
|
|
115
101
|
}
|
|
116
102
|
unhighlight() {
|
|
117
103
|
this.line.unhighlight(), this.polygon.unhighlight();
|
|
118
104
|
}
|
|
119
105
|
}
|
|
120
106
|
export {
|
|
121
|
-
|
|
107
|
+
Ai as MeasureMesh
|
|
122
108
|
};
|
|
@@ -82,7 +82,6 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
82
82
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
83
83
|
import "../shared-utils/three/core/Line2.js";
|
|
84
84
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
85
|
-
import "../Sculpt/utils/unit.js";
|
|
86
85
|
import "../Sculpt/Meshes/Polyline.js";
|
|
87
86
|
import "../Sculpt/Meshes/LineWithDots.js";
|
|
88
87
|
import "../Sculpt/Meshes/Point.js";
|
|
@@ -122,7 +121,7 @@ import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
|
122
121
|
import "../shared-utils/math/rad2Deg.js";
|
|
123
122
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
124
123
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
125
|
-
class
|
|
124
|
+
class Pt extends j {
|
|
126
125
|
constructor(e, i) {
|
|
127
126
|
var a, o;
|
|
128
127
|
super(e);
|
|
@@ -294,5 +293,5 @@ class Dt extends j {
|
|
|
294
293
|
}
|
|
295
294
|
}
|
|
296
295
|
export {
|
|
297
|
-
|
|
296
|
+
Pt as Controller
|
|
298
297
|
};
|
|
@@ -53,7 +53,6 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
53
53
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
54
54
|
import "../shared-utils/three/core/Line2.js";
|
|
55
55
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
56
|
-
import "../Sculpt/utils/unit.js";
|
|
57
56
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
58
57
|
import "../shared-utils/isTouchDevice.js";
|
|
59
58
|
import "../shared-utils/five/getPosition.js";
|
|
@@ -95,7 +94,7 @@ import "./item/prismItem.js";
|
|
|
95
94
|
import "./item/polygonItem.js";
|
|
96
95
|
import "../CruisePlugin/utils/sleep.js";
|
|
97
96
|
import "../shared-utils/constants.js";
|
|
98
|
-
const
|
|
97
|
+
const To = (...o) => new r(...o);
|
|
99
98
|
export {
|
|
100
|
-
|
|
99
|
+
To as ModelMakerPlugin
|
|
101
100
|
};
|
|
@@ -56,7 +56,6 @@ import "../../shared-utils/three/core/LineGeometry.js";
|
|
|
56
56
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
57
57
|
import "../../shared-utils/three/core/Line2.js";
|
|
58
58
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
59
|
-
import "../../Sculpt/utils/unit.js";
|
|
60
59
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
61
60
|
import "../../shared-utils/isTouchDevice.js";
|
|
62
61
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -65,7 +64,7 @@ import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
|
65
64
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
66
65
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
67
66
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
68
|
-
class
|
|
67
|
+
class Vi extends n {
|
|
69
68
|
constructor(i) {
|
|
70
69
|
var s, m;
|
|
71
70
|
super();
|
|
@@ -115,5 +114,5 @@ class Ci extends n {
|
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
export {
|
|
118
|
-
|
|
117
|
+
Vi as ModelMakerBaseItem
|
|
119
118
|
};
|
|
@@ -55,7 +55,6 @@ import "../../shared-utils/three/core/LineGeometry.js";
|
|
|
55
55
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
56
56
|
import "../../shared-utils/three/core/Line2.js";
|
|
57
57
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
58
|
-
import "../../Sculpt/utils/unit.js";
|
|
59
58
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
60
59
|
import "../../shared-utils/isTouchDevice.js";
|
|
61
60
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -66,7 +65,7 @@ import "../../shared-utils/three/boundingBox.js";
|
|
|
66
65
|
import "../utils/getFiveDomEvent.js";
|
|
67
66
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
68
67
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
69
|
-
class
|
|
68
|
+
class Ti extends s {
|
|
70
69
|
constructor(...t) {
|
|
71
70
|
super(...t);
|
|
72
71
|
r(this, "hideTag", () => {
|
|
@@ -91,5 +90,5 @@ class ki extends s {
|
|
|
91
90
|
}
|
|
92
91
|
}
|
|
93
92
|
export {
|
|
94
|
-
|
|
93
|
+
Ti as ModelMakerBoxItem
|
|
95
94
|
};
|
|
@@ -56,7 +56,6 @@ import "../../shared-utils/three/core/LineGeometry.js";
|
|
|
56
56
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
57
57
|
import "../../shared-utils/three/core/Line2.js";
|
|
58
58
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
59
|
-
import "../../Sculpt/utils/unit.js";
|
|
60
59
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
61
60
|
import "../../shared-utils/isTouchDevice.js";
|
|
62
61
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -67,7 +66,7 @@ import "../../shared-utils/three/boundingBox.js";
|
|
|
67
66
|
import "../utils/getFiveDomEvent.js";
|
|
68
67
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
69
68
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
70
|
-
class
|
|
69
|
+
class gt extends a {
|
|
71
70
|
constructor(...t) {
|
|
72
71
|
super(...t);
|
|
73
72
|
p(this, "onPanoArrived", (t) => {
|
|
@@ -92,5 +91,5 @@ class At extends a {
|
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
export {
|
|
95
|
-
|
|
94
|
+
gt as ModelMakerPolygonItem
|
|
96
95
|
};
|
|
@@ -64,7 +64,6 @@ import "../../shared-utils/three/core/LineGeometry.js";
|
|
|
64
64
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
65
65
|
import "../../shared-utils/three/core/Line2.js";
|
|
66
66
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
67
|
-
import "../../Sculpt/utils/unit.js";
|
|
68
67
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
69
68
|
import "../../shared-utils/isTouchDevice.js";
|
|
70
69
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -76,7 +75,7 @@ import "../../shared-utils/three/addIfNotExists.js";
|
|
|
76
75
|
import "../utils/getFiveDomEvent.js";
|
|
77
76
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
78
77
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
79
|
-
class
|
|
78
|
+
class Ho extends S {
|
|
80
79
|
constructor(...o) {
|
|
81
80
|
const r = o[0], p = C(r.model), m = new b.Vector3().lerpVectors(a(p, 0), a(p, 5), 0.5);
|
|
82
81
|
super(h(n({}, r), { position: m }));
|
|
@@ -100,5 +99,5 @@ class No extends S {
|
|
|
100
99
|
}
|
|
101
100
|
}
|
|
102
101
|
export {
|
|
103
|
-
|
|
102
|
+
Ho as ModelMakerPrismItem
|
|
104
103
|
};
|
|
@@ -67,7 +67,6 @@ import "../shared-utils/isNil.js";
|
|
|
67
67
|
import "../shared-utils/three/core/Line2.js";
|
|
68
68
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
69
69
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
70
|
-
import "../Sculpt/utils/unit.js";
|
|
71
70
|
import "../shared-utils/three/core/Sphere.js";
|
|
72
71
|
import "../vendor/animejs/lib/anime.es.js";
|
|
73
72
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -83,7 +82,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
83
82
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
84
83
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
85
84
|
import "../shared-utils/url/absoluteUrl.js";
|
|
86
|
-
const
|
|
85
|
+
const Ke = (s, { videoElement: g }) => {
|
|
87
86
|
const e = {
|
|
88
87
|
videoMeshes: [],
|
|
89
88
|
videoTextureEnabled: !1,
|
|
@@ -226,6 +225,6 @@ const Ne = (s, { videoElement: g }) => {
|
|
|
226
225
|
}), { enable: h, disable: l, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
227
226
|
};
|
|
228
227
|
export {
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
Ke as ModelTVVideoPlugin,
|
|
229
|
+
Ke as default
|
|
231
230
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as so } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -51,7 +51,6 @@ import "../shared-utils/isNil.js";
|
|
|
51
51
|
import "../shared-utils/three/core/Line2.js";
|
|
52
52
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
53
53
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
54
|
-
import "../Sculpt/utils/unit.js";
|
|
55
54
|
import "../shared-utils/three/core/Sphere.js";
|
|
56
55
|
import "../vendor/animejs/lib/anime.es.js";
|
|
57
56
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -69,7 +68,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
69
68
|
import "../shared-utils/url/absoluteUrl.js";
|
|
70
69
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
71
70
|
export {
|
|
72
|
-
|
|
71
|
+
so as DIRECTION,
|
|
73
72
|
r as ModelTVVideoPlugin,
|
|
74
73
|
r as default
|
|
75
74
|
};
|
|
@@ -78,14 +78,13 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
78
78
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
79
79
|
import "../shared-utils/three/core/Line2.js";
|
|
80
80
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
81
|
-
import "../Sculpt/utils/unit.js";
|
|
82
81
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
83
82
|
import "../shared-utils/isTouchDevice.js";
|
|
84
83
|
import "../shared-utils/five/getPosition.js";
|
|
85
84
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
86
85
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
87
86
|
import "../Sculpt/utils/three/rayOnLine.js";
|
|
88
|
-
const
|
|
87
|
+
const ot = (t, o) => {
|
|
89
88
|
var M, N;
|
|
90
89
|
const r = new K();
|
|
91
90
|
let s = (N = (M = o == null ? void 0 : o.initialState) == null ? void 0 : M.enabled) != null ? N : !0, f = !1, g = !0, n = null;
|
|
@@ -177,6 +176,6 @@ const rt = (t, o) => {
|
|
|
177
176
|
return t.on("loaded", j), t.on("willLoad", V), t.on("cameraDirectionUpdate", w), t.on("dispose", W), t.on("renderFrame", P), t.on("cameraPositionUpdate", w), { appendTo: T, refresh: L, changeConfigs: U, enable: F, disable: O, getCurrentState: G, hooks: r };
|
|
178
177
|
};
|
|
179
178
|
export {
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
ot as ModelViewPlugin,
|
|
180
|
+
ot as default
|
|
182
181
|
};
|
|
@@ -51,7 +51,6 @@ import "../shared-utils/three/core/LineGeometry.js";
|
|
|
51
51
|
import "../shared-utils/three/core/LineMaterial.js";
|
|
52
52
|
import "../shared-utils/three/core/Line2.js";
|
|
53
53
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
54
|
-
import "../Sculpt/utils/unit.js";
|
|
55
54
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
56
55
|
import "../shared-utils/isTouchDevice.js";
|
|
57
56
|
import "../shared-utils/five/getPosition.js";
|