@realsee/dnalogel 3.54.2 → 3.55.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -0
- package/dist/ModelMakerPlugin/item/prismItem.d.ts +7 -0
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +3 -3
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +2 -0
- package/dist/Sculpt/Meshes/Line.d.ts +1 -1
- package/dist/Sculpt/Objects/Base/Editor.d.ts +2 -0
- package/dist/Sculpt/typings/style.d.ts +15 -5
- package/dist/index.cjs.js +58 -58
- package/dist/index.js +5343 -5261
- package/dist/index.umd.js +51 -51
- package/dist/shared-utils/Object3DHelper/index.d.ts +4 -0
- package/dist/shared-utils/three/core/LineMaterial.d.ts +1 -5
- package/dist/shared-utils/three/core/LineMaterial2.d.ts +1 -5
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
- package/docs/classes/PanoTagPluginController.html +35 -35
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +14 -14
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +11 -11
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +8 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +8 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +8 -7
- package/docs/classes/Util.sculpt.LineMesh.html +6 -6
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +8 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +8 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +8 -8
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +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 +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +7 -7
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +4 -4
- 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 +2 -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.ActionIfNoModelUnderMouse.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/CruisePlugin/Work.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +116 -125
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -0
- package/libs/ModelMakerPlugin/item/baseItem.js +21 -18
- package/libs/ModelMakerPlugin/item/prismItem.d.ts +7 -0
- package/libs/ModelMakerPlugin/item/prismItem.js +86 -22
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -1
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +58 -47
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -0
- package/libs/PanoTagPlugin/controller/index.js +160 -133
- package/libs/Sculpt/Meshes/CircleWithEdge.js +22 -30
- package/libs/Sculpt/Meshes/Line.d.ts +1 -1
- package/libs/Sculpt/Meshes/Line.js +96 -97
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +14 -14
- package/libs/Sculpt/Meshes/Polyline.js +20 -20
- package/libs/Sculpt/Meshes/Prism.js +48 -49
- package/libs/Sculpt/Meshes/RectangleWithEdge.js +18 -19
- package/libs/Sculpt/Objects/Base/Editor.d.ts +2 -0
- package/libs/Sculpt/Objects/Base/Editor.js +34 -28
- package/libs/Sculpt/Objects/Box/index.js +24 -24
- package/libs/Sculpt/Objects/Circle/index.js +25 -25
- package/libs/Sculpt/Objects/Cylinder/index.js +35 -35
- package/libs/Sculpt/Objects/Polygon/index.js +18 -18
- package/libs/Sculpt/Objects/Prism/index.js +25 -25
- package/libs/Sculpt/Objects/Rectangle/index.js +14 -14
- package/libs/Sculpt/typings/style.d.ts +15 -5
- package/libs/Sculpt/typings/style.js +3 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +5 -5
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/Object3DHelper/index.d.ts +4 -0
- package/libs/shared-utils/Object3DHelper/index.js +21 -13
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -1
- package/libs/shared-utils/three/core/LineMaterial.d.ts +1 -5
- package/libs/shared-utils/three/core/LineMaterial.js +18 -11
- package/libs/shared-utils/three/core/LineMaterial2.d.ts +1 -5
- package/libs/shared-utils/three/core/LineMaterial2.js +18 -11
- package/package.json +1 -1
|
@@ -1,27 +1,35 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
1
|
+
var d = Object.defineProperty, u = Object.defineProperties;
|
|
2
|
+
var b = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var l = Object.getOwnPropertySymbols;
|
|
4
|
+
var F = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var s = (t, i, o) => i in t ? d(t, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[i] = o, h = (t, i) => {
|
|
6
|
+
for (var o in i || (i = {}))
|
|
7
|
+
F.call(i, o) && s(t, o, i[o]);
|
|
8
|
+
if (l)
|
|
9
|
+
for (var o of l(i))
|
|
10
|
+
v.call(i, o) && s(t, o, i[o]);
|
|
11
11
|
return t;
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
import { ModelMakerBaseItem as f } from "./baseItem.js";
|
|
15
|
-
import * as u from "three";
|
|
16
|
-
import "../../shared-utils/three/core/Sphere.js";
|
|
17
|
-
import "../../shared-utils/three/addIfNotExists.js";
|
|
18
|
-
import "../../shared-utils/Subscribe.js";
|
|
12
|
+
}, n = (t, i) => u(t, b(i));
|
|
13
|
+
var m = (t, i, o) => (s(t, typeof i != "symbol" ? i + "" : i, o), o);
|
|
19
14
|
import "../../shared-utils/tag.js";
|
|
15
|
+
import * as c from "three";
|
|
16
|
+
import "hammerjs";
|
|
17
|
+
import "../../shared-utils/three/PointSelector/index.js";
|
|
18
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
19
|
+
import "@realsee/five/line";
|
|
20
|
+
import { isNil as f } from "../../shared-utils/isNil.js";
|
|
21
|
+
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
22
|
+
import { boundingBox as w, boxVertex as a } from "../../shared-utils/three/boundingBox.js";
|
|
23
|
+
import "animejs";
|
|
24
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
|
+
import "../../shared-utils/five/FivePuppet.js";
|
|
26
|
+
import { ModelMakerBaseItem as _ } from "./baseItem.js";
|
|
20
27
|
import "../../shared-utils/positionToVector3.js";
|
|
21
28
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
22
29
|
import "../../shared-utils/five/getFiveModel.js";
|
|
23
30
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
24
31
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
32
|
+
import "../../shared-utils/Subscribe.js";
|
|
25
33
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
26
34
|
import "../../shared-utils/five/transformPosition.js";
|
|
27
35
|
import "../../shared-utils/three/temp.js";
|
|
@@ -29,16 +37,72 @@ import "../../shared-utils/three/core/Raycaster.js";
|
|
|
29
37
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
30
38
|
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
31
39
|
import "../../shared-utils/throttle.js";
|
|
40
|
+
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
41
|
+
import "../../shared-utils/three/Magnifier.js";
|
|
42
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
43
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
44
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
45
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
46
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
47
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
48
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
49
|
+
import "../../shared-utils/three/core/Sphere.js";
|
|
50
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
51
|
+
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
52
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
53
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
54
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
55
|
+
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
56
|
+
import "../../Sculpt/Meshes/Line.js";
|
|
57
|
+
import "../../Sculpt/typings/style.js";
|
|
58
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
59
|
+
import "../../Sculpt/utils/removeAllTag.js";
|
|
60
|
+
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
61
|
+
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
62
|
+
import "../../shared-utils/util.js";
|
|
63
|
+
import "../../shared-utils/three/core/LineGeometry.js";
|
|
64
|
+
import "../../shared-utils/three/core/LineMaterial.js";
|
|
65
|
+
import "../../shared-utils/three/core/Line2.js";
|
|
66
|
+
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
67
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
68
|
+
import "../../shared-utils/isTouchDevice.js";
|
|
69
|
+
import "../../shared-utils/five/getPosition.js";
|
|
70
|
+
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
71
|
+
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
72
|
+
import "@realsee/five";
|
|
73
|
+
import "../../shared-utils/three/addIfNotExists.js";
|
|
32
74
|
import "../utils/getFiveDomEvent.js";
|
|
33
75
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
34
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
35
76
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
36
|
-
class
|
|
77
|
+
class Eo extends _ {
|
|
37
78
|
constructor(...o) {
|
|
38
|
-
const r = o[0],
|
|
39
|
-
super(
|
|
79
|
+
const r = o[0], e = w(r.model), p = new c.Vector3().lerpVectors(a(e, 0), a(e, 5), 0.5);
|
|
80
|
+
super(n(h({}, r), { position: p }));
|
|
81
|
+
m(this, "_visible", !0);
|
|
82
|
+
m(this, "_visibleByFloor", !0);
|
|
83
|
+
m(this, "onModelShownFloorChange", (o) => {
|
|
84
|
+
this.updateFiveCurrentFloorState(o), this.updateVisible();
|
|
85
|
+
});
|
|
86
|
+
m(this, "updateFiveCurrentFloorState", (o) => {
|
|
87
|
+
var e, p;
|
|
88
|
+
const r = (p = (e = this.rawData) == null ? void 0 : e.object_data) == null ? void 0 : p.floorIndex;
|
|
89
|
+
f(r) ? this._visibleByFloor = !0 : this._visibleByFloor = o === null ? !0 : r === o;
|
|
90
|
+
});
|
|
91
|
+
this.enable(), this.five.on("modelShownFloorChange", this.onModelShownFloorChange), this.disposers.push(() => {
|
|
92
|
+
this.five.off("modelShownFloorChange", this.onModelShownFloorChange);
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
show() {
|
|
96
|
+
this.updateFiveCurrentFloorState(this.five.model.shownFloor), this._visible = !0, this.updateVisible(), this.emit("show");
|
|
97
|
+
}
|
|
98
|
+
hide() {
|
|
99
|
+
this._visible = !1, this.updateVisible(), this.emit("hide");
|
|
100
|
+
}
|
|
101
|
+
updateVisible() {
|
|
102
|
+
const o = this._visible && this._visibleByFloor;
|
|
103
|
+
o ? this.tag.show() : this.tag.hide(), this.model.visible = o, this.five.needsRender = !0;
|
|
40
104
|
}
|
|
41
105
|
}
|
|
42
106
|
export {
|
|
43
|
-
|
|
107
|
+
Eo as ModelMakerPrismItem
|
|
44
108
|
};
|
|
@@ -153,8 +153,8 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
153
153
|
}): TagConfig;
|
|
154
154
|
getDistance(fiveState?: Partial<FiveState>, accurate?: number): number;
|
|
155
155
|
getVisible(fiveState?: Partial<FiveState>): boolean;
|
|
156
|
-
getUnfoldedByPanoIndex(panoIndex?: number):
|
|
157
|
-
getUnfoldedByCamera():
|
|
156
|
+
getUnfoldedByPanoIndex(panoIndex?: number): any;
|
|
157
|
+
getUnfoldedByCamera(): any;
|
|
158
158
|
can(action: 'show' | 'hide' | 'fold' | 'unfold'): boolean;
|
|
159
159
|
onClick(params: Pick<TagClickParams, 'target'>): void;
|
|
160
160
|
abstract computeNormal(): THREE.Vector3 | undefined;
|
|
@@ -204,7 +204,7 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
204
204
|
* @description 获取是否展开
|
|
205
205
|
*/
|
|
206
206
|
protected computeUnfoldedByPanoIndex(panoIndex?: number): boolean;
|
|
207
|
-
protected computeUnfoldedByCamera():
|
|
207
|
+
protected computeUnfoldedByCamera(): any;
|
|
208
208
|
protected computeTagProject(): {
|
|
209
209
|
x: number;
|
|
210
210
|
y: number;
|
|
@@ -12,7 +12,6 @@ export declare class PointTag<C extends TagContentType = TagContentType> extends
|
|
|
12
12
|
*/
|
|
13
13
|
unfoldAndFoldOthers(): void;
|
|
14
14
|
onClick(params: Pick<TagClickParams, 'target'>): void;
|
|
15
|
-
updateVisible(): void;
|
|
16
15
|
applyVisible(): void;
|
|
17
16
|
unfold(): void;
|
|
18
17
|
fold(): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var h = Object.defineProperty;
|
|
2
|
+
var f = (s, r, t) => r in s ? h(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t;
|
|
3
|
+
var p = (s, r, t) => (f(s, typeof r != "symbol" ? r + "" : r, t), t);
|
|
4
4
|
import { BaseTag as g } from "./BaseTag.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as l from "three";
|
|
6
6
|
import "../../../shared-utils/Subscribe.js";
|
|
7
7
|
import "../../utils/tag/calculateTagConfig.js";
|
|
8
8
|
import "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -78,45 +78,56 @@ import "../../../shared-utils/url/getUrl.js";
|
|
|
78
78
|
import "../../../shared-utils/five/getFloorIndex.js";
|
|
79
79
|
import "../../../shared-utils/safeObj.js";
|
|
80
80
|
import "../../utils/Cache.js";
|
|
81
|
-
const
|
|
82
|
-
class
|
|
83
|
-
constructor(t,
|
|
84
|
-
super(t,
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
const y = new l.Vector2();
|
|
82
|
+
class wt extends g {
|
|
83
|
+
constructor(t, i) {
|
|
84
|
+
super(t, i);
|
|
85
|
+
p(this, "__Object__");
|
|
86
|
+
p(this, "requestIdleCallbackId");
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* @description 展开自己,收起其他标签
|
|
90
90
|
*/
|
|
91
91
|
unfoldAndFoldOthers() {
|
|
92
|
-
const t = this.can("fold"),
|
|
93
|
-
t &&
|
|
92
|
+
const t = this.can("fold"), i = this.can("unfold");
|
|
93
|
+
t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((o) => {
|
|
94
94
|
o.id !== this.id && o.fold();
|
|
95
95
|
}));
|
|
96
96
|
}
|
|
97
97
|
onClick(t) {
|
|
98
98
|
t.target === "TagPoint" && this.unfoldAndFoldOthers();
|
|
99
99
|
}
|
|
100
|
-
updateVisible() {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
100
|
+
// public updateVisible() {
|
|
101
|
+
// if (typeof window.requestIdleCallback === 'undefined') {
|
|
102
|
+
// super.updateVisible()
|
|
103
|
+
// return
|
|
104
|
+
// }
|
|
105
|
+
// const doRequestIdleCallback = () => {
|
|
106
|
+
// if (this.requestIdleCallbackId) {
|
|
107
|
+
// cancelIdleCallback(this.requestIdleCallbackId)
|
|
108
|
+
// }
|
|
109
|
+
// this.requestIdleCallbackId = requestIdleCallback(() => {
|
|
110
|
+
// super.updateVisible()
|
|
111
|
+
// })
|
|
112
|
+
// }
|
|
113
|
+
// let canUseRequestIdleCallback = false
|
|
114
|
+
// requestIdleCallback(() => {
|
|
115
|
+
// canUseRequestIdleCallback = true
|
|
116
|
+
// })
|
|
117
|
+
// doRequestIdleCallback()
|
|
118
|
+
// // 防止不能用 requestIdleCallback 的情况,有些浏览器上有 requestIdleCallback 但是贼慢,要几秒钟。
|
|
119
|
+
// setTimeout(() => {
|
|
120
|
+
// if (!canUseRequestIdleCallback) {
|
|
121
|
+
// if (this.requestIdleCallbackId) {
|
|
122
|
+
// cancelIdleCallback(this.requestIdleCallbackId)
|
|
123
|
+
// }
|
|
124
|
+
// super.updateVisible()
|
|
125
|
+
// }
|
|
126
|
+
// }, 200)
|
|
127
|
+
// }
|
|
117
128
|
applyVisible() {
|
|
118
|
-
var t,
|
|
119
|
-
this.currentVisible && this.updateScreenPosition(), (o = (
|
|
129
|
+
var t, i, o, e;
|
|
130
|
+
this.currentVisible && this.updateScreenPosition(), (o = (i = (t = this.tag3DContentSvelte) == null ? void 0 : t.css3DInstance) == null ? void 0 : i.css3DObject) == null || o.setVisible(this.currentVisible), (e = this.tag3DContentSvelte) == null || e.svelteApp.$set({
|
|
120
131
|
state: this.plugin.state,
|
|
121
132
|
temporaryState: this.temporaryState
|
|
122
133
|
}), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
@@ -132,38 +143,38 @@ class Et extends g {
|
|
|
132
143
|
* @param {boolean} unfolded
|
|
133
144
|
*/
|
|
134
145
|
setUnfold(t) {
|
|
135
|
-
const
|
|
136
|
-
|
|
146
|
+
const i = this.can("fold"), o = this.can("unfold");
|
|
147
|
+
i && o && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
|
|
137
148
|
}
|
|
138
149
|
setPosition(t) {
|
|
139
150
|
this.originPosition = t, this.position = t, this.cache.clear(), this.updateVisible(), this.updateScreenPosition(), this.updateZIndex(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
140
151
|
}
|
|
141
152
|
updateScreenPosition(t) {
|
|
142
|
-
var
|
|
153
|
+
var m;
|
|
143
154
|
if (this.stickType !== "2DPoint" && this.stickType !== "3DPoint")
|
|
144
155
|
return;
|
|
145
|
-
const { force:
|
|
156
|
+
const { force: i = !1 } = t != null ? t : {}, o = i ? this.state.visible : this.currentVisible, e = (m = this.__Object__) != null ? m : {
|
|
146
157
|
timeoutId: void 0,
|
|
147
158
|
inAnimation: !1
|
|
148
159
|
};
|
|
149
|
-
if (this.__Object__ =
|
|
160
|
+
if (this.__Object__ = e, !o && this.screenPosition ? (e.inAnimation = !0, e.timeoutId = setTimeout(() => {
|
|
150
161
|
requestAnimationFrame(() => {
|
|
151
|
-
this.currentVisible || (
|
|
162
|
+
this.currentVisible || (e.inAnimation = !1, this.screenPosition = null, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
|
|
152
163
|
});
|
|
153
|
-
}, 1e3)) :
|
|
164
|
+
}, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !o && !e.inAnimation)
|
|
154
165
|
return;
|
|
155
166
|
const n = this.computeTagProject();
|
|
156
167
|
if (n) {
|
|
157
|
-
const
|
|
168
|
+
const a = (() => {
|
|
158
169
|
if (!this.currentConfig.simulate3D)
|
|
159
170
|
return 1;
|
|
160
171
|
const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), c = this.getDistance(void 0, 1);
|
|
161
172
|
return Math.max(Math.min(1 - u * c / 40, 1), 0.5);
|
|
162
|
-
})(),
|
|
173
|
+
})(), d = this.five.renderer.getSize(y);
|
|
163
174
|
this.screenPosition = {
|
|
164
|
-
leftPx: (n.x + 1) / 2 *
|
|
165
|
-
topPx: (-n.y + 1) / 2 *
|
|
166
|
-
scale:
|
|
175
|
+
leftPx: (n.x + 1) / 2 * d.x,
|
|
176
|
+
topPx: (-n.y + 1) / 2 * d.y,
|
|
177
|
+
scale: a
|
|
167
178
|
};
|
|
168
179
|
} else
|
|
169
180
|
this.screenPosition = null;
|
|
@@ -172,14 +183,14 @@ class Et extends g {
|
|
|
172
183
|
updateUnfoldedByPanoIndex() {
|
|
173
184
|
const t = this.getUnfoldedByPanoIndex();
|
|
174
185
|
if (this.state && (t !== void 0 && (this.state.unfolded = t), t && !this.state.visible)) {
|
|
175
|
-
const
|
|
176
|
-
typeof
|
|
186
|
+
const i = this.getConfig();
|
|
187
|
+
typeof i.unfoldedConfig == "object" && i.unfoldedConfig.autoFoldWhenHide !== !1 && (this.state.unfolded = !1);
|
|
177
188
|
}
|
|
178
189
|
}
|
|
179
190
|
computeNormal() {
|
|
180
|
-
return new
|
|
191
|
+
return new l.Vector3().fromArray(this.normal);
|
|
181
192
|
}
|
|
182
193
|
}
|
|
183
194
|
export {
|
|
184
|
-
|
|
195
|
+
wt as PointTag
|
|
185
196
|
};
|
|
@@ -14,6 +14,7 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
14
14
|
/** debug */
|
|
15
15
|
private debug;
|
|
16
16
|
private debugUtil;
|
|
17
|
+
private timeoutIds;
|
|
17
18
|
constructor(five: Five, params?: {
|
|
18
19
|
config?: Pick<Tags, 'contentTypeConfig' | 'globalConfig'>;
|
|
19
20
|
debug?: boolean;
|
|
@@ -131,6 +132,7 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
131
132
|
private handleFiveCameraUpdate;
|
|
132
133
|
private handleFiveCameraFovUpdate;
|
|
133
134
|
private handleFivePanoArrived;
|
|
135
|
+
private tagsDo;
|
|
134
136
|
/** 楼层切换时,需要更新标签可见性 */
|
|
135
137
|
private handleFiveModelShownFloorChange;
|
|
136
138
|
private onFiveEveryReady;
|