@realsee/dnalogel 3.29.6 → 3.29.9
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 +9 -0
- package/dist/Sculpt/Meshes/Prism.d.ts +5 -0
- package/dist/index.cjs.js +52 -52
- package/dist/index.js +3200 -3174
- package/dist/index.umd.js +52 -52
- package/dist/shared-utils/three/index.d.ts +1 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- 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/ModelMakerPluginType.ModelMakerController.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- 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 +5 -5
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +8 -4
- package/docs/classes/Util.Interval.html +8 -4
- package/docs/classes/Util.LineSegments.html +8 -4
- package/docs/classes/Util.Magnifier.html +8 -4
- package/docs/classes/Util.Object3D.html +8 -4
- package/docs/classes/Util.PointDomHelper.html +8 -4
- package/docs/classes/Util.PointHelper.html +8 -4
- package/docs/classes/Util.PointSelectorHelper.html +8 -4
- package/docs/classes/Util.Rectangle.html +8 -4
- package/docs/classes/WalkController.html +3 -3
- 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 +8 -4
- package/docs/functions/Util.blink.html +341 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -4
- package/docs/functions/Util.equal.html +8 -4
- package/docs/functions/Util.getCoordsFromClient.html +8 -4
- package/docs/functions/Util.getCoordsFromElement.html +8 -4
- package/docs/functions/Util.getFrameTime.html +8 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +8 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -4
- package/docs/functions/Util.isAbsoluteURL.html +8 -4
- package/docs/functions/Util.isModelLike.html +8 -4
- package/docs/functions/Util.isNil.html +8 -4
- package/docs/functions/Util.isPanoramaLike.html +8 -4
- package/docs/functions/Util.nextFrame.html +8 -4
- package/docs/functions/Util.notNil.html +8 -4
- package/docs/functions/Util.reblink.html +341 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -4
- package/docs/functions/Util.tweenProgress.html +8 -4
- package/docs/functions/Util.uuid.html +8 -4
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- 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 +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +379 -0
- package/docs/interfaces/Util.MagnifierParameter.html +8 -4
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -4
- package/docs/interfaces/Util.PointIntersection.html +8 -4
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +386 -0
- 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 +12 -4
- 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 +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +2 -2
- package/libs/CruisePlugin/Work.js +3 -3
- package/libs/CruisePlugin/index.js +2 -2
- package/libs/CurrentPanoImagePlugin/Controller.js +8 -7
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +3 -3
- package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -2
- package/libs/GuideLinePlugin/index.js +2 -2
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelMakerPlugin/item/baseItem.js +16 -16
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +14 -13
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +10 -9
- package/libs/PanoDoorLabelPlugin/Controller.js +55 -54
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +21 -20
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagCache.js +3 -2
- package/libs/PanoTagPlugin/controller/TagComputer.js +8 -7
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +12 -12
- package/libs/PanoTagPlugin/index.js +2 -2
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/VideoMeshController.js +6 -6
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PipelinePlugin/Controller.js +3 -2
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
- package/libs/Sculpt/Meshes/Box.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +3 -2
- package/libs/Sculpt/Meshes/LineWithDots.js +3 -2
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Polyline.js +5 -4
- package/libs/Sculpt/Meshes/Prism.d.ts +5 -0
- package/libs/Sculpt/Meshes/Prism.js +24 -14
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Objects/Base/index.js +24 -20
- package/libs/Sculpt/Objects/Box/Editor.js +1 -1
- package/libs/Sculpt/Objects/Polyline/Editor.js +11 -10
- package/libs/Sculpt/Objects/Prism/Editor.js +2 -2
- package/libs/Sculpt/index.js +13 -12
- package/libs/Sculpt/utils/three/ColoredMesh.js +7 -6
- package/libs/base/BasePlugin.js +7 -6
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +9 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +19 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +2 -2
- package/libs/shared-utils/index.js +25 -22
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointDomHelper.js +3 -2
- package/libs/shared-utils/three/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/blink.js +84 -73
- package/libs/shared-utils/three/index.d.ts +1 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,34 +1,44 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var h = (n, e, t) => (
|
|
4
|
-
import { IObject3D as
|
|
5
|
-
import { anyPositionToVector3 as
|
|
2
|
+
var a = (n, e, t) => e in n ? d(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
|
+
var h = (n, e, t) => (a(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
+
import { IObject3D as r } from "../../shared-utils/three/IObject3D.js";
|
|
5
|
+
import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import * as m from "three";
|
|
8
8
|
import "@realsee/five";
|
|
9
9
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
10
10
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
11
11
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
12
|
+
import "animejs";
|
|
12
13
|
import { notNil as c } from "../../shared-utils/isNil.js";
|
|
13
|
-
import { PolygonMesh as
|
|
14
|
-
import { LineMesh as
|
|
14
|
+
import { PolygonMesh as p } from "./Polygon.js";
|
|
15
|
+
import { LineMesh as y } from "./Line.js";
|
|
15
16
|
import { PolygonWithEdgeMesh as f } from "./PolygonWithEdge.js";
|
|
16
|
-
class
|
|
17
|
+
class B extends r {
|
|
17
18
|
constructor(t) {
|
|
18
19
|
super();
|
|
19
20
|
h(this, "name", "PrismMesh");
|
|
20
21
|
h(this, "heightPoint");
|
|
21
22
|
h(this, "bottomPolygon", new f());
|
|
22
23
|
h(this, "topPolygon", new f());
|
|
23
|
-
h(this, "edgePlanes", new
|
|
24
|
+
h(this, "edgePlanes", new r());
|
|
24
25
|
this.topPolygon.name = "TopPolygon", this.bottomPolygon.name = "BottomPolygon", this.edgePlanes.name = "EdgePlanes", this.addIfNotExists(this.bottomPolygon), t && this.setPoints(t), t && this.setStyle(t);
|
|
25
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated notice: please use specified center instead, such as `localCenter` or `worldCenter`
|
|
29
|
+
*/
|
|
26
30
|
get center() {
|
|
31
|
+
return this.localCenter;
|
|
32
|
+
}
|
|
33
|
+
get localCenter() {
|
|
27
34
|
var s, i;
|
|
28
35
|
const t = (s = this.topPolygon) == null ? void 0 : s.center, o = (i = this.bottomPolygon) == null ? void 0 : i.center;
|
|
29
36
|
if (t && o)
|
|
30
37
|
return new m.Vector3().lerpVectors(t, o, 0.5);
|
|
31
38
|
}
|
|
39
|
+
get worldCenter() {
|
|
40
|
+
return this.updateMatrixWorld(), this.localToWorld(this.localCenter);
|
|
41
|
+
}
|
|
32
42
|
get color() {
|
|
33
43
|
return this.bottomPolygon.color;
|
|
34
44
|
}
|
|
@@ -40,11 +50,11 @@ class N extends P {
|
|
|
40
50
|
}
|
|
41
51
|
setStyle(t) {
|
|
42
52
|
this.bottomPolygon.setStyle(t), this.topPolygon.setStyle(t), this.edgePlanes.children.forEach((o) => {
|
|
43
|
-
(o instanceof
|
|
53
|
+
(o instanceof y || o instanceof p) && o.setStyle(t);
|
|
44
54
|
});
|
|
45
55
|
}
|
|
46
56
|
setPoints(t) {
|
|
47
|
-
c(t.points) && this.setBottomPoints(t.points), c(t.heightPoint) && this.setTopHeightPoint(
|
|
57
|
+
c(t.points) && this.setBottomPoints(t.points), c(t.heightPoint) && this.setTopHeightPoint(P(t.heightPoint));
|
|
48
58
|
}
|
|
49
59
|
highlight() {
|
|
50
60
|
this.bottomPolygon.highlight(), this.topPolygon.highlight(), this.edgePlanes.children.forEach((t) => {
|
|
@@ -57,7 +67,7 @@ class N extends P {
|
|
|
57
67
|
});
|
|
58
68
|
}
|
|
59
69
|
setBottomPoints(t) {
|
|
60
|
-
this.bottomPolygon.setPoints(t.map(
|
|
70
|
+
this.bottomPolygon.setPoints(t.map(P)), this.heightPoint && this.setTopHeightPoint(this.heightPoint);
|
|
61
71
|
}
|
|
62
72
|
setTopHeightPoint(t) {
|
|
63
73
|
this.heightPoint = t, this.addIfNotExists(this.topPolygon);
|
|
@@ -71,13 +81,13 @@ class N extends P {
|
|
|
71
81
|
this.addIfNotExists(this.edgePlanes), this.edgePlanes.removeChildren(), t.forEach((s, i) => {
|
|
72
82
|
if (i === 0)
|
|
73
83
|
return;
|
|
74
|
-
const g = new
|
|
84
|
+
const g = new p({ color: this.color });
|
|
75
85
|
g.setPoints([t[i - 1], t[i], o[i], o[i - 1]]);
|
|
76
|
-
const l = new
|
|
86
|
+
const l = new y({ lineColor: this.lineColor, lineWidth: this.lineWidth });
|
|
77
87
|
l.name = "EdgeLine", l.setPoints([t[i - 1], o[i - 1]]), this.edgePlanes.add(g, l);
|
|
78
88
|
});
|
|
79
89
|
}
|
|
80
90
|
}
|
|
81
91
|
export {
|
|
82
|
-
|
|
92
|
+
B as PrismMesh
|
|
83
93
|
};
|
|
@@ -8,12 +8,13 @@ import "@realsee/five";
|
|
|
8
8
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
9
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
10
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
11
|
+
import "animejs";
|
|
11
12
|
import { notNil as s } from "../../shared-utils/isNil.js";
|
|
12
13
|
import { PolygonMesh as f } from "./Polygon.js";
|
|
13
14
|
import { RectangleGeometry as g } from "../utils/three/RectangleGeometry.js";
|
|
14
15
|
import { getBetterNormal as d } from "../utils/getBetterNormal.js";
|
|
15
16
|
import { Sculpt as v } from "../index.js";
|
|
16
|
-
class
|
|
17
|
+
class B extends f {
|
|
17
18
|
constructor(t) {
|
|
18
19
|
super(t);
|
|
19
20
|
i(this, "name", "RectangleMesh");
|
|
@@ -45,5 +46,5 @@ class T extends f {
|
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
export {
|
|
48
|
-
|
|
49
|
+
B as RectangleMesh
|
|
49
50
|
};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
var f = Object.defineProperty;
|
|
2
2
|
var u = Object.getOwnPropertySymbols;
|
|
3
3
|
var b = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var c = (s, t, e) => t in s ? f(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, d = (s, t) => {
|
|
5
5
|
for (var e in t || (t = {}))
|
|
6
|
-
b.call(t, e) &&
|
|
6
|
+
b.call(t, e) && c(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) && c(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) => (c(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
13
|
+
import { hotkeys as p } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
14
|
+
import { Sculpt as n } from "../../index.js";
|
|
15
15
|
import { IObject3D as m } from "../../../shared-utils/three/IObject3D.js";
|
|
16
|
+
import { toArray as y } from "../../../shared-utils/util.js";
|
|
16
17
|
const a = /* @__PURE__ */ new Map();
|
|
17
|
-
class
|
|
18
|
-
constructor(e,
|
|
18
|
+
class A extends m {
|
|
19
|
+
constructor(e, o) {
|
|
19
20
|
super();
|
|
20
21
|
r(this, "name", "Sculpt");
|
|
21
22
|
r(this, "isSculptObject", !0);
|
|
@@ -29,17 +30,17 @@ class x extends m {
|
|
|
29
30
|
*/
|
|
30
31
|
r(this, "config");
|
|
31
32
|
r(this, "editor");
|
|
32
|
-
r(this, "on", (e,
|
|
33
|
-
r(this, "off", (...e) =>
|
|
34
|
-
e != null && e.id && (this.uuid = e.id), this.config =
|
|
33
|
+
r(this, "on", (e, o, i) => n.modules.fiveDomEvents.addEventListener(this, e, o, i));
|
|
34
|
+
r(this, "off", (...e) => n.modules.fiveDomEvents.removeEventListener(this, ...e));
|
|
35
|
+
e != null && e.id && (this.uuid = e.id), this.config = d({ canEdit: !0, occlusionVisibility: !0 }, o), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility), this.config.canEdit && (p("backspace, delete", () => {
|
|
35
36
|
this.selected && this.delete();
|
|
36
37
|
}), this.on("click", () => {
|
|
37
|
-
var
|
|
38
|
+
var l, h;
|
|
38
39
|
if (this.pointSelector.enabled)
|
|
39
40
|
return;
|
|
40
41
|
let i = a.get(this.parent.uuid);
|
|
41
|
-
i && (i.selected = !1, i.unhighlight(), (
|
|
42
|
-
}),
|
|
42
|
+
i && (i.selected = !1, i.unhighlight(), (l = i.editor) == null || l.disable()), a.set(this.parent.uuid, this), this.selected = !0, this.highlight(), (h = this.editor) == null || h.enable();
|
|
43
|
+
}), p("esc", () => {
|
|
43
44
|
var i;
|
|
44
45
|
this.selected = !1, this.unhighlight(), !this.pointSelector.enabled && ((i = this.editor) == null || i.disable());
|
|
45
46
|
}));
|
|
@@ -51,13 +52,13 @@ class x extends m {
|
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
get pointSelector() {
|
|
54
|
-
return
|
|
55
|
+
return n.modules.pointSelector;
|
|
55
56
|
}
|
|
56
57
|
/**
|
|
57
58
|
* @description 停止创建当前物体,等同于`esc`
|
|
58
59
|
*/
|
|
59
60
|
stopCreating() {
|
|
60
|
-
|
|
61
|
+
n.modules.pointSelector.disable();
|
|
61
62
|
}
|
|
62
63
|
/**
|
|
63
64
|
* @description 从场景中删除当前物体
|
|
@@ -77,13 +78,16 @@ class x extends m {
|
|
|
77
78
|
unhighlight() {
|
|
78
79
|
}
|
|
79
80
|
applyObjectMatrixWorld(e) {
|
|
80
|
-
|
|
81
|
+
const o = y(e);
|
|
82
|
+
this.updateMatrixWorld();
|
|
83
|
+
const i = o.map((l) => this.localToWorld(l.clone()));
|
|
84
|
+
return Array.isArray(e) ? i : i[0];
|
|
81
85
|
}
|
|
82
86
|
applyObjectQuaternion(e) {
|
|
83
|
-
const
|
|
84
|
-
return Array.isArray(e) ? e.map((i) => i.clone().applyQuaternion(
|
|
87
|
+
const o = this.quaternion.clone();
|
|
88
|
+
return Array.isArray(e) ? e.map((i) => i.clone().applyQuaternion(o)) : e.clone().applyQuaternion(o);
|
|
85
89
|
}
|
|
86
90
|
}
|
|
87
91
|
export {
|
|
88
|
-
|
|
92
|
+
A as BaseObject
|
|
89
93
|
};
|
|
@@ -5,7 +5,7 @@ class m extends a {
|
|
|
5
5
|
super(e, () => {
|
|
6
6
|
const i = () => {
|
|
7
7
|
var s, t;
|
|
8
|
-
const o = (s = e.boxMesh.topPlane
|
|
8
|
+
const o = (s = e.boxMesh.topPlane) == null ? void 0 : s.center, n = (t = e.boxMesh.bottomPlane) == null ? void 0 : t.center, r = new c.Vector3().lerpVectors(o, n, 0.5);
|
|
9
9
|
return { topCenter: o, bottomCenter: n, boxCenter: r };
|
|
10
10
|
};
|
|
11
11
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
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 r = (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 n } 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";
|
|
@@ -11,16 +11,17 @@ import "@realsee/five";
|
|
|
11
11
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
12
12
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
13
13
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
14
|
+
import "animejs";
|
|
14
15
|
import { notNil as l } from "../../../shared-utils/isNil.js";
|
|
15
16
|
class m extends p {
|
|
16
17
|
constructor(t) {
|
|
17
18
|
super(t);
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
r(this, "draggingPoints", []);
|
|
20
|
+
r(this, "onDragstart", (t) => {
|
|
20
21
|
const i = t.target;
|
|
21
22
|
this.draggingPoints = this.pointMeshes.filter((o) => o.position.equals(i.position));
|
|
22
23
|
});
|
|
23
|
-
|
|
24
|
+
r(this, "onDragend", (t) => {
|
|
24
25
|
this.draggingPoints = [];
|
|
25
26
|
});
|
|
26
27
|
}
|
|
@@ -33,20 +34,20 @@ class m extends p {
|
|
|
33
34
|
enable() {
|
|
34
35
|
super.enable(), this.points.filter(l).forEach((t) => {
|
|
35
36
|
const i = new a();
|
|
36
|
-
i.visible = !1, i.position.copy(t), i.draggable = !0,
|
|
37
|
+
i.visible = !1, i.position.copy(t), i.draggable = !0, n.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), n.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), n.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
|
|
37
38
|
});
|
|
38
39
|
}
|
|
39
40
|
disable() {
|
|
40
41
|
super.disable(), this.removeChildren();
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
|
-
class
|
|
44
|
+
class B extends m {
|
|
44
45
|
constructor(t) {
|
|
45
46
|
super(t);
|
|
46
|
-
|
|
47
|
+
r(this, "onDrag", (t) => {
|
|
47
48
|
if (!this.draggingPoints || this.draggingPoints.length === 0)
|
|
48
49
|
return;
|
|
49
|
-
const i = h(
|
|
50
|
+
const i = h(n.modules.five, t.raycaster);
|
|
50
51
|
this.draggingPoints.forEach((o) => o.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((o) => o.position));
|
|
51
52
|
});
|
|
52
53
|
}
|
|
@@ -56,5 +57,5 @@ class j extends m {
|
|
|
56
57
|
}
|
|
57
58
|
export {
|
|
58
59
|
m as LineEditor,
|
|
59
|
-
|
|
60
|
+
B as PolylineEditor
|
|
60
61
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BaseEditorWithObjectHelper as l } from "../Base/Editor.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as a from "three";
|
|
3
3
|
class P extends l {
|
|
4
4
|
constructor(t) {
|
|
5
5
|
super(t, () => {
|
|
6
6
|
const i = () => {
|
|
7
7
|
var n, e;
|
|
8
|
-
const o = (n = t.prismMesh.topPolygon
|
|
8
|
+
const o = (n = t.prismMesh.topPolygon) == null ? void 0 : n.center, s = (e = t.prismMesh.bottomPolygon) == null ? void 0 : e.center, r = new a.Vector3().lerpVectors(o, s, 0.5);
|
|
9
9
|
return { topCenter: o, bottomCenter: s, boxCenter: r };
|
|
10
10
|
};
|
|
11
11
|
return {
|
package/libs/Sculpt/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var d = (n, i, e) => i in n ? x(n, i, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
E.call(i, e) && d(n, e, i[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, g = (n, i) => B(n, D(i));
|
|
13
|
-
var
|
|
13
|
+
var p = (n, i, e) => (d(n, typeof i != "symbol" ? i + "" : i, e), e);
|
|
14
14
|
var u = (n, i, e) => new Promise((t, o) => {
|
|
15
15
|
var l = (c) => {
|
|
16
16
|
try {
|
|
@@ -36,6 +36,7 @@ import "@realsee/five";
|
|
|
36
36
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
37
37
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
38
38
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
39
|
+
import "animejs";
|
|
39
40
|
import { notNil as L } from "../shared-utils/isNil.js";
|
|
40
41
|
import { recurveFindObject as M } from "../shared-utils/three/recurveFindObject.js";
|
|
41
42
|
import { Polyline as w } from "./Objects/Polyline/index.js";
|
|
@@ -47,13 +48,13 @@ import { Circle as C } from "./Objects/Circle/index.js";
|
|
|
47
48
|
import { Cylinder as R } from "./Objects/Cylinder/index.js";
|
|
48
49
|
import { Box as j } from "./Objects/Box/index.js";
|
|
49
50
|
import { forReverseEach as F } from "../shared-utils/forReverseEach.js";
|
|
50
|
-
const
|
|
51
|
+
const a = class extends S {
|
|
51
52
|
constructor(e, t) {
|
|
52
53
|
super();
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
this.five = e, this.theme = t, this.group = new k(), this.group.name = "Sculpt", e.scene.add(this.group),
|
|
54
|
+
p(this, "group");
|
|
55
|
+
p(this, "five");
|
|
56
|
+
p(this, "theme");
|
|
57
|
+
this.five = e, this.theme = t, this.group = new k(), this.group.name = "Sculpt", e.scene.add(this.group), a.modules.init(e), a.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o }) => {
|
|
57
58
|
var s;
|
|
58
59
|
const l = M((s = o == null ? void 0 : o[0]) == null ? void 0 : s.object, (m) => m.isSculptObject);
|
|
59
60
|
return l ? this.emit("click", l) : !1;
|
|
@@ -100,7 +101,7 @@ const h = class extends S {
|
|
|
100
101
|
putObject(e) {
|
|
101
102
|
var l;
|
|
102
103
|
this.group.add(e);
|
|
103
|
-
const t =
|
|
104
|
+
const t = a.modules.object3DHelper, o = t.addObject3DHelper(e);
|
|
104
105
|
return (l = o == null ? void 0 : o.moveController) == null || l.moveByMouse(), t;
|
|
105
106
|
}
|
|
106
107
|
/**
|
|
@@ -205,10 +206,10 @@ const h = class extends S {
|
|
|
205
206
|
this.five.needsRender = !0;
|
|
206
207
|
}
|
|
207
208
|
};
|
|
208
|
-
let
|
|
209
|
-
|
|
210
|
-
const
|
|
209
|
+
let h = a;
|
|
210
|
+
p(h, "modules", H);
|
|
211
|
+
const se = (n) => new h(n);
|
|
211
212
|
export {
|
|
212
|
-
|
|
213
|
-
|
|
213
|
+
h as Sculpt,
|
|
214
|
+
se as SculptPlugin
|
|
214
215
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var y = (i, t, e) => t in i ?
|
|
1
|
+
var u = Object.defineProperty;
|
|
2
|
+
var y = (i, t, e) => t in i ? u(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var r = (i, t, e) => (y(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
4
|
import * as o from "three";
|
|
5
5
|
import { DEFAULT_COLOR as g } from "../color.js";
|
|
@@ -9,8 +9,9 @@ import "@realsee/five";
|
|
|
9
9
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
10
10
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
11
11
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
12
|
+
import "animejs";
|
|
12
13
|
import { notNil as h } from "../../../shared-utils/isNil.js";
|
|
13
|
-
class
|
|
14
|
+
class V extends a {
|
|
14
15
|
constructor(e) {
|
|
15
16
|
var l, d;
|
|
16
17
|
super();
|
|
@@ -24,14 +25,14 @@ class O extends a {
|
|
|
24
25
|
side: o.DoubleSide,
|
|
25
26
|
depthTest: !0,
|
|
26
27
|
opacity: (d = e == null ? void 0 : e.opacity) != null ? d : 0.5
|
|
27
|
-
}),
|
|
28
|
+
}), m = new o.MeshBasicMaterial({
|
|
28
29
|
color: 16777215,
|
|
29
30
|
transparent: !0,
|
|
30
31
|
side: o.DoubleSide,
|
|
31
32
|
depthTest: !1,
|
|
32
33
|
depthWrite: !1,
|
|
33
34
|
opacity: 0.3 / 0.5 * c.opacity
|
|
34
|
-
}), s = new o.Mesh(this.geometry, c), n = new o.Mesh(this.geometry,
|
|
35
|
+
}), s = new o.Mesh(this.geometry, c), n = new o.Mesh(this.geometry, m);
|
|
35
36
|
s.name = "MeshFront", n.name = "MeshBackground", s.renderOrder = 1, n.renderOrder = 0, this.meshFont = s, this.meshBackground = n, this.add(s, n), h(e == null ? void 0 : e.occlusionVisibility) && (e.occlusionVisibility ? this.addIfNotExists(this.meshBackground) : this.remove(this.meshBackground));
|
|
36
37
|
}
|
|
37
38
|
get color() {
|
|
@@ -54,5 +55,5 @@ class O extends a {
|
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
+
V as ColoredMesh
|
|
58
59
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var i = (e, t, r) => (
|
|
1
|
+
var o = Object.defineProperty;
|
|
2
|
+
var s = (e, t, r) => t in e ? o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var i = (e, t, r) => (s(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
4
|
import { Subscribe as a } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "three";
|
|
@@ -8,13 +8,14 @@ import "@realsee/five";
|
|
|
8
8
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
9
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
10
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
11
|
+
import "animejs";
|
|
11
12
|
import { absoluteUrl as l } from "../shared-utils/url/absoluteUrl.js";
|
|
12
|
-
let
|
|
13
|
+
let C = class {
|
|
13
14
|
constructor(t, r) {
|
|
14
15
|
/**
|
|
15
16
|
* @realsee/dnalogel 版本号
|
|
16
17
|
*/
|
|
17
|
-
i(this, "VERSION", "3.29.
|
|
18
|
+
i(this, "VERSION", "3.29.9");
|
|
18
19
|
i(this, "five");
|
|
19
20
|
/**
|
|
20
21
|
* @description: 插件事件钩子
|
|
@@ -37,5 +38,5 @@ let b = class {
|
|
|
37
38
|
}
|
|
38
39
|
};
|
|
39
40
|
export {
|
|
40
|
-
|
|
41
|
+
C as Controller
|
|
41
42
|
};
|
|
@@ -45,6 +45,7 @@ import "@realsee/five";
|
|
|
45
45
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
48
|
+
import "animejs";
|
|
48
49
|
import { isNil as z } from "../../shared-utils/isNil.js";
|
|
49
50
|
import "../../shared-utils/isTruelyObject.js";
|
|
50
51
|
import "../../vendor/svelte/internal/index.js";
|
|
@@ -101,7 +102,7 @@ function G(d) {
|
|
|
101
102
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
102
103
|
return e && i;
|
|
103
104
|
}
|
|
104
|
-
class
|
|
105
|
+
class te extends O {
|
|
105
106
|
constructor(t, e) {
|
|
106
107
|
var a, f;
|
|
107
108
|
super(t);
|
|
@@ -435,5 +436,5 @@ class Zt extends O {
|
|
|
435
436
|
}
|
|
436
437
|
}
|
|
437
438
|
export {
|
|
438
|
-
|
|
439
|
+
te as Controller
|
|
439
440
|
};
|
|
@@ -57,6 +57,7 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
57
57
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
58
58
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
59
59
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
60
|
+
import "animejs";
|
|
60
61
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
61
62
|
import "../../shared-utils/getPxmm.js";
|
|
62
63
|
import "../utils/correctFiveState.js";
|
|
@@ -65,8 +66,8 @@ import "../../shared-utils/nearlyEqual.js";
|
|
|
65
66
|
import "../../shared-utils/five/changeMode.js";
|
|
66
67
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
67
68
|
import "../../shared-utils/isNil.js";
|
|
68
|
-
const
|
|
69
|
+
const xo = (o, r) => new t(o, r);
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
xo as MapviewFloorplanPlugin,
|
|
72
|
+
xo as default
|
|
72
73
|
};
|
|
@@ -45,6 +45,7 @@ import "@realsee/five";
|
|
|
45
45
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
48
|
+
import "animejs";
|
|
48
49
|
import { isNil as G } from "../../shared-utils/isNil.js";
|
|
49
50
|
import "../../shared-utils/isTruelyObject.js";
|
|
50
51
|
import "../../vendor/svelte/internal/index.js";
|
|
@@ -101,7 +102,7 @@ function z(d) {
|
|
|
101
102
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
102
103
|
return e && i;
|
|
103
104
|
}
|
|
104
|
-
class
|
|
105
|
+
class ee extends T {
|
|
105
106
|
constructor(t, e) {
|
|
106
107
|
var a, f, m;
|
|
107
108
|
super(t);
|
|
@@ -432,5 +433,5 @@ class te extends T {
|
|
|
432
433
|
}
|
|
433
434
|
}
|
|
434
435
|
export {
|
|
435
|
-
|
|
436
|
+
ee as Controller
|
|
436
437
|
};
|
|
@@ -58,6 +58,7 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
58
58
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
59
59
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
60
60
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
61
|
+
import "animejs";
|
|
61
62
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
62
63
|
import "../utils/correctFiveState.js";
|
|
63
64
|
import "../utils/constant.js";
|
|
@@ -65,8 +66,8 @@ import "../../shared-utils/nearlyEqual.js";
|
|
|
65
66
|
import "../../shared-utils/five/changeMode.js";
|
|
66
67
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
67
68
|
import "../../shared-utils/isNil.js";
|
|
68
|
-
const
|
|
69
|
+
const Co = (o, r) => new t(o, r);
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
Co as ModelFloorplanPlugin,
|
|
72
|
+
Co as default
|
|
72
73
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var g = Object.defineProperty, w = Object.defineProperties;
|
|
2
2
|
var v = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var m = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var u = (r, e, t) => e in r ? g(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, p = (r, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
7
|
A.call(e, t) && u(r, t, e[t]);
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
8
|
+
if (m)
|
|
9
|
+
for (var t of m(e))
|
|
10
10
|
S.call(e, t) && u(r, t, e[t]);
|
|
11
11
|
return r;
|
|
12
12
|
}, f = (r, e) => w(r, v(e));
|
|
@@ -31,7 +31,7 @@ import _ from "./Components/Main.js";
|
|
|
31
31
|
import { equal as y } from "../../shared-utils/equal.js";
|
|
32
32
|
import { CAMERA_IMAGE as D } from "../Assets/camera.js";
|
|
33
33
|
import { Controller as O } from "../../base/BasePluginWithData.js";
|
|
34
|
-
import { formatData as
|
|
34
|
+
import { formatData as b, formatExtraObjects as x } from "../utils/formatData.js";
|
|
35
35
|
import "../../vendor/svelte/internal/index.js";
|
|
36
36
|
import "./Components/Camera.js";
|
|
37
37
|
import "../../shared-utils/throttle.js";
|
|
@@ -67,9 +67,10 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
67
67
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
68
68
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
69
69
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
70
|
+
import "animejs";
|
|
70
71
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
71
72
|
import "../Assets/floorplanExtraObject.js";
|
|
72
|
-
class
|
|
73
|
+
class gt extends O {
|
|
73
74
|
constructor(t, i) {
|
|
74
75
|
super(t);
|
|
75
76
|
// =============== public properties =================
|
|
@@ -114,7 +115,7 @@ class mt extends O {
|
|
|
114
115
|
return Object.prototype.hasOwnProperty.apply(l, ["version"]);
|
|
115
116
|
}
|
|
116
117
|
const h = JSON.parse(JSON.stringify(t)), d = a(h) ? h.data : h, n = this.data;
|
|
117
|
-
this.data = yield
|
|
118
|
+
this.data = yield b(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), i && this.updateState(i, s), this.render();
|
|
118
119
|
});
|
|
119
120
|
}
|
|
120
121
|
show() {
|
|
@@ -169,7 +170,7 @@ class mt extends O {
|
|
|
169
170
|
}
|
|
170
171
|
formatData(t) {
|
|
171
172
|
return c(this, null, function* () {
|
|
172
|
-
return yield
|
|
173
|
+
return yield b(t.data);
|
|
173
174
|
});
|
|
174
175
|
}
|
|
175
176
|
_enable(t) {
|
|
@@ -212,5 +213,5 @@ class mt extends O {
|
|
|
212
213
|
}
|
|
213
214
|
}
|
|
214
215
|
export {
|
|
215
|
-
|
|
216
|
+
gt as Controller
|
|
216
217
|
};
|
|
@@ -38,11 +38,12 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
38
38
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
39
39
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
40
40
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
41
|
+
import "animejs";
|
|
41
42
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
42
43
|
import "../utils/formatData.js";
|
|
43
44
|
import "../Assets/floorplanExtraObject.js";
|
|
44
|
-
const
|
|
45
|
+
const V = (o, r) => new t(o, r);
|
|
45
46
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
V as PanoFloorplanRadarPlugin,
|
|
48
|
+
V as default
|
|
48
49
|
};
|