@realsee/dnalogel 3.36.5 → 3.36.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +2 -1
- package/dist/base/BasePlugin.d.ts +2 -1
- package/dist/index.cjs.js +37 -37
- package/dist/index.js +635 -624
- package/dist/index.umd.js +38 -38
- package/dist/shared-utils/tag.d.ts +4 -1
- package/dist/shared-utils/three/Magnifier.d.ts +1 -1
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +1 -1
- package/dist/shared-utils/three/applyObjectMatrixWorld.d.ts +2 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +13 -13
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginInstance.html +14 -14
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +14 -14
- package/docs/classes/Object3DHelperController.html +14 -14
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +13 -13
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +14 -14
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelMakerPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/SculptPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.blink.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.reblink.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- 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 +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +5 -5
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -5
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +5 -5
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- 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 +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- 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 +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +5 -5
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/SculptData.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/SculptData.BoxData.html +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/AreaMakerPlugin/Controller.js +2 -3
- package/libs/AreaMakerPlugin/index.js +2 -3
- package/libs/AreaMakerPlugin/utils/Item.js +14 -15
- package/libs/CSS3DRenderPlugin/Controller.js +2 -3
- package/libs/CSS3DRenderPlugin/index.js +5 -6
- 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 +10 -11
- package/libs/CurrentPanoImagePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem/index.js +8 -8
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +11 -12
- package/libs/ModelMakerPlugin/index.js +2 -3
- package/libs/ModelMakerPlugin/item/baseItem.js +14 -14
- package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
- package/libs/ModelTVVideoPlugin/index.js +2 -3
- package/libs/Object3DHelperPlugin/Controller.js +3 -4
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +2 -1
- package/libs/Object3DHelperPlugin/index.js +5 -6
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +7 -6
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +57 -50
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/index.js +7 -6
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -2
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +2 -1
- package/libs/PanoMeasurePlugin/index.js +18 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -3
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +21 -21
- 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/TagCache.js +2 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- 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 +22 -23
- 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/Box.js +2 -3
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.js +2 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +2 -3
- package/libs/Sculpt/Meshes/Point.js +2 -3
- package/libs/Sculpt/Meshes/Polyline.js +4 -5
- package/libs/Sculpt/Meshes/Prism.js +10 -11
- package/libs/Sculpt/Meshes/Rectangle.js +2 -3
- package/libs/Sculpt/Objects/Base/index.js +21 -24
- package/libs/Sculpt/Objects/Polyline/Editor.js +10 -11
- package/libs/Sculpt/index.js +13 -14
- package/libs/Sculpt/utils/three/ColoredMesh.js +6 -7
- package/libs/base/BasePlugin.d.ts +2 -1
- package/libs/base/BasePlugin.js +3 -4
- 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/floorplan/index.js +0 -1
- package/libs/index.js +126 -125
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -1
- package/libs/shared-utils/tag.js +33 -29
- package/libs/shared-utils/three/Magnifier.d.ts +1 -1
- package/libs/shared-utils/three/Magnifier.js +1 -1
- package/libs/shared-utils/three/PointDomHelper.js +2 -3
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +1 -1
- package/libs/shared-utils/three/PointSelectorHelper.js +6 -6
- package/libs/shared-utils/three/applyObjectMatrixWorld.d.ts +2 -0
- package/libs/shared-utils/three/applyObjectMatrixWorld.js +10 -0
- package/libs/shared-utils/three/index.js +0 -1
- package/package.json +1 -1
|
@@ -4,7 +4,6 @@ var t = (v, e, i) => (I(v, typeof e != "symbol" ? e + "" : e, i), i);
|
|
|
4
4
|
import { vertexShader as M, fragmentShader as P } from "./utils/shader.js";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import { VideoTexture as F, LinearFilter as m, ShaderMaterial as y, Vector4 as x, SphereBufferGeometry as L, Mesh as V, Vector3 as l, Quaternion as b } from "three";
|
|
7
|
-
import "@realsee/five";
|
|
8
7
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
8
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
9
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -25,7 +24,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
25
24
|
import "../shared-utils/three/getObjectVisible.js";
|
|
26
25
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
27
26
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
28
|
-
class
|
|
27
|
+
class ee {
|
|
29
28
|
/** 初始化视频、模型以及相关事件监听。 */
|
|
30
29
|
constructor(e, i) {
|
|
31
30
|
t(this, "video");
|
|
@@ -301,5 +300,5 @@ class ie {
|
|
|
301
300
|
}
|
|
302
301
|
}
|
|
303
302
|
export {
|
|
304
|
-
|
|
303
|
+
ee as VideoMeshController
|
|
305
304
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { PanoVideoPluginController as r } from "./Controller.js";
|
|
2
|
-
import { typings as
|
|
2
|
+
import { typings as G } from "./typings/index.js";
|
|
3
3
|
import "./VideoMeshController.js";
|
|
4
4
|
import "./utils/shader.js";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "three";
|
|
7
|
-
import "@realsee/five";
|
|
8
7
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
8
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
9
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -30,9 +29,9 @@ import "../shared-utils/url/absoluteUrl.js";
|
|
|
30
29
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
31
30
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
32
31
|
import "../shared-utils/five/transformPosition.js";
|
|
33
|
-
const
|
|
32
|
+
const D = (o) => new r(o);
|
|
34
33
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
D as PanoVideoPlugin,
|
|
35
|
+
G as PanoVideoPluginType,
|
|
36
|
+
D as default
|
|
38
37
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var j = Object.defineProperty;
|
|
2
2
|
var v = Object.getOwnPropertySymbols;
|
|
3
3
|
var P = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var A = (
|
|
4
|
+
var A = (p, n, e) => n in p ? j(p, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[n] = e, m = (p, n) => {
|
|
5
5
|
for (var e in n || (n = {}))
|
|
6
|
-
P.call(n, e) && A(
|
|
6
|
+
P.call(n, e) && A(p, e, n[e]);
|
|
7
7
|
if (v)
|
|
8
8
|
for (var e of v(n))
|
|
9
|
-
_.call(n, e) && A(
|
|
10
|
-
return
|
|
9
|
+
_.call(n, e) && A(p, e, n[e]);
|
|
10
|
+
return p;
|
|
11
11
|
};
|
|
12
|
-
var u = (
|
|
13
|
-
var d = (
|
|
12
|
+
var u = (p, n, e) => (A(p, typeof n != "symbol" ? n + "" : n, e), e);
|
|
13
|
+
var d = (p, n, e) => new Promise((t, i) => {
|
|
14
14
|
var s = (a) => {
|
|
15
15
|
try {
|
|
16
16
|
o(e.next(a));
|
|
17
|
-
} catch (
|
|
18
|
-
i(
|
|
17
|
+
} catch (c) {
|
|
18
|
+
i(c);
|
|
19
19
|
}
|
|
20
20
|
}, r = (a) => {
|
|
21
21
|
try {
|
|
22
22
|
o(e.throw(a));
|
|
23
|
-
} catch (
|
|
24
|
-
i(
|
|
23
|
+
} catch (c) {
|
|
24
|
+
i(c);
|
|
25
25
|
}
|
|
26
26
|
}, o = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(s, r);
|
|
27
|
-
o((e = e.apply(
|
|
27
|
+
o((e = e.apply(p, n)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as F from "three";
|
|
30
30
|
import { Controller as S } from "../base/BasePluginWithData.js";
|
|
@@ -36,7 +36,6 @@ import { ObjectFlowPipe as D } from "./utils/Objects/FlowPipe.js";
|
|
|
36
36
|
import "../base/BasePlugin.js";
|
|
37
37
|
import "../shared-utils/Subscribe.js";
|
|
38
38
|
import "hammerjs";
|
|
39
|
-
import "@realsee/five";
|
|
40
39
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
41
40
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
42
41
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -66,7 +65,7 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
|
66
65
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
67
66
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
68
67
|
const g = { flowSpeed: 0.6, rotateSpeed: 0 };
|
|
69
|
-
class
|
|
68
|
+
class be extends S {
|
|
70
69
|
constructor(e) {
|
|
71
70
|
super(e);
|
|
72
71
|
// ==================== public properties ====================
|
|
@@ -95,12 +94,12 @@ class we extends S {
|
|
|
95
94
|
const [t] = e, i = t.intersectObjects(this.pipeObjects, !1);
|
|
96
95
|
if (i.length === 0 || !this.data)
|
|
97
96
|
return;
|
|
98
|
-
const o = i[0].object.customID, a = this.data.pipes.find(({ id: h }) => h === o),
|
|
99
|
-
if (!(!a || !
|
|
97
|
+
const o = i[0].object.customID, a = this.data.pipes.find(({ id: h }) => h === o), c = this.data.pipelines.find((h) => a && h.pipes.includes(a));
|
|
98
|
+
if (!(!a || !c))
|
|
100
99
|
return this.hooks.emit("tap", {
|
|
101
100
|
intersectObjects: i,
|
|
102
101
|
pipe: a,
|
|
103
|
-
pipeline:
|
|
102
|
+
pipeline: c,
|
|
104
103
|
wantsFiveTapGestureParams: e
|
|
105
104
|
}), !1;
|
|
106
105
|
});
|
|
@@ -126,13 +125,13 @@ class we extends S {
|
|
|
126
125
|
return d(this, null, function* () {
|
|
127
126
|
const r = this.data;
|
|
128
127
|
this.data = yield this.formatData(e, s), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
|
|
129
|
-
this.data.pipes.filter((o) => !!(o != null && o.texture)).map((b) => d(this, [b], function* ({ id: o, texture: a, path:
|
|
130
|
-
const l = yield this.loadPipeTexture(a), f = { id: o, path:
|
|
128
|
+
this.data.pipes.filter((o) => !!(o != null && o.texture)).map((b) => d(this, [b], function* ({ id: o, texture: a, path: c, radius: h }) {
|
|
129
|
+
const l = yield this.loadPipeTexture(a), f = { id: o, path: c, textureURL: a, texture: l, geometryConfig: { radius: h } };
|
|
131
130
|
return new D(f);
|
|
132
131
|
}))
|
|
133
132
|
), this.data.pipelines.forEach((o) => {
|
|
134
|
-
o.pipes.reduce((a,
|
|
135
|
-
const h = this.findPipeObjectWithID(
|
|
133
|
+
o.pipes.reduce((a, c) => {
|
|
134
|
+
const h = this.findPipeObjectWithID(c.id);
|
|
136
135
|
return h == null || h.setInitialDisplacement(a), a + ((h == null ? void 0 : h.pathLength) || 0);
|
|
137
136
|
}, 0);
|
|
138
137
|
}), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((o) => o.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), t && this.setState(t, { userAction: i });
|
|
@@ -229,10 +228,10 @@ class we extends S {
|
|
|
229
228
|
* */
|
|
230
229
|
switchPipelines(e) {
|
|
231
230
|
return d(this, null, function* () {
|
|
232
|
-
var
|
|
231
|
+
var c, h, b, l, f, w;
|
|
233
232
|
if (!this.data)
|
|
234
233
|
return;
|
|
235
|
-
const t = (
|
|
234
|
+
const t = (c = e == null ? void 0 : e.target) != null ? c : null, i = (h = e == null ? void 0 : e.userAction) != null ? h : !0;
|
|
236
235
|
this.updateState({ target: t }, i);
|
|
237
236
|
const s = { duration: 500 }, r = (l = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? l : s, o = (w = (f = e == null ? void 0 : e.showAnime) != null ? f : e == null ? void 0 : e.anime) != null ? w : s, a = {
|
|
238
237
|
target: t,
|
|
@@ -346,5 +345,5 @@ class we extends S {
|
|
|
346
345
|
}
|
|
347
346
|
}
|
|
348
347
|
export {
|
|
349
|
-
|
|
348
|
+
be as Controller
|
|
350
349
|
};
|
|
@@ -4,7 +4,6 @@ import "../base/BasePluginWithData.js";
|
|
|
4
4
|
import "../base/BasePlugin.js";
|
|
5
5
|
import "../shared-utils/Subscribe.js";
|
|
6
6
|
import "hammerjs";
|
|
7
|
-
import "@realsee/five";
|
|
8
7
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
8
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
9
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -38,8 +37,8 @@ import "../shared-utils/animationFrame/BetterTween.js";
|
|
|
38
37
|
import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
39
38
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
40
39
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
41
|
-
const
|
|
40
|
+
const O = (r) => new o(r);
|
|
42
41
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
O as PipelinePlugin,
|
|
43
|
+
O as default
|
|
45
44
|
};
|
|
@@ -3,7 +3,6 @@ var u = (o, e, t) => e in o ? v(o, e, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var r = (o, e, t) => (u(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import "hammerjs";
|
|
5
5
|
import "three";
|
|
6
|
-
import "@realsee/five";
|
|
7
6
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
8
7
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
9
8
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -47,7 +46,7 @@ const d = (
|
|
|
47
46
|
}
|
|
48
47
|
`
|
|
49
48
|
);
|
|
50
|
-
class
|
|
49
|
+
class J extends h {
|
|
51
50
|
constructor(t) {
|
|
52
51
|
super(t, d);
|
|
53
52
|
/** 初始状态下,当前水管内的水流在整体管道上的位移
|
|
@@ -105,5 +104,5 @@ class K extends h {
|
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
export {
|
|
108
|
-
|
|
107
|
+
J as ObjectFlowPipe
|
|
109
108
|
};
|
|
@@ -3,7 +3,6 @@ var n = (e, t, i) => t in e ? s(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var o = (e, t, i) => (n(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
4
|
import "hammerjs";
|
|
5
5
|
import "three";
|
|
6
|
-
import "@realsee/five";
|
|
7
6
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
8
7
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
9
8
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -28,7 +27,7 @@ import "../../../shared-utils/animationFrame/index.js";
|
|
|
28
27
|
import "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
29
28
|
import "../../../shared-utils/three/Extras/Core/Interpolations.js";
|
|
30
29
|
import "../../../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
31
|
-
class
|
|
30
|
+
class G extends a {
|
|
32
31
|
constructor(i) {
|
|
33
32
|
super(i);
|
|
34
33
|
o(this, "imageCount", 64);
|
|
@@ -51,5 +50,5 @@ class J extends a {
|
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
export {
|
|
54
|
-
|
|
53
|
+
G as ObjectHighlightPipe
|
|
55
54
|
};
|
|
@@ -28,7 +28,6 @@ var l = (a, e, t) => new Promise((i, s) => {
|
|
|
28
28
|
});
|
|
29
29
|
import * as u from "three";
|
|
30
30
|
import "hammerjs";
|
|
31
|
-
import "@realsee/five";
|
|
32
31
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
33
32
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
34
33
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -5,7 +5,6 @@ import { IObject3D as d } from "../../shared-utils/three/IObject3D.js";
|
|
|
5
5
|
import { anyPositionToVector3 as c } from "../../shared-utils/positionToVector3.js";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three";
|
|
8
|
-
import "@realsee/five";
|
|
9
8
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
10
9
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
11
10
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -13,7 +12,7 @@ import "animejs";
|
|
|
13
12
|
import { notNil as r } from "../../shared-utils/isNil.js";
|
|
14
13
|
import { RectangleWithEdgeMesh as P } from "./RectangleWithEdge.js";
|
|
15
14
|
import { RectangleMesh as m } from "./Rectangle.js";
|
|
16
|
-
class
|
|
15
|
+
class T extends d {
|
|
17
16
|
constructor(t) {
|
|
18
17
|
super();
|
|
19
18
|
n(this, "name", "BoxMesh");
|
|
@@ -85,5 +84,5 @@ class w extends d {
|
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
export {
|
|
88
|
-
|
|
87
|
+
T as BoxMesh
|
|
89
88
|
};
|
|
@@ -13,7 +13,6 @@ var o = (i, e, t) => (n(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
|
13
13
|
import { IObject3D as f } from "../../shared-utils/three/IObject3D.js";
|
|
14
14
|
import * as h from "three";
|
|
15
15
|
import "hammerjs";
|
|
16
|
-
import "@realsee/five";
|
|
17
16
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
18
17
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
19
18
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -24,7 +23,7 @@ import { radiusToSegments as M } from "../utils/radiusToSegments.js";
|
|
|
24
23
|
import { ColoredMesh as y } from "../utils/three/ColoredMesh.js";
|
|
25
24
|
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
26
25
|
import { DEFAULT_HIGHLIGHT_OPACITY as a } from "../utils/color.js";
|
|
27
|
-
class
|
|
26
|
+
class q extends f {
|
|
28
27
|
constructor(t) {
|
|
29
28
|
super();
|
|
30
29
|
o(this, "bottomCircle");
|
|
@@ -85,5 +84,5 @@ class z extends f {
|
|
|
85
84
|
}
|
|
86
85
|
}
|
|
87
86
|
export {
|
|
88
|
-
|
|
87
|
+
q as CylinderMesh
|
|
89
88
|
};
|
|
@@ -7,7 +7,6 @@ import { LineGeometry as y, LineMaterial as a, THREE_Line2 as H } from "@realsee
|
|
|
7
7
|
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
8
8
|
import { IObject3D as D } from "../../shared-utils/three/IObject3D.js";
|
|
9
9
|
import "hammerjs";
|
|
10
|
-
import "@realsee/five";
|
|
11
10
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
12
11
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
13
12
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -38,7 +37,7 @@ class _ extends H {
|
|
|
38
37
|
l(this, "name", "Line3");
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
|
-
class
|
|
40
|
+
class P extends D {
|
|
42
41
|
constructor(e) {
|
|
43
42
|
var c, d, f, u;
|
|
44
43
|
super();
|
|
@@ -105,5 +104,5 @@ class G extends D {
|
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
export {
|
|
108
|
-
|
|
107
|
+
P as LineMesh
|
|
109
108
|
};
|
|
@@ -15,7 +15,6 @@ import { anyPositionToVector3 as M } from "../../shared-utils/positionToVector3.
|
|
|
15
15
|
import { PointMesh as m } from "./Point.js";
|
|
16
16
|
import "hammerjs";
|
|
17
17
|
import "three";
|
|
18
|
-
import "@realsee/five";
|
|
19
18
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
20
19
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
21
20
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -23,7 +22,7 @@ import "animejs";
|
|
|
23
22
|
import { notNil as u } from "../../shared-utils/isNil.js";
|
|
24
23
|
import { LineMesh as V } from "./Line.js";
|
|
25
24
|
import { IObject3D as E } from "../../shared-utils/three/IObject3D.js";
|
|
26
|
-
class
|
|
25
|
+
class R extends V {
|
|
27
26
|
constructor(t) {
|
|
28
27
|
super();
|
|
29
28
|
e(this, "name", "LineWithDotsMesh");
|
|
@@ -67,5 +66,5 @@ class W extends V {
|
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
export {
|
|
70
|
-
|
|
69
|
+
R as LineWithDotsMesh
|
|
71
70
|
};
|
|
@@ -16,7 +16,6 @@ import { DEFAULT_HIGHLIGHT_OPACITY as k } from "../utils/color.js";
|
|
|
16
16
|
import { IObject3D as E } from "../../shared-utils/three/IObject3D.js";
|
|
17
17
|
import { anyPositionToVector3 as F } from "../../shared-utils/positionToVector3.js";
|
|
18
18
|
import "hammerjs";
|
|
19
|
-
import "@realsee/five";
|
|
20
19
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
20
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
22
21
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -24,7 +23,7 @@ import "animejs";
|
|
|
24
23
|
import { notNil as l } from "../../shared-utils/isNil.js";
|
|
25
24
|
const I = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
|
|
26
25
|
let M = null;
|
|
27
|
-
class
|
|
26
|
+
class m extends E {
|
|
28
27
|
constructor(t) {
|
|
29
28
|
var f, V;
|
|
30
29
|
super();
|
|
@@ -71,5 +70,5 @@ class Q extends E {
|
|
|
71
70
|
}
|
|
72
71
|
}
|
|
73
72
|
export {
|
|
74
|
-
|
|
73
|
+
m as PointMesh
|
|
75
74
|
};
|
|
@@ -24,7 +24,6 @@ import { anyPositionToVector3 as B } from "../../shared-utils/positionToVector3.
|
|
|
24
24
|
import { IObject3D as T } from "../../shared-utils/three/IObject3D.js";
|
|
25
25
|
import "hammerjs";
|
|
26
26
|
import * as j from "three";
|
|
27
|
-
import "@realsee/five";
|
|
28
27
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
29
28
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
30
29
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -92,19 +91,19 @@ class w extends T {
|
|
|
92
91
|
this.lines.forEach((i) => i.unhighlight());
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
|
-
class
|
|
94
|
+
class Q extends w {
|
|
96
95
|
constructor(...i) {
|
|
97
96
|
super(c(a({}, i[0]), { withDots: !1 }));
|
|
98
97
|
l(this, "name", "PolylineMesh");
|
|
99
98
|
}
|
|
100
99
|
}
|
|
101
|
-
class
|
|
100
|
+
class U extends w {
|
|
102
101
|
constructor(...i) {
|
|
103
102
|
super(c(a({}, i[0]), { withDots: !0 }));
|
|
104
103
|
l(this, "name", "PolylineWithDotsMesh");
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
export {
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
Q as PolylineMesh,
|
|
108
|
+
U as PolylineWithDotsMesh
|
|
110
109
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
|
-
var a = (n,
|
|
3
|
-
var h = (n,
|
|
2
|
+
var a = (n, i, t) => i in n ? d(n, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[i] = t;
|
|
3
|
+
var h = (n, i, t) => (a(n, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
4
|
import { IObject3D as r } from "../../shared-utils/three/IObject3D.js";
|
|
5
5
|
import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import * as m from "three";
|
|
8
|
-
import "@realsee/five";
|
|
9
8
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
10
9
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
11
10
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -14,7 +13,7 @@ import { notNil as c } from "../../shared-utils/isNil.js";
|
|
|
14
13
|
import { PolygonMesh as p } from "./Polygon.js";
|
|
15
14
|
import { LineMesh as y } from "./Line.js";
|
|
16
15
|
import { PolygonWithEdgeMesh as f } from "./PolygonWithEdge.js";
|
|
17
|
-
class
|
|
16
|
+
class N extends r {
|
|
18
17
|
constructor(t) {
|
|
19
18
|
super();
|
|
20
19
|
h(this, "name", "PrismMesh");
|
|
@@ -31,8 +30,8 @@ class B extends r {
|
|
|
31
30
|
return this.localCenter;
|
|
32
31
|
}
|
|
33
32
|
get localCenter() {
|
|
34
|
-
var s,
|
|
35
|
-
const t = (s = this.topPolygon) == null ? void 0 : s.center, o = (
|
|
33
|
+
var s, e;
|
|
34
|
+
const t = (s = this.topPolygon) == null ? void 0 : s.center, o = (e = this.bottomPolygon) == null ? void 0 : e.center;
|
|
36
35
|
if (t && o)
|
|
37
36
|
return new m.Vector3().lerpVectors(t, o, 0.5);
|
|
38
37
|
}
|
|
@@ -78,16 +77,16 @@ class B extends r {
|
|
|
78
77
|
}
|
|
79
78
|
setEdgePlanes() {
|
|
80
79
|
const t = this.bottomPolygon.points, o = this.topPolygon.points;
|
|
81
|
-
this.addIfNotExists(this.edgePlanes), this.edgePlanes.removeChildren(), t.forEach((s,
|
|
82
|
-
if (
|
|
80
|
+
this.addIfNotExists(this.edgePlanes), this.edgePlanes.removeChildren(), t.forEach((s, e) => {
|
|
81
|
+
if (e === 0)
|
|
83
82
|
return;
|
|
84
83
|
const g = new p({ color: this.color });
|
|
85
|
-
g.setPoints([t[
|
|
84
|
+
g.setPoints([t[e - 1], t[e], o[e], o[e - 1]]);
|
|
86
85
|
const l = new y({ lineColor: this.lineColor, lineWidth: this.lineWidth });
|
|
87
|
-
l.name = "EdgeLine", l.setPoints([t[
|
|
86
|
+
l.name = "EdgeLine", l.setPoints([t[e - 1], o[e - 1]]), this.edgePlanes.add(g, l);
|
|
88
87
|
});
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
90
|
export {
|
|
92
|
-
|
|
91
|
+
N as PrismMesh
|
|
93
92
|
};
|
|
@@ -4,7 +4,6 @@ var i = (r, e, t) => (h(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
|
4
4
|
import { anyPositionToVector3 as a } from "../../shared-utils/positionToVector3.js";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import * as u from "three";
|
|
7
|
-
import "@realsee/five";
|
|
8
7
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
8
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
9
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -14,7 +13,7 @@ import { PolygonMesh as f } from "./Polygon.js";
|
|
|
14
13
|
import { RectangleGeometry as g } from "../utils/three/RectangleGeometry.js";
|
|
15
14
|
import { getBetterNormal as d } from "../utils/getBetterNormal.js";
|
|
16
15
|
import { Sculpt as v } from "../index.js";
|
|
17
|
-
class
|
|
16
|
+
class T extends f {
|
|
18
17
|
constructor(t) {
|
|
19
18
|
super(t);
|
|
20
19
|
i(this, "name", "RectangleMesh");
|
|
@@ -46,5 +45,5 @@ class B extends f {
|
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
47
|
export {
|
|
49
|
-
|
|
48
|
+
T as RectangleMesh
|
|
50
49
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a = Object.defineProperty;
|
|
2
2
|
var u = Object.getOwnPropertySymbols;
|
|
3
3
|
var b = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var n = (s, t, e) => t in s ? a(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, p = (s, t) => {
|
|
5
5
|
for (var e in t || (t = {}))
|
|
6
|
-
b.call(t, e) &&
|
|
6
|
+
b.call(t, e) && n(s, e, t[e]);
|
|
7
7
|
if (u)
|
|
8
8
|
for (var e of u(t))
|
|
9
|
-
g.call(t, e) &&
|
|
9
|
+
g.call(t, e) && n(s, e, t[e]);
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
|
-
var r = (s, t, e) => (
|
|
13
|
-
import { hotkeys as
|
|
14
|
-
import { Sculpt as
|
|
12
|
+
var r = (s, t, e) => (n(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
13
|
+
import { hotkeys as d } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
14
|
+
import { Sculpt as l } from "../../index.js";
|
|
15
15
|
import { IObject3D as m } from "../../../shared-utils/three/IObject3D.js";
|
|
16
|
-
import {
|
|
17
|
-
const
|
|
18
|
-
class
|
|
16
|
+
import { applyObjectMatrixWorld as y } from "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
17
|
+
const f = /* @__PURE__ */ new Map();
|
|
18
|
+
class x extends m {
|
|
19
19
|
constructor(e, o) {
|
|
20
20
|
super();
|
|
21
21
|
r(this, "name", "Sculpt");
|
|
@@ -30,17 +30,17 @@ class A extends m {
|
|
|
30
30
|
*/
|
|
31
31
|
r(this, "config");
|
|
32
32
|
r(this, "editor");
|
|
33
|
-
r(this, "on", (e, o, i) =>
|
|
34
|
-
r(this, "off", (...e) =>
|
|
35
|
-
e != null && e.id && (this.uuid = e.id), this.config =
|
|
33
|
+
r(this, "on", (e, o, i) => l.modules.fiveDomEvents.addEventListener(this, e, o, i));
|
|
34
|
+
r(this, "off", (...e) => l.modules.fiveDomEvents.removeEventListener(this, ...e));
|
|
35
|
+
e != null && e.id && (this.uuid = e.id), this.config = p({ canEdit: !0, occlusionVisibility: !0 }, o), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility), this.config.canEdit && (d("backspace, delete", () => {
|
|
36
36
|
this.selected && this.delete();
|
|
37
37
|
}), this.on("click", () => {
|
|
38
|
-
var
|
|
38
|
+
var c, h;
|
|
39
39
|
if (this.pointSelector.enabled)
|
|
40
40
|
return;
|
|
41
|
-
let i =
|
|
42
|
-
i && (i.selected = !1, i.unhighlight(), (
|
|
43
|
-
}),
|
|
41
|
+
let i = f.get(this.parent.uuid);
|
|
42
|
+
i && (i.selected = !1, i.unhighlight(), (c = i.editor) == null || c.disable()), f.set(this.parent.uuid, this), this.selected = !0, this.highlight(), (h = this.editor) == null || h.enable();
|
|
43
|
+
}), d("esc", () => {
|
|
44
44
|
var i;
|
|
45
45
|
this.selected = !1, this.unhighlight(), !this.pointSelector.enabled && ((i = this.editor) == null || i.disable());
|
|
46
46
|
}));
|
|
@@ -52,13 +52,13 @@ class A extends m {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
get pointSelector() {
|
|
55
|
-
return
|
|
55
|
+
return l.modules.pointSelector;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* @description 停止创建当前物体,等同于`esc`
|
|
59
59
|
*/
|
|
60
60
|
stopCreating() {
|
|
61
|
-
|
|
61
|
+
l.modules.pointSelector.disable();
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* @description 从场景中删除当前物体,并且移除事件监听
|
|
@@ -78,10 +78,7 @@ class A extends m {
|
|
|
78
78
|
unhighlight() {
|
|
79
79
|
}
|
|
80
80
|
applyObjectMatrixWorld(e) {
|
|
81
|
-
|
|
82
|
-
this.updateMatrixWorld();
|
|
83
|
-
const i = o.map((l) => this.localToWorld(l.clone()));
|
|
84
|
-
return Array.isArray(e) ? i : i[0];
|
|
81
|
+
return y(this, e);
|
|
85
82
|
}
|
|
86
83
|
applyObjectQuaternion(e) {
|
|
87
84
|
const o = this.quaternion.clone();
|
|
@@ -89,5 +86,5 @@ class A extends m {
|
|
|
89
86
|
}
|
|
90
87
|
}
|
|
91
88
|
export {
|
|
92
|
-
|
|
89
|
+
x as BaseObject
|
|
93
90
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
2
|
var d = (s, e, t) => e in s ? g(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
-
var
|
|
3
|
+
var n = (s, e, t) => (d(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { BaseEditor as p } from "../Base/Editor.js";
|
|
5
|
-
import { Sculpt as
|
|
5
|
+
import { Sculpt as r } from "../../index.js";
|
|
6
6
|
import { PointMesh as a } from "../../Meshes/Point.js";
|
|
7
7
|
import { getIntersectByRaycaster as h } from "../../../shared-utils/five/getPosition.js";
|
|
8
8
|
import "hammerjs";
|
|
9
9
|
import "three";
|
|
10
|
-
import "@realsee/five";
|
|
11
10
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
12
11
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
13
12
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -16,12 +15,12 @@ import { notNil as l } from "../../../shared-utils/isNil.js";
|
|
|
16
15
|
class m extends p {
|
|
17
16
|
constructor(t) {
|
|
18
17
|
super(t);
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
n(this, "draggingPoints", []);
|
|
19
|
+
n(this, "onDragstart", (t) => {
|
|
21
20
|
const i = t.target;
|
|
22
21
|
this.draggingPoints = this.pointMeshes.filter((o) => o.position.equals(i.position));
|
|
23
22
|
});
|
|
24
|
-
|
|
23
|
+
n(this, "onDragend", (t) => {
|
|
25
24
|
this.draggingPoints = [];
|
|
26
25
|
});
|
|
27
26
|
}
|
|
@@ -34,20 +33,20 @@ class m extends p {
|
|
|
34
33
|
enable() {
|
|
35
34
|
super.enable(), this.points.filter(l).forEach((t) => {
|
|
36
35
|
const i = new a();
|
|
37
|
-
i.visible = !1, i.position.copy(t), i.draggable = !0,
|
|
36
|
+
i.visible = !1, i.position.copy(t), i.draggable = !0, r.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), r.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), r.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
|
|
38
37
|
});
|
|
39
38
|
}
|
|
40
39
|
disable() {
|
|
41
40
|
super.disable(), this.removeChildren();
|
|
42
41
|
}
|
|
43
42
|
}
|
|
44
|
-
class
|
|
43
|
+
class j extends m {
|
|
45
44
|
constructor(t) {
|
|
46
45
|
super(t);
|
|
47
|
-
|
|
46
|
+
n(this, "onDrag", (t) => {
|
|
48
47
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
49
48
|
return;
|
|
50
|
-
const i = h(
|
|
49
|
+
const i = h(r.modules.five, t.raycaster);
|
|
51
50
|
this.draggingPoints.forEach((o) => o.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((o) => o.position));
|
|
52
51
|
});
|
|
53
52
|
}
|
|
@@ -57,5 +56,5 @@ class B extends m {
|
|
|
57
56
|
}
|
|
58
57
|
export {
|
|
59
58
|
m as LineEditor,
|
|
60
|
-
|
|
59
|
+
j as PolylineEditor
|
|
61
60
|
};
|