@realsee/dnalogel 3.34.2 → 3.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +5 -0
- package/dist/PanoTagPlugin/controller/index.d.ts +7 -2
- package/dist/index.cjs.js +22 -22
- package/dist/index.js +863 -850
- package/dist/index.umd.js +14 -14
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginInstance.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +30 -30
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelMakerPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/SculptPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.blink.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.reblink.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/SculptData.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/SculptData.BoxData.html +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/ModelMakerPlugin/Controller.js +12 -12
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +5 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +206 -184
- package/libs/PanoTagPlugin/controller/index.d.ts +7 -2
- package/libs/PanoTagPlugin/controller/index.js +115 -115
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -2,42 +2,42 @@ var V = Object.defineProperty, E = Object.defineProperties;
|
|
|
2
2
|
var R = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var D = Object.getOwnPropertySymbols;
|
|
4
4
|
var F = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var A = (d, a, e) => a in d ? V(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, c = (d, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
|
-
F.call(a, e) &&
|
|
7
|
+
F.call(a, e) && A(d, e, a[e]);
|
|
8
8
|
if (D)
|
|
9
9
|
for (var e of D(a))
|
|
10
|
-
O.call(a, e) &&
|
|
10
|
+
O.call(a, e) && A(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
|
-
},
|
|
13
|
-
var f = (d, a, e) => (
|
|
14
|
-
var
|
|
15
|
-
var s = (
|
|
12
|
+
}, C = (d, a) => E(d, R(a));
|
|
13
|
+
var f = (d, a, e) => (A(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
|
+
var g = (d, a, e) => new Promise((t, i) => {
|
|
15
|
+
var s = (n) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
r(e.next(n));
|
|
18
|
+
} catch (l) {
|
|
19
|
+
i(l);
|
|
20
20
|
}
|
|
21
|
-
}, o = (
|
|
21
|
+
}, o = (n) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
r(e.throw(n));
|
|
24
|
+
} catch (l) {
|
|
25
|
+
i(l);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, r = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(s, o);
|
|
28
|
+
r((e = e.apply(d, a)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as P from "three";
|
|
31
|
-
import { Subscribe as
|
|
32
|
-
import { objectAssignDeepExports as
|
|
33
|
-
import { addDebugPoints as
|
|
34
|
-
import { arrayPositionToVector3 as
|
|
35
|
-
import { isMediaModelTag as L, isModelTag as
|
|
36
|
-
import { debounce as
|
|
37
|
-
import { throttle as
|
|
31
|
+
import { Subscribe as _ } from "@realsee/five";
|
|
32
|
+
import { objectAssignDeepExports as u } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
33
|
+
import { addDebugPoints as M } from "../utils/addDebugPoints.js";
|
|
34
|
+
import { arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
|
|
35
|
+
import { isMediaModelTag as L, isModelTag as G } from "../utils/tag/tagCheck.js";
|
|
36
|
+
import { debounce as N } from "../utils/debounce.js";
|
|
37
|
+
import { throttle as S } from "../utils/throttle.js";
|
|
38
38
|
import z, { getTagStickType as $ } from "../utils/tag/format.js";
|
|
39
39
|
import { generateBlankAudio as W, AudioNamespace as x } from "../../shared-utils/audio.js";
|
|
40
|
-
import { resizeObserver as
|
|
40
|
+
import { resizeObserver as U } from "../../shared-utils/dom/resizeObserver.js";
|
|
41
41
|
import { TagRender as j } from "./TagRender.js";
|
|
42
42
|
import { uuid as J } from "../../shared-utils/uuid.js";
|
|
43
43
|
import { isModelLike as q } from "../../shared-utils/five/mode.js";
|
|
@@ -173,8 +173,8 @@ import "../Components/Common/TagPoint.js";
|
|
|
173
173
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
174
174
|
import "@realsee/five/gltf-loader";
|
|
175
175
|
import "../../shared-utils/animationFrame/index.js";
|
|
176
|
-
const
|
|
177
|
-
class
|
|
176
|
+
const B = "Dnalogel-PanoTagPlugin", Gi = (d) => `${B}--${d}`;
|
|
177
|
+
class Ni extends j {
|
|
178
178
|
constructor(e, t) {
|
|
179
179
|
super(e);
|
|
180
180
|
/** state */
|
|
@@ -183,11 +183,11 @@ class Gi extends j {
|
|
|
183
183
|
f(this, "debug");
|
|
184
184
|
f(this, "debugUtil", new K(this));
|
|
185
185
|
/** 更改 tag 模型 */
|
|
186
|
-
f(this, "changeTagModel", (e, t) =>
|
|
187
|
-
e.data =
|
|
186
|
+
f(this, "changeTagModel", (e, t) => g(this, null, function* () {
|
|
187
|
+
e.data = u({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
|
|
188
188
|
}));
|
|
189
189
|
f(this, "whyHide", (e) => {
|
|
190
|
-
var
|
|
190
|
+
var s;
|
|
191
191
|
if (!this.state.enabled)
|
|
192
192
|
return { reason: `plugin.state.enabled is ${this.state.enabled}` };
|
|
193
193
|
if (!this.state.visible)
|
|
@@ -196,14 +196,11 @@ class Gi extends j {
|
|
|
196
196
|
if (!t)
|
|
197
197
|
return { reason: `tag ${e} not found` };
|
|
198
198
|
if (!t.enabled)
|
|
199
|
-
return { reason: `tag ${e} enabled is ${t.enabled}` };
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
return { reason: (o = n == null ? void 0 : n.type) != null ? o : n, reasonObj: n };
|
|
205
|
-
}
|
|
206
|
-
return { reason: "check your eyes" };
|
|
199
|
+
return { reason: `tag ${e} enabled is: ${t.enabled}` };
|
|
200
|
+
const i = C(c({}, this.computeTagVisible(t)), {
|
|
201
|
+
tagInstance: t
|
|
202
|
+
});
|
|
203
|
+
return t.state.visible ? { reason: "应该是能看见才对", info: i } : t.stickType === "Model" || t.stickType === "Plane" ? { reason: "maybe blocked by the five model" } : i.value === !0 ? { reason: "插件bug,请联系维护人员", info: i } : { reason: (s = i.reason.type) != null ? s : i.reason, info: i };
|
|
207
204
|
});
|
|
208
205
|
f(this, "updateVisible", () => {
|
|
209
206
|
const e = this.five.getCurrentState().mode;
|
|
@@ -245,24 +242,24 @@ class Gi extends j {
|
|
|
245
242
|
f(this, "handleFiveCameraUpdate", () => {
|
|
246
243
|
this.updatePointTagPosition();
|
|
247
244
|
});
|
|
248
|
-
f(this, "handleFivePanoArrived", () =>
|
|
245
|
+
f(this, "handleFivePanoArrived", () => g(this, null, function* () {
|
|
249
246
|
this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
|
|
250
|
-
e.temporaryState =
|
|
251
|
-
}), this.tags.filter(
|
|
247
|
+
e.temporaryState = C(c({}, e.temporaryState), { visible: !0 });
|
|
248
|
+
}), this.tags.filter(G).filter((e) => {
|
|
252
249
|
var t;
|
|
253
250
|
return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
254
251
|
}).forEach((e) => {
|
|
255
|
-
var
|
|
256
|
-
const t = new P.Mesh(new P.BoxGeometry(), new P.MeshBasicMaterial()), i = (
|
|
252
|
+
var l;
|
|
253
|
+
const t = new P.Mesh(new P.BoxGeometry(), new P.MeshBasicMaterial()), i = (l = e.model) == null ? void 0 : l.object;
|
|
257
254
|
if (!i)
|
|
258
255
|
return;
|
|
259
256
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
260
257
|
const s = this.five.camera.position;
|
|
261
258
|
t.lookAt(s.clone().setY(t.position.y));
|
|
262
|
-
const o = i.quaternion.clone(),
|
|
263
|
-
|
|
264
|
-
i.quaternion.copy(o.clone().slerp(
|
|
265
|
-
}),
|
|
259
|
+
const o = i.quaternion.clone(), r = t.quaternion.clone(), n = Z();
|
|
260
|
+
n.onUpdate(({ progress: h }) => {
|
|
261
|
+
i.quaternion.copy(o.clone().slerp(r, h));
|
|
262
|
+
}), n.play();
|
|
266
263
|
}), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
|
|
267
264
|
}));
|
|
268
265
|
/** 楼层切换时,需要更新标签可见性 */
|
|
@@ -272,35 +269,38 @@ class Gi extends j {
|
|
|
272
269
|
f(this, "onFiveEveryReady", () => {
|
|
273
270
|
this.setUnfoldedByCamera(), q(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
|
|
274
271
|
});
|
|
275
|
-
this.params =
|
|
272
|
+
this.params = u({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, W(1, { namespace: x.PlayAudio });
|
|
276
273
|
try {
|
|
277
|
-
|
|
278
|
-
|
|
274
|
+
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
|
|
275
|
+
get: function() {
|
|
276
|
+
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((i, s) => s.tags.length - i.tags.length)[0];
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
279
|
} catch (i) {
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
appendTo(e) {
|
|
283
|
-
var i, s, o,
|
|
283
|
+
var i, s, o, r;
|
|
284
284
|
this.container = e, (i = this.css3DRenderPlugin) == null || i.appendToFrontFiveContainer(this.container);
|
|
285
285
|
const t = (o = (s = this.TagContainerSvelte) == null ? void 0 : s.$$) == null ? void 0 : o.root;
|
|
286
|
-
t && t !== this.container && ((
|
|
286
|
+
t && t !== this.container && ((r = this.TagContainerSvelte) == null || r.$destroy(), this.TagContainerSvelte = void 0, this.updateDomView());
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
289
|
* @description 加载数据
|
|
290
290
|
*/
|
|
291
291
|
load(e, t) {
|
|
292
|
-
return
|
|
292
|
+
return g(this, null, function* () {
|
|
293
293
|
var s, o;
|
|
294
|
-
this.clearTags(), console.debug(
|
|
294
|
+
this.clearTags(), console.debug(B, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = u({}, this.config, {
|
|
295
295
|
globalConfig: (s = e.globalConfig) != null ? s : {},
|
|
296
296
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
297
297
|
}), this.store.visibleWithAnimation = !0;
|
|
298
298
|
const i = yield this.addTag(e.tagList, t);
|
|
299
299
|
if (this.store.visibleWithAnimation = void 0, this.debug)
|
|
300
300
|
try {
|
|
301
|
-
|
|
302
|
-
} catch (
|
|
303
|
-
console.error(
|
|
301
|
+
M(this.five, this.tags);
|
|
302
|
+
} catch (r) {
|
|
303
|
+
console.error(r);
|
|
304
304
|
}
|
|
305
305
|
return i;
|
|
306
306
|
});
|
|
@@ -309,45 +309,45 @@ class Gi extends j {
|
|
|
309
309
|
* @description 添加标签
|
|
310
310
|
*/
|
|
311
311
|
addTag(e, t) {
|
|
312
|
-
return
|
|
312
|
+
return g(this, null, function* () {
|
|
313
313
|
const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
314
314
|
var b, v, T, y;
|
|
315
315
|
o.stickType = $(o);
|
|
316
|
-
const
|
|
317
|
-
o.initialConfig =
|
|
318
|
-
const
|
|
319
|
-
o.config =
|
|
320
|
-
const p =
|
|
316
|
+
const r = JSON.parse(JSON.stringify(o.data)), n = (b = o.initialConfig) != null ? b : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
|
|
317
|
+
o.initialConfig = n;
|
|
318
|
+
const l = this.calculateTagConfig(o), h = this.getTagConfig(o);
|
|
319
|
+
o.config = h;
|
|
320
|
+
const p = C(c({}, o), {
|
|
321
321
|
enabled: (v = o.enabled) != null ? v : !0,
|
|
322
322
|
id: (T = o.id) != null ? T : J(),
|
|
323
|
-
data: (y =
|
|
324
|
-
state:
|
|
323
|
+
data: (y = h.initialData) != null && y.important ? u(o.data, r, h.initialData) : u(o.data, h.initialData, r),
|
|
324
|
+
state: c({
|
|
325
325
|
visible: void 0,
|
|
326
326
|
unfolded: !this.can("fold", o)
|
|
327
|
-
},
|
|
328
|
-
hooks: new
|
|
327
|
+
}, h.initialState),
|
|
328
|
+
hooks: new _(),
|
|
329
329
|
originPosition: o.position,
|
|
330
330
|
position: (() => {
|
|
331
|
-
const
|
|
332
|
-
return Array.isArray(
|
|
331
|
+
const m = this.getTransformedPostion(o.position);
|
|
332
|
+
return Array.isArray(m) ? m.map((k) => k.toArray()) : m.toArray();
|
|
333
333
|
})(),
|
|
334
|
-
initialConfig:
|
|
335
|
-
computedConfig:
|
|
336
|
-
config:
|
|
334
|
+
initialConfig: n,
|
|
335
|
+
computedConfig: l,
|
|
336
|
+
config: h,
|
|
337
337
|
unfold: () => this.changeUnfoldedById(p.id, !0),
|
|
338
338
|
fold: () => this.changeUnfoldedById(p.id, !1),
|
|
339
339
|
enable: () => this.changeEnabledById(p.id, !0),
|
|
340
340
|
disable: () => this.changeEnabledById(p.id, !1),
|
|
341
341
|
destroy: () => this.destroyTagById(p.id),
|
|
342
|
-
changeData: (
|
|
343
|
-
changePosition: (
|
|
344
|
-
blink: (
|
|
342
|
+
changeData: (m) => this.changeDataById(p.id, m),
|
|
343
|
+
changePosition: (m) => this.changePositionById(p.id, m),
|
|
344
|
+
blink: (m) => this.blinkTagById(p.id, m)
|
|
345
345
|
});
|
|
346
346
|
return p;
|
|
347
347
|
});
|
|
348
|
-
return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0, H(this.five).then(() =>
|
|
349
|
-
var o,
|
|
350
|
-
this.store.eventListenerDisposer && ((
|
|
348
|
+
return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0, H(this.five).then(() => g(this, null, function* () {
|
|
349
|
+
var o, r, n;
|
|
350
|
+
this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
|
|
351
351
|
}));
|
|
352
352
|
});
|
|
353
353
|
}
|
|
@@ -355,22 +355,22 @@ class Gi extends j {
|
|
|
355
355
|
* @description 改变配置
|
|
356
356
|
*/
|
|
357
357
|
changeConfig(e, t = !0) {
|
|
358
|
-
t ? this.config =
|
|
358
|
+
t ? this.config = u({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
361
|
* @description 改变全局配置
|
|
362
362
|
*/
|
|
363
363
|
changeGlobalConfig(e, t = !0) {
|
|
364
|
-
t ? this.config.globalConfig =
|
|
364
|
+
t ? this.config.globalConfig = u({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
|
|
365
365
|
}
|
|
366
366
|
/**
|
|
367
367
|
* @description 改变类型配置
|
|
368
368
|
*/
|
|
369
369
|
changeContentTypeConfig(e, t, i = !0) {
|
|
370
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] =
|
|
370
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = u({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
|
|
371
371
|
}
|
|
372
372
|
show(e) {
|
|
373
|
-
return
|
|
373
|
+
return g(this, null, function* () {
|
|
374
374
|
if (this.checkDisposed())
|
|
375
375
|
return;
|
|
376
376
|
const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
|
|
@@ -378,7 +378,7 @@ class Gi extends j {
|
|
|
378
378
|
});
|
|
379
379
|
}
|
|
380
380
|
hide(e) {
|
|
381
|
-
return
|
|
381
|
+
return g(this, null, function* () {
|
|
382
382
|
if (this.checkDisposed())
|
|
383
383
|
return;
|
|
384
384
|
const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
|
|
@@ -400,18 +400,18 @@ class Gi extends j {
|
|
|
400
400
|
setState(e, t) {
|
|
401
401
|
if (this.checkDisposed())
|
|
402
402
|
return;
|
|
403
|
-
const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o =
|
|
403
|
+
const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = c({}, this.state);
|
|
404
404
|
this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, 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 });
|
|
405
405
|
}
|
|
406
406
|
/**
|
|
407
407
|
* @description 销毁
|
|
408
408
|
*/
|
|
409
409
|
dispose() {
|
|
410
|
-
var e, t, i, s, o,
|
|
411
|
-
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((
|
|
412
|
-
var
|
|
413
|
-
return (
|
|
414
|
-
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((
|
|
410
|
+
var e, t, i, s, o, r;
|
|
411
|
+
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((n) => {
|
|
412
|
+
var l;
|
|
413
|
+
return (l = n.tag3DContentSvelte) == null ? void 0 : l.svelteApp.$destroy();
|
|
414
|
+
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((n) => n == null ? void 0 : n()), this.store.disposers = [], (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (r = (o = this.store).resizeObserverDisposer) == null || r.call(o), 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.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
417
|
* @description 闪烁标签
|
|
@@ -419,23 +419,23 @@ class Gi extends j {
|
|
|
419
419
|
* @param {Partial<anime.AnimeParams>} animeConfig
|
|
420
420
|
*/
|
|
421
421
|
blinkTagById(e, t) {
|
|
422
|
-
return
|
|
423
|
-
var
|
|
422
|
+
return g(this, null, function* () {
|
|
423
|
+
var h, p;
|
|
424
424
|
const i = this.getTagById(e);
|
|
425
425
|
if (!i)
|
|
426
426
|
return;
|
|
427
|
-
const s = (
|
|
428
|
-
|
|
429
|
-
const
|
|
427
|
+
const s = (h = i.enabled) != null ? h : !0, o = (p = i.state) == null ? void 0 : p.visible, r = s && o;
|
|
428
|
+
r === !1 && (i.state.visible = !0, i.enabled = !0, this.setPointTagPosition(), this.updateDomView(), yield X(0), i.dom && (i.dom.style.visibility = "hidden"));
|
|
429
|
+
const n = (() => {
|
|
430
430
|
var v, T, y;
|
|
431
431
|
const b = [];
|
|
432
432
|
return b.push((T = (v = i.dom) == null ? void 0 : v.getElementsByClassName("wrapper")) == null ? void 0 : T[0]), i.stickType !== "2DPoint" && b.push(i.contentDom), b.push((y = i.model) == null ? void 0 : y.object), b.push(i.mediaPlane), b.filter(Boolean);
|
|
433
433
|
})();
|
|
434
|
-
if (!
|
|
434
|
+
if (!n.length)
|
|
435
435
|
return;
|
|
436
|
-
yield (
|
|
436
|
+
yield (r ? Q : Y)(n, c({
|
|
437
437
|
begin: () => {
|
|
438
|
-
|
|
438
|
+
r === !1 && i.dom && (i.dom.style.visibility = "");
|
|
439
439
|
},
|
|
440
440
|
updateRender: () => {
|
|
441
441
|
this.five.needsRender = !0;
|
|
@@ -449,15 +449,15 @@ class Gi extends j {
|
|
|
449
449
|
* @param {boolean} unfolded
|
|
450
450
|
*/
|
|
451
451
|
changeUnfoldedById(e, t) {
|
|
452
|
-
var
|
|
452
|
+
var r;
|
|
453
453
|
const i = this.getTagById(e);
|
|
454
454
|
if (!i)
|
|
455
455
|
return;
|
|
456
456
|
const s = this.can("fold", i), o = this.can("unfold", i);
|
|
457
457
|
if (s && o) {
|
|
458
458
|
i.state.unfolded = t;
|
|
459
|
-
const
|
|
460
|
-
(
|
|
459
|
+
const n = this.filterPointTag;
|
|
460
|
+
(r = this.TagContainerSvelte) == null || r.$set({ tags: n });
|
|
461
461
|
} else
|
|
462
462
|
console.warn(`tag ${e} cannot be ${t ? "unfolded" : "folded"}`);
|
|
463
463
|
}
|
|
@@ -478,7 +478,7 @@ class Gi extends j {
|
|
|
478
478
|
*/
|
|
479
479
|
changeTagNormalById(e, t) {
|
|
480
480
|
const i = this.getTagById(e);
|
|
481
|
-
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal =
|
|
481
|
+
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = w(t));
|
|
482
482
|
}
|
|
483
483
|
/**
|
|
484
484
|
* @description 改变data
|
|
@@ -497,7 +497,7 @@ class Gi extends j {
|
|
|
497
497
|
changeDataById(e, t, i = !0) {
|
|
498
498
|
const s = this.getTagById(e);
|
|
499
499
|
let o = !1;
|
|
500
|
-
s && (s.data && (o = !0), i ? s.data =
|
|
500
|
+
s && (s.data && (o = !0), i ? s.data = u(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
|
|
501
501
|
}
|
|
502
502
|
/**
|
|
503
503
|
* @description 改变tag的stickType
|
|
@@ -511,7 +511,7 @@ class Gi extends j {
|
|
|
511
511
|
changeTagById(e, t, i = !0) {
|
|
512
512
|
const s = this.getTagById(e);
|
|
513
513
|
let o = !1;
|
|
514
|
-
t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ?
|
|
514
|
+
t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? u(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = w(t.normal)), this.clearCacheById(e), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
517
|
* @description 销毁tag
|
|
@@ -526,7 +526,7 @@ class Gi extends j {
|
|
|
526
526
|
* @description 设置 visible 和 unfolded
|
|
527
527
|
*/
|
|
528
528
|
setVisibleAndUnfolded() {
|
|
529
|
-
return
|
|
529
|
+
return g(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
|
|
530
530
|
return this.store.visibleWithAnimation = e, this.setVisible(), e ? new Promise((t) => {
|
|
531
531
|
setTimeout(() => {
|
|
532
532
|
this.setUnfoldedByPanoIndex(), t();
|
|
@@ -559,7 +559,7 @@ class Gi extends j {
|
|
|
559
559
|
addEventListener() {
|
|
560
560
|
const { five: e, hooks: t } = this;
|
|
561
561
|
let i = !1;
|
|
562
|
-
const s =
|
|
562
|
+
const s = S(() => {
|
|
563
563
|
i || (i = !0, e.ready().then(() => {
|
|
564
564
|
this.onFiveEveryReady(), i = !1;
|
|
565
565
|
}));
|
|
@@ -583,17 +583,17 @@ class Gi extends j {
|
|
|
583
583
|
this.state.enabled && (this.show(), this.updateRenderAllTags());
|
|
584
584
|
}, i = () => {
|
|
585
585
|
this.state.enabled && this.hide();
|
|
586
|
-
}, { observe: s, unobserve: o } =
|
|
587
|
-
|
|
586
|
+
}, { observe: s, unobserve: o } = U(
|
|
587
|
+
S(() => {
|
|
588
588
|
this.store.resizeObserverDisposer && i();
|
|
589
589
|
}, 500),
|
|
590
590
|
e
|
|
591
|
-
), { observe:
|
|
592
|
-
|
|
591
|
+
), { observe: r, unobserve: n } = U(
|
|
592
|
+
N(() => t(), 400),
|
|
593
593
|
e
|
|
594
594
|
);
|
|
595
|
-
return s(),
|
|
596
|
-
o(),
|
|
595
|
+
return s(), r(), () => {
|
|
596
|
+
o(), n();
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
599
|
setUnfoldedByCamera() {
|
|
@@ -613,12 +613,12 @@ class Gi extends j {
|
|
|
613
613
|
});
|
|
614
614
|
}
|
|
615
615
|
changeTagMode(e, t) {
|
|
616
|
-
var i, s, o,
|
|
617
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((
|
|
616
|
+
var i, s, o, r, n, l;
|
|
617
|
+
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((r = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : r.mode) !== t && ((n = e.config) != null && n.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (l = this.store.css3DRenderDisposer.get(e.id)) == null || l.forEach((h) => h == null ? void 0 : h()), e.tag3DContentSvelte = void 0);
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
620
|
export {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
621
|
+
Ni as PanoTagPluginController,
|
|
622
|
+
Ni as default,
|
|
623
|
+
Gi as pluginFlag
|
|
624
624
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.34.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.34.3",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|