@realsee/dnalogel 3.66.0-alpha.8 → 3.66.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 +14 -2
- package/dist/MeasurePlugin/Controller.d.ts +10 -0
- package/dist/MeasurePlugin/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +8 -1
- package/dist/PanoTagPlugin/Components/Common/Icon/tag-popover-arrow-base64.d.ts +8 -0
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +12 -0
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -3
- package/dist/PanoTagPlugin/controller/index.d.ts +18 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +2 -0
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +26 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
- package/dist/PanoTagPlugin/utils/index.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/popoverContainer.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/videoHelper.d.ts +45 -0
- package/dist/Sculpt/Meshes/Line.d.ts +3 -0
- package/dist/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/dist/index.cjs.js +164 -93
- package/dist/index.js +13456 -12833
- package/dist/index.umd.js +163 -92
- 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 +5 -5
- 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 +3 -3
- package/docs/interfaces/TagConfig.html +71 -61
- 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 +3 -0
- 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 +3 -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 +5 -2
- package/libs/CruisePlugin/Work.js +5 -2
- package/libs/CruisePlugin/index.js +9 -6
- package/libs/GuideLinePlugin/Controller.js +7 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
- package/libs/GuideLinePlugin/index.js +9 -6
- package/libs/MeasurePlugin/Controller.d.ts +10 -0
- package/libs/MeasurePlugin/Controller.js +175 -126
- package/libs/MeasurePlugin/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/base.js +3 -3
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +8 -1
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +128 -44
- package/libs/PanoTagPlugin/Components/Common/Icon/tag-popover-arrow-base64.d.ts +8 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/tag-popover-arrow-base64.js +11 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +91 -88
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.js +73 -61
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +153 -90
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.js +76 -64
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.js +62 -30
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +199 -107
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +565 -362
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +272 -251
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +161 -161
- package/libs/PanoTagPlugin/Components/Tag/index.js +241 -254
- package/libs/PanoTagPlugin/Components/TagContainer.js +107 -91
- package/libs/PanoTagPlugin/Components/TagItem.js +300 -337
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +12 -0
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +174 -158
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -3
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +31 -37
- package/libs/PanoTagPlugin/controller/index.d.ts +18 -0
- package/libs/PanoTagPlugin/controller/index.js +163 -132
- package/libs/PanoTagPlugin/index.js +14 -11
- package/libs/PanoTagPlugin/tag.config.js +26 -3
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -0
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +26 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
- package/libs/PanoTagPlugin/utils/index.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/index.js +22 -15
- package/libs/PanoTagPlugin/utils/popoverContainer.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/popoverContainer.js +16 -0
- package/libs/PanoTagPlugin/utils/videoHelper.d.ts +45 -0
- package/libs/PanoTagPlugin/utils/videoHelper.js +88 -0
- package/libs/Sculpt/Meshes/Line.d.ts +3 -0
- package/libs/Sculpt/Meshes/Line.js +142 -103
- package/libs/Sculpt/Meshes/Point.js +35 -36
- package/libs/Sculpt/Meshes/Polygon.js +32 -44
- package/libs/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/libs/Sculpt/utils/Meshes/getLengthHTML.js +55 -21
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +148 -145
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +5 -6
|
@@ -90,6 +90,10 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
90
90
|
entryFromModel?: boolean;
|
|
91
91
|
get sharedCache(): Cache;
|
|
92
92
|
_updating: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* 是否启用 hover 行为,默认 为config.popoverConfig.enabled
|
|
95
|
+
*/
|
|
96
|
+
hoverEnabled: boolean;
|
|
93
97
|
constructor(plugin: PanoTagPluginController, tagData: TagData);
|
|
94
98
|
/**
|
|
95
99
|
* @description 使 state.visible 生效,但是只是加入渲染队列。等下次渲染时再真正生效
|
|
@@ -235,4 +239,12 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
235
239
|
* @description 销毁并移除
|
|
236
240
|
*/
|
|
237
241
|
destroy(): void;
|
|
242
|
+
/**
|
|
243
|
+
* @description 判断 popover 是否在配置上启用(永久配置)
|
|
244
|
+
*/
|
|
245
|
+
isPopoverConfigEnabled(): boolean;
|
|
246
|
+
/**
|
|
247
|
+
* @description 判断当前标签是否允许临时 hover 弹出 popover(临时控制)
|
|
248
|
+
*/
|
|
249
|
+
isHoverEnabled(): boolean;
|
|
238
250
|
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
var G = Object.defineProperty, K = Object.defineProperties;
|
|
2
2
|
var Q = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var k = Math.pow,
|
|
3
|
+
var P = Object.getOwnPropertySymbols;
|
|
4
|
+
var j = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var k = Math.pow, w = (u, i, e) => i in u ? G(u, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[i] = e, g = (u, i) => {
|
|
6
6
|
for (var e in i || (i = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
7
|
+
j.call(i, e) && w(u, e, i[e]);
|
|
8
|
+
if (P)
|
|
9
|
+
for (var e of P(i))
|
|
10
|
+
A.call(i, e) && w(u, e, i[e]);
|
|
11
|
+
return u;
|
|
12
|
+
}, U = (u, i) => K(u, Q(i));
|
|
13
|
+
var E = (u, i) => {
|
|
14
14
|
var e = {};
|
|
15
|
-
for (var t in
|
|
16
|
-
|
|
17
|
-
if (
|
|
18
|
-
for (var t of
|
|
19
|
-
i.indexOf(t) < 0 &&
|
|
15
|
+
for (var t in u)
|
|
16
|
+
j.call(u, t) && i.indexOf(t) < 0 && (e[t] = u[t]);
|
|
17
|
+
if (u != null && P)
|
|
18
|
+
for (var t of P(u))
|
|
19
|
+
i.indexOf(t) < 0 && A.call(u, t) && (e[t] = u[t]);
|
|
20
20
|
return e;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
23
|
-
var
|
|
22
|
+
var a = (u, i, e) => (w(u, typeof i != "symbol" ? i + "" : i, e), e);
|
|
23
|
+
var C = (u, i, e) => new Promise((t, r) => {
|
|
24
24
|
var n = (s) => {
|
|
25
25
|
try {
|
|
26
26
|
o(e.next(s));
|
|
27
|
-
} catch (
|
|
28
|
-
r(
|
|
27
|
+
} catch (f) {
|
|
28
|
+
r(f);
|
|
29
29
|
}
|
|
30
30
|
}, l = (s) => {
|
|
31
31
|
try {
|
|
32
32
|
o(e.throw(s));
|
|
33
|
-
} catch (
|
|
34
|
-
r(
|
|
33
|
+
} catch (f) {
|
|
34
|
+
r(f);
|
|
35
35
|
}
|
|
36
36
|
}, o = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(n, l);
|
|
37
|
-
o((e = e.apply(
|
|
37
|
+
o((e = e.apply(u, i)).next());
|
|
38
38
|
});
|
|
39
39
|
import { Subscribe as Y } from "../../../shared-utils/Subscribe.js";
|
|
40
|
-
import { calculateTagConfig as
|
|
40
|
+
import { calculateTagConfig as T } from "../../utils/tag/calculateTagConfig.js";
|
|
41
41
|
import { getTagStickType as ee } from "../../utils/tag/format.js";
|
|
42
42
|
import "../../../shared-utils/tag.js";
|
|
43
|
-
import { isPanoramaLike as
|
|
43
|
+
import { isPanoramaLike as S, isModelLike as x } from "../../../shared-utils/five/mode.js";
|
|
44
44
|
import * as B from "three";
|
|
45
45
|
import "../../../vendor/hammerjs/hammer.js";
|
|
46
46
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
@@ -57,20 +57,20 @@ import { blink as ne, reblink as se } from "../../../shared-utils/three/blink.js
|
|
|
57
57
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
58
58
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
59
59
|
import { vectorToCoordinates as oe } from "../../../shared-utils/vectorToCoordinate.js";
|
|
60
|
-
import { transformPosition as
|
|
60
|
+
import { transformPosition as $ } from "../../../shared-utils/five/transformPosition.js";
|
|
61
61
|
import { lookPoint as re } from "../../../shared-utils/five/lookPoint.js";
|
|
62
62
|
import { uuid as le } from "../../../shared-utils/uuid.js";
|
|
63
63
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
64
64
|
import { objectAssignDeepExports as y } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
65
|
-
import { getTagPosition as
|
|
65
|
+
import { getTagPosition as z, getTagCenterPosition as N } from "../../utils/tagPosition.js";
|
|
66
66
|
import { checkRange as I } from "../../utils/checkRange.js";
|
|
67
|
-
import { isMediaPlaneTag as ae, isMediaModelTag as
|
|
68
|
-
import { getUrlExt as
|
|
67
|
+
import { isMediaPlaneTag as ae, isMediaModelTag as V } from "../../utils/tag/tagCheck.js";
|
|
68
|
+
import { getUrlExt as J } from "../../../shared-utils/url/getUrl.js";
|
|
69
69
|
import { getFloorIndex as fe } from "../../../shared-utils/five/getFloorIndex.js";
|
|
70
|
-
import { safeObj as
|
|
70
|
+
import { safeObj as _ } from "../../../shared-utils/safeObj.js";
|
|
71
71
|
import { Cache as de } from "../../utils/Cache.js";
|
|
72
|
-
import { _raycaster as
|
|
73
|
-
import { withResolvers as
|
|
72
|
+
import { _raycaster as F } from "../../../shared-utils/three/temp.js";
|
|
73
|
+
import { withResolvers as ue } from "../../../shared-utils/promise/withResolvers.js";
|
|
74
74
|
import "../../../shared-utils/typescript/entries.js";
|
|
75
75
|
import "../../utils/tag/adaptConfig.js";
|
|
76
76
|
import "../../typings/tag/TagConfig.js";
|
|
@@ -122,37 +122,41 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
122
122
|
import "../../../shared-utils/formatRad.js";
|
|
123
123
|
class Ji {
|
|
124
124
|
constructor(i, e) {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
125
|
+
a(this, "plugin");
|
|
126
|
+
a(this, "id");
|
|
127
|
+
a(this, "contentType");
|
|
128
|
+
a(this, "stickType");
|
|
129
|
+
a(this, "enabled");
|
|
130
|
+
a(this, "config");
|
|
131
|
+
a(this, "data");
|
|
132
|
+
a(this, "state");
|
|
133
|
+
a(this, "temporaryState", { visible: !0 });
|
|
134
|
+
a(this, "originPosition");
|
|
135
|
+
a(this, "position");
|
|
136
|
+
a(this, "fiveState");
|
|
137
|
+
a(this, "model");
|
|
138
|
+
a(this, "matrix");
|
|
139
|
+
a(this, "screenPosition");
|
|
140
|
+
a(this, "normal");
|
|
141
|
+
a(this, "mediaPlane");
|
|
142
|
+
a(this, "hooks");
|
|
143
|
+
a(this, "zIndex");
|
|
144
|
+
a(this, "play");
|
|
145
|
+
a(this, "pause");
|
|
146
|
+
a(this, "tag3DContentSvelte");
|
|
147
|
+
a(this, "dom");
|
|
148
|
+
a(this, "contentDom");
|
|
149
|
+
a(this, "initialConfig");
|
|
150
|
+
a(this, "computedConfig");
|
|
151
|
+
a(this, "cache");
|
|
152
|
+
a(this, "entryFromModel");
|
|
153
|
+
a(this, "_updating", !1);
|
|
154
|
+
/**
|
|
155
|
+
* 是否启用 hover 行为,默认 为config.popoverConfig.enabled
|
|
156
|
+
*/
|
|
157
|
+
a(this, "hoverEnabled");
|
|
158
|
+
a(this, "ready", () => {
|
|
159
|
+
const { promise: i, resolve: e } = ue();
|
|
156
160
|
if (!this._updating)
|
|
157
161
|
e();
|
|
158
162
|
else {
|
|
@@ -165,27 +169,29 @@ class Ji {
|
|
|
165
169
|
}
|
|
166
170
|
return i;
|
|
167
171
|
});
|
|
168
|
-
var
|
|
172
|
+
var f, p, c, h, v, m;
|
|
169
173
|
this.plugin = i;
|
|
170
174
|
const t = ee(e);
|
|
171
175
|
e.stickType = t;
|
|
172
|
-
const r = JSON.parse(JSON.stringify(e.data)), n = (
|
|
176
|
+
const r = JSON.parse(JSON.stringify(e.data)), n = (f = e.initialConfig) != null ? f : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
|
|
173
177
|
e.initialConfig = n;
|
|
174
|
-
const l =
|
|
175
|
-
e.config = o, this.id = (
|
|
178
|
+
const l = T(e, i.config), o = this.getConfig(e);
|
|
179
|
+
e.config = o, this.id = (p = e.id) != null ? p : le(), this.enabled = (c = e.enabled) != null ? c : !0, this.contentType = e.contentType, this.hoverEnabled = (v = (h = o.popoverConfig) == null ? void 0 : h.enabled) != null ? v : !0, this.data = (m = o.initialData) != null && m.important ? y(e.data, r, o.initialData) : y(e.data, o.initialData, r);
|
|
180
|
+
let s;
|
|
181
|
+
typeof o.unfoldedConfig == "object" ? o.unfoldedConfig.keep === "unfolded" ? s = !0 : o.unfoldedConfig.keep === "folded" ? s = !1 : s = !this.can("fold") : s = !this.can("fold"), this.state = g({
|
|
176
182
|
visible: void 0,
|
|
177
|
-
unfolded:
|
|
178
|
-
}, o.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
|
|
179
|
-
const
|
|
180
|
-
if (!
|
|
183
|
+
unfolded: s
|
|
184
|
+
}, o.initialState), this.isPopoverConfigEnabled() && (this.state.unfolded = !1), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
|
|
185
|
+
const d = e.originPosition;
|
|
186
|
+
if (!d)
|
|
181
187
|
return;
|
|
182
|
-
const
|
|
183
|
-
return Array.isArray(
|
|
188
|
+
const b = i.workUtil.transform;
|
|
189
|
+
return Array.isArray(d) && d.length === 4 ? d.map(O).map((M) => $(M, b).toArray()) : $(O(d), b).toArray();
|
|
184
190
|
})(), this.matrix = e.matrix ? (() => {
|
|
185
|
-
const
|
|
186
|
-
return
|
|
187
|
-
})() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new de(), this.hooks = new Y(), Object.keys(e).forEach((
|
|
188
|
-
this[
|
|
191
|
+
const d = new B.Matrix4().fromArray(e.matrix);
|
|
192
|
+
return d.premultiply(i.workUtil.transform), d.elements;
|
|
193
|
+
})() : e.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new de(), this.hooks = new Y(), Object.keys(e).forEach((d) => {
|
|
194
|
+
this[d] === void 0 && e[d] !== void 0 && (this[d] = e[d]);
|
|
189
195
|
});
|
|
190
196
|
}
|
|
191
197
|
get visible() {
|
|
@@ -202,12 +208,12 @@ class Ji {
|
|
|
202
208
|
return this.plugin.workUtil;
|
|
203
209
|
}
|
|
204
210
|
get centerPosition() {
|
|
205
|
-
const i =
|
|
211
|
+
const i = z(this);
|
|
206
212
|
return ie(...Array.isArray(i) ? i : [i]);
|
|
207
213
|
}
|
|
208
214
|
get currentConfig() {
|
|
209
215
|
var r, n;
|
|
210
|
-
const i =
|
|
216
|
+
const i = T(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, t = (r = i.configWithFiveMode) == null ? void 0 : r[e];
|
|
211
217
|
return (n = t != null ? t : i) != null ? n : {};
|
|
212
218
|
}
|
|
213
219
|
get currentVisible() {
|
|
@@ -226,7 +232,7 @@ class Ji {
|
|
|
226
232
|
* @description 找到标签
|
|
227
233
|
*/
|
|
228
234
|
find(i) {
|
|
229
|
-
return
|
|
235
|
+
return C(this, null, function* () {
|
|
230
236
|
var r;
|
|
231
237
|
const e = this.fiveState;
|
|
232
238
|
if (!this.fiveState)
|
|
@@ -237,7 +243,7 @@ class Ji {
|
|
|
237
243
|
if (R(n))
|
|
238
244
|
return this;
|
|
239
245
|
const l = this.workUtil.getObserverPosition(n), o = this.centerPosition.clone().sub(l).normalize();
|
|
240
|
-
this.five.setState(
|
|
246
|
+
this.five.setState(g({
|
|
241
247
|
mode: "Panorama",
|
|
242
248
|
workCode: this.workUtil.workCode,
|
|
243
249
|
panoIndex: n
|
|
@@ -251,37 +257,37 @@ class Ji {
|
|
|
251
257
|
* @description 闪烁
|
|
252
258
|
*/
|
|
253
259
|
blink(i) {
|
|
254
|
-
return
|
|
255
|
-
var o, s,
|
|
260
|
+
return C(this, null, function* () {
|
|
261
|
+
var o, s, f, p;
|
|
256
262
|
yield this.ready();
|
|
257
263
|
const e = (o = this.enabled) != null ? o : !0, t = (s = this.state) == null ? void 0 : s.visible, r = e && t;
|
|
258
|
-
r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" ? yield new Promise((
|
|
264
|
+
r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" ? yield new Promise((c) => C(this, null, function* () {
|
|
259
265
|
if (this.dom || this.contentDom) {
|
|
260
|
-
|
|
266
|
+
c();
|
|
261
267
|
return;
|
|
262
268
|
}
|
|
263
|
-
const
|
|
264
|
-
(this.dom || this.contentDom) && (
|
|
269
|
+
const h = setInterval(() => {
|
|
270
|
+
(this.dom || this.contentDom) && (c(), clearInterval(h));
|
|
265
271
|
}, 16.7);
|
|
266
|
-
})) : this.stickType === "Model" && !((
|
|
272
|
+
})) : this.stickType === "Model" && !((f = this.model) != null && f.object) ? yield (p = this.model) == null ? void 0 : p.promise : this.stickType === "Plane" && (yield new Promise((c) => C(this, null, function* () {
|
|
267
273
|
if (this.mediaPlane) {
|
|
268
|
-
|
|
274
|
+
c();
|
|
269
275
|
return;
|
|
270
276
|
}
|
|
271
|
-
const
|
|
272
|
-
this.mediaPlane && (
|
|
277
|
+
const h = setInterval(() => {
|
|
278
|
+
this.mediaPlane && (c(), clearInterval(h));
|
|
273
279
|
}, 16.7);
|
|
274
280
|
}))), this.dom && (this.dom.style.visibility = "hidden"), this.contentDom && (this.contentDom.style.visibility = "hidden"));
|
|
275
281
|
const n = (() => {
|
|
276
|
-
var
|
|
277
|
-
const
|
|
278
|
-
return
|
|
282
|
+
var h, v, m;
|
|
283
|
+
const c = [];
|
|
284
|
+
return c.push(this.dom), c.push((v = (h = this.tag3DContentSvelte) == null ? void 0 : h.css3DInstance) == null ? void 0 : v.container), c.push((m = this.model) == null ? void 0 : m.object), c.push(this.mediaPlane), c.filter(Boolean);
|
|
279
285
|
})();
|
|
280
286
|
if (!n.length) {
|
|
281
287
|
console.warn("tagDom is empty");
|
|
282
288
|
return;
|
|
283
289
|
}
|
|
284
|
-
yield (r ? ne : se)(n,
|
|
290
|
+
yield (r ? ne : se)(n, g({
|
|
285
291
|
begin: () => {
|
|
286
292
|
r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
287
293
|
},
|
|
@@ -335,7 +341,7 @@ class Ji {
|
|
|
335
341
|
* @param deepMerge 是否深度合并 data,默认为 true
|
|
336
342
|
*/
|
|
337
343
|
setData(i, e = !0) {
|
|
338
|
-
e ? this.data = y(this.data, i) : this.data =
|
|
344
|
+
e ? this.data = y(this.data, i) : this.data = g(g({}, this.data), i), this.hooks.emit("dataChanged", this.data);
|
|
339
345
|
}
|
|
340
346
|
/**
|
|
341
347
|
* @description 修改标签位置
|
|
@@ -370,11 +376,11 @@ class Ji {
|
|
|
370
376
|
}
|
|
371
377
|
getConfig(i, e) {
|
|
372
378
|
var l, o, s;
|
|
373
|
-
const t =
|
|
379
|
+
const t = T(i != null ? i : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), r = (l = e == null ? void 0 : e.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
|
|
374
380
|
return (s = n != null ? n : t) != null ? s : {};
|
|
375
381
|
}
|
|
376
382
|
getDistance(i, e = 3) {
|
|
377
|
-
const t =
|
|
383
|
+
const t = g(g({}, this.five.getCurrentState()), i), { panoIndex: r, mode: n } = t, l = n === "Panorama" ? this.workUtil.getObserverPosition(r) : this.five.camera.position, o = this.centerPosition;
|
|
378
384
|
return !l || !o ? -1 : l.distanceTo(o);
|
|
379
385
|
}
|
|
380
386
|
/**
|
|
@@ -388,7 +394,7 @@ class Ji {
|
|
|
388
394
|
getVisible(i) {
|
|
389
395
|
if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
|
|
390
396
|
return !1;
|
|
391
|
-
const e =
|
|
397
|
+
const e = g(g({}, this.five.getCurrentState()), i);
|
|
392
398
|
let t = this.cache.getVisible(this, e);
|
|
393
399
|
return R(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
|
|
394
400
|
}
|
|
@@ -399,16 +405,12 @@ class Ji {
|
|
|
399
405
|
return t && this.getUnfoldedByCamera();
|
|
400
406
|
}
|
|
401
407
|
getUnfoldedByCamera() {
|
|
402
|
-
var r;
|
|
403
|
-
const i = this.getConfig();
|
|
404
|
-
if ((r = i.popoverConfig) != null && r.enabled) {
|
|
405
|
-
const n = ["Link", "VRLink", "PanoLink", "Panorama"], l = i.unfoldedConfig;
|
|
406
|
-
if (!n.includes(this.contentType) && !(typeof l == "object" && l.keep === "unfolded"))
|
|
407
|
-
return !1;
|
|
408
|
-
}
|
|
409
408
|
return this.currentVisible ? this.computeUnfoldedByCamera() : void 0;
|
|
410
409
|
}
|
|
411
410
|
can(i) {
|
|
411
|
+
var t, r;
|
|
412
|
+
if ((i === "fold" || i === "unfold") && ((r = (t = this.currentConfig) == null ? void 0 : t.popoverConfig) == null ? void 0 : r.enabled) === !0)
|
|
413
|
+
return !1;
|
|
412
414
|
const e = this.currentConfig;
|
|
413
415
|
if (!e || typeof e != "object")
|
|
414
416
|
return !0;
|
|
@@ -442,19 +444,19 @@ class Ji {
|
|
|
442
444
|
if (t[0].type === "Video")
|
|
443
445
|
return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
|
|
444
446
|
if (t[0].type === "Image")
|
|
445
|
-
return
|
|
447
|
+
return J(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
446
448
|
}
|
|
447
|
-
} else if (
|
|
448
|
-
return t.length === 1 && t[0].type === "Image" ?
|
|
449
|
+
} else if (V(this))
|
|
450
|
+
return t.length === 1 && t[0].type === "Image" ? J(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
449
451
|
}
|
|
450
452
|
})();
|
|
451
453
|
return i != null ? i : "Dom";
|
|
452
454
|
}
|
|
453
455
|
computeVisible(i) {
|
|
454
|
-
const e =
|
|
456
|
+
const e = g(g({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = e, n = [];
|
|
455
457
|
return (() => {
|
|
456
|
-
var
|
|
457
|
-
const s = (
|
|
458
|
+
var f, c, h, v;
|
|
459
|
+
const s = (f = this.getConfig().visibleConfig) != null ? f : {};
|
|
458
460
|
if (typeof s == "function")
|
|
459
461
|
return {
|
|
460
462
|
value: s(this.five, { tag: this, distance: this.getDistance(e, void 0) }),
|
|
@@ -466,37 +468,37 @@ class Ji {
|
|
|
466
468
|
return { value: !1, checkedList: n, reason: "config.keep is hidden" };
|
|
467
469
|
if (s.keep === "visible")
|
|
468
470
|
return { value: !0, checkedList: n, reason: "config.keep is visible" };
|
|
469
|
-
const
|
|
470
|
-
if ((
|
|
471
|
-
return
|
|
471
|
+
const m = this.computeVisibleByFiveMode(s, r);
|
|
472
|
+
if ((m == null ? void 0 : m.value) === !1)
|
|
473
|
+
return m;
|
|
472
474
|
if (s.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (r === "Floorplan" || r === "Mapview")) {
|
|
473
|
-
const
|
|
474
|
-
if (
|
|
475
|
-
return
|
|
475
|
+
const p = this.computeVisibleByFloorIndex(), { value: d } = p, b = E(p, ["value"]);
|
|
476
|
+
if (d === !1)
|
|
477
|
+
return g({ value: !1, checkedList: n, reason: "followModelVisibility check failed" }, b);
|
|
476
478
|
}
|
|
477
|
-
if (
|
|
479
|
+
if (S(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
|
|
478
480
|
if (n.push("visiblePanoIndex"), Array.isArray(s.visiblePanoIndex) && !s.visiblePanoIndex.includes(t))
|
|
479
481
|
return {
|
|
480
482
|
value: !1,
|
|
481
483
|
checkedList: n,
|
|
482
484
|
reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${s.visiblePanoIndex}`
|
|
483
485
|
};
|
|
484
|
-
if (s.visiblePanoIndex === "current" && t !== ((
|
|
486
|
+
if (s.visiblePanoIndex === "current" && t !== ((c = this.fiveState) == null ? void 0 : c.panoIndex))
|
|
485
487
|
return {
|
|
486
488
|
value: !1,
|
|
487
489
|
checkedList: n,
|
|
488
|
-
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(
|
|
490
|
+
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(h = this.fiveState) == null ? void 0 : h.panoIndex}`
|
|
489
491
|
};
|
|
490
492
|
}
|
|
491
493
|
if (s.visibleDistance !== void 0 && (n.push("visibleDistance"), s.visibleDistance !== "unLimited")) {
|
|
492
|
-
const
|
|
493
|
-
if (I(
|
|
494
|
+
const d = this.getDistance(e, 1);
|
|
495
|
+
if (I(d, s.visibleDistance) === !1)
|
|
494
496
|
return {
|
|
495
497
|
value: !1,
|
|
496
498
|
checkedList: n,
|
|
497
499
|
panoIndex: t,
|
|
498
500
|
visibleDistance: s.visibleDistance,
|
|
499
|
-
reason: `distance is not in visibleDistance. distance: ${
|
|
501
|
+
reason: `distance is not in visibleDistance. distance: ${d}, visibleDistance: ${s.visibleDistance.min} - ${s.visibleDistance.max}`
|
|
500
502
|
};
|
|
501
503
|
}
|
|
502
504
|
if (s.intersectRaycaster !== !1 && (typeof s.intersectRaycaster != "object" || s.intersectRaycaster.enabled !== !1)) {
|
|
@@ -506,12 +508,12 @@ class Ji {
|
|
|
506
508
|
checkedList: n,
|
|
507
509
|
reason: `intersectRaycaster check failed: panoIndex is ${t}`
|
|
508
510
|
};
|
|
509
|
-
if (t === ((
|
|
511
|
+
if (t === ((v = this.fiveState) == null ? void 0 : v.panoIndex))
|
|
510
512
|
n.push("intersectCheckSkiped");
|
|
511
513
|
else {
|
|
512
|
-
const
|
|
513
|
-
if (
|
|
514
|
-
return Object.assign(
|
|
514
|
+
const d = this.computeVisibleByIntersect(t);
|
|
515
|
+
if (d.value === !1)
|
|
516
|
+
return Object.assign(d, { checkedList: n });
|
|
515
517
|
}
|
|
516
518
|
}
|
|
517
519
|
return {
|
|
@@ -534,7 +536,7 @@ class Ji {
|
|
|
534
536
|
if (n === "ModelLike")
|
|
535
537
|
return x(e);
|
|
536
538
|
if (n === "PanoramaLike")
|
|
537
|
-
return !
|
|
539
|
+
return !S(e);
|
|
538
540
|
if (n === "all")
|
|
539
541
|
return !0;
|
|
540
542
|
if (typeof n == "string")
|
|
@@ -559,36 +561,36 @@ class Ji {
|
|
|
559
561
|
}
|
|
560
562
|
/** 通过射线检测标签可用性 */
|
|
561
563
|
computeVisibleByIntersect(i) {
|
|
562
|
-
var s,
|
|
563
|
-
const e =
|
|
564
|
+
var s, f, p, c;
|
|
565
|
+
const e = _(_((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = S(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
|
|
564
566
|
if (r === void 0)
|
|
565
567
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
566
568
|
const n = te(
|
|
567
569
|
(() => {
|
|
568
|
-
var
|
|
569
|
-
const
|
|
570
|
-
return
|
|
570
|
+
var v;
|
|
571
|
+
const h = (v = e.checkPoints) != null ? v : "center";
|
|
572
|
+
return h === "center" ? N(this) : h === "corner" ? z(this) : Array.isArray(h) ? h : [];
|
|
571
573
|
})()
|
|
572
574
|
);
|
|
573
575
|
let l = 0, o = 0;
|
|
574
|
-
for (const
|
|
575
|
-
const
|
|
576
|
-
let
|
|
577
|
-
|
|
578
|
-
const [
|
|
579
|
-
|
|
576
|
+
for (const h of n) {
|
|
577
|
+
const v = new B.Vector3().subVectors(h, r).normalize();
|
|
578
|
+
let m;
|
|
579
|
+
F.set(r, v);
|
|
580
|
+
const [d] = this.fiveUtil.model.intersectRaycaster(F);
|
|
581
|
+
m = d == null ? void 0 : d.distance;
|
|
580
582
|
const b = (() => {
|
|
581
|
-
if (!
|
|
583
|
+
if (!V(this))
|
|
582
584
|
return;
|
|
583
|
-
const
|
|
584
|
-
var
|
|
585
|
-
return (
|
|
586
|
-
}).filter(L), [X] =
|
|
585
|
+
const q = this.plugin.tags.filter(V).map((Z) => {
|
|
586
|
+
var D;
|
|
587
|
+
return (D = Z.model) == null ? void 0 : D.object;
|
|
588
|
+
}).filter(L), [X] = F.intersectObjects(q, !0);
|
|
587
589
|
return X;
|
|
588
|
-
})(),
|
|
589
|
-
|
|
590
|
-
const
|
|
591
|
-
if (l >=
|
|
590
|
+
})(), M = r.distanceTo(h), H = (f = e.distanceAccuracy) != null ? f : 0.01;
|
|
591
|
+
m = Math.min(m != null ? m : 1 / 0, (p = b == null ? void 0 : b.distance) != null ? p : 1 / 0), m + H >= M ? l++ : o++;
|
|
592
|
+
const W = (c = e.needPassed) != null ? c : 1;
|
|
593
|
+
if (l >= W)
|
|
592
594
|
return { value: !0 };
|
|
593
595
|
}
|
|
594
596
|
return o === 0 ? { value: !0 } : {
|
|
@@ -602,12 +604,12 @@ class Ji {
|
|
|
602
604
|
};
|
|
603
605
|
}
|
|
604
606
|
computeVisibleByFloorIndex() {
|
|
605
|
-
var r, n, l, o, s,
|
|
607
|
+
var r, n, l, o, s, f, p;
|
|
606
608
|
let i = 0;
|
|
607
609
|
const e = (r = this.fiveState) == null ? void 0 : r.panoIndex;
|
|
608
610
|
e !== void 0 ? i = (n = this.workUtil.getObserver(e)) == null ? void 0 : n.floorIndex : i = fe(
|
|
609
611
|
this.workUtil.work,
|
|
610
|
-
(
|
|
612
|
+
(p = (f = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? f : (s = this.mediaPlane) == null ? void 0 : s.position) != null ? p : N(this)
|
|
611
613
|
);
|
|
612
614
|
const t = this.fiveUtil.model.shownFloor;
|
|
613
615
|
return {
|
|
@@ -656,14 +658,14 @@ class Ji {
|
|
|
656
658
|
const s = this.computeTagProject();
|
|
657
659
|
if (!s)
|
|
658
660
|
return !1;
|
|
659
|
-
const { x:
|
|
660
|
-
return !(Math.abs(
|
|
661
|
+
const { x: f, y: p, z: c } = s;
|
|
662
|
+
return !(Math.abs(c) > 1 || Math.abs(f) > 1 || Math.abs(p) > 1);
|
|
661
663
|
}).map((o) => ({ tag: o, id: o.id, tagConfig: o.getConfig().unfoldedConfig })).filter(({ tagConfig: o }) => {
|
|
662
|
-
var s,
|
|
663
|
-
return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((s = o.autoUnfold) == null ? void 0 : s.enable) === !1 || ((
|
|
664
|
-
}).map((o) =>
|
|
665
|
-
const
|
|
666
|
-
return !(
|
|
664
|
+
var s, f;
|
|
665
|
+
return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((s = o.autoUnfold) == null ? void 0 : s.enable) === !1 || ((f = o.autoUnfold) == null ? void 0 : f.strategy) !== "MinimumDistance");
|
|
666
|
+
}).map((o) => U(g({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
|
|
667
|
+
const f = s.autoUnfold.distance;
|
|
668
|
+
return !(f && I(o, f) === !1);
|
|
667
669
|
}).sort((o, s) => o.distance - s.distance).findIndex((o) => o.id === this.id);
|
|
668
670
|
if (n === -1 || n <= ((e = i.autoUnfold.maxNumber) != null ? e : 1) - 1 === !1)
|
|
669
671
|
return !1;
|
|
@@ -701,7 +703,7 @@ class Ji {
|
|
|
701
703
|
return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
|
|
702
704
|
if (!this.enabled)
|
|
703
705
|
return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
|
|
704
|
-
const i =
|
|
706
|
+
const i = U(g({}, this.computeVisible()), {
|
|
705
707
|
tagInstance: this
|
|
706
708
|
});
|
|
707
709
|
return i.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: i } : this.state.visible ? { reason: "应该是能看见才对", info: i } : i.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: i } : { reason: (e = i.reason.type) != null ? e : i.reason, info: i };
|
|
@@ -718,6 +720,20 @@ class Ji {
|
|
|
718
720
|
}
|
|
719
721
|
this.disable(), (t = (e = this.tag3DContentSvelte) == null ? void 0 : e.dispose) == null || t.call(e), this.hooks.off(), this.cache.clear(), this.plugin.tags.splice(i, 1), this.plugin.tagsLengthWillUpdate = !0, this.plugin.hooks.emit("tagsLengthChange");
|
|
720
722
|
}
|
|
723
|
+
/**
|
|
724
|
+
* @description 判断 popover 是否在配置上启用(永久配置)
|
|
725
|
+
*/
|
|
726
|
+
isPopoverConfigEnabled() {
|
|
727
|
+
var i, e;
|
|
728
|
+
return ((e = (i = this.currentConfig) == null ? void 0 : i.popoverConfig) == null ? void 0 : e.enabled) === !0;
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* @description 判断当前标签是否允许临时 hover 弹出 popover(临时控制)
|
|
732
|
+
*/
|
|
733
|
+
isHoverEnabled() {
|
|
734
|
+
var i;
|
|
735
|
+
return !(((i = this.plugin) == null ? void 0 : i.globalHoverEnabled) === !1 || this.hoverEnabled === !1);
|
|
736
|
+
}
|
|
721
737
|
}
|
|
722
738
|
export {
|
|
723
739
|
Ji as BaseTag
|
|
@@ -27,9 +27,6 @@ export declare class PointTag<C extends TagContentType = TagContentType> extends
|
|
|
27
27
|
}): void;
|
|
28
28
|
set(tag: PartialObjectDeep<Tag<C, '2DPoint' | '3DPoint'>>, deepMerge?: boolean): void;
|
|
29
29
|
setData(...data: Parameters<InstanceType<typeof BaseTag<C, '2DPoint' | '3DPoint'>>['setData']>): void;
|
|
30
|
-
/**
|
|
31
|
-
* @description 根据全景漫游索引更新标签是否展开
|
|
32
|
-
*/
|
|
33
30
|
updateUnfoldedByPanoIndex(): void;
|
|
34
31
|
computeNormal(): THREE.Vector3;
|
|
35
32
|
}
|