@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
|
@@ -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";
|
|
@@ -221,46 +221,51 @@ import "../Components/Common/TagPoint.js";
|
|
|
221
221
|
import "../Components/Common/TagPopover/index.js";
|
|
222
222
|
import "../Components/Common/TagPopover/PopoverContent.js";
|
|
223
223
|
import "../Components/Common/TagPopover/TagPopoverArrow.js";
|
|
224
|
+
import "../Components/Common/Icon/tag-popover-arrow-base64.js";
|
|
224
225
|
import "../Components/Common/TagPopover/TagPopup.js";
|
|
225
226
|
import "../Components/Common/VideoIcon.js";
|
|
226
227
|
import "../Components/Common/TagPopover/PanoramaIcon.js";
|
|
228
|
+
import "../utils/videoHelper.js";
|
|
227
229
|
import "../Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
228
230
|
import "../Components/Common/TagPopover/ArrowRightIcon.js";
|
|
229
231
|
import "../Components/Common/TagPopover/ShareIcon.js";
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
232
|
+
import "../utils/popoverContainer.js";
|
|
233
|
+
const S = "Dnalogel-PanoTagPlugin", Bo = (d) => `${S}--${d}`;
|
|
234
|
+
class Go extends O {
|
|
235
|
+
constructor(e, t) {
|
|
233
236
|
super(e);
|
|
234
237
|
/** state */
|
|
235
238
|
p(this, "state", { enabled: !0, visible: !0 });
|
|
236
239
|
/** debug */
|
|
237
240
|
p(this, "debug");
|
|
238
241
|
p(this, "debugUtil", new V(this));
|
|
242
|
+
/** 全局 hover 启用状态,默认 true */
|
|
243
|
+
p(this, "globalHoverEnabled", !0);
|
|
239
244
|
/** 更改 tag 模型 */
|
|
240
|
-
p(this, "changeTagModel", (e,
|
|
241
|
-
var
|
|
242
|
-
e.data = m({}, e.data,
|
|
245
|
+
p(this, "changeTagModel", (e, t) => l(this, null, function* () {
|
|
246
|
+
var i;
|
|
247
|
+
e.data = m({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
|
|
243
248
|
}));
|
|
244
249
|
p(this, "handleFiveModeChange", (e) => {
|
|
245
|
-
const
|
|
246
|
-
this.filter2DPointTag.forEach((
|
|
247
|
-
|
|
250
|
+
const t = () => {
|
|
251
|
+
this.filter2DPointTag.forEach((i) => {
|
|
252
|
+
i.state.visible = !1, i.applyVisible();
|
|
248
253
|
}), this.five.ready().then(() => {
|
|
249
|
-
this.tagsDo(this.tags, (
|
|
250
|
-
|
|
254
|
+
this.tagsDo(this.tags, (i) => {
|
|
255
|
+
i.updateVisible(), _(i) && e !== "Panorama" && this.changeTagMode(i, "behind");
|
|
251
256
|
});
|
|
252
257
|
});
|
|
253
258
|
};
|
|
254
|
-
this.tags.length < 500 ?
|
|
259
|
+
this.tags.length < 500 ? t() : this.five.ready().then(() => t());
|
|
255
260
|
});
|
|
256
261
|
p(this, "handleFiveWantsMoveToPano", (e) => {
|
|
257
262
|
if (this.tags.length > 500) {
|
|
258
263
|
this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] });
|
|
259
264
|
return;
|
|
260
265
|
} else
|
|
261
|
-
this.temporaryState.visible = !0, this.tags.forEach((
|
|
262
|
-
|
|
263
|
-
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((
|
|
266
|
+
this.temporaryState.visible = !0, this.tags.forEach((t) => {
|
|
267
|
+
t.temporaryState.visible = !0;
|
|
268
|
+
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((t) => t.applyVisible());
|
|
264
269
|
});
|
|
265
270
|
p(this, "clickhandler", (e) => {
|
|
266
271
|
e.tag.onClick(e);
|
|
@@ -279,19 +284,19 @@ class Io extends R {
|
|
|
279
284
|
}), this.tagsDo(this.tags, (e) => {
|
|
280
285
|
e.updateVisible();
|
|
281
286
|
}), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.tags.filter(w).filter((e) => {
|
|
282
|
-
var
|
|
283
|
-
return (
|
|
287
|
+
var t;
|
|
288
|
+
return (t = e.getConfig().modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
284
289
|
}).forEach((e) => {
|
|
285
290
|
var h;
|
|
286
|
-
const
|
|
287
|
-
if (!
|
|
291
|
+
const t = new u.Mesh(new u.BoxGeometry(), new u.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
|
|
292
|
+
if (!i)
|
|
288
293
|
return;
|
|
289
|
-
|
|
294
|
+
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
290
295
|
const o = this.five.camera.position;
|
|
291
|
-
|
|
292
|
-
const s =
|
|
296
|
+
t.lookAt(o.clone().setY(t.position.y));
|
|
297
|
+
const s = i.quaternion.clone(), n = t.quaternion.clone(), r = x();
|
|
293
298
|
r.onUpdate(({ progress: D }) => {
|
|
294
|
-
|
|
299
|
+
i.quaternion.copy(s.clone().slerp(n, D));
|
|
295
300
|
}), r.play();
|
|
296
301
|
});
|
|
297
302
|
}));
|
|
@@ -306,9 +311,9 @@ class Io extends R {
|
|
|
306
311
|
this.setUnfoldedByCamera(), T(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
307
312
|
});
|
|
308
313
|
p(this, "render", () => {
|
|
309
|
-
this.renderQueue.forEach((e,
|
|
310
|
-
const { keys:
|
|
311
|
-
if (
|
|
314
|
+
this.renderQueue.forEach((e, t) => {
|
|
315
|
+
const { keys: i } = e;
|
|
316
|
+
if (t === "TagContainerSvelte") {
|
|
312
317
|
const s = this.filterPointTag.filter((r) => r.screenPosition), n = {
|
|
313
318
|
hooks: this.hooks,
|
|
314
319
|
tags: s,
|
|
@@ -321,10 +326,10 @@ class Io extends R {
|
|
|
321
326
|
};
|
|
322
327
|
if (this.TagContainerSvelte) {
|
|
323
328
|
let r = {};
|
|
324
|
-
if (
|
|
329
|
+
if (i.length === 0)
|
|
325
330
|
r = n;
|
|
326
331
|
else
|
|
327
|
-
for (const h of
|
|
332
|
+
for (const h of i)
|
|
328
333
|
r[h] = n[h];
|
|
329
334
|
this.TagContainerSvelte.$set(r);
|
|
330
335
|
} else {
|
|
@@ -341,39 +346,39 @@ class Io extends R {
|
|
|
341
346
|
}
|
|
342
347
|
}), this.renderQueue.clear();
|
|
343
348
|
});
|
|
344
|
-
this.params = m({}, { debug: !1, config: this.config }, f({},
|
|
349
|
+
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 });
|
|
345
350
|
try {
|
|
346
351
|
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__", {
|
|
347
352
|
get: function() {
|
|
348
|
-
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((
|
|
353
|
+
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((i, o) => o.tags.length - i.tags.length)[0];
|
|
349
354
|
}
|
|
350
355
|
});
|
|
351
|
-
} catch (
|
|
356
|
+
} catch (i) {
|
|
352
357
|
}
|
|
353
358
|
}
|
|
354
359
|
appendTo(e) {
|
|
355
|
-
var
|
|
360
|
+
var i, o, s;
|
|
356
361
|
this.container = e;
|
|
357
|
-
const
|
|
358
|
-
|
|
362
|
+
const t = (o = (i = this.TagContainerSvelte) == null ? void 0 : i.$$) == null ? void 0 : o.root;
|
|
363
|
+
t && t !== this.container && ((s = this.TagContainerSvelte) == null || s.$destroy(), this.TagContainerSvelte = void 0);
|
|
359
364
|
}
|
|
360
365
|
/**
|
|
361
366
|
* @description 加载数据
|
|
362
367
|
*/
|
|
363
368
|
load(e) {
|
|
364
369
|
return l(this, null, function* () {
|
|
365
|
-
var
|
|
370
|
+
var i, o;
|
|
366
371
|
this.clearTags();
|
|
367
372
|
try {
|
|
368
373
|
console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
|
|
369
374
|
} catch (s) {
|
|
370
375
|
}
|
|
371
376
|
this.config = m({}, this.config, {
|
|
372
|
-
globalConfig: (
|
|
377
|
+
globalConfig: (i = e.globalConfig) != null ? i : {},
|
|
373
378
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
374
379
|
});
|
|
375
|
-
const
|
|
376
|
-
return this.hooks.emit("loaded"),
|
|
380
|
+
const t = yield this.addTag(e.tagList);
|
|
381
|
+
return this.hooks.emit("loaded"), t;
|
|
377
382
|
});
|
|
378
383
|
}
|
|
379
384
|
/**
|
|
@@ -381,7 +386,7 @@ class Io extends R {
|
|
|
381
386
|
*/
|
|
382
387
|
addTag(e) {
|
|
383
388
|
return l(this, null, function* () {
|
|
384
|
-
const
|
|
389
|
+
const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
385
390
|
const s = M(o);
|
|
386
391
|
if (s === "2DPoint" || s === "3DPoint")
|
|
387
392
|
return new z(this, o);
|
|
@@ -390,9 +395,9 @@ class Io extends R {
|
|
|
390
395
|
if (s === "Plane")
|
|
391
396
|
return new Q(this, o);
|
|
392
397
|
});
|
|
393
|
-
return
|
|
398
|
+
return i.forEach(L), this.tags.push(...i), this.tagsLengthWillUpdate = !0, R(this.five).then(() => l(this, null, function* () {
|
|
394
399
|
var o, s;
|
|
395
|
-
this.store.eventListenerDisposer && ((s = (o = this.store).eventListenerDisposer) == null || s.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(
|
|
400
|
+
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) => {
|
|
396
401
|
this.tags.includes(n) && (n.updateVisible(), n.updateZIndex());
|
|
397
402
|
}), this.setUnfolded(), this.addRenderQueue({ type: "TagContainerSvelte" }), this.hooks.emit("tagsLengthChange");
|
|
398
403
|
}));
|
|
@@ -401,26 +406,26 @@ class Io extends R {
|
|
|
401
406
|
/**
|
|
402
407
|
* @description 改变配置
|
|
403
408
|
*/
|
|
404
|
-
changeConfig(e,
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
}), this.tagsDo(this.tags, (
|
|
409
|
+
changeConfig(e, t = !0) {
|
|
410
|
+
t ? this.config = m({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
|
|
411
|
+
i.updateConfig();
|
|
412
|
+
}), this.tagsDo(this.tags, (i) => i.updateVisible());
|
|
408
413
|
}
|
|
409
414
|
/**
|
|
410
415
|
* @description 改变全局配置
|
|
411
416
|
*/
|
|
412
|
-
changeGlobalConfig(e,
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
}), this.tagsDo(this.tags, (
|
|
416
|
-
|
|
417
|
+
changeGlobalConfig(e, t = !0) {
|
|
418
|
+
t ? this.config.globalConfig = m({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
|
|
419
|
+
i.updateConfig();
|
|
420
|
+
}), this.tagsDo(this.tags, (i) => {
|
|
421
|
+
i.updateVisible();
|
|
417
422
|
});
|
|
418
423
|
}
|
|
419
424
|
/**
|
|
420
425
|
* @description 改变类型配置
|
|
421
426
|
*/
|
|
422
|
-
changeContentTypeConfig(e,
|
|
423
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}),
|
|
427
|
+
changeContentTypeConfig(e, t, i = !0) {
|
|
428
|
+
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) => {
|
|
424
429
|
o.updateConfig();
|
|
425
430
|
}), this.tagsDo(this.tags, (o) => {
|
|
426
431
|
o.updateVisible();
|
|
@@ -430,55 +435,55 @@ class Io extends R {
|
|
|
430
435
|
return l(this, null, function* () {
|
|
431
436
|
if (this.checkDisposed())
|
|
432
437
|
return;
|
|
433
|
-
const { userAction:
|
|
434
|
-
this.setState({ visible: !0 }, { userAction:
|
|
438
|
+
const { userAction: t = !0 } = e != null ? e : {};
|
|
439
|
+
this.setState({ visible: !0 }, { userAction: t }), this.hooks.emit("show", { userAction: t });
|
|
435
440
|
});
|
|
436
441
|
}
|
|
437
442
|
hide(e) {
|
|
438
443
|
return l(this, null, function* () {
|
|
439
444
|
if (this.checkDisposed())
|
|
440
445
|
return;
|
|
441
|
-
const { userAction:
|
|
442
|
-
this.setState({ visible: !1 }, { userAction:
|
|
446
|
+
const { userAction: t = !0 } = e != null ? e : {};
|
|
447
|
+
this.setState({ visible: !1 }, { userAction: t }), this.hooks.emit("hide", { userAction: t });
|
|
443
448
|
});
|
|
444
449
|
}
|
|
445
450
|
enable(e) {
|
|
446
451
|
if (this.checkDisposed())
|
|
447
452
|
return;
|
|
448
|
-
const { userAction:
|
|
449
|
-
this.setState({ enabled: !0 }, { userAction:
|
|
453
|
+
const { userAction: t = !0 } = e != null ? e : {};
|
|
454
|
+
this.setState({ enabled: !0 }, { userAction: t }), this.hooks.emit("enable", { userAction: t });
|
|
450
455
|
}
|
|
451
456
|
disable(e) {
|
|
452
457
|
if (this.checkDisposed())
|
|
453
458
|
return;
|
|
454
|
-
const { userAction:
|
|
455
|
-
this.setState({ enabled: !1 }, { userAction:
|
|
459
|
+
const { userAction: t = !0 } = e != null ? e : {};
|
|
460
|
+
this.setState({ enabled: !1 }, { userAction: t }), this.hooks.emit("disable", { userAction: t });
|
|
456
461
|
}
|
|
457
|
-
setState(e,
|
|
462
|
+
setState(e, t) {
|
|
458
463
|
if (this.checkDisposed())
|
|
459
464
|
return;
|
|
460
|
-
const { userAction:
|
|
461
|
-
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:
|
|
465
|
+
const { userAction: i = !0 } = t != null ? t : {}, o = f({}, this.state);
|
|
466
|
+
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 });
|
|
462
467
|
}
|
|
463
468
|
/**
|
|
464
469
|
* @description 销毁
|
|
465
470
|
*/
|
|
466
471
|
dispose() {
|
|
467
|
-
var e,
|
|
472
|
+
var e, t, i, o, s, n;
|
|
468
473
|
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
469
474
|
var h;
|
|
470
475
|
return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
|
|
471
|
-
}), this.tags.forEach((r) => r.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (
|
|
476
|
+
}), 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");
|
|
472
477
|
}
|
|
473
478
|
/**
|
|
474
479
|
* @description 闪烁标签
|
|
475
480
|
* @param {TagId} id
|
|
476
481
|
* @param {Partial<anime.AnimeParams>} animeConfig
|
|
477
482
|
*/
|
|
478
|
-
blinkTagById(e,
|
|
483
|
+
blinkTagById(e, t) {
|
|
479
484
|
return l(this, null, function* () {
|
|
480
|
-
var
|
|
481
|
-
return (
|
|
485
|
+
var i;
|
|
486
|
+
return (i = this.getTagById(e)) == null ? void 0 : i.blink(t);
|
|
482
487
|
});
|
|
483
488
|
}
|
|
484
489
|
/**
|
|
@@ -486,63 +491,63 @@ class Io extends R {
|
|
|
486
491
|
* @param {TagId} id
|
|
487
492
|
* @param {boolean} unfolded
|
|
488
493
|
*/
|
|
489
|
-
changeUnfoldedById(e,
|
|
490
|
-
const
|
|
491
|
-
|
|
494
|
+
changeUnfoldedById(e, t) {
|
|
495
|
+
const i = this.getTagById(e);
|
|
496
|
+
t ? i == null || i.unfold() : i == null || i.fold();
|
|
492
497
|
}
|
|
493
498
|
/**
|
|
494
499
|
* @description 启用/停用指定id的标签
|
|
495
500
|
* @param {TagId} id
|
|
496
501
|
* @param {boolean} enabled
|
|
497
502
|
*/
|
|
498
|
-
changeEnabledById(e,
|
|
503
|
+
changeEnabledById(e, t) {
|
|
499
504
|
var o;
|
|
500
|
-
const
|
|
501
|
-
|
|
505
|
+
const i = this.getTagById(e);
|
|
506
|
+
i && (i.enabled = t, (o = i.hooks) == null || o.emit(t ? "enable" : "disable"));
|
|
502
507
|
}
|
|
503
508
|
/**
|
|
504
509
|
* @description 修改3D标签normal
|
|
505
510
|
* @param {TagId} id
|
|
506
511
|
* @param {ArrayPosition} normal
|
|
507
512
|
*/
|
|
508
|
-
changeTagNormalById(e,
|
|
509
|
-
const
|
|
510
|
-
|
|
513
|
+
changeTagNormalById(e, t) {
|
|
514
|
+
const i = this.getTagById(e);
|
|
515
|
+
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = F(t));
|
|
511
516
|
}
|
|
512
517
|
/**
|
|
513
518
|
* @description 改变data
|
|
514
519
|
*/
|
|
515
|
-
changePositionById(e,
|
|
516
|
-
const
|
|
517
|
-
|
|
520
|
+
changePositionById(e, t) {
|
|
521
|
+
const i = this.getTagById(e);
|
|
522
|
+
i && i.setPosition(t);
|
|
518
523
|
}
|
|
519
524
|
/**
|
|
520
525
|
* @description 改变data
|
|
521
526
|
*/
|
|
522
|
-
changeDataById(e,
|
|
527
|
+
changeDataById(e, t, i = !0) {
|
|
523
528
|
const o = this.getTagById(e);
|
|
524
|
-
o && (o.setData(
|
|
529
|
+
o && (o.setData(t, i), this.clearUnusedPanelTag(), o.hooks.emit("dataChanged", o.data));
|
|
525
530
|
}
|
|
526
531
|
/**
|
|
527
532
|
* @description 改变tag的stickType
|
|
528
533
|
*/
|
|
529
|
-
changeStickTypeById(e,
|
|
530
|
-
this.changeTagById(e,
|
|
534
|
+
changeStickTypeById(e, t, i = !0) {
|
|
535
|
+
this.changeTagById(e, t, i);
|
|
531
536
|
}
|
|
532
537
|
/**
|
|
533
538
|
* @description 改变tag任意属性
|
|
534
539
|
*/
|
|
535
|
-
changeTagById(e,
|
|
540
|
+
changeTagById(e, t, i = !0) {
|
|
536
541
|
const o = this.getTagById(e);
|
|
537
|
-
o && (o.set(
|
|
542
|
+
o && (o.set(t), o.updateVisible(), this.clearUnusedPanelTag(), o.hooks.emit("dataChanged", o.data));
|
|
538
543
|
}
|
|
539
544
|
/**
|
|
540
545
|
* @description 销毁tag
|
|
541
546
|
*/
|
|
542
547
|
destroyTagById(e) {
|
|
543
|
-
(Array.isArray(e) ? e : [e]).forEach((
|
|
548
|
+
(Array.isArray(e) ? e : [e]).forEach((i) => {
|
|
544
549
|
var o;
|
|
545
|
-
return (o = this.getTagById(
|
|
550
|
+
return (o = this.getTagById(i)) == null ? void 0 : o.destroy();
|
|
546
551
|
});
|
|
547
552
|
}
|
|
548
553
|
/**
|
|
@@ -556,9 +561,9 @@ class Io extends R {
|
|
|
556
561
|
*/
|
|
557
562
|
clearTags() {
|
|
558
563
|
var e;
|
|
559
|
-
this.tags.length && (this.tags.forEach((
|
|
560
|
-
var
|
|
561
|
-
(
|
|
564
|
+
this.tags.length && (this.tags.forEach((t) => {
|
|
565
|
+
var i, o, s, n, r, h;
|
|
566
|
+
(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);
|
|
562
567
|
}), 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();
|
|
563
568
|
}
|
|
564
569
|
/**
|
|
@@ -583,8 +588,8 @@ class Io extends R {
|
|
|
583
588
|
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;
|
|
584
589
|
}
|
|
585
590
|
handleDisable() {
|
|
586
|
-
var e,
|
|
587
|
-
this.pauseCurrentMedia(), this.state.enabled = !1, (
|
|
591
|
+
var e, t, i;
|
|
592
|
+
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;
|
|
588
593
|
}
|
|
589
594
|
addResizeListener() {
|
|
590
595
|
if (!this.store.resizeObserverDisposer && !this.store.resizeObserverDisposerAdding) {
|
|
@@ -597,17 +602,17 @@ class Io extends R {
|
|
|
597
602
|
addResizeObserver() {
|
|
598
603
|
if (this.store.disposed)
|
|
599
604
|
return;
|
|
600
|
-
const e = this.five.getElement(),
|
|
605
|
+
const e = this.five.getElement(), t = () => {
|
|
601
606
|
this.state.enabled && (this.filterPointTag.forEach((h) => h.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
602
|
-
},
|
|
607
|
+
}, i = () => {
|
|
603
608
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
604
609
|
}, { observe: o, unobserve: s } = y(
|
|
605
|
-
|
|
606
|
-
this.store.resizeObserverDisposer &&
|
|
610
|
+
I(() => {
|
|
611
|
+
this.store.resizeObserverDisposer && i();
|
|
607
612
|
}, 500),
|
|
608
613
|
e
|
|
609
614
|
), { observe: n, unobserve: r } = y(
|
|
610
|
-
b(() =>
|
|
615
|
+
b(() => t(), 400),
|
|
611
616
|
e
|
|
612
617
|
);
|
|
613
618
|
return o(), n(), () => {
|
|
@@ -616,36 +621,62 @@ class Io extends R {
|
|
|
616
621
|
}
|
|
617
622
|
setUnfoldedByCamera() {
|
|
618
623
|
let e = !1;
|
|
619
|
-
this.filterPointTag.forEach((
|
|
620
|
-
const
|
|
621
|
-
if (
|
|
622
|
-
if (
|
|
623
|
-
const o =
|
|
624
|
+
this.filterPointTag.forEach((t) => {
|
|
625
|
+
const i = t.getUnfoldedByCamera();
|
|
626
|
+
if (t.state && i !== void 0) {
|
|
627
|
+
if (i === !0 && t.screenPosition) {
|
|
628
|
+
const o = t.getConfig().unfoldedConfig;
|
|
624
629
|
C(o).keep !== "unfolded" && (e = !0);
|
|
625
630
|
}
|
|
626
|
-
|
|
631
|
+
t.state.unfolded = i;
|
|
627
632
|
}
|
|
628
|
-
}), e && this.filterPointTag.forEach((
|
|
629
|
-
const
|
|
630
|
-
typeof
|
|
633
|
+
}), e && this.filterPointTag.forEach((t) => {
|
|
634
|
+
const i = t.getConfig().unfoldedConfig;
|
|
635
|
+
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 || C(i.autoUnfold).enable === !1 || i.keep) || t.state && (t.state.unfolded = !1);
|
|
631
636
|
});
|
|
632
637
|
}
|
|
633
|
-
changeTagMode(e,
|
|
634
|
-
var
|
|
635
|
-
(
|
|
638
|
+
changeTagMode(e, t) {
|
|
639
|
+
var i;
|
|
640
|
+
(i = e.tag3DContentSvelte) != null && i.css3DInstance && (e.tag3DContentSvelte.css3DInstance.mode = t);
|
|
636
641
|
}
|
|
637
642
|
/**
|
|
638
643
|
* @description 添加 cameraUpdate, panoArrived 等事件监听
|
|
639
644
|
*/
|
|
640
645
|
addEventListener() {
|
|
641
|
-
const { five: e, hooks:
|
|
642
|
-
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),
|
|
643
|
-
|
|
646
|
+
const { five: e, hooks: t } = this, i = H(this.five, this.onFiveEveryReady);
|
|
647
|
+
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), () => {
|
|
648
|
+
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;
|
|
644
649
|
};
|
|
645
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
* @description 设置标签 hover 启用状态
|
|
653
|
+
*/
|
|
654
|
+
setTagHoverEnabled(e, t) {
|
|
655
|
+
const i = this.getTagById(e);
|
|
656
|
+
i && (i.hoverEnabled = t);
|
|
657
|
+
}
|
|
658
|
+
/**
|
|
659
|
+
* @description 获取标签 hover 启用状态
|
|
660
|
+
*/
|
|
661
|
+
getTagHoverEnabled(e) {
|
|
662
|
+
const t = this.getTagById(e);
|
|
663
|
+
return t == null ? void 0 : t.hoverEnabled;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* 设置全局 hover 启用状态
|
|
667
|
+
*/
|
|
668
|
+
setGlobalHoverEnabled(e) {
|
|
669
|
+
this.globalHoverEnabled = e;
|
|
670
|
+
}
|
|
671
|
+
/**
|
|
672
|
+
* 获取全局 hover 启用状态
|
|
673
|
+
*/
|
|
674
|
+
getGlobalHoverEnabled() {
|
|
675
|
+
return this.globalHoverEnabled;
|
|
676
|
+
}
|
|
646
677
|
}
|
|
647
678
|
export {
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
679
|
+
Go as PanoTagPluginController,
|
|
680
|
+
Go as default,
|
|
681
|
+
Bo as pluginFlag
|
|
651
682
|
};
|
|
@@ -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 Wr } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Yr } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as _r, DimensionType as $r, PointType as op } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -194,21 +194,24 @@ import "./Components/Common/TagPoint.js";
|
|
|
194
194
|
import "./Components/Common/TagPopover/index.js";
|
|
195
195
|
import "./Components/Common/TagPopover/PopoverContent.js";
|
|
196
196
|
import "./Components/Common/TagPopover/TagPopoverArrow.js";
|
|
197
|
+
import "./Components/Common/Icon/tag-popover-arrow-base64.js";
|
|
197
198
|
import "./Components/Common/TagPopover/TagPopup.js";
|
|
198
199
|
import "./Components/Common/VideoIcon.js";
|
|
199
200
|
import "./Components/Common/TagPopover/PanoramaIcon.js";
|
|
201
|
+
import "./utils/videoHelper.js";
|
|
200
202
|
import "./Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
201
203
|
import "./Components/Common/TagPopover/ArrowRightIcon.js";
|
|
202
204
|
import "./Components/Common/TagPopover/ShareIcon.js";
|
|
205
|
+
import "./utils/popoverContainer.js";
|
|
203
206
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
204
|
-
const
|
|
207
|
+
const Sr = (o, t) => new r(o, t);
|
|
205
208
|
export {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
+
_r as ContentType,
|
|
210
|
+
$r as DimensionType,
|
|
211
|
+
Sr as PanoTagPlugin,
|
|
209
212
|
r as PanoTagPluginController,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
213
|
+
op as PointType,
|
|
214
|
+
Sr as default,
|
|
215
|
+
Yr as defaultGlobalConfig,
|
|
216
|
+
Wr as pluginFlag
|
|
214
217
|
};
|