@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,44 +1,44 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var e in
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
1
|
+
var U = Object.defineProperty, E = Object.defineProperties;
|
|
2
|
+
var k = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var T = Object.getOwnPropertySymbols;
|
|
4
|
+
var F = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var f = Math.pow, y = (d, h, e) => h in d ? U(d, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[h] = e, g = (d, h) => {
|
|
6
|
+
for (var e in h || (h = {}))
|
|
7
|
+
F.call(h, e) && y(d, e, h[e]);
|
|
8
|
+
if (T)
|
|
9
|
+
for (var e of T(h))
|
|
10
|
+
w.call(h, e) && y(d, e, h[e]);
|
|
11
11
|
return d;
|
|
12
|
-
},
|
|
13
|
-
var p = (d,
|
|
14
|
-
var
|
|
15
|
-
var o = (
|
|
12
|
+
}, v = (d, h) => E(d, k(h));
|
|
13
|
+
var p = (d, h, e) => (y(d, typeof h != "symbol" ? h + "" : h, e), e);
|
|
14
|
+
var m = (d, h, e) => new Promise((t, i) => {
|
|
15
|
+
var o = (s) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
r(e.next(s));
|
|
18
|
+
} catch (a) {
|
|
19
|
+
i(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, n = (s) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
r(e.throw(s));
|
|
24
|
+
} catch (a) {
|
|
25
|
+
i(a);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, r = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, n);
|
|
28
|
+
r((e = e.apply(d, h)).next());
|
|
29
29
|
});
|
|
30
|
-
import * as
|
|
31
|
-
import { objectAssignDeepExports as
|
|
32
|
-
import { arrayPositionToVector3 as
|
|
33
|
-
import { isModelTag as
|
|
34
|
-
import { debounce as
|
|
35
|
-
import { throttle as
|
|
36
|
-
import
|
|
37
|
-
import { generateBlankAudio as
|
|
38
|
-
import { resizeObserver as
|
|
39
|
-
import { TagRender as
|
|
30
|
+
import * as b from "three";
|
|
31
|
+
import { objectAssignDeepExports as c } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
|
+
import { arrayPositionToVector3 as M } from "../../shared-utils/positionToVector3.js";
|
|
33
|
+
import { isModelTag as _, isMediaModelTag as L } from "../utils/tag/tagCheck.js";
|
|
34
|
+
import { debounce as I } from "../utils/debounce.js";
|
|
35
|
+
import { throttle as R } from "../utils/throttle.js";
|
|
36
|
+
import B, { getTagStickType as O } from "../utils/tag/format.js";
|
|
37
|
+
import { generateBlankAudio as G, AudioNamespace as N } from "../../shared-utils/audio.js";
|
|
38
|
+
import { resizeObserver as C } from "../../shared-utils/dom/resizeObserver.js";
|
|
39
|
+
import { TagRender as V } from "./TagRender.js";
|
|
40
40
|
import "../../shared-utils/tag.js";
|
|
41
|
-
import { isModelLike as
|
|
41
|
+
import { isModelLike as z } from "../../shared-utils/five/mode.js";
|
|
42
42
|
import "hammerjs";
|
|
43
43
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
44
44
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -46,17 +46,17 @@ import "@realsee/five/line";
|
|
|
46
46
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
47
47
|
import "../../shared-utils/three/core/Sphere.js";
|
|
48
48
|
import "animejs";
|
|
49
|
-
import { waitFiveModelLoaded as
|
|
50
|
-
import { nextFrame as
|
|
49
|
+
import { waitFiveModelLoaded as x } from "../../shared-utils/five/fiveModelLoad.js";
|
|
50
|
+
import { nextFrame as Q } from "../../shared-utils/animationFrame/index.js";
|
|
51
51
|
import "../../shared-utils/five/FivePuppet.js";
|
|
52
|
-
import { DebugUtil as
|
|
53
|
-
import { safeObj as
|
|
54
|
-
import { PointTag as
|
|
55
|
-
import { ModelTag as
|
|
56
|
-
import { PlaneTag as
|
|
57
|
-
import
|
|
58
|
-
import { fiveEveryReadyListener as
|
|
59
|
-
import { tweenProgress as
|
|
52
|
+
import { DebugUtil as $ } from "../utils/DebugUtil.js";
|
|
53
|
+
import { safeObj as D } from "../../shared-utils/safeObj.js";
|
|
54
|
+
import { PointTag as j } from "./Tag/PointTag.js";
|
|
55
|
+
import { ModelTag as W } from "./Tag/ModelTag.js";
|
|
56
|
+
import { PlaneTag as q } from "./Tag/PlaneTag.js";
|
|
57
|
+
import H from "../Components/TagContainer.js";
|
|
58
|
+
import { fiveEveryReadyListener as J } from "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
59
|
+
import { tweenProgress as Z } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
60
60
|
import "../Components/Tag/index.js";
|
|
61
61
|
import "../../vendor/svelte/internal/index.js";
|
|
62
62
|
import "../Components/Tag/TextTag/index.js";
|
|
@@ -215,25 +215,28 @@ import "../../base/BasePlugin.js";
|
|
|
215
215
|
import "../utils/addDebugPoints.js";
|
|
216
216
|
import "../Components/TagItem.js";
|
|
217
217
|
import "../Components/Common/TagPoint.js";
|
|
218
|
-
const
|
|
219
|
-
class
|
|
218
|
+
const S = "Dnalogel-PanoTagPlugin", Po = (d) => `${S}--${d}`;
|
|
219
|
+
class Ao extends V {
|
|
220
220
|
constructor(e, t) {
|
|
221
221
|
super(e);
|
|
222
222
|
/** state */
|
|
223
223
|
p(this, "state", { enabled: !0, visible: !0 });
|
|
224
224
|
/** debug */
|
|
225
225
|
p(this, "debug");
|
|
226
|
-
p(this, "debugUtil", new
|
|
226
|
+
p(this, "debugUtil", new $(this));
|
|
227
|
+
p(this, "timeoutIds", []);
|
|
227
228
|
/** 更改 tag 模型 */
|
|
228
|
-
p(this, "changeTagModel", (e, t) =>
|
|
229
|
+
p(this, "changeTagModel", (e, t) => m(this, null, function* () {
|
|
229
230
|
var i;
|
|
230
|
-
e.data =
|
|
231
|
+
e.data = c({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
|
|
231
232
|
}));
|
|
232
233
|
p(this, "handleFiveModeChange", (e) => {
|
|
233
234
|
const t = () => {
|
|
234
235
|
this.tags.forEach((i) => {
|
|
235
|
-
i.state.visible = !1, i.applyVisible()
|
|
236
|
-
|
|
236
|
+
i.state.visible = !1, i.applyVisible();
|
|
237
|
+
}), this.five.ready().then(() => {
|
|
238
|
+
this.tagsDo(this.tags, (i) => {
|
|
239
|
+
i.updateVisible(), L(i) && e !== "Panorama" && this.changeTagMode(i, "behind");
|
|
237
240
|
});
|
|
238
241
|
});
|
|
239
242
|
};
|
|
@@ -261,40 +264,58 @@ class Co extends B {
|
|
|
261
264
|
this.five.off("render.prepare", this.handleFiveCameraUpdate);
|
|
262
265
|
}, 1e3);
|
|
263
266
|
});
|
|
264
|
-
p(this, "handleFivePanoArrived", () =>
|
|
267
|
+
p(this, "handleFivePanoArrived", () => m(this, null, function* () {
|
|
265
268
|
this.tags.forEach((e) => {
|
|
266
|
-
e.state.visible = !1, e.temporaryState =
|
|
267
|
-
}), this.
|
|
269
|
+
e.state.visible = !1, e.temporaryState = v(g({}, e.temporaryState), { visible: !0 }), e.applyVisible();
|
|
270
|
+
}), this.tagsDo(this.tags, (e) => {
|
|
271
|
+
e.updateVisible();
|
|
272
|
+
}), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(_).filter((e) => {
|
|
268
273
|
var t;
|
|
269
274
|
return (t = e.getConfig().modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
270
275
|
}).forEach((e) => {
|
|
271
|
-
var
|
|
272
|
-
const t = new
|
|
276
|
+
var a;
|
|
277
|
+
const t = new b.Mesh(new b.BoxGeometry(), new b.MeshBasicMaterial()), i = (a = e.model) == null ? void 0 : a.object;
|
|
273
278
|
if (!i)
|
|
274
279
|
return;
|
|
275
280
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
276
281
|
const o = this.five.camera.position;
|
|
277
282
|
t.lookAt(o.clone().setY(t.position.y));
|
|
278
|
-
const
|
|
279
|
-
|
|
280
|
-
i.quaternion.copy(
|
|
281
|
-
}),
|
|
283
|
+
const n = i.quaternion.clone(), r = t.quaternion.clone(), s = Z();
|
|
284
|
+
s.onUpdate(({ progress: l }) => {
|
|
285
|
+
i.quaternion.copy(n.clone().slerp(r, l));
|
|
286
|
+
}), s.play();
|
|
282
287
|
});
|
|
283
288
|
}));
|
|
289
|
+
p(this, "tagsDo", (e, t) => {
|
|
290
|
+
const i = this.five.camera.position, o = (e != null ? e : this.tags).sort((s, a) => {
|
|
291
|
+
let l;
|
|
292
|
+
Array.isArray(s.position[0]) ? l = s.position[0] : l = s.position;
|
|
293
|
+
let u;
|
|
294
|
+
Array.isArray(a.position[0]) ? u = a.position[0] : u = a.position;
|
|
295
|
+
const P = f(l[0] - i.x, 2) + f(l[1] - i.y, 2) + f(l[2] - i.z, 2), A = f(u[0] - i.x, 2) + f(u[1] - i.y, 2) + f(u[2] - i.z, 2);
|
|
296
|
+
return P - A;
|
|
297
|
+
});
|
|
298
|
+
this.timeoutIds.forEach((s) => clearTimeout(s));
|
|
299
|
+
const r = o.length > 1e3 ? 30 : 17;
|
|
300
|
+
for (let s = 0; s < o.length; s++) {
|
|
301
|
+
const a = o[s], l = setTimeout(() => t(a), s * r);
|
|
302
|
+
this.timeoutIds.push(l);
|
|
303
|
+
}
|
|
304
|
+
});
|
|
284
305
|
/** 楼层切换时,需要更新标签可见性 */
|
|
285
306
|
p(this, "handleFiveModelShownFloorChange", () => {
|
|
286
|
-
this.tags
|
|
307
|
+
this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
287
308
|
});
|
|
288
309
|
p(this, "onFiveEveryReady", () => {
|
|
289
|
-
this.setUnfoldedByCamera(),
|
|
310
|
+
this.setUnfoldedByCamera(), z(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
290
311
|
});
|
|
291
312
|
p(this, "render", () => {
|
|
292
313
|
this.renderQueue.forEach((e, t) => {
|
|
293
314
|
const { keys: i } = e;
|
|
294
315
|
if (t === "TagContainerSvelte") {
|
|
295
|
-
const
|
|
316
|
+
const n = this.filterPointTag.filter((s) => s.screenPosition), r = {
|
|
296
317
|
hooks: this.hooks,
|
|
297
|
-
tags:
|
|
318
|
+
tags: n,
|
|
298
319
|
state: this.state,
|
|
299
320
|
temporaryState: this.temporaryState,
|
|
300
321
|
mediaStore: this.mediaStore,
|
|
@@ -303,30 +324,30 @@ class Co extends B {
|
|
|
303
324
|
zIndex: this.params.containerZIndex
|
|
304
325
|
};
|
|
305
326
|
if (this.TagContainerSvelte) {
|
|
306
|
-
let
|
|
327
|
+
let s = {};
|
|
307
328
|
if (i.length === 0)
|
|
308
|
-
|
|
329
|
+
s = r;
|
|
309
330
|
else
|
|
310
|
-
for (const
|
|
311
|
-
|
|
312
|
-
this.TagContainerSvelte.$set(
|
|
331
|
+
for (const a of i)
|
|
332
|
+
s[a] = r[a];
|
|
333
|
+
this.TagContainerSvelte.$set(s);
|
|
313
334
|
} else {
|
|
314
335
|
if (!this.container)
|
|
315
336
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
316
|
-
this.TagContainerSvelte = new
|
|
337
|
+
this.TagContainerSvelte = new H({
|
|
317
338
|
target: this.container,
|
|
318
|
-
props:
|
|
319
|
-
}),
|
|
320
|
-
var
|
|
321
|
-
(
|
|
339
|
+
props: v(g({}, r), { state: v(g({}, this.state), { enabled: !1 }) })
|
|
340
|
+
}), Q(() => {
|
|
341
|
+
var s;
|
|
342
|
+
(s = this.TagContainerSvelte) == null || s.$set({ state: this.state });
|
|
322
343
|
});
|
|
323
344
|
}
|
|
324
345
|
}
|
|
325
346
|
}), this.renderQueue.clear();
|
|
326
347
|
});
|
|
327
|
-
this.params =
|
|
348
|
+
this.params = c({}, { debug: !1, config: this.config }, g({}, t)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), G(1, { namespace: N.PlayAudio });
|
|
328
349
|
try {
|
|
329
|
-
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME =
|
|
350
|
+
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = S + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
|
|
330
351
|
get: function() {
|
|
331
352
|
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((i, o) => o.tags.length - i.tags.length)[0];
|
|
332
353
|
}
|
|
@@ -335,23 +356,23 @@ class Co extends B {
|
|
|
335
356
|
}
|
|
336
357
|
}
|
|
337
358
|
appendTo(e) {
|
|
338
|
-
var i, o,
|
|
359
|
+
var i, o, n, r;
|
|
339
360
|
this.debugUtil.addLog("appendTo"), this.container = e, (i = this.css3DRenderPlugin) == null || i.appendToFrontFiveContainer(this.container);
|
|
340
|
-
const t = (
|
|
341
|
-
t && t !== this.container && ((
|
|
361
|
+
const t = (n = (o = this.TagContainerSvelte) == null ? void 0 : o.$$) == null ? void 0 : n.root;
|
|
362
|
+
t && t !== this.container && ((r = this.TagContainerSvelte) == null || r.$destroy(), this.TagContainerSvelte = void 0);
|
|
342
363
|
}
|
|
343
364
|
/**
|
|
344
365
|
* @description 加载数据
|
|
345
366
|
*/
|
|
346
367
|
load(e) {
|
|
347
|
-
return
|
|
368
|
+
return m(this, null, function* () {
|
|
348
369
|
var i, o;
|
|
349
370
|
this.clearTags();
|
|
350
371
|
try {
|
|
351
372
|
console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
|
|
352
|
-
} catch (
|
|
373
|
+
} catch (n) {
|
|
353
374
|
}
|
|
354
|
-
this.config =
|
|
375
|
+
this.config = c({}, this.config, {
|
|
355
376
|
globalConfig: (i = e.globalConfig) != null ? i : {},
|
|
356
377
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
357
378
|
});
|
|
@@ -363,22 +384,22 @@ class Co extends B {
|
|
|
363
384
|
* @description 添加标签
|
|
364
385
|
*/
|
|
365
386
|
addTag(e) {
|
|
366
|
-
return
|
|
387
|
+
return m(this, null, function* () {
|
|
367
388
|
const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
368
|
-
const
|
|
369
|
-
if (
|
|
370
|
-
return new
|
|
371
|
-
if (
|
|
372
|
-
return new
|
|
373
|
-
if (
|
|
374
|
-
return new
|
|
389
|
+
const n = O(o);
|
|
390
|
+
if (n === "2DPoint" || n === "3DPoint")
|
|
391
|
+
return new j(this, o);
|
|
392
|
+
if (n === "Model")
|
|
393
|
+
return new W(this, o);
|
|
394
|
+
if (n === "Plane")
|
|
395
|
+
return new q(this, o);
|
|
375
396
|
});
|
|
376
|
-
return i.forEach(
|
|
377
|
-
var o,
|
|
378
|
-
this.store.eventListenerDisposer && ((
|
|
379
|
-
this.tags.includes(
|
|
380
|
-
this.tags.includes(
|
|
381
|
-
}),
|
|
397
|
+
return i.forEach(B), this.tags.push(...i), this.tagsLengthWillUpdate = !0, x(this.five).then(() => m(this, null, function* () {
|
|
398
|
+
var o, n;
|
|
399
|
+
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (r) => {
|
|
400
|
+
this.tags.includes(r) && (r.stickType === "Model" && r.loadModel().then(() => {
|
|
401
|
+
this.tags.includes(r) && r.updateVisible();
|
|
402
|
+
}), r.updateVisible(), r.updateZIndex());
|
|
382
403
|
}), this.setUnfolded(), this.addRenderQueue({ type: "TagContainerSvelte" }), this.hooks.emit("tagsLengthChange");
|
|
383
404
|
}));
|
|
384
405
|
});
|
|
@@ -387,28 +408,34 @@ class Co extends B {
|
|
|
387
408
|
* @description 改变配置
|
|
388
409
|
*/
|
|
389
410
|
changeConfig(e, t = !0) {
|
|
390
|
-
t ? this.config =
|
|
391
|
-
i.updateConfig()
|
|
411
|
+
t ? this.config = c({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
|
|
412
|
+
i.updateConfig();
|
|
413
|
+
}), this.tagsDo(this.tags, (i) => {
|
|
414
|
+
i.updateVisible();
|
|
392
415
|
});
|
|
393
416
|
}
|
|
394
417
|
/**
|
|
395
418
|
* @description 改变全局配置
|
|
396
419
|
*/
|
|
397
420
|
changeGlobalConfig(e, t = !0) {
|
|
398
|
-
t ? this.config.globalConfig =
|
|
399
|
-
i.updateConfig()
|
|
421
|
+
t ? this.config.globalConfig = c({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
|
|
422
|
+
i.updateConfig();
|
|
423
|
+
}), this.tagsDo(this.tags, (i) => {
|
|
424
|
+
i.updateVisible();
|
|
400
425
|
});
|
|
401
426
|
}
|
|
402
427
|
/**
|
|
403
428
|
* @description 改变类型配置
|
|
404
429
|
*/
|
|
405
430
|
changeContentTypeConfig(e, t, i = !0) {
|
|
406
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] =
|
|
407
|
-
o.updateConfig()
|
|
431
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = c({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
|
|
432
|
+
o.updateConfig();
|
|
433
|
+
}), this.tagsDo(this.tags, (o) => {
|
|
434
|
+
o.updateVisible();
|
|
408
435
|
});
|
|
409
436
|
}
|
|
410
437
|
show(e) {
|
|
411
|
-
return
|
|
438
|
+
return m(this, null, function* () {
|
|
412
439
|
if (this.checkDisposed())
|
|
413
440
|
return;
|
|
414
441
|
const { userAction: t = !0 } = e != null ? e : {};
|
|
@@ -416,7 +443,7 @@ class Co extends B {
|
|
|
416
443
|
});
|
|
417
444
|
}
|
|
418
445
|
hide(e) {
|
|
419
|
-
return
|
|
446
|
+
return m(this, null, function* () {
|
|
420
447
|
if (this.checkDisposed())
|
|
421
448
|
return;
|
|
422
449
|
const { userAction: t = !0 } = e != null ? e : {};
|
|
@@ -438,18 +465,18 @@ class Co extends B {
|
|
|
438
465
|
setState(e, t) {
|
|
439
466
|
if (this.checkDisposed())
|
|
440
467
|
return;
|
|
441
|
-
const { userAction: i = !0 } = t != null ? t : {}, o =
|
|
468
|
+
const { userAction: i = !0 } = t != null ? t : {}, o = g({}, this.state);
|
|
442
469
|
this.state = Object.assign(this.state, e), o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
|
|
443
470
|
}
|
|
444
471
|
/**
|
|
445
472
|
* @description 销毁
|
|
446
473
|
*/
|
|
447
474
|
dispose() {
|
|
448
|
-
var e, t, i, o,
|
|
449
|
-
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((
|
|
450
|
-
var
|
|
451
|
-
return (
|
|
452
|
-
}), this.tags.forEach((
|
|
475
|
+
var e, t, i, o, n, r;
|
|
476
|
+
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((s) => {
|
|
477
|
+
var a;
|
|
478
|
+
return (a = s.tag3DContentSvelte) == null ? void 0 : a.svelteApp.$destroy();
|
|
479
|
+
}), this.tags.forEach((s) => s.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((s) => s == null ? void 0 : s()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (r = (n = this.store).resizeObserverDisposer) == null || r.call(n), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
|
|
453
480
|
}
|
|
454
481
|
/**
|
|
455
482
|
* @description 闪烁标签
|
|
@@ -457,7 +484,7 @@ class Co extends B {
|
|
|
457
484
|
* @param {Partial<anime.AnimeParams>} animeConfig
|
|
458
485
|
*/
|
|
459
486
|
blinkTagById(e, t) {
|
|
460
|
-
return
|
|
487
|
+
return m(this, null, function* () {
|
|
461
488
|
var i;
|
|
462
489
|
return (i = this.getTagById(e)) == null ? void 0 : i.blink(t);
|
|
463
490
|
});
|
|
@@ -488,7 +515,7 @@ class Co extends B {
|
|
|
488
515
|
*/
|
|
489
516
|
changeTagNormalById(e, t) {
|
|
490
517
|
const i = this.getTagById(e);
|
|
491
|
-
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal =
|
|
518
|
+
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = M(t));
|
|
492
519
|
}
|
|
493
520
|
/**
|
|
494
521
|
* @description 改变data
|
|
@@ -530,7 +557,7 @@ class Co extends B {
|
|
|
530
557
|
* @deprecated
|
|
531
558
|
*/
|
|
532
559
|
updateRenderAllTags() {
|
|
533
|
-
this.tags
|
|
560
|
+
this.tagsDo(this.tags, (e) => e.updateVisible()), this.five.needsRender = !0;
|
|
534
561
|
}
|
|
535
562
|
/**
|
|
536
563
|
* @description 清除所有标签
|
|
@@ -538,15 +565,15 @@ class Co extends B {
|
|
|
538
565
|
clearTags() {
|
|
539
566
|
var e;
|
|
540
567
|
this.tags.length && (this.tags.forEach((t) => {
|
|
541
|
-
var i, o,
|
|
542
|
-
(o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (
|
|
568
|
+
var i, o, n, r, s;
|
|
569
|
+
(o = (i = t.mediaPlane) == null ? void 0 : i.parent) == null || o.remove(t.mediaPlane), (s = (r = (n = t.model) == null ? void 0 : n.object) == null ? void 0 : r.parent) == null || s.remove(t.model.object);
|
|
543
570
|
}), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
|
|
544
571
|
}
|
|
545
572
|
/**
|
|
546
573
|
* @description 设置 unfolded
|
|
547
574
|
*/
|
|
548
575
|
setUnfolded() {
|
|
549
|
-
return
|
|
576
|
+
return m(this, null, function* () {
|
|
550
577
|
return new Promise((e) => {
|
|
551
578
|
setTimeout(() => {
|
|
552
579
|
this.setUnfoldedByCamera(), e();
|
|
@@ -569,8 +596,8 @@ class Co extends B {
|
|
|
569
596
|
handleDisable() {
|
|
570
597
|
var e, t, i;
|
|
571
598
|
this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((o) => {
|
|
572
|
-
var
|
|
573
|
-
(
|
|
599
|
+
var n;
|
|
600
|
+
(n = o.tag3DContentSvelte) == null || n.dispose(), o.tag3DContentSvelte = void 0;
|
|
574
601
|
}), this.five.needsRender = !0;
|
|
575
602
|
}
|
|
576
603
|
addResizeListener() {
|
|
@@ -585,20 +612,20 @@ class Co extends B {
|
|
|
585
612
|
if (this.store.disposed)
|
|
586
613
|
return;
|
|
587
614
|
const e = this.five.getElement(), t = () => {
|
|
588
|
-
this.state.enabled && (this.filterPointTag.forEach((
|
|
615
|
+
this.state.enabled && (this.filterPointTag.forEach((a) => a.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
589
616
|
}, i = () => {
|
|
590
617
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
591
|
-
}, { observe: o, unobserve:
|
|
592
|
-
|
|
618
|
+
}, { observe: o, unobserve: n } = C(
|
|
619
|
+
R(() => {
|
|
593
620
|
this.store.resizeObserverDisposer && i();
|
|
594
621
|
}, 500),
|
|
595
622
|
e
|
|
596
|
-
), { observe:
|
|
597
|
-
|
|
623
|
+
), { observe: r, unobserve: s } = C(
|
|
624
|
+
I(() => t(), 400),
|
|
598
625
|
e
|
|
599
626
|
);
|
|
600
|
-
return o(),
|
|
601
|
-
|
|
627
|
+
return o(), r(), () => {
|
|
628
|
+
n(), s();
|
|
602
629
|
};
|
|
603
630
|
}
|
|
604
631
|
setUnfoldedByCamera() {
|
|
@@ -608,31 +635,31 @@ class Co extends B {
|
|
|
608
635
|
if (t.state && i !== void 0) {
|
|
609
636
|
if (i === !0 && t.screenPosition) {
|
|
610
637
|
const o = t.getConfig().unfoldedConfig;
|
|
611
|
-
|
|
638
|
+
D(o).keep !== "unfolded" && (e = !0);
|
|
612
639
|
}
|
|
613
640
|
t.state.unfolded = i;
|
|
614
641
|
}
|
|
615
642
|
}), e && this.filterPointTag.forEach((t) => {
|
|
616
643
|
const i = t.getConfig().unfoldedConfig;
|
|
617
|
-
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 ||
|
|
644
|
+
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 || D(i.autoUnfold).enable === !1 || i.keep) || t.state && (t.state.unfolded = !1);
|
|
618
645
|
});
|
|
619
646
|
}
|
|
620
647
|
changeTagMode(e, t) {
|
|
621
|
-
var i, o,
|
|
622
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((
|
|
648
|
+
var i, o, n, r, s, a;
|
|
649
|
+
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((r = (n = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : n.css3DObject) == null ? void 0 : r.mode) !== t && ((s = e.config) != null && s.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (a = this.store.css3DRenderDisposer.get(e.id)) == null || a.forEach((l) => l == null ? void 0 : l()), e.tag3DContentSvelte = void 0);
|
|
623
650
|
}
|
|
624
651
|
/**
|
|
625
652
|
* @description 添加 cameraUpdate, panoArrived 等事件监听
|
|
626
653
|
*/
|
|
627
654
|
addEventListener() {
|
|
628
|
-
const { five: e, hooks: t } = this, i =
|
|
655
|
+
const { five: e, hooks: t } = this, i = J(this.five, this.onFiveEveryReady);
|
|
629
656
|
return this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.handleFiveModeChange), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), e.on("render.prepare", this.render), t.on("click", this.clickhandler), () => {
|
|
630
657
|
i(), e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.handleFiveModeChange), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), e.off("render.prepare", this.render), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
|
|
631
658
|
};
|
|
632
659
|
}
|
|
633
660
|
}
|
|
634
661
|
export {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
662
|
+
Ao as PanoTagPluginController,
|
|
663
|
+
Ao as default,
|
|
664
|
+
Po as pluginFlag
|
|
638
665
|
};
|
|
@@ -1,41 +1,33 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var e in i || (i = {}))
|
|
7
|
-
c.call(i, e) && n(t, e, i[e]);
|
|
8
|
-
if (h)
|
|
9
|
-
for (var e of h(i))
|
|
10
|
-
d.call(i, e) && n(t, e, i[e]);
|
|
11
|
-
return t;
|
|
12
|
-
}, L = (t, i) => f(t, m(i));
|
|
13
|
-
var p = (t, i) => {
|
|
1
|
+
var c = Object.defineProperty;
|
|
2
|
+
var r = Object.getOwnPropertySymbols;
|
|
3
|
+
var u = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var P = (i, s, e) => s in i ? c(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e;
|
|
5
|
+
var l = (i, s) => {
|
|
14
6
|
var e = {};
|
|
15
|
-
for (var
|
|
16
|
-
|
|
17
|
-
if (
|
|
18
|
-
for (var
|
|
19
|
-
|
|
7
|
+
for (var t in i)
|
|
8
|
+
u.call(i, t) && s.indexOf(t) < 0 && (e[t] = i[t]);
|
|
9
|
+
if (i != null && r)
|
|
10
|
+
for (var t of r(i))
|
|
11
|
+
s.indexOf(t) < 0 && L.call(i, t) && (e[t] = i[t]);
|
|
20
12
|
return e;
|
|
21
13
|
};
|
|
22
|
-
var
|
|
23
|
-
import { CircleMesh as
|
|
24
|
-
import { LineMesh as
|
|
25
|
-
class
|
|
14
|
+
var d = (i, s, e) => (P(i, typeof s != "symbol" ? s + "" : s, e), e);
|
|
15
|
+
import { CircleMesh as p } from "./Circle.js";
|
|
16
|
+
import { LineMesh as y } from "./Line.js";
|
|
17
|
+
class S extends p {
|
|
26
18
|
constructor(e) {
|
|
27
|
-
const
|
|
28
|
-
super(
|
|
29
|
-
|
|
30
|
-
this.edgeLine = new
|
|
19
|
+
const o = e != null ? e : {}, { normal: t, radius: h, center: n } = o, g = l(o, ["normal", "radius", "center"]);
|
|
20
|
+
super(g);
|
|
21
|
+
d(this, "edgeLine");
|
|
22
|
+
this.edgeLine = new y(g), this.add(this.edgeLine), t && h && n && this.setPoints({ normal: t, radius: h, center: n });
|
|
31
23
|
}
|
|
32
24
|
setPoints(...e) {
|
|
33
25
|
super.setPoints(...e);
|
|
34
|
-
const
|
|
35
|
-
this.edgeLine.setPoints(
|
|
26
|
+
const t = this.meshFont.geometry.vertices.slice(1);
|
|
27
|
+
this.edgeLine.setPoints(t.concat(t[0]));
|
|
36
28
|
}
|
|
37
29
|
setStyle(e) {
|
|
38
|
-
super.setStyle(e), this.edgeLine.setStyle(
|
|
30
|
+
super.setStyle(e), this.edgeLine.setStyle(e);
|
|
39
31
|
}
|
|
40
32
|
highlight() {
|
|
41
33
|
super.highlight(), this.edgeLine.highlight();
|
|
@@ -45,5 +37,5 @@ class w extends M {
|
|
|
45
37
|
}
|
|
46
38
|
}
|
|
47
39
|
export {
|
|
48
|
-
|
|
40
|
+
S as CircleWithEdgeMesh
|
|
49
41
|
};
|
|
@@ -16,7 +16,7 @@ export declare class LineMesh extends IObject3D {
|
|
|
16
16
|
points: THREE.Vector3[];
|
|
17
17
|
doms: LightTag[];
|
|
18
18
|
get style(): LineMeshStyle;
|
|
19
|
-
get
|
|
19
|
+
get lineOpacity(): number;
|
|
20
20
|
get lineWidth(): number;
|
|
21
21
|
get color(): THREE.Color;
|
|
22
22
|
get dashed(): boolean;
|