@realsee/dnalogel 3.61.11 → 3.61.13
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 +8 -0
- package/dist/Sculpt/typings/style.d.ts +1 -1
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +2785 -2797
- package/dist/index.umd.js +51 -51
- package/dist/shared-utils/five/index.d.ts +1 -0
- package/dist/shared-utils/five/initialCSS3DRender.d.ts +1 -2
- package/docs/assets/highlight.css +21 -42
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +5 -5
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +6 -6
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +3 -3
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.initialCSS3DRender.html +1 -0
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +5 -5
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +4 -4
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +4 -4
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +16 -16
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
- package/docs/interfaces/Util.EventHandlerConfig.html +5 -5
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/Util.html +3 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/AreaMakerPlugin/Controller.js +4 -3
- package/libs/AreaMakerPlugin/index.js +5 -4
- package/libs/AreaMakerPlugin/utils/Item.js +4 -3
- package/libs/CSS3DRenderPlugin/Controller.js +2 -2
- package/libs/CSS3DRenderPlugin/index.js +2 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +4 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +19 -18
- package/libs/CruisePlugin/BaseController.js +6 -5
- package/libs/CruisePlugin/Move.js +4 -5
- package/libs/CruisePlugin/Work.js +3 -4
- package/libs/CruisePlugin/index.js +8 -9
- package/libs/CurrentPanoImagePlugin/Controller.js +4 -3
- package/libs/CurrentPanoImagePlugin/index.js +5 -4
- package/libs/GuideLinePlugin/Controller.js +7 -8
- package/libs/GuideLinePlugin/GuideLineItem.js +4 -5
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -6
- package/libs/GuideLinePlugin/index.js +8 -9
- package/libs/ModelMakerPlugin/Controller.js +5 -4
- package/libs/ModelMakerPlugin/index.js +4 -3
- package/libs/ModelMakerPlugin/item/baseItem.js +4 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +4 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +4 -3
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -4
- package/libs/ModelTVVideoPlugin/Plugin.js +3 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -3
- package/libs/ModelViewPlugin/Plugin.js +6 -5
- package/libs/ModelViewPlugin/index.js +2 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +2 -2
- package/libs/PanoCompassPlugin/Controller.js +2 -2
- package/libs/PanoCompassPlugin/index.js +2 -2
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -4
- package/libs/PanoDoorLabelPlugin/index.js +5 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +4 -3
- package/libs/PanoMeasurePlugin/Model/area.js +11 -10
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +2 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +4 -3
- package/libs/PanoMeasurePlugin/index.js +15 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +4 -3
- package/libs/PanoRulerProPlugin/Controller.js +4 -3
- package/libs/PanoRulerProPlugin/RulerItems.js +4 -3
- package/libs/PanoRulerProPlugin/index.js +5 -4
- package/libs/PanoSpatialTagPlugin/Plugin.js +3 -3
- package/libs/PanoSpatialTagPlugin/index.js +3 -3
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +4 -3
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +4 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +4 -5
- package/libs/PanoTagPlugin/Components/TagContainer.js +4 -5
- package/libs/PanoTagPlugin/Components/TagItem.js +4 -5
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +4 -3
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +2 -3
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +28 -29
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +4 -3
- package/libs/PanoTagPlugin/controller/TagRender.js +4 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +12 -11
- package/libs/PanoTagPlugin/controller/index.js +8 -9
- package/libs/PanoTagPlugin/index.js +13 -14
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +16 -15
- package/libs/PanoVideoPlugin/Controller.js +4 -3
- package/libs/PanoVideoPlugin/VideoMeshController.js +4 -3
- package/libs/PanoVideoPlugin/index.js +7 -6
- package/libs/PipelinePlugin/Controller.js +4 -3
- package/libs/PipelinePlugin/index.js +5 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +2 -1
- package/libs/Sculpt/Meshes/Circle.js +7 -6
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +31 -30
- package/libs/Sculpt/Meshes/LineWithDots.js +3 -2
- package/libs/Sculpt/Meshes/Point.js +46 -45
- package/libs/Sculpt/Meshes/Polygon.js +13 -12
- package/libs/Sculpt/Meshes/Rectangle.js +5 -4
- package/libs/Sculpt/Objects/Line/Editor.js +3 -2
- package/libs/Sculpt/index.js +3 -2
- package/libs/Sculpt/typings/style.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
- package/libs/base/BasePlugin.js +9 -8
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +8 -7
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -4
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +145 -146
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
- package/libs/shared-utils/exports.js +33 -31
- package/libs/shared-utils/five/index.d.ts +1 -0
- package/libs/shared-utils/five/index.js +4 -3
- package/libs/shared-utils/five/initialCSS3DRender.d.ts +1 -2
- package/libs/shared-utils/five/initialCSS3DRender.js +2 -17
- package/libs/shared-utils/five/lookObject.js +4 -3
- package/libs/shared-utils/index.js +1 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +4 -3
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -1
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
var _ = Object.defineProperty, w = Object.defineProperties;
|
|
2
|
-
var
|
|
2
|
+
var E = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var T = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var p = (
|
|
4
|
+
var b = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var p = (r, n, e) => n in r ? _(r, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[n] = e, f = (r, n) => {
|
|
6
6
|
for (var e in n || (n = {}))
|
|
7
|
-
|
|
7
|
+
b.call(n, e) && p(r, e, n[e]);
|
|
8
8
|
if (T)
|
|
9
9
|
for (var e of T(n))
|
|
10
|
-
v.call(n, e) && p(
|
|
11
|
-
return
|
|
12
|
-
}, g = (
|
|
13
|
-
var
|
|
10
|
+
v.call(n, e) && p(r, e, n[e]);
|
|
11
|
+
return r;
|
|
12
|
+
}, g = (r, n) => w(r, E(n));
|
|
13
|
+
var h = (r, n, e) => (p(r, typeof n != "symbol" ? n + "" : n, e), e);
|
|
14
14
|
import * as y from "three";
|
|
15
|
-
import { DEFAULT_LINE_COLOR as D, DEFAULT_LINE_WIDTH as I, DEFAULT_HIGHLIGHT_OPACITY as
|
|
16
|
-
import { anyPositionToVector3 as
|
|
17
|
-
import { IObject3D as
|
|
18
|
-
import { LightTag as
|
|
15
|
+
import { DEFAULT_LINE_COLOR as D, DEFAULT_LINE_WIDTH as I, DEFAULT_HIGHLIGHT_OPACITY as H } from "../typings/style.js";
|
|
16
|
+
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
17
|
+
import { IObject3D as O } from "../../shared-utils/three/IObject3D.js";
|
|
18
|
+
import { LightTag as R } from "../../shared-utils/tag.js";
|
|
19
19
|
import "../../vendor/hammerjs/hammer.js";
|
|
20
20
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
21
21
|
import { centerPoint as W } from "../../shared-utils/three/centerPoint.js";
|
|
22
22
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
23
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
24
|
import { removeAllTag as x } from "../utils/removeAllTag.js";
|
|
24
25
|
import { getLengthHTML as P } from "../utils/Meshes/getLengthHTML.js";
|
|
25
26
|
import { localToWorld as L } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
@@ -32,22 +33,22 @@ import "../../vendor/animejs/lib/anime.es.js";
|
|
|
32
33
|
import { notNil as m } from "../../shared-utils/isNil.js";
|
|
33
34
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
34
35
|
import "../../shared-utils/five/FivePuppet.js";
|
|
35
|
-
class
|
|
36
|
+
class le extends O {
|
|
36
37
|
constructor(e) {
|
|
37
38
|
var l, c, a, d;
|
|
38
39
|
super();
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
40
|
+
h(this, "name", "LineMesh");
|
|
41
|
+
h(this, "type", "Line2");
|
|
42
|
+
h(this, "points", []);
|
|
43
|
+
h(this, "doms", []);
|
|
44
|
+
h(this, "highlighted", !1);
|
|
45
|
+
h(this, "_geometry");
|
|
46
|
+
h(this, "line1");
|
|
47
|
+
h(this, "line2");
|
|
48
|
+
h(this, "opacityBeforeHighlight");
|
|
49
|
+
h(this, "paramsStyle", {});
|
|
50
|
+
h(this, "lastRenderDomItem");
|
|
51
|
+
h(this, "_visible", !0);
|
|
51
52
|
this.paramsStyle = f({ dashed: !1 }, e), this.geometry = new S();
|
|
52
53
|
const i = {
|
|
53
54
|
color: new y.Color((l = e == null ? void 0 : e.lineColor) != null ? l : D),
|
|
@@ -125,7 +126,7 @@ class ne extends C {
|
|
|
125
126
|
setPoints(e) {
|
|
126
127
|
if (this.points.length === 0 && e.length === 0)
|
|
127
128
|
return;
|
|
128
|
-
const i = e.map(
|
|
129
|
+
const i = e.map(C).filter(m);
|
|
129
130
|
if (this.points = i, i.length < 2) {
|
|
130
131
|
const s = new S();
|
|
131
132
|
this.line1.geometry = s, this.line2.geometry = s, this.updateDomItems();
|
|
@@ -156,7 +157,7 @@ class ne extends C {
|
|
|
156
157
|
i ? t === "depthTest" || this.dashed ? (this.remove(this.line2), this.line1.material.depthTest = !1) : t === "translucence" && (this.line1.material.depthTest = !0, this.line2.material.depthTest = !1, this.line1.material.dashed = !0, this.line2.material.dashed = !0, this.addIfNotExists(this.line2)) : (this.remove(this.line2), this.line1.material.depthTest = !0, this.line1.material.dashed = this.paramsStyle.dashed), this.needsRender = !0;
|
|
157
158
|
}
|
|
158
159
|
highlight() {
|
|
159
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.line1.material.opacity, this.line1.material.opacity = this.opacityBeforeHighlight *
|
|
160
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.line1.material.opacity, this.line1.material.opacity = this.opacityBeforeHighlight * H, this.line2.material.opacity = this.line1.material.opacity, this.needsRender = !0);
|
|
160
161
|
}
|
|
161
162
|
unhighlight() {
|
|
162
163
|
this.highlighted && (this.highlighted = !1, this.line1.material.opacity = this.opacityBeforeHighlight, this.line2.material.opacity = this.line1.material.opacity, this.needsRender = !0);
|
|
@@ -177,12 +178,12 @@ class ne extends C {
|
|
|
177
178
|
var d;
|
|
178
179
|
const c = W(t, s);
|
|
179
180
|
this.doms[l] = (d = this.doms[l]) != null ? d : (() => {
|
|
180
|
-
const o = new
|
|
181
|
+
const o = new R(this.five);
|
|
181
182
|
return o.intersectCheck = !1, o.simulate3D = !0, o;
|
|
182
183
|
})(), this.doms[l].setPosition(c, [t, s]);
|
|
183
184
|
const a = (o) => {
|
|
184
185
|
var u;
|
|
185
|
-
this.doms[l].__text !== o && (this.doms[l].__text = o, o ? this.doms[l].container.innerHTML = P(o, {
|
|
186
|
+
this.doms[l].__text !== o && (this.doms[l].__text = o, o instanceof HTMLElement ? (this.doms[l].container.innerHTML = "", this.doms[l].container.appendChild(o)) : o ? this.doms[l].container.innerHTML = P(o, {
|
|
186
187
|
style: `color: #${m((u = this.style) == null ? void 0 : u.lineColor) ? new y.Color(this.style.lineColor).getHexString() : "ffffff"}`
|
|
187
188
|
}) : this.doms[l].container.innerHTML = "");
|
|
188
189
|
};
|
|
@@ -196,5 +197,5 @@ class ne extends C {
|
|
|
196
197
|
}
|
|
197
198
|
}
|
|
198
199
|
export {
|
|
199
|
-
|
|
200
|
+
le as LineMesh
|
|
200
201
|
};
|
|
@@ -18,6 +18,7 @@ import "three";
|
|
|
18
18
|
import "../../vendor/hammerjs/hammer.js";
|
|
19
19
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
20
20
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
21
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
21
22
|
import { LineMesh as S } from "./Line.js";
|
|
22
23
|
import "../../shared-utils/three/core/Sphere.js";
|
|
23
24
|
import "../../vendor/animejs/lib/anime.es.js";
|
|
@@ -25,7 +26,7 @@ import { notNil as a } from "../../shared-utils/isNil.js";
|
|
|
25
26
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
27
|
import "../../shared-utils/five/FivePuppet.js";
|
|
27
28
|
import { IObject3D as M } from "../../shared-utils/three/IObject3D.js";
|
|
28
|
-
class
|
|
29
|
+
class T extends S {
|
|
29
30
|
constructor(t) {
|
|
30
31
|
super();
|
|
31
32
|
e(this, "name", "LineWithDotsMesh");
|
|
@@ -69,5 +70,5 @@ class O extends S {
|
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
export {
|
|
72
|
-
|
|
73
|
+
T as LineWithDotsMesh
|
|
73
74
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var P = Object.defineProperty, N = Object.defineProperties;
|
|
2
|
-
var
|
|
2
|
+
var T = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var d = Object.getOwnPropertySymbols;
|
|
4
4
|
var V = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var u = (e, i, t) => i in e ? P(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, g = (e, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
|
-
V.call(i, t) &&
|
|
7
|
+
V.call(i, t) && u(e, t, i[t]);
|
|
8
8
|
if (d)
|
|
9
9
|
for (var t of d(i))
|
|
10
|
-
v.call(i, t) &&
|
|
10
|
+
v.call(i, t) && u(e, t, i[t]);
|
|
11
11
|
return e;
|
|
12
|
-
}, a = (e, i) => N(e,
|
|
12
|
+
}, a = (e, i) => N(e, T(i));
|
|
13
13
|
var y = (e, i) => {
|
|
14
14
|
var t = {};
|
|
15
15
|
for (var o in e)
|
|
@@ -19,18 +19,19 @@ var y = (e, i) => {
|
|
|
19
19
|
i.indexOf(o) < 0 && v.call(e, o) && (t[o] = e[o]);
|
|
20
20
|
return t;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
23
|
-
import * as
|
|
24
|
-
import { DEFAULT_HIGHLIGHT_OPACITY as
|
|
25
|
-
import { IObject3D as
|
|
26
|
-
import { anyPositionToVector3 as
|
|
27
|
-
import { LightTag as
|
|
22
|
+
var h = (e, i, t) => (u(e, typeof i != "symbol" ? i + "" : i, t), t);
|
|
23
|
+
import * as n from "three";
|
|
24
|
+
import { DEFAULT_HIGHLIGHT_OPACITY as D } from "../typings/style.js";
|
|
25
|
+
import { IObject3D as E } from "../../shared-utils/three/IObject3D.js";
|
|
26
|
+
import { anyPositionToVector3 as I } from "../../shared-utils/positionToVector3.js";
|
|
27
|
+
import { LightTag as W } from "../../shared-utils/tag.js";
|
|
28
28
|
import "../../vendor/hammerjs/hammer.js";
|
|
29
29
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
30
30
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
31
|
-
import
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
31
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
32
|
+
import { removeAllTag as B } from "../utils/removeAllTag.js";
|
|
33
|
+
import { getLengthHTML as H } from "../utils/Meshes/getLengthHTML.js";
|
|
34
|
+
import { localToWorld as x } from "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
34
35
|
import "@realsee/five/line";
|
|
35
36
|
import { notNil as c } from "../../shared-utils/isNil.js";
|
|
36
37
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -38,44 +39,44 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
38
39
|
import "../../vendor/animejs/lib/anime.es.js";
|
|
39
40
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
40
41
|
import "../../shared-utils/five/FivePuppet.js";
|
|
41
|
-
const
|
|
42
|
+
const S = "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==";
|
|
42
43
|
let C = null;
|
|
43
|
-
class
|
|
44
|
+
class it extends E {
|
|
44
45
|
constructor(t) {
|
|
45
46
|
var p, w;
|
|
46
47
|
super();
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
const M = t != null ? t : {}, { point: o } = M,
|
|
57
|
-
this.paramsStyle =
|
|
58
|
-
const l = new
|
|
59
|
-
l.setAttribute("position", new
|
|
48
|
+
h(this, "name", "PointMesh");
|
|
49
|
+
h(this, "dom");
|
|
50
|
+
h(this, "opacityBeforeHighlight");
|
|
51
|
+
h(this, "highlighted", !1);
|
|
52
|
+
h(this, "fontMesh");
|
|
53
|
+
h(this, "backgroundMesh");
|
|
54
|
+
h(this, "lastRenderDomItem");
|
|
55
|
+
h(this, "paramsStyle");
|
|
56
|
+
h(this, "_visible", !0);
|
|
57
|
+
const M = t != null ? t : {}, { point: o } = M, s = y(M, ["point"]);
|
|
58
|
+
this.paramsStyle = s != null ? s : {};
|
|
59
|
+
const l = new n.BufferGeometry();
|
|
60
|
+
l.setAttribute("position", new n.Float32BufferAttribute([0, 0, 0], 3));
|
|
60
61
|
const m = {
|
|
61
62
|
transparent: !0,
|
|
62
|
-
side:
|
|
63
|
+
side: n.DoubleSide,
|
|
63
64
|
size: (p = t == null ? void 0 : t.size) != null ? p : 8,
|
|
64
|
-
map: C || (C = new
|
|
65
|
+
map: C || (C = new n.TextureLoader().load(S)),
|
|
65
66
|
sizeAttenuation: !1
|
|
66
|
-
},
|
|
67
|
+
}, f = new n.PointsMaterial(a(g({}, m), {
|
|
67
68
|
color: (w = t == null ? void 0 : t.color) != null ? w : 16777215,
|
|
68
69
|
depthTest: !0,
|
|
69
70
|
opacity: 1
|
|
70
|
-
})), k = new
|
|
71
|
-
size:
|
|
72
|
-
color:
|
|
71
|
+
})), k = new n.PointsMaterial(a(g({}, m), {
|
|
72
|
+
size: f.size,
|
|
73
|
+
color: f.color,
|
|
73
74
|
depthWrite: !1,
|
|
74
75
|
depthTest: !1,
|
|
75
76
|
opacity: 0.5
|
|
76
|
-
})),
|
|
77
|
-
this.fontMesh =
|
|
78
|
-
|
|
77
|
+
})), r = new n.Points(l, f), A = new n.Points(l, k);
|
|
78
|
+
this.fontMesh = r, this.backgroundMesh = A, r.name = "FontMesh", A.name = "BackgroundMesh", r.renderOrder = 10, A.renderOrder = 0, this.add(r, A), t != null && t.point && this.position.copy(I(t.point)), t && this.setStyle(t), this.addEventListener("removed", () => {
|
|
79
|
+
B(this);
|
|
79
80
|
}), Object.defineProperty(this, "visible", {
|
|
80
81
|
set: (b) => {
|
|
81
82
|
this.dom && (this.dom.container.style.display = b ? "block" : "none"), this._visible = b;
|
|
@@ -105,28 +106,28 @@ class et extends W {
|
|
|
105
106
|
c(t.color) && (this.fontMesh.material.setValues({ color: t.color }), this.backgroundMesh.material.setValues({ color: t.color })), c(t.size) && (this.fontMesh.material.setValues({ side: t.size }), this.backgroundMesh.material.setValues({ side: t.size })), c(t.occlusionVisibility) && (t.occlusionVisibility ? t.occlusionMode === "depthTest" ? (this.fontMesh.material.depthTest = !1, this.backgroundMesh.visible = !1) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !0) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !1));
|
|
106
107
|
}
|
|
107
108
|
highlight() {
|
|
108
|
-
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight *
|
|
109
|
+
this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight * D }));
|
|
109
110
|
}
|
|
110
111
|
unhighlight() {
|
|
111
112
|
this.highlighted && (this.highlighted = !1, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight }));
|
|
112
113
|
}
|
|
113
114
|
updateMatrixWorld(t) {
|
|
114
115
|
super.updateMatrixWorld(t);
|
|
115
|
-
const o =
|
|
116
|
+
const o = x(this, this.position).toArray().join(",");
|
|
116
117
|
o !== this.lastRenderDomItem && (this.updateDom(), this.lastRenderDomItem = o);
|
|
117
118
|
}
|
|
118
119
|
updateDom() {
|
|
119
120
|
const t = this.paramsStyle.tip;
|
|
120
|
-
t && !this.dom && (this.dom = new
|
|
121
|
-
const o = (
|
|
121
|
+
t && !this.dom && (this.dom = new W(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
|
|
122
|
+
const o = (s) => {
|
|
122
123
|
var l;
|
|
123
|
-
this.dom && this.dom.__text !==
|
|
124
|
-
style: `color: #${c((l = this.style) == null ? void 0 : l.color) ? new
|
|
124
|
+
this.dom && this.dom.__text !== s && (this.dom.__text = s, s instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(s)) : s ? this.dom.container.innerHTML = H(s, {
|
|
125
|
+
style: `color: #${c((l = this.style) == null ? void 0 : l.color) ? new n.Color(this.style.color).getHexString() : "ffffff"}`
|
|
125
126
|
}) : this.dom.container.innerHTML = "");
|
|
126
127
|
};
|
|
127
128
|
t ? (o(t), this.dom.setPosition(this.position.clone())) : o(null);
|
|
128
129
|
}
|
|
129
130
|
}
|
|
130
131
|
export {
|
|
131
|
-
|
|
132
|
+
it as PointMesh
|
|
132
133
|
};
|
|
@@ -2,15 +2,15 @@ var u = Object.defineProperty, y = Object.defineProperties;
|
|
|
2
2
|
var g = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var f = Object.getOwnPropertySymbols;
|
|
4
4
|
var c = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var m = (r, t, e) => t in r ? u(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, l = (r, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
c.call(t, e) &&
|
|
7
|
+
c.call(t, e) && m(r, e, t[e]);
|
|
8
8
|
if (f)
|
|
9
9
|
for (var e of f(t))
|
|
10
|
-
I.call(t, e) &&
|
|
10
|
+
I.call(t, e) && m(r, e, t[e]);
|
|
11
11
|
return r;
|
|
12
12
|
}, d = (r, t) => y(r, g(t));
|
|
13
|
-
var i = (r, t, e) => (
|
|
13
|
+
var i = (r, t, e) => (m(r, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
14
|
import * as a from "three";
|
|
15
15
|
import { generatePolygonGeometry as H } from "../../shared-utils/three/generatePolygonGeometry.js";
|
|
16
16
|
import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
|
|
@@ -22,6 +22,7 @@ import { localToWorld as D } from "../../shared-utils/three/applyObjectMatrixWor
|
|
|
22
22
|
import "../../vendor/hammerjs/hammer.js";
|
|
23
23
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
24
24
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
25
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
25
26
|
import "@realsee/five/line";
|
|
26
27
|
import { notNil as M } from "../../shared-utils/isNil.js";
|
|
27
28
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -29,10 +30,10 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
29
30
|
import "../../vendor/animejs/lib/anime.es.js";
|
|
30
31
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
31
32
|
import "../../shared-utils/five/FivePuppet.js";
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class
|
|
33
|
+
const p = new a.BufferGeometry();
|
|
34
|
+
p.name = "blankGeometry";
|
|
35
|
+
p.isBlank = !0;
|
|
36
|
+
class z extends _ {
|
|
36
37
|
constructor(e) {
|
|
37
38
|
super(e);
|
|
38
39
|
i(this, "name", "PolygonMesh");
|
|
@@ -75,7 +76,7 @@ class q extends _ {
|
|
|
75
76
|
setPoints(e) {
|
|
76
77
|
var n;
|
|
77
78
|
const o = e.map(P);
|
|
78
|
-
this.points = o, this.geometry = (n = H(this.points, { checkLinesIntersect: !0 })) != null ? n :
|
|
79
|
+
this.points = o, this.geometry = (n = H(this.points, { checkLinesIntersect: !0 })) != null ? n : p, this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0, this.updateAreaItems();
|
|
79
80
|
}
|
|
80
81
|
/**
|
|
81
82
|
* @description: 获取一个点投影在当前平面上的点
|
|
@@ -87,7 +88,7 @@ class q extends _ {
|
|
|
87
88
|
this.points.length >= 3 ? this.planeHelper = new a.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.planeHelper = null, this.planeHelperNeedUpdate = !1;
|
|
88
89
|
}
|
|
89
90
|
updateAreaItems() {
|
|
90
|
-
var n,
|
|
91
|
+
var n, h;
|
|
91
92
|
const e = () => {
|
|
92
93
|
var s;
|
|
93
94
|
(s = this.areaDom) == null || s.destroy(), this.areaDom = void 0;
|
|
@@ -102,10 +103,10 @@ class q extends _ {
|
|
|
102
103
|
})(), this.areaDom.setPosition(this.center);
|
|
103
104
|
const o = this.geometryInfo.area.toFixed(2);
|
|
104
105
|
o === "0.00" ? this.areaDom.container.innerHTML = "" : this.areaDom.container.innerHTML = w(o + "m²", {
|
|
105
|
-
style: `color: #${M((
|
|
106
|
+
style: `color: #${M((h = this.style) == null ? void 0 : h.color) ? new a.Color(this.style.color).getHexString() : "000000"}`
|
|
106
107
|
});
|
|
107
108
|
}
|
|
108
109
|
}
|
|
109
110
|
export {
|
|
110
|
-
|
|
111
|
+
z as PolygonMesh
|
|
111
112
|
};
|
|
@@ -7,6 +7,7 @@ import "three";
|
|
|
7
7
|
import "../../vendor/hammerjs/hammer.js";
|
|
8
8
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
9
9
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
10
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
11
|
import "@realsee/five/line";
|
|
11
12
|
import { notNil as h } from "../../shared-utils/isNil.js";
|
|
12
13
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -16,7 +17,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
16
17
|
import "../../shared-utils/five/FivePuppet.js";
|
|
17
18
|
import { PolygonMesh as g } from "./Polygon.js";
|
|
18
19
|
import { RectangleGeometry as d } from "../utils/three/RectangleGeometry.js";
|
|
19
|
-
class
|
|
20
|
+
class V extends g {
|
|
20
21
|
constructor(t) {
|
|
21
22
|
super(t);
|
|
22
23
|
i(this, "name", "RectangleMesh");
|
|
@@ -31,12 +32,12 @@ class T extends g {
|
|
|
31
32
|
return;
|
|
32
33
|
}
|
|
33
34
|
if (t.length === 3) {
|
|
34
|
-
const [m, n,
|
|
35
|
-
r.push(
|
|
35
|
+
const [m, n, p] = r, s = m.clone().add(p).sub(n);
|
|
36
|
+
r.push(s);
|
|
36
37
|
}
|
|
37
38
|
this.points = r, this.geometry = new d(r), this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0;
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
V as RectangleMesh
|
|
42
43
|
};
|
|
@@ -10,6 +10,7 @@ import "three";
|
|
|
10
10
|
import "../../../vendor/hammerjs/hammer.js";
|
|
11
11
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
12
12
|
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
13
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
13
14
|
import "@realsee/five/line";
|
|
14
15
|
import { notNil as m } from "../../../shared-utils/isNil.js";
|
|
15
16
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -45,7 +46,7 @@ class l extends d {
|
|
|
45
46
|
super.disable(), this.removeChildren();
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
|
-
class
|
|
49
|
+
class C extends l {
|
|
49
50
|
constructor(t) {
|
|
50
51
|
super(t);
|
|
51
52
|
o(this, "onDrag", (t) => {
|
|
@@ -60,6 +61,6 @@ class A extends l {
|
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
export {
|
|
63
|
-
|
|
64
|
+
C as LineEditor,
|
|
64
65
|
l as LineEditorAbstract
|
|
65
66
|
};
|
package/libs/Sculpt/index.js
CHANGED
|
@@ -35,6 +35,7 @@ import "three";
|
|
|
35
35
|
import "../vendor/hammerjs/hammer.js";
|
|
36
36
|
import "../shared-utils/three/PointSelector/index.js";
|
|
37
37
|
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
38
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
39
|
import "@realsee/five/line";
|
|
39
40
|
import { notNil as k } from "../shared-utils/isNil.js";
|
|
40
41
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -243,8 +244,8 @@ const u = class extends S {
|
|
|
243
244
|
};
|
|
244
245
|
let p = u;
|
|
245
246
|
h(p, "modules", E);
|
|
246
|
-
const
|
|
247
|
+
const ye = (c) => new p(c);
|
|
247
248
|
export {
|
|
248
249
|
p as Sculpt,
|
|
249
|
-
|
|
250
|
+
ye as SculptPlugin
|
|
250
251
|
};
|
|
@@ -17,6 +17,7 @@ import "../../../shared-utils/tag.js";
|
|
|
17
17
|
import "../../../vendor/hammerjs/hammer.js";
|
|
18
18
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
19
19
|
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
20
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
20
21
|
import "@realsee/five/line";
|
|
21
22
|
import { notNil as u } from "../../../shared-utils/isNil.js";
|
|
22
23
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -24,7 +25,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
24
25
|
import "../../../vendor/animejs/lib/anime.es.js";
|
|
25
26
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
27
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
27
|
-
class
|
|
28
|
+
class G extends T {
|
|
28
29
|
constructor(t) {
|
|
29
30
|
var c, m;
|
|
30
31
|
super();
|
|
@@ -96,5 +97,5 @@ class A extends T {
|
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
export {
|
|
99
|
-
|
|
100
|
+
G as ColoredMesh
|
|
100
101
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
var
|
|
2
|
-
var s = (
|
|
3
|
-
var i = (
|
|
1
|
+
var e = Object.defineProperty;
|
|
2
|
+
var s = (o, t, r) => t in o ? e(o, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[t] = r;
|
|
3
|
+
var i = (o, t, r) => (s(o, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
4
|
import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "../vendor/hammerjs/hammer.js";
|
|
8
8
|
import "../shared-utils/three/PointSelector/index.js";
|
|
9
9
|
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
10
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
11
|
import "@realsee/five/line";
|
|
11
12
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
12
13
|
import "../shared-utils/three/core/Sphere.js";
|
|
13
14
|
import "../vendor/animejs/lib/anime.es.js";
|
|
14
15
|
import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
|
|
15
|
-
import { absoluteUrl as
|
|
16
|
+
import { absoluteUrl as p } from "../shared-utils/url/absoluteUrl.js";
|
|
16
17
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
17
18
|
import "../shared-utils/five/FivePuppet.js";
|
|
18
|
-
let
|
|
19
|
+
let E = class {
|
|
19
20
|
constructor(t, r) {
|
|
20
21
|
/**
|
|
21
22
|
* @realsee/dnalogel 版本号
|
|
22
23
|
*/
|
|
23
|
-
i(this, "VERSION", "3.61.
|
|
24
|
+
i(this, "VERSION", "3.61.13");
|
|
24
25
|
i(this, "NAME");
|
|
25
26
|
i(this, "five");
|
|
26
27
|
i(this, "workUtil");
|
|
@@ -51,11 +52,11 @@ let S = class {
|
|
|
51
52
|
* @description: 获取静态资源的url
|
|
52
53
|
*/
|
|
53
54
|
absoluteUrl(t) {
|
|
54
|
-
return
|
|
55
|
+
return p(this.staticPrefix, t);
|
|
55
56
|
}
|
|
56
57
|
onWorkCodeChange() {
|
|
57
58
|
}
|
|
58
59
|
};
|
|
59
60
|
export {
|
|
60
|
-
|
|
61
|
+
E as Controller
|
|
61
62
|
};
|
|
@@ -44,12 +44,13 @@ import "../../shared-utils/tag.js";
|
|
|
44
44
|
import "../../vendor/hammerjs/hammer.js";
|
|
45
45
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
46
46
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
47
|
+
import { waitFiveModelLoaded as U } from "../../shared-utils/five/fiveModelLoad.js";
|
|
48
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
47
49
|
import "@realsee/five/line";
|
|
48
|
-
import { isNil as
|
|
50
|
+
import { isNil as z } from "../../shared-utils/isNil.js";
|
|
49
51
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
50
52
|
import "../../shared-utils/three/core/Sphere.js";
|
|
51
53
|
import "../../vendor/animejs/lib/anime.es.js";
|
|
52
|
-
import { waitFiveModelLoaded as z } from "../../shared-utils/five/fiveModelLoad.js";
|
|
53
54
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
54
55
|
import "../../shared-utils/five/FivePuppet.js";
|
|
55
56
|
import "../../shared-utils/isTruelyObject.js";
|
|
@@ -108,7 +109,7 @@ import "../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
|
108
109
|
import "../../shared-utils/three/centerPoint.js";
|
|
109
110
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
110
111
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
111
|
-
import "../../shared-utils/
|
|
112
|
+
import "../../shared-utils/CSS3DRender/index.js";
|
|
112
113
|
import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
113
114
|
import "../../shared-utils/createResizeObserver.js";
|
|
114
115
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
@@ -137,7 +138,7 @@ function G(d) {
|
|
|
137
138
|
const { latitude: n, longitude: t } = d, e = Math.abs(n - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
138
139
|
return e && i;
|
|
139
140
|
}
|
|
140
|
-
class
|
|
141
|
+
class He extends D {
|
|
141
142
|
constructor(t, e) {
|
|
142
143
|
var a, m;
|
|
143
144
|
super(t);
|
|
@@ -369,7 +370,7 @@ class Re extends D {
|
|
|
369
370
|
getRoomDimensionText: (p, g) => (p / 1e3).toFixed(1) + "m × " + (g / 1e3).toFixed(1) + "m",
|
|
370
371
|
getRuleDistanceText: (p) => p.toString()
|
|
371
372
|
}, r = e ? C(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), r.missingFloorConfig), s = c(l(l({}, i), r), { missingFloorConfig: h });
|
|
372
|
-
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(),
|
|
373
|
+
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(), U(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
373
374
|
}
|
|
374
375
|
load(t, e, i = !0) {
|
|
375
376
|
return f(this, null, function* () {
|
|
@@ -377,7 +378,7 @@ class Re extends D {
|
|
|
377
378
|
return Object.prototype.hasOwnProperty.apply(p, ["version"]);
|
|
378
379
|
}
|
|
379
380
|
const h = t;
|
|
380
|
-
h &&
|
|
381
|
+
h && z(h.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
381
382
|
const s = JSON.parse(JSON.stringify(t)), a = r(s) ? s.data : s, m = this.data;
|
|
382
383
|
this.data = yield S(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, m), e && this.updateState(e, i), this.render();
|
|
383
384
|
});
|
|
@@ -474,5 +475,5 @@ class Re extends D {
|
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
477
|
export {
|
|
477
|
-
|
|
478
|
+
He as Controller
|
|
478
479
|
};
|
|
@@ -64,6 +64,7 @@ import "../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
|
64
64
|
import "../../shared-utils/three/centerPoint.js";
|
|
65
65
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
66
66
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
67
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
67
68
|
import "@realsee/five/line";
|
|
68
69
|
import "../../shared-utils/isNil.js";
|
|
69
70
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -74,7 +75,7 @@ import "../../shared-utils/five/FivePuppet.js";
|
|
|
74
75
|
import "@realsee/five";
|
|
75
76
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
76
77
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
77
|
-
import "../../shared-utils/
|
|
78
|
+
import "../../shared-utils/CSS3DRender/index.js";
|
|
78
79
|
import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
79
80
|
import "../../shared-utils/createResizeObserver.js";
|
|
80
81
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
@@ -101,8 +102,8 @@ import "../utils/constant.js";
|
|
|
101
102
|
import "../../shared-utils/nearlyEqual.js";
|
|
102
103
|
import "../../shared-utils/five/changeMode.js";
|
|
103
104
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
104
|
-
const
|
|
105
|
+
const or = (o, r) => new t(o, r);
|
|
105
106
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
or as MapviewFloorplanPlugin,
|
|
108
|
+
or as default
|
|
108
109
|
};
|