@realsee/dnalogel 3.65.6 → 3.66.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/TagPopover/TagPopup.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/TagPopover/index.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Common/VideoIcon.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +3 -0
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +3 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +16 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +89 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +5 -0
- package/dist/index.cjs.js +82 -79
- package/dist/index.js +15490 -13337
- package/dist/index.umd.js +73 -70
- 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 +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +4 -4
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +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 +4 -3
- package/docs/interfaces/TagConfig.html +87 -36
- 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 +4 -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 +4 -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 +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +5 -0
- 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 +11 -2
- package/libs/CruisePlugin/Work.js +11 -2
- package/libs/CruisePlugin/index.js +15 -6
- package/libs/GuideLinePlugin/Controller.js +13 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +11 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +11 -2
- package/libs/GuideLinePlugin/index.js +15 -6
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +164 -105
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.js +123 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.js +70 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +260 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.js +123 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.js +63 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +270 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +524 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +523 -0
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/VideoIcon.js +114 -0
- package/libs/PanoTagPlugin/Components/Common/VideoIcon.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +253 -232
- package/libs/PanoTagPlugin/Components/Tag/index.js +136 -123
- package/libs/PanoTagPlugin/Components/TagContainer.js +138 -114
- package/libs/PanoTagPlugin/Components/TagItem.js +451 -230
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +3 -0
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +187 -168
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +3 -0
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +38 -26
- package/libs/PanoTagPlugin/controller/index.js +49 -40
- package/libs/PanoTagPlugin/index.js +20 -11
- package/libs/PanoTagPlugin/tag.config.js +14 -7
- package/libs/PanoTagPlugin/typings/controller.d.ts +16 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +89 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +5 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +154 -145
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -27,6 +27,9 @@ 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
|
+
*/
|
|
30
33
|
updateUnfoldedByPanoIndex(): void;
|
|
31
34
|
computeNormal(): THREE.Vector3;
|
|
32
35
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var c = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var p = (
|
|
2
|
+
var h = (s, n, t) => n in s ? c(s, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[n] = t;
|
|
3
|
+
var p = (s, n, t) => (h(s, typeof n != "symbol" ? n + "" : n, t), t);
|
|
4
4
|
import { BaseTag as g } from "./BaseTag.js";
|
|
5
5
|
import * as l from "three";
|
|
6
6
|
import "../../../shared-utils/Subscribe.js";
|
|
@@ -86,8 +86,8 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
86
86
|
import "../../../shared-utils/safeObj.js";
|
|
87
87
|
import "../../utils/Cache.js";
|
|
88
88
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
89
|
-
const
|
|
90
|
-
class
|
|
89
|
+
const y = new l.Vector2();
|
|
90
|
+
class Gt extends g {
|
|
91
91
|
constructor(t, i) {
|
|
92
92
|
super(t, i);
|
|
93
93
|
p(this, "__Object__");
|
|
@@ -98,8 +98,8 @@ class Jt extends g {
|
|
|
98
98
|
*/
|
|
99
99
|
unfoldAndFoldOthers() {
|
|
100
100
|
const t = this.can("fold"), i = this.can("unfold");
|
|
101
|
-
t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((
|
|
102
|
-
|
|
101
|
+
t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((o) => {
|
|
102
|
+
o.id !== this.id && o.fold();
|
|
103
103
|
}));
|
|
104
104
|
}
|
|
105
105
|
onClick(t) {
|
|
@@ -123,38 +123,38 @@ class Jt extends g {
|
|
|
123
123
|
* @param {boolean} unfolded
|
|
124
124
|
*/
|
|
125
125
|
setUnfold(t) {
|
|
126
|
-
const i = this.can("fold"),
|
|
127
|
-
i &&
|
|
126
|
+
const i = this.can("fold"), o = this.can("unfold");
|
|
127
|
+
i && o && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
|
|
128
128
|
}
|
|
129
129
|
setPosition(t) {
|
|
130
130
|
this.originPosition = t, this.position = t, this.cache.clear(), this.updateVisible(), this.updateScreenPosition(), this.updateZIndex(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
131
131
|
}
|
|
132
132
|
updateScreenPosition(t) {
|
|
133
|
-
var
|
|
133
|
+
var a;
|
|
134
134
|
if (this.stickType !== "2DPoint" && this.stickType !== "3DPoint")
|
|
135
135
|
return;
|
|
136
|
-
const { force: i = !1 } = t != null ? t : {},
|
|
136
|
+
const { force: i = !1 } = t != null ? t : {}, o = i ? this.state.visible : this.currentVisible, e = (a = this.__Object__) != null ? a : {
|
|
137
137
|
timeoutId: void 0,
|
|
138
138
|
inAnimation: !1
|
|
139
139
|
};
|
|
140
|
-
if (this.__Object__ = e, !
|
|
140
|
+
if (this.__Object__ = e, !o && this.screenPosition ? (e.inAnimation = !0, e.timeoutId = setTimeout(() => {
|
|
141
141
|
requestAnimationFrame(() => {
|
|
142
142
|
this.currentVisible || (e.inAnimation = !1, this.screenPosition = null, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
|
|
143
143
|
});
|
|
144
|
-
}, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !
|
|
144
|
+
}, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !o && !e.inAnimation)
|
|
145
145
|
return;
|
|
146
|
-
const
|
|
147
|
-
if (
|
|
148
|
-
const
|
|
146
|
+
const r = this.computeTagProject();
|
|
147
|
+
if (r && this.five.renderer) {
|
|
148
|
+
const m = (() => {
|
|
149
149
|
if (!this.currentConfig.simulate3D)
|
|
150
150
|
return 1;
|
|
151
|
-
const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI),
|
|
152
|
-
return Math.max(Math.min(1 - u *
|
|
153
|
-
})(), d = this.five.renderer.getSize(
|
|
151
|
+
const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), f = this.getDistance(void 0, 1);
|
|
152
|
+
return Math.max(Math.min(1 - u * f / 40, 1), 0.5);
|
|
153
|
+
})(), d = this.five.renderer.getSize(y);
|
|
154
154
|
this.screenPosition = {
|
|
155
|
-
leftPx: (
|
|
156
|
-
topPx: (-
|
|
157
|
-
scale:
|
|
155
|
+
leftPx: (r.x + 1) / 2 * d.x,
|
|
156
|
+
topPx: (-r.y + 1) / 2 * d.y,
|
|
157
|
+
scale: m
|
|
158
158
|
};
|
|
159
159
|
} else
|
|
160
160
|
this.screenPosition = null;
|
|
@@ -166,11 +166,23 @@ class Jt extends g {
|
|
|
166
166
|
setData(...t) {
|
|
167
167
|
super.setData(...t), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
168
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* @description 根据全景漫游索引更新标签是否展开
|
|
171
|
+
*/
|
|
169
172
|
updateUnfoldedByPanoIndex() {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
var o;
|
|
174
|
+
const t = this.getConfig();
|
|
175
|
+
if ((o = t.popoverConfig) != null && o.enabled) {
|
|
176
|
+
const e = ["Link", "VRLink", "PanoLink", "Panorama"], r = t.unfoldedConfig;
|
|
177
|
+
if (!e.includes(this.contentType) && !(typeof r == "object" && r.keep === "unfolded")) {
|
|
178
|
+
this.state && (this.state.unfolded = !1);
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
const i = this.getUnfoldedByPanoIndex();
|
|
183
|
+
if (this.state && (i !== void 0 && (this.state.unfolded = i), i && !this.state.visible)) {
|
|
184
|
+
const e = this.getConfig();
|
|
185
|
+
typeof e.unfoldedConfig == "object" && e.unfoldedConfig.autoFoldWhenHide !== !1 && (this.state.unfolded = !1);
|
|
174
186
|
}
|
|
175
187
|
}
|
|
176
188
|
computeNormal() {
|
|
@@ -178,5 +190,5 @@ class Jt extends g {
|
|
|
178
190
|
}
|
|
179
191
|
}
|
|
180
192
|
export {
|
|
181
|
-
|
|
193
|
+
Gt as PointTag
|
|
182
194
|
};
|
|
@@ -12,19 +12,19 @@ var g = (d, a, e) => a in d ? P(d, a, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
}, c = (d, a) => U(d, A(a));
|
|
13
13
|
var p = (d, a, e) => (g(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
14
|
var l = (d, a, e) => new Promise((i, t) => {
|
|
15
|
-
var o = (
|
|
15
|
+
var o = (r) => {
|
|
16
16
|
try {
|
|
17
|
-
n(e.next(
|
|
17
|
+
n(e.next(r));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
t(h);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (r) => {
|
|
22
22
|
try {
|
|
23
|
-
n(e.throw(
|
|
23
|
+
n(e.throw(r));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
t(h);
|
|
26
26
|
}
|
|
27
|
-
}, n = (
|
|
27
|
+
}, n = (r) => r.done ? i(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";
|
|
@@ -218,8 +218,17 @@ import "../Components/Tag/CustomTag.js";
|
|
|
218
218
|
import "../../vendor/classnames/index.js";
|
|
219
219
|
import "../Components/TagItem.js";
|
|
220
220
|
import "../Components/Common/TagPoint.js";
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
import "../Components/Common/TagPopover/index.js";
|
|
222
|
+
import "../Components/Common/TagPopover/PopoverContent.js";
|
|
223
|
+
import "../Components/Common/TagPopover/TagPopoverArrow.js";
|
|
224
|
+
import "../Components/Common/TagPopover/TagPopup.js";
|
|
225
|
+
import "../Components/Common/VideoIcon.js";
|
|
226
|
+
import "../Components/Common/TagPopover/PanoramaIcon.js";
|
|
227
|
+
import "../Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
228
|
+
import "../Components/Common/TagPopover/ArrowRightIcon.js";
|
|
229
|
+
import "../Components/Common/TagPopover/ShareIcon.js";
|
|
230
|
+
const S = "Dnalogel-PanoTagPlugin", Lo = (d) => `${S}--${d}`;
|
|
231
|
+
class Io extends R {
|
|
223
232
|
constructor(e, i) {
|
|
224
233
|
super(e);
|
|
225
234
|
/** state */
|
|
@@ -280,10 +289,10 @@ class Po extends R {
|
|
|
280
289
|
i.position.copy(t.position), i.quaternion.copy(t.quaternion);
|
|
281
290
|
const o = this.five.camera.position;
|
|
282
291
|
i.lookAt(o.clone().setY(i.position.y));
|
|
283
|
-
const
|
|
284
|
-
|
|
285
|
-
t.quaternion.copy(
|
|
286
|
-
}),
|
|
292
|
+
const s = t.quaternion.clone(), n = i.quaternion.clone(), r = W();
|
|
293
|
+
r.onUpdate(({ progress: D }) => {
|
|
294
|
+
t.quaternion.copy(s.clone().slerp(n, D));
|
|
295
|
+
}), r.play();
|
|
287
296
|
});
|
|
288
297
|
}));
|
|
289
298
|
/** 楼层切换时,需要更新标签可见性 */
|
|
@@ -300,9 +309,9 @@ class Po extends R {
|
|
|
300
309
|
this.renderQueue.forEach((e, i) => {
|
|
301
310
|
const { keys: t } = e;
|
|
302
311
|
if (i === "TagContainerSvelte") {
|
|
303
|
-
const
|
|
312
|
+
const s = this.filterPointTag.filter((r) => r.screenPosition), n = {
|
|
304
313
|
hooks: this.hooks,
|
|
305
|
-
tags:
|
|
314
|
+
tags: s,
|
|
306
315
|
state: this.state,
|
|
307
316
|
temporaryState: this.temporaryState,
|
|
308
317
|
mediaStore: this.mediaStore,
|
|
@@ -311,13 +320,13 @@ class Po extends R {
|
|
|
311
320
|
zIndex: this.params.containerZIndex
|
|
312
321
|
};
|
|
313
322
|
if (this.TagContainerSvelte) {
|
|
314
|
-
let
|
|
323
|
+
let r = {};
|
|
315
324
|
if (t.length === 0)
|
|
316
|
-
|
|
325
|
+
r = n;
|
|
317
326
|
else
|
|
318
327
|
for (const h of t)
|
|
319
|
-
|
|
320
|
-
this.TagContainerSvelte.$set(
|
|
328
|
+
r[h] = n[h];
|
|
329
|
+
this.TagContainerSvelte.$set(r);
|
|
321
330
|
} else {
|
|
322
331
|
if (!this.container)
|
|
323
332
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
@@ -325,8 +334,8 @@ class Po extends R {
|
|
|
325
334
|
target: this.container,
|
|
326
335
|
props: c(f({}, n), { state: c(f({}, this.state), { enabled: !1 }) })
|
|
327
336
|
}), N(() => {
|
|
328
|
-
var
|
|
329
|
-
(
|
|
337
|
+
var r;
|
|
338
|
+
(r = this.TagContainerSvelte) == null || r.$set({ state: this.state });
|
|
330
339
|
});
|
|
331
340
|
}
|
|
332
341
|
}
|
|
@@ -343,10 +352,10 @@ class Po extends R {
|
|
|
343
352
|
}
|
|
344
353
|
}
|
|
345
354
|
appendTo(e) {
|
|
346
|
-
var t, o,
|
|
355
|
+
var t, o, s;
|
|
347
356
|
this.container = e;
|
|
348
357
|
const i = (o = (t = this.TagContainerSvelte) == null ? void 0 : t.$$) == null ? void 0 : o.root;
|
|
349
|
-
i && i !== this.container && ((
|
|
358
|
+
i && i !== this.container && ((s = this.TagContainerSvelte) == null || s.$destroy(), this.TagContainerSvelte = void 0);
|
|
350
359
|
}
|
|
351
360
|
/**
|
|
352
361
|
* @description 加载数据
|
|
@@ -357,7 +366,7 @@ class Po extends R {
|
|
|
357
366
|
this.clearTags();
|
|
358
367
|
try {
|
|
359
368
|
console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
|
|
360
|
-
} catch (
|
|
369
|
+
} catch (s) {
|
|
361
370
|
}
|
|
362
371
|
this.config = m({}, this.config, {
|
|
363
372
|
globalConfig: (t = e.globalConfig) != null ? t : {},
|
|
@@ -373,17 +382,17 @@ class Po extends R {
|
|
|
373
382
|
addTag(e) {
|
|
374
383
|
return l(this, null, function* () {
|
|
375
384
|
const t = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
376
|
-
const
|
|
377
|
-
if (
|
|
385
|
+
const s = M(o);
|
|
386
|
+
if (s === "2DPoint" || s === "3DPoint")
|
|
378
387
|
return new z(this, o);
|
|
379
|
-
if (
|
|
388
|
+
if (s === "Model")
|
|
380
389
|
return new j(this, o);
|
|
381
|
-
if (
|
|
390
|
+
if (s === "Plane")
|
|
382
391
|
return new Q(this, o);
|
|
383
392
|
});
|
|
384
393
|
return t.forEach(I), this.tags.push(...t), this.tagsLengthWillUpdate = !0, G(this.five).then(() => l(this, null, function* () {
|
|
385
|
-
var o,
|
|
386
|
-
this.store.eventListenerDisposer && ((
|
|
394
|
+
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(t, (n) => {
|
|
387
396
|
this.tags.includes(n) && (n.updateVisible(), n.updateZIndex());
|
|
388
397
|
}), this.setUnfolded(), this.addRenderQueue({ type: "TagContainerSvelte" }), this.hooks.emit("tagsLengthChange");
|
|
389
398
|
}));
|
|
@@ -455,11 +464,11 @@ class Po extends R {
|
|
|
455
464
|
* @description 销毁
|
|
456
465
|
*/
|
|
457
466
|
dispose() {
|
|
458
|
-
var e, i, t, o,
|
|
459
|
-
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((
|
|
467
|
+
var e, i, t, o, s, n;
|
|
468
|
+
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
460
469
|
var h;
|
|
461
|
-
return (h =
|
|
462
|
-
}), this.tags.forEach((
|
|
470
|
+
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"), (i = this.store.disposers) == null || i.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (t = this.store).eventListenerDisposer) == null || o.call(t), 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");
|
|
463
472
|
}
|
|
464
473
|
/**
|
|
465
474
|
* @description 闪烁标签
|
|
@@ -548,8 +557,8 @@ class Po extends R {
|
|
|
548
557
|
clearTags() {
|
|
549
558
|
var e;
|
|
550
559
|
this.tags.length && (this.tags.forEach((i) => {
|
|
551
|
-
var t, o,
|
|
552
|
-
(t = i.tag3DContentSvelte) == null || t.dispose(), (
|
|
560
|
+
var t, o, s, n, r, h;
|
|
561
|
+
(t = i.tag3DContentSvelte) == null || t.dispose(), (s = (o = i.mediaPlane) == null ? void 0 : o.parent) == null || s.remove(i.mediaPlane), (h = (r = (n = i.model) == null ? void 0 : n.object) == null ? void 0 : r.parent) == null || h.remove(i.model.object);
|
|
553
562
|
}), 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();
|
|
554
563
|
}
|
|
555
564
|
/**
|
|
@@ -592,17 +601,17 @@ class Po extends R {
|
|
|
592
601
|
this.state.enabled && (this.filterPointTag.forEach((h) => h.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
593
602
|
}, t = () => {
|
|
594
603
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
595
|
-
}, { observe: o, unobserve:
|
|
604
|
+
}, { observe: o, unobserve: s } = y(
|
|
596
605
|
L(() => {
|
|
597
606
|
this.store.resizeObserverDisposer && t();
|
|
598
607
|
}, 500),
|
|
599
608
|
e
|
|
600
|
-
), { observe: n, unobserve:
|
|
609
|
+
), { observe: n, unobserve: r } = y(
|
|
601
610
|
b(() => i(), 400),
|
|
602
611
|
e
|
|
603
612
|
);
|
|
604
613
|
return o(), n(), () => {
|
|
605
|
-
|
|
614
|
+
s(), r();
|
|
606
615
|
};
|
|
607
616
|
}
|
|
608
617
|
setUnfoldedByCamera() {
|
|
@@ -636,7 +645,7 @@ class Po extends R {
|
|
|
636
645
|
}
|
|
637
646
|
}
|
|
638
647
|
export {
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
648
|
+
Io as PanoTagPluginController,
|
|
649
|
+
Io as default,
|
|
650
|
+
Lo as pluginFlag
|
|
642
651
|
};
|
|
@@ -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 Sr } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Vr } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Xr, DimensionType as Yr, PointType as Zr } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -191,15 +191,24 @@ import "./controller/Tag/PlaneTag.js";
|
|
|
191
191
|
import "./Components/TagContainer.js";
|
|
192
192
|
import "./Components/TagItem.js";
|
|
193
193
|
import "./Components/Common/TagPoint.js";
|
|
194
|
+
import "./Components/Common/TagPopover/index.js";
|
|
195
|
+
import "./Components/Common/TagPopover/PopoverContent.js";
|
|
196
|
+
import "./Components/Common/TagPopover/TagPopoverArrow.js";
|
|
197
|
+
import "./Components/Common/TagPopover/TagPopup.js";
|
|
198
|
+
import "./Components/Common/VideoIcon.js";
|
|
199
|
+
import "./Components/Common/TagPopover/PanoramaIcon.js";
|
|
200
|
+
import "./Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
201
|
+
import "./Components/Common/TagPopover/ArrowRightIcon.js";
|
|
202
|
+
import "./Components/Common/TagPopover/ShareIcon.js";
|
|
194
203
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
195
|
-
const
|
|
204
|
+
const Or = (o, t) => new r(o, t);
|
|
196
205
|
export {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
206
|
+
Xr as ContentType,
|
|
207
|
+
Yr as DimensionType,
|
|
208
|
+
Or as PanoTagPlugin,
|
|
200
209
|
r as PanoTagPluginController,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
210
|
+
Zr as PointType,
|
|
211
|
+
Or as default,
|
|
212
|
+
Vr as defaultGlobalConfig,
|
|
213
|
+
Sr as pluginFlag
|
|
205
214
|
};
|
|
@@ -3,15 +3,22 @@ const e = {
|
|
|
3
3
|
visibleConfig: {
|
|
4
4
|
followModelVisibility: !0
|
|
5
5
|
},
|
|
6
|
-
unfoldedConfig: {
|
|
7
|
-
autoUnfold: {
|
|
8
|
-
enable: !0,
|
|
9
|
-
strategy: "MinimumDistance",
|
|
10
|
-
distance: { max: 5 }
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
6
|
tag3DConfig: {
|
|
14
7
|
ratio: 35e-4
|
|
8
|
+
},
|
|
9
|
+
popoverConfig: {
|
|
10
|
+
enabled: !0,
|
|
11
|
+
debug: !0,
|
|
12
|
+
trigger: "hover",
|
|
13
|
+
triggerDelay: 200,
|
|
14
|
+
placement: "auto",
|
|
15
|
+
transitionDuration: 100,
|
|
16
|
+
// theme: 'light',
|
|
17
|
+
toolbar: {
|
|
18
|
+
showMore: !0,
|
|
19
|
+
showShare: !0
|
|
20
|
+
},
|
|
21
|
+
viewMoreText: "查看更多"
|
|
15
22
|
}
|
|
16
23
|
},
|
|
17
24
|
contentTypeConfig: {
|
|
@@ -24,6 +24,15 @@ export type TagClickParams = {
|
|
|
24
24
|
} | {
|
|
25
25
|
target: 'TagModel';
|
|
26
26
|
tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>;
|
|
27
|
+
} | {
|
|
28
|
+
target: 'TagPopoverViewMore';
|
|
29
|
+
tag: TagInstance;
|
|
30
|
+
} | {
|
|
31
|
+
target: 'TagPopoverShare';
|
|
32
|
+
tag: TagInstance;
|
|
33
|
+
} | {
|
|
34
|
+
target: 'TagPopoverContent';
|
|
35
|
+
tag: TagInstance;
|
|
27
36
|
});
|
|
28
37
|
export interface PluginEventMap extends BasePlugin.EventMap<State> {
|
|
29
38
|
loaded: () => void;
|
|
@@ -61,10 +70,17 @@ export type TagEvents<C extends TagContentType = TagContentType> = {
|
|
|
61
70
|
show: () => void;
|
|
62
71
|
hide: () => void;
|
|
63
72
|
dataChanged: (data: TagInstance<C>['data']) => void;
|
|
73
|
+
hover: (params: {
|
|
74
|
+
event: Event;
|
|
75
|
+
tag: TagInstance;
|
|
76
|
+
}) => void;
|
|
77
|
+
showPopover: () => void;
|
|
78
|
+
hidePopover: () => void;
|
|
64
79
|
};
|
|
65
80
|
export interface TagCacheInterface {
|
|
66
81
|
visible?: boolean;
|
|
67
82
|
unfolded?: boolean;
|
|
83
|
+
popoverVisible?: boolean;
|
|
68
84
|
minimumDistanceResult?: boolean;
|
|
69
85
|
distance?: number;
|
|
70
86
|
angle?: number;
|
|
@@ -6,6 +6,21 @@ import type { PartialObjectDeep } from '../../../typings/typings';
|
|
|
6
6
|
import type { Vector3 } from 'three';
|
|
7
7
|
import type { TagInstance } from '../..';
|
|
8
8
|
type TagVisibleMode = Mode | Mode[] | 'PanoramaLike' | 'ModelLike' | 'all';
|
|
9
|
+
/**
|
|
10
|
+
* @description 标签悬停时popover的位置
|
|
11
|
+
* @default 'auto'
|
|
12
|
+
* top 是标签上方,bottom 是标签下方,left 是标签左侧,right 是标签右侧
|
|
13
|
+
* top-left 是标签上方,Popover的左边界与标签的左边界对齐
|
|
14
|
+
* top-right 是标签上方,Popover的右边界与标签的右边界对齐
|
|
15
|
+
* bottom-left 是标签下方,Popover的左边界与标签的左边界对齐
|
|
16
|
+
* bottom-right 是标签下方,Popover的右边界与标签的右边界对齐
|
|
17
|
+
* left-top 是标签左侧,Popover的上边界与标签的上边界对齐
|
|
18
|
+
* left-bottom 是标签左侧,Popover的下边界与标签的下边界对齐
|
|
19
|
+
* right-top 是标签右侧,Popover的上边界与标签的上边界对齐
|
|
20
|
+
* right-bottom 是标签右侧,Popover的下边界与标签的下边界对齐
|
|
21
|
+
* auto 是根据标签位置自动计算
|
|
22
|
+
*/
|
|
23
|
+
export type TagPlacement = 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom' | 'auto';
|
|
9
24
|
export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
10
25
|
/**
|
|
11
26
|
* @description 显示/隐藏相关配置
|
|
@@ -123,6 +138,7 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
123
138
|
} | ConfigFunction;
|
|
124
139
|
/**
|
|
125
140
|
* @description 展开/收起相关配置
|
|
141
|
+
* @warning 与 popoverConfig 同时使用时,popoverConfig 优先级更高
|
|
126
142
|
*/
|
|
127
143
|
unfoldedConfig?: {
|
|
128
144
|
/**
|
|
@@ -238,6 +254,79 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
238
254
|
* @deprecated private property
|
|
239
255
|
*/
|
|
240
256
|
_isMerged?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* @description 标签浮窗相关配置
|
|
259
|
+
* @warning 开启之后 unfoldedConfig 无效
|
|
260
|
+
*/
|
|
261
|
+
popoverConfig?: {
|
|
262
|
+
/**
|
|
263
|
+
* @description 是否启用 TagPopover
|
|
264
|
+
* @warning 开启之后 unfoldedConfig 无效
|
|
265
|
+
* @default false
|
|
266
|
+
*/
|
|
267
|
+
enabled?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* @description 是否开启调试模式,调试模式popover常驻
|
|
270
|
+
* @default false
|
|
271
|
+
*/
|
|
272
|
+
debug?: boolean;
|
|
273
|
+
/**
|
|
274
|
+
* @description 触发方式
|
|
275
|
+
* @description hover - 鼠标悬停触发
|
|
276
|
+
* @description click - 点击触发(fold/unfold模式)
|
|
277
|
+
* @default 'hover'
|
|
278
|
+
*/
|
|
279
|
+
trigger?: 'hover' | 'click';
|
|
280
|
+
/**
|
|
281
|
+
* @description 触发延迟时间(仅在 trigger 为 hover 时生效), 单位为毫秒
|
|
282
|
+
* @default 300
|
|
283
|
+
*/
|
|
284
|
+
triggerDelay?: number;
|
|
285
|
+
/**
|
|
286
|
+
* @description popover的位置, 默认根据标签位置自动计算
|
|
287
|
+
* @description top 是标签上方,bottom 是标签下方,left 是标签左侧,right 是标签右侧
|
|
288
|
+
* @description top-left 是标签上方,Popover的左边界与标签的左边界对齐
|
|
289
|
+
* @description top-right 是标签上方,Popover的右边界与标签的右边界对齐
|
|
290
|
+
* @description bottom-left 是标签下方,Popover的左边界与标签的左边界对齐
|
|
291
|
+
* @description bottom-right 是标签下方,Popover的右边界与标签的右边界对齐
|
|
292
|
+
* @description left-top 是标签左侧,Popover的上边界与标签的上边界对齐
|
|
293
|
+
* @description left-bottom 是标签左侧,Popover的下边界与标签的下边界对齐
|
|
294
|
+
* @description right-top 是标签右侧,Popover的上边界与标签的上边界对齐
|
|
295
|
+
* @description right-bottom 是标签右侧,Popover的下边界与标签的下边界对齐
|
|
296
|
+
* @description auto 是根据标签位置自动计算
|
|
297
|
+
* @default 'auto'
|
|
298
|
+
*/
|
|
299
|
+
placement?: TagPlacement;
|
|
300
|
+
/**
|
|
301
|
+
* @description 过渡动画的持续时间, 单位为毫秒
|
|
302
|
+
* @default 100
|
|
303
|
+
*/
|
|
304
|
+
transitionDuration?: number;
|
|
305
|
+
/**
|
|
306
|
+
* @description 主题,可选值为 'dark' | 'light'
|
|
307
|
+
* @default 'dark'
|
|
308
|
+
*/
|
|
309
|
+
theme?: 'dark' | 'light';
|
|
310
|
+
/**
|
|
311
|
+
* @description 工具栏配置
|
|
312
|
+
*/
|
|
313
|
+
toolbar?: {
|
|
314
|
+
showMore?: boolean;
|
|
315
|
+
showShare?: boolean;
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* @description 图片URL转换函数
|
|
319
|
+
*/
|
|
320
|
+
imageURLTransform?: (url: string, options: {
|
|
321
|
+
width: number;
|
|
322
|
+
height: number;
|
|
323
|
+
}) => string;
|
|
324
|
+
/**
|
|
325
|
+
* @description 查看更多按钮的文本
|
|
326
|
+
* @default '查看更多'
|
|
327
|
+
*/
|
|
328
|
+
viewMoreText?: string;
|
|
329
|
+
};
|
|
241
330
|
}
|
|
242
331
|
export declare const defaultGlobalConfig: TagConfig;
|
|
243
332
|
type ConfigFunction = (five: Five, tagState: {
|
|
@@ -85,4 +85,9 @@ export type Point2DTag<C extends TagContentType = TagContentType> = TagInstance<
|
|
|
85
85
|
export type Point3DTag<C extends TagContentType = TagContentType> = TagInstance<C, '3DPoint'>;
|
|
86
86
|
/** 三维贴片 */
|
|
87
87
|
export type PlaneTag<C extends TagContentType = TagContentType> = TagInstance<C, 'Plane'>;
|
|
88
|
+
export interface TagState {
|
|
89
|
+
visible: boolean;
|
|
90
|
+
unfolded: boolean;
|
|
91
|
+
popoverVisible?: boolean;
|
|
92
|
+
}
|
|
88
93
|
export {};
|