@realsee/dnalogel 3.66.0-alpha.13 → 3.66.0-alpha.15
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 +4 -0
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +4 -3
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -3
- package/dist/PanoTagPlugin/controller/index.d.ts +18 -0
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -0
- package/dist/PanoTagPlugin/utils/popoverContainer.d.ts +1 -0
- package/dist/index.cjs.js +73 -73
- package/dist/index.js +11481 -11355
- package/dist/index.umd.js +65 -65
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +39 -29
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.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.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- 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 +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/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.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +21 -20
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- 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/SculptType.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/GuideLinePluginType.RouteConfig.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/MeasurePluginConfig.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 +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- 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/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +3 -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/TagPlacement.html +2 -2
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- 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/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +39 -31
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +107 -93
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +428 -351
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +270 -258
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +232 -253
- package/libs/PanoTagPlugin/Components/Tag/index.js +241 -254
- package/libs/PanoTagPlugin/Components/TagContainer.js +102 -88
- package/libs/PanoTagPlugin/Components/TagItem.js +310 -323
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +4 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +250 -265
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -3
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +26 -30
- package/libs/PanoTagPlugin/controller/index.d.ts +18 -0
- package/libs/PanoTagPlugin/controller/index.js +161 -132
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/tag.config.js +12 -0
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -0
- package/libs/PanoTagPlugin/utils/popoverContainer.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/popoverContainer.js +15 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +146 -145
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
var P = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var P = Object.defineProperty, E = Object.defineProperties;
|
|
2
|
+
var U = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var v = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var A = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var g = (d, a, e) => a in d ? P(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, f = (d, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
|
-
|
|
7
|
+
A.call(a, e) && g(d, e, a[e]);
|
|
8
8
|
if (v)
|
|
9
9
|
for (var e of v(a))
|
|
10
10
|
k.call(a, e) && g(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
|
-
}, c = (d, a) =>
|
|
12
|
+
}, c = (d, a) => E(d, U(a));
|
|
13
13
|
var p = (d, a, e) => (g(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
|
-
var l = (d, a, e) => new Promise((
|
|
14
|
+
var l = (d, a, e) => new Promise((t, i) => {
|
|
15
15
|
var o = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
n(e.next(r));
|
|
18
18
|
} catch (h) {
|
|
19
|
-
|
|
19
|
+
i(h);
|
|
20
20
|
}
|
|
21
21
|
}, s = (r) => {
|
|
22
22
|
try {
|
|
23
23
|
n(e.throw(r));
|
|
24
24
|
} catch (h) {
|
|
25
|
-
|
|
25
|
+
i(h);
|
|
26
26
|
}
|
|
27
|
-
}, n = (r) => r.done ?
|
|
27
|
+
}, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(o, s);
|
|
28
28
|
n((e = e.apply(d, a)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as u from "three";
|
|
@@ -32,17 +32,17 @@ import { objectAssignDeepExports as m } from "../../vendor/object-assign-deep/ob
|
|
|
32
32
|
import { arrayPositionToVector3 as F } from "../../shared-utils/positionToVector3.js";
|
|
33
33
|
import { isModelTag as w, isMediaModelTag as _ } from "../utils/tag/tagCheck.js";
|
|
34
34
|
import { debounce as b } from "../utils/debounce.js";
|
|
35
|
-
import { throttle as
|
|
36
|
-
import
|
|
37
|
-
import { generateBlankAudio as B, AudioNamespace as
|
|
35
|
+
import { throttle as I } from "../utils/throttle.js";
|
|
36
|
+
import L, { getTagStickType as M } from "../utils/tag/format.js";
|
|
37
|
+
import { generateBlankAudio as B, AudioNamespace as G } from "../../shared-utils/audio.js";
|
|
38
38
|
import { resizeObserver as y } from "../../shared-utils/dom/resizeObserver.js";
|
|
39
|
-
import { TagRender as
|
|
39
|
+
import { TagRender as O } from "./TagRender.js";
|
|
40
40
|
import "../../shared-utils/tag.js";
|
|
41
41
|
import { isModelLike as T } from "../../shared-utils/five/mode.js";
|
|
42
42
|
import "../../vendor/hammerjs/hammer.js";
|
|
43
43
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
44
44
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
45
|
-
import { waitFiveModelLoaded as
|
|
45
|
+
import { waitFiveModelLoaded as R } from "../../shared-utils/five/fiveModelLoad.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
47
47
|
import "@realsee/five/line";
|
|
48
48
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -58,8 +58,8 @@ import { PointTag as z } from "./Tag/PointTag.js";
|
|
|
58
58
|
import { ModelTag as j } from "./Tag/ModelTag.js";
|
|
59
59
|
import { PlaneTag as Q } from "./Tag/PlaneTag.js";
|
|
60
60
|
import $ from "../Components/TagContainer.js";
|
|
61
|
-
import { fiveEveryReadyListener as
|
|
62
|
-
import { tweenProgress as
|
|
61
|
+
import { fiveEveryReadyListener as H } from "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
62
|
+
import { tweenProgress as x } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
63
63
|
import "./TagUtil.js";
|
|
64
64
|
import "../typings/tag/TagConfig.js";
|
|
65
65
|
import "../tag.config.js";
|
|
@@ -228,40 +228,43 @@ import "../Components/Common/TagPopover/PanoramaIcon.js";
|
|
|
228
228
|
import "../Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
229
229
|
import "../Components/Common/TagPopover/ArrowRightIcon.js";
|
|
230
230
|
import "../Components/Common/TagPopover/ShareIcon.js";
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
import "../utils/popoverContainer.js";
|
|
232
|
+
const S = "Dnalogel-PanoTagPlugin", Mo = (d) => `${S}--${d}`;
|
|
233
|
+
class Bo extends O {
|
|
234
|
+
constructor(e, t) {
|
|
234
235
|
super(e);
|
|
235
236
|
/** state */
|
|
236
237
|
p(this, "state", { enabled: !0, visible: !0 });
|
|
237
238
|
/** debug */
|
|
238
239
|
p(this, "debug");
|
|
239
240
|
p(this, "debugUtil", new V(this));
|
|
241
|
+
/** 全局 hover 启用状态,默认 true */
|
|
242
|
+
p(this, "globalHoverEnabled", !0);
|
|
240
243
|
/** 更改 tag 模型 */
|
|
241
|
-
p(this, "changeTagModel", (e,
|
|
242
|
-
var
|
|
243
|
-
e.data = m({}, e.data,
|
|
244
|
+
p(this, "changeTagModel", (e, t) => l(this, null, function* () {
|
|
245
|
+
var i;
|
|
246
|
+
e.data = m({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
|
|
244
247
|
}));
|
|
245
248
|
p(this, "handleFiveModeChange", (e) => {
|
|
246
|
-
const
|
|
247
|
-
this.filter2DPointTag.forEach((
|
|
248
|
-
|
|
249
|
+
const t = () => {
|
|
250
|
+
this.filter2DPointTag.forEach((i) => {
|
|
251
|
+
i.state.visible = !1, i.applyVisible();
|
|
249
252
|
}), this.five.ready().then(() => {
|
|
250
|
-
this.tagsDo(this.tags, (
|
|
251
|
-
|
|
253
|
+
this.tagsDo(this.tags, (i) => {
|
|
254
|
+
i.updateVisible(), _(i) && e !== "Panorama" && this.changeTagMode(i, "behind");
|
|
252
255
|
});
|
|
253
256
|
});
|
|
254
257
|
};
|
|
255
|
-
this.tags.length < 500 ?
|
|
258
|
+
this.tags.length < 500 ? t() : this.five.ready().then(() => t());
|
|
256
259
|
});
|
|
257
260
|
p(this, "handleFiveWantsMoveToPano", (e) => {
|
|
258
261
|
if (this.tags.length > 500) {
|
|
259
262
|
this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] });
|
|
260
263
|
return;
|
|
261
264
|
} else
|
|
262
|
-
this.temporaryState.visible = !0, this.tags.forEach((
|
|
263
|
-
|
|
264
|
-
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((
|
|
265
|
+
this.temporaryState.visible = !0, this.tags.forEach((t) => {
|
|
266
|
+
t.temporaryState.visible = !0;
|
|
267
|
+
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((t) => t.applyVisible());
|
|
265
268
|
});
|
|
266
269
|
p(this, "clickhandler", (e) => {
|
|
267
270
|
e.tag.onClick(e);
|
|
@@ -280,19 +283,19 @@ class Mo extends R {
|
|
|
280
283
|
}), this.tagsDo(this.tags, (e) => {
|
|
281
284
|
e.updateVisible();
|
|
282
285
|
}), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.tags.filter(w).filter((e) => {
|
|
283
|
-
var
|
|
284
|
-
return (
|
|
286
|
+
var t;
|
|
287
|
+
return (t = e.getConfig().modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
285
288
|
}).forEach((e) => {
|
|
286
289
|
var h;
|
|
287
|
-
const
|
|
288
|
-
if (!
|
|
290
|
+
const t = new u.Mesh(new u.BoxGeometry(), new u.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
|
|
291
|
+
if (!i)
|
|
289
292
|
return;
|
|
290
|
-
|
|
293
|
+
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
291
294
|
const o = this.five.camera.position;
|
|
292
|
-
|
|
293
|
-
const s =
|
|
295
|
+
t.lookAt(o.clone().setY(t.position.y));
|
|
296
|
+
const s = i.quaternion.clone(), n = t.quaternion.clone(), r = x();
|
|
294
297
|
r.onUpdate(({ progress: D }) => {
|
|
295
|
-
|
|
298
|
+
i.quaternion.copy(s.clone().slerp(n, D));
|
|
296
299
|
}), r.play();
|
|
297
300
|
});
|
|
298
301
|
}));
|
|
@@ -307,9 +310,9 @@ class Mo extends R {
|
|
|
307
310
|
this.setUnfoldedByCamera(), T(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
308
311
|
});
|
|
309
312
|
p(this, "render", () => {
|
|
310
|
-
this.renderQueue.forEach((e,
|
|
311
|
-
const { keys:
|
|
312
|
-
if (
|
|
313
|
+
this.renderQueue.forEach((e, t) => {
|
|
314
|
+
const { keys: i } = e;
|
|
315
|
+
if (t === "TagContainerSvelte") {
|
|
313
316
|
const s = this.filterPointTag.filter((r) => r.screenPosition), n = {
|
|
314
317
|
hooks: this.hooks,
|
|
315
318
|
tags: s,
|
|
@@ -322,10 +325,10 @@ class Mo extends R {
|
|
|
322
325
|
};
|
|
323
326
|
if (this.TagContainerSvelte) {
|
|
324
327
|
let r = {};
|
|
325
|
-
if (
|
|
328
|
+
if (i.length === 0)
|
|
326
329
|
r = n;
|
|
327
330
|
else
|
|
328
|
-
for (const h of
|
|
331
|
+
for (const h of i)
|
|
329
332
|
r[h] = n[h];
|
|
330
333
|
this.TagContainerSvelte.$set(r);
|
|
331
334
|
} else {
|
|
@@ -342,39 +345,39 @@ class Mo extends R {
|
|
|
342
345
|
}
|
|
343
346
|
}), this.renderQueue.clear();
|
|
344
347
|
});
|
|
345
|
-
this.params = m({}, { debug: !1, config: this.config }, f({},
|
|
348
|
+
this.params = m({}, { debug: !1, config: this.config }, f({}, t)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), B(1, { namespace: G.PlayAudio });
|
|
346
349
|
try {
|
|
347
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__", {
|
|
348
351
|
get: function() {
|
|
349
|
-
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((
|
|
352
|
+
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((i, o) => o.tags.length - i.tags.length)[0];
|
|
350
353
|
}
|
|
351
354
|
});
|
|
352
|
-
} catch (
|
|
355
|
+
} catch (i) {
|
|
353
356
|
}
|
|
354
357
|
}
|
|
355
358
|
appendTo(e) {
|
|
356
|
-
var
|
|
359
|
+
var i, o, s;
|
|
357
360
|
this.container = e;
|
|
358
|
-
const
|
|
359
|
-
|
|
361
|
+
const t = (o = (i = this.TagContainerSvelte) == null ? void 0 : i.$$) == null ? void 0 : o.root;
|
|
362
|
+
t && t !== this.container && ((s = this.TagContainerSvelte) == null || s.$destroy(), this.TagContainerSvelte = void 0);
|
|
360
363
|
}
|
|
361
364
|
/**
|
|
362
365
|
* @description 加载数据
|
|
363
366
|
*/
|
|
364
367
|
load(e) {
|
|
365
368
|
return l(this, null, function* () {
|
|
366
|
-
var
|
|
369
|
+
var i, o;
|
|
367
370
|
this.clearTags();
|
|
368
371
|
try {
|
|
369
372
|
console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
|
|
370
373
|
} catch (s) {
|
|
371
374
|
}
|
|
372
375
|
this.config = m({}, this.config, {
|
|
373
|
-
globalConfig: (
|
|
376
|
+
globalConfig: (i = e.globalConfig) != null ? i : {},
|
|
374
377
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
375
378
|
});
|
|
376
|
-
const
|
|
377
|
-
return this.hooks.emit("loaded"),
|
|
379
|
+
const t = yield this.addTag(e.tagList);
|
|
380
|
+
return this.hooks.emit("loaded"), t;
|
|
378
381
|
});
|
|
379
382
|
}
|
|
380
383
|
/**
|
|
@@ -382,7 +385,7 @@ class Mo extends R {
|
|
|
382
385
|
*/
|
|
383
386
|
addTag(e) {
|
|
384
387
|
return l(this, null, function* () {
|
|
385
|
-
const
|
|
388
|
+
const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
386
389
|
const s = M(o);
|
|
387
390
|
if (s === "2DPoint" || s === "3DPoint")
|
|
388
391
|
return new z(this, o);
|
|
@@ -391,9 +394,9 @@ class Mo extends R {
|
|
|
391
394
|
if (s === "Plane")
|
|
392
395
|
return new Q(this, o);
|
|
393
396
|
});
|
|
394
|
-
return
|
|
397
|
+
return i.forEach(L), this.tags.push(...i), this.tagsLengthWillUpdate = !0, R(this.five).then(() => l(this, null, function* () {
|
|
395
398
|
var o, s;
|
|
396
|
-
this.store.eventListenerDisposer && ((s = (o = this.store).eventListenerDisposer) == null || s.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(
|
|
399
|
+
this.store.eventListenerDisposer && ((s = (o = this.store).eventListenerDisposer) == null || s.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (n) => {
|
|
397
400
|
this.tags.includes(n) && (n.updateVisible(), n.updateZIndex());
|
|
398
401
|
}), this.setUnfolded(), this.addRenderQueue({ type: "TagContainerSvelte" }), this.hooks.emit("tagsLengthChange");
|
|
399
402
|
}));
|
|
@@ -402,26 +405,26 @@ class Mo extends R {
|
|
|
402
405
|
/**
|
|
403
406
|
* @description 改变配置
|
|
404
407
|
*/
|
|
405
|
-
changeConfig(e,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
}), this.tagsDo(this.tags, (
|
|
408
|
+
changeConfig(e, t = !0) {
|
|
409
|
+
t ? this.config = m({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
|
|
410
|
+
i.updateConfig();
|
|
411
|
+
}), this.tagsDo(this.tags, (i) => i.updateVisible());
|
|
409
412
|
}
|
|
410
413
|
/**
|
|
411
414
|
* @description 改变全局配置
|
|
412
415
|
*/
|
|
413
|
-
changeGlobalConfig(e,
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
}), this.tagsDo(this.tags, (
|
|
417
|
-
|
|
416
|
+
changeGlobalConfig(e, t = !0) {
|
|
417
|
+
t ? this.config.globalConfig = m({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
|
|
418
|
+
i.updateConfig();
|
|
419
|
+
}), this.tagsDo(this.tags, (i) => {
|
|
420
|
+
i.updateVisible();
|
|
418
421
|
});
|
|
419
422
|
}
|
|
420
423
|
/**
|
|
421
424
|
* @description 改变类型配置
|
|
422
425
|
*/
|
|
423
|
-
changeContentTypeConfig(e,
|
|
424
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}),
|
|
426
|
+
changeContentTypeConfig(e, t, i = !0) {
|
|
427
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = m({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
|
|
425
428
|
o.updateConfig();
|
|
426
429
|
}), this.tagsDo(this.tags, (o) => {
|
|
427
430
|
o.updateVisible();
|
|
@@ -431,55 +434,55 @@ class Mo extends R {
|
|
|
431
434
|
return l(this, null, function* () {
|
|
432
435
|
if (this.checkDisposed())
|
|
433
436
|
return;
|
|
434
|
-
const { userAction:
|
|
435
|
-
this.setState({ visible: !0 }, { userAction:
|
|
437
|
+
const { userAction: t = !0 } = e != null ? e : {};
|
|
438
|
+
this.setState({ visible: !0 }, { userAction: t }), this.hooks.emit("show", { userAction: t });
|
|
436
439
|
});
|
|
437
440
|
}
|
|
438
441
|
hide(e) {
|
|
439
442
|
return l(this, null, function* () {
|
|
440
443
|
if (this.checkDisposed())
|
|
441
444
|
return;
|
|
442
|
-
const { userAction:
|
|
443
|
-
this.setState({ visible: !1 }, { userAction:
|
|
445
|
+
const { userAction: t = !0 } = e != null ? e : {};
|
|
446
|
+
this.setState({ visible: !1 }, { userAction: t }), this.hooks.emit("hide", { userAction: t });
|
|
444
447
|
});
|
|
445
448
|
}
|
|
446
449
|
enable(e) {
|
|
447
450
|
if (this.checkDisposed())
|
|
448
451
|
return;
|
|
449
|
-
const { userAction:
|
|
450
|
-
this.setState({ enabled: !0 }, { userAction:
|
|
452
|
+
const { userAction: t = !0 } = e != null ? e : {};
|
|
453
|
+
this.setState({ enabled: !0 }, { userAction: t }), this.hooks.emit("enable", { userAction: t });
|
|
451
454
|
}
|
|
452
455
|
disable(e) {
|
|
453
456
|
if (this.checkDisposed())
|
|
454
457
|
return;
|
|
455
|
-
const { userAction:
|
|
456
|
-
this.setState({ enabled: !1 }, { userAction:
|
|
458
|
+
const { userAction: t = !0 } = e != null ? e : {};
|
|
459
|
+
this.setState({ enabled: !1 }, { userAction: t }), this.hooks.emit("disable", { userAction: t });
|
|
457
460
|
}
|
|
458
|
-
setState(e,
|
|
461
|
+
setState(e, t) {
|
|
459
462
|
if (this.checkDisposed())
|
|
460
463
|
return;
|
|
461
|
-
const { userAction:
|
|
462
|
-
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:
|
|
464
|
+
const { userAction: i = !0 } = t != null ? t : {}, o = f({}, this.state);
|
|
465
|
+
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 });
|
|
463
466
|
}
|
|
464
467
|
/**
|
|
465
468
|
* @description 销毁
|
|
466
469
|
*/
|
|
467
470
|
dispose() {
|
|
468
|
-
var e,
|
|
471
|
+
var e, t, i, o, s, n;
|
|
469
472
|
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
470
473
|
var h;
|
|
471
474
|
return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
|
|
472
|
-
}), this.tags.forEach((r) => r.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (
|
|
475
|
+
}), this.tags.forEach((r) => r.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (n = (s = this.store).resizeObserverDisposer) == null || n.call(s), 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");
|
|
473
476
|
}
|
|
474
477
|
/**
|
|
475
478
|
* @description 闪烁标签
|
|
476
479
|
* @param {TagId} id
|
|
477
480
|
* @param {Partial<anime.AnimeParams>} animeConfig
|
|
478
481
|
*/
|
|
479
|
-
blinkTagById(e,
|
|
482
|
+
blinkTagById(e, t) {
|
|
480
483
|
return l(this, null, function* () {
|
|
481
|
-
var
|
|
482
|
-
return (
|
|
484
|
+
var i;
|
|
485
|
+
return (i = this.getTagById(e)) == null ? void 0 : i.blink(t);
|
|
483
486
|
});
|
|
484
487
|
}
|
|
485
488
|
/**
|
|
@@ -487,63 +490,63 @@ class Mo extends R {
|
|
|
487
490
|
* @param {TagId} id
|
|
488
491
|
* @param {boolean} unfolded
|
|
489
492
|
*/
|
|
490
|
-
changeUnfoldedById(e,
|
|
491
|
-
const
|
|
492
|
-
|
|
493
|
+
changeUnfoldedById(e, t) {
|
|
494
|
+
const i = this.getTagById(e);
|
|
495
|
+
t ? i == null || i.unfold() : i == null || i.fold();
|
|
493
496
|
}
|
|
494
497
|
/**
|
|
495
498
|
* @description 启用/停用指定id的标签
|
|
496
499
|
* @param {TagId} id
|
|
497
500
|
* @param {boolean} enabled
|
|
498
501
|
*/
|
|
499
|
-
changeEnabledById(e,
|
|
502
|
+
changeEnabledById(e, t) {
|
|
500
503
|
var o;
|
|
501
|
-
const
|
|
502
|
-
|
|
504
|
+
const i = this.getTagById(e);
|
|
505
|
+
i && (i.enabled = t, (o = i.hooks) == null || o.emit(t ? "enable" : "disable"));
|
|
503
506
|
}
|
|
504
507
|
/**
|
|
505
508
|
* @description 修改3D标签normal
|
|
506
509
|
* @param {TagId} id
|
|
507
510
|
* @param {ArrayPosition} normal
|
|
508
511
|
*/
|
|
509
|
-
changeTagNormalById(e,
|
|
510
|
-
const
|
|
511
|
-
|
|
512
|
+
changeTagNormalById(e, t) {
|
|
513
|
+
const i = this.getTagById(e);
|
|
514
|
+
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = F(t));
|
|
512
515
|
}
|
|
513
516
|
/**
|
|
514
517
|
* @description 改变data
|
|
515
518
|
*/
|
|
516
|
-
changePositionById(e,
|
|
517
|
-
const
|
|
518
|
-
|
|
519
|
+
changePositionById(e, t) {
|
|
520
|
+
const i = this.getTagById(e);
|
|
521
|
+
i && i.setPosition(t);
|
|
519
522
|
}
|
|
520
523
|
/**
|
|
521
524
|
* @description 改变data
|
|
522
525
|
*/
|
|
523
|
-
changeDataById(e,
|
|
526
|
+
changeDataById(e, t, i = !0) {
|
|
524
527
|
const o = this.getTagById(e);
|
|
525
|
-
o && (o.setData(
|
|
528
|
+
o && (o.setData(t, i), this.clearUnusedPanelTag(), o.hooks.emit("dataChanged", o.data));
|
|
526
529
|
}
|
|
527
530
|
/**
|
|
528
531
|
* @description 改变tag的stickType
|
|
529
532
|
*/
|
|
530
|
-
changeStickTypeById(e,
|
|
531
|
-
this.changeTagById(e,
|
|
533
|
+
changeStickTypeById(e, t, i = !0) {
|
|
534
|
+
this.changeTagById(e, t, i);
|
|
532
535
|
}
|
|
533
536
|
/**
|
|
534
537
|
* @description 改变tag任意属性
|
|
535
538
|
*/
|
|
536
|
-
changeTagById(e,
|
|
539
|
+
changeTagById(e, t, i = !0) {
|
|
537
540
|
const o = this.getTagById(e);
|
|
538
|
-
o && (o.set(
|
|
541
|
+
o && (o.set(t), o.updateVisible(), this.clearUnusedPanelTag(), o.hooks.emit("dataChanged", o.data));
|
|
539
542
|
}
|
|
540
543
|
/**
|
|
541
544
|
* @description 销毁tag
|
|
542
545
|
*/
|
|
543
546
|
destroyTagById(e) {
|
|
544
|
-
(Array.isArray(e) ? e : [e]).forEach((
|
|
547
|
+
(Array.isArray(e) ? e : [e]).forEach((i) => {
|
|
545
548
|
var o;
|
|
546
|
-
return (o = this.getTagById(
|
|
549
|
+
return (o = this.getTagById(i)) == null ? void 0 : o.destroy();
|
|
547
550
|
});
|
|
548
551
|
}
|
|
549
552
|
/**
|
|
@@ -557,9 +560,9 @@ class Mo extends R {
|
|
|
557
560
|
*/
|
|
558
561
|
clearTags() {
|
|
559
562
|
var e;
|
|
560
|
-
this.tags.length && (this.tags.forEach((
|
|
561
|
-
var
|
|
562
|
-
(
|
|
563
|
+
this.tags.length && (this.tags.forEach((t) => {
|
|
564
|
+
var i, o, s, n, r, h;
|
|
565
|
+
(i = t.tag3DContentSvelte) == null || i.dispose(), (s = (o = t.mediaPlane) == null ? void 0 : o.parent) == null || s.remove(t.mediaPlane), (h = (r = (n = t.model) == null ? void 0 : n.object) == null ? void 0 : r.parent) == null || h.remove(t.model.object);
|
|
563
566
|
}), 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();
|
|
564
567
|
}
|
|
565
568
|
/**
|
|
@@ -584,8 +587,8 @@ class Mo extends R {
|
|
|
584
587
|
this.state.enabled = !0, this.store.eventListenerDisposer = this.addEventListener(), this.five.scene.children.includes(this.group) || this.five.scene.add(this.group), this.five.needsRender = !0;
|
|
585
588
|
}
|
|
586
589
|
handleDisable() {
|
|
587
|
-
var e,
|
|
588
|
-
this.pauseCurrentMedia(), this.state.enabled = !1, (
|
|
590
|
+
var e, t, i;
|
|
591
|
+
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.five.needsRender = !0;
|
|
589
592
|
}
|
|
590
593
|
addResizeListener() {
|
|
591
594
|
if (!this.store.resizeObserverDisposer && !this.store.resizeObserverDisposerAdding) {
|
|
@@ -598,17 +601,17 @@ class Mo extends R {
|
|
|
598
601
|
addResizeObserver() {
|
|
599
602
|
if (this.store.disposed)
|
|
600
603
|
return;
|
|
601
|
-
const e = this.five.getElement(),
|
|
604
|
+
const e = this.five.getElement(), t = () => {
|
|
602
605
|
this.state.enabled && (this.filterPointTag.forEach((h) => h.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
603
|
-
},
|
|
606
|
+
}, i = () => {
|
|
604
607
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
605
608
|
}, { observe: o, unobserve: s } = y(
|
|
606
|
-
|
|
607
|
-
this.store.resizeObserverDisposer &&
|
|
609
|
+
I(() => {
|
|
610
|
+
this.store.resizeObserverDisposer && i();
|
|
608
611
|
}, 500),
|
|
609
612
|
e
|
|
610
613
|
), { observe: n, unobserve: r } = y(
|
|
611
|
-
b(() =>
|
|
614
|
+
b(() => t(), 400),
|
|
612
615
|
e
|
|
613
616
|
);
|
|
614
617
|
return o(), n(), () => {
|
|
@@ -617,36 +620,62 @@ class Mo extends R {
|
|
|
617
620
|
}
|
|
618
621
|
setUnfoldedByCamera() {
|
|
619
622
|
let e = !1;
|
|
620
|
-
this.filterPointTag.forEach((
|
|
621
|
-
const
|
|
622
|
-
if (
|
|
623
|
-
if (
|
|
624
|
-
const o =
|
|
623
|
+
this.filterPointTag.forEach((t) => {
|
|
624
|
+
const i = t.getUnfoldedByCamera();
|
|
625
|
+
if (t.state && i !== void 0) {
|
|
626
|
+
if (i === !0 && t.screenPosition) {
|
|
627
|
+
const o = t.getConfig().unfoldedConfig;
|
|
625
628
|
C(o).keep !== "unfolded" && (e = !0);
|
|
626
629
|
}
|
|
627
|
-
|
|
630
|
+
t.state.unfolded = i;
|
|
628
631
|
}
|
|
629
|
-
}), e && this.filterPointTag.forEach((
|
|
630
|
-
const
|
|
631
|
-
typeof
|
|
632
|
+
}), e && this.filterPointTag.forEach((t) => {
|
|
633
|
+
const i = t.getConfig().unfoldedConfig;
|
|
634
|
+
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 || C(i.autoUnfold).enable === !1 || i.keep) || t.state && (t.state.unfolded = !1);
|
|
632
635
|
});
|
|
633
636
|
}
|
|
634
|
-
changeTagMode(e,
|
|
635
|
-
var
|
|
636
|
-
(
|
|
637
|
+
changeTagMode(e, t) {
|
|
638
|
+
var i;
|
|
639
|
+
(i = e.tag3DContentSvelte) != null && i.css3DInstance && (e.tag3DContentSvelte.css3DInstance.mode = t);
|
|
637
640
|
}
|
|
638
641
|
/**
|
|
639
642
|
* @description 添加 cameraUpdate, panoArrived 等事件监听
|
|
640
643
|
*/
|
|
641
644
|
addEventListener() {
|
|
642
|
-
const { five: e, hooks:
|
|
643
|
-
return this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveRefined), 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),
|
|
644
|
-
|
|
645
|
+
const { five: e, hooks: t } = this, i = H(this.five, this.onFiveEveryReady);
|
|
646
|
+
return this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveRefined), 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), () => {
|
|
647
|
+
i(), e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveRefined), 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;
|
|
645
648
|
};
|
|
646
649
|
}
|
|
650
|
+
/**
|
|
651
|
+
* @description 设置标签 hover 启用状态
|
|
652
|
+
*/
|
|
653
|
+
setTagHoverEnabled(e, t) {
|
|
654
|
+
const i = this.getTagById(e);
|
|
655
|
+
i && (i.hoverEnabled = t);
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* @description 获取标签 hover 启用状态
|
|
659
|
+
*/
|
|
660
|
+
getTagHoverEnabled(e) {
|
|
661
|
+
const t = this.getTagById(e);
|
|
662
|
+
return t == null ? void 0 : t.hoverEnabled;
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* 设置全局 hover 启用状态
|
|
666
|
+
*/
|
|
667
|
+
setGlobalHoverEnabled(e) {
|
|
668
|
+
this.globalHoverEnabled = e;
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* 获取全局 hover 启用状态
|
|
672
|
+
*/
|
|
673
|
+
getGlobalHoverEnabled() {
|
|
674
|
+
return this.globalHoverEnabled;
|
|
675
|
+
}
|
|
647
676
|
}
|
|
648
677
|
export {
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
678
|
+
Bo as PanoTagPluginController,
|
|
679
|
+
Bo as default,
|
|
680
|
+
Mo as pluginFlag
|
|
652
681
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as Vr } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Xr } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Zr, DimensionType as _r, PointType as $r } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -201,15 +201,16 @@ import "./Components/Common/TagPopover/PanoramaIcon.js";
|
|
|
201
201
|
import "./Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
202
202
|
import "./Components/Common/TagPopover/ArrowRightIcon.js";
|
|
203
203
|
import "./Components/Common/TagPopover/ShareIcon.js";
|
|
204
|
+
import "./utils/popoverContainer.js";
|
|
204
205
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
205
|
-
const
|
|
206
|
+
const Rr = (o, t) => new r(o, t);
|
|
206
207
|
export {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
Zr as ContentType,
|
|
209
|
+
_r as DimensionType,
|
|
210
|
+
Rr as PanoTagPlugin,
|
|
210
211
|
r as PanoTagPluginController,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
$r as PointType,
|
|
213
|
+
Rr as default,
|
|
214
|
+
Xr as defaultGlobalConfig,
|
|
215
|
+
Vr as pluginFlag
|
|
215
216
|
};
|
|
@@ -3,6 +3,13 @@ const e = {
|
|
|
3
3
|
visibleConfig: {
|
|
4
4
|
followModelVisibility: !0
|
|
5
5
|
},
|
|
6
|
+
unfoldedConfig: {
|
|
7
|
+
autoUnfold: {
|
|
8
|
+
enable: !0,
|
|
9
|
+
strategy: "MinimumDistance",
|
|
10
|
+
distance: { max: 5 }
|
|
11
|
+
}
|
|
12
|
+
},
|
|
6
13
|
tag3DConfig: {
|
|
7
14
|
ratio: 35e-4
|
|
8
15
|
},
|
|
@@ -91,6 +98,11 @@ const e = {
|
|
|
91
98
|
visibleConfig: {
|
|
92
99
|
visibleFiveMode: "all"
|
|
93
100
|
}
|
|
101
|
+
},
|
|
102
|
+
Marketing: {
|
|
103
|
+
popoverConfig: {
|
|
104
|
+
enabled: !1
|
|
105
|
+
}
|
|
94
106
|
}
|
|
95
107
|
}
|
|
96
108
|
};
|
|
@@ -48,6 +48,8 @@ export type Tag<C extends TagContentType = TagContentType, S extends StickType =
|
|
|
48
48
|
fiveState?: Partial<FiveState>;
|
|
49
49
|
/** 样式 */
|
|
50
50
|
style?: TagStyle;
|
|
51
|
+
/** 是否启用 hover 行为,默认 true */
|
|
52
|
+
hoverEnabled?: boolean;
|
|
51
53
|
} & (S extends '3DPoint' ? {
|
|
52
54
|
normal: Position;
|
|
53
55
|
} : unknown) & (S extends 'Model' ? {
|