@realsee/dnalogel 3.23.3 → 3.24.1
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/dist/PanoTagPlugin/controller/TagUtil.d.ts +6 -0
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +4 -2
- package/dist/index.cjs.js +44 -44
- package/dist/index.js +2329 -2292
- package/dist/index.umd.js +37 -37
- package/docs/assets/search.js +1 -1
- 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/ModelMakerPluginType.ModelMakerController.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 +21 -13
- 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/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.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.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/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.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.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.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/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/AudioTagTypeConfigKey.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/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 +7 -7
- package/libs/ModelMakerPlugin/utils/Text.js +44 -23
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +6 -0
- package/libs/PanoTagPlugin/controller/TagUtil.js +160 -145
- package/libs/PanoTagPlugin/controller/index.js +108 -110
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +4 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +4 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var u = (d, a, e) => a in d ?
|
|
1
|
+
var E = Object.defineProperty, I = Object.defineProperties;
|
|
2
|
+
var R = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var A = Object.getOwnPropertySymbols;
|
|
4
|
+
var B = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var u = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, g = (d, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
B.call(a, e) && u(d, e, a[e]);
|
|
8
|
+
if (A)
|
|
9
|
+
for (var e of A(a))
|
|
10
|
+
F.call(a, e) && u(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
|
-
}, v = (d, a) =>
|
|
12
|
+
}, v = (d, a) => I(d, R(a));
|
|
13
13
|
var l = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
14
|
var c = (d, a, e) => new Promise((t, i) => {
|
|
15
|
-
var
|
|
15
|
+
var s = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
n(e.next(r));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
i(h);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, o = (r) => {
|
|
22
22
|
try {
|
|
23
23
|
n(e.throw(r));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
i(h);
|
|
26
26
|
}
|
|
27
|
-
}, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(
|
|
27
|
+
}, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
|
|
28
28
|
n((e = e.apply(d, a)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as b from "three";
|
|
31
|
-
import { Subscribe as
|
|
31
|
+
import { Subscribe as M } from "@realsee/five";
|
|
32
32
|
import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
33
|
-
import { addDebugPoints as
|
|
34
|
-
import { arrayPositionToVector3 as
|
|
35
|
-
import { isMediaModelTag as
|
|
36
|
-
import { debounce as
|
|
37
|
-
import { throttle as
|
|
38
|
-
import
|
|
39
|
-
import { generateBlankAudio as
|
|
40
|
-
import { resizeObserver as
|
|
41
|
-
import { TagRender as
|
|
42
|
-
import { uuid as
|
|
43
|
-
import { isModelLike as
|
|
33
|
+
import { addDebugPoints as O } from "../utils/addDebugPoints.js";
|
|
34
|
+
import { arrayPositionToVector3 as D } from "../../shared-utils/positionToVector3.js";
|
|
35
|
+
import { isMediaModelTag as V, isModelTag as _ } from "../utils/tag/tagCheck.js";
|
|
36
|
+
import { debounce as k } from "../utils/debounce.js";
|
|
37
|
+
import { throttle as P } from "../utils/throttle.js";
|
|
38
|
+
import L from "../utils/tag/format.js";
|
|
39
|
+
import { generateBlankAudio as N, AudioNamespace as G } from "../../shared-utils/audio.js";
|
|
40
|
+
import { resizeObserver as S } from "../../shared-utils/dom/resizeObserver.js";
|
|
41
|
+
import { TagRender as z } from "./TagRender.js";
|
|
42
|
+
import { uuid as x } from "../../shared-utils/uuid.js";
|
|
43
|
+
import { isModelLike as W } from "../../shared-utils/five/mode.js";
|
|
44
44
|
import "hammerjs";
|
|
45
45
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
48
|
-
import { tweenProgress as
|
|
49
|
-
import { waitFiveModelLoaded as
|
|
50
|
-
import { DebugUtil as
|
|
48
|
+
import { tweenProgress as $ } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
49
|
+
import { waitFiveModelLoaded as J } from "../../shared-utils/five/fiveModelLoad.js";
|
|
50
|
+
import { DebugUtil as j } from "../utils/DebugUtil.js";
|
|
51
51
|
import "./TagComputer.js";
|
|
52
52
|
import "../utils/tagPosition.js";
|
|
53
53
|
import "../../shared-utils/three/centerPoint.js";
|
|
@@ -172,8 +172,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
172
172
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
173
173
|
import "@realsee/five/gltf-loader";
|
|
174
174
|
import "../../shared-utils/animationFrame/index.js";
|
|
175
|
-
const
|
|
176
|
-
class
|
|
175
|
+
const w = "Dnalogel-PanoTagPlugin", Fi = (d) => `${w}--${d}`;
|
|
176
|
+
class Mi extends z {
|
|
177
177
|
constructor(e, t) {
|
|
178
178
|
super(e);
|
|
179
179
|
/** state */
|
|
@@ -182,13 +182,13 @@ class Oi extends $ {
|
|
|
182
182
|
l(this, "params");
|
|
183
183
|
/** debug */
|
|
184
184
|
l(this, "debug");
|
|
185
|
-
l(this, "debugUtil", new
|
|
185
|
+
l(this, "debugUtil", new j(this));
|
|
186
186
|
/** 更改 tag 模型 */
|
|
187
187
|
l(this, "changeTagModel", (e, t) => c(this, null, function* () {
|
|
188
188
|
e.data = f({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
|
|
189
189
|
}));
|
|
190
190
|
l(this, "whyHide", (e) => {
|
|
191
|
-
var i,
|
|
191
|
+
var i, s, o;
|
|
192
192
|
if (!this.state.enabled)
|
|
193
193
|
return { reason: `plugin.state.enabled is ${this.state.enabled}` };
|
|
194
194
|
if (!this.state.visible)
|
|
@@ -201,22 +201,22 @@ class Oi extends $ {
|
|
|
201
201
|
if (t.stickType === "Model" || t.stickType === "Plane")
|
|
202
202
|
return { reason: "maybe blocked by the five model" };
|
|
203
203
|
if (!t.state.visible) {
|
|
204
|
-
const n = (
|
|
205
|
-
return { reason: (
|
|
204
|
+
const n = (s = (i = this.getPanoIndexCache({ panoIndex: this.five.panoIndex, id: e })) == null ? void 0 : i.__debug_visible_reason__) == null ? void 0 : s.reason;
|
|
205
|
+
return { reason: (o = n == null ? void 0 : n.type) != null ? o : n, reasonObj: n };
|
|
206
206
|
}
|
|
207
207
|
return { reason: "check your eyes" };
|
|
208
208
|
});
|
|
209
209
|
l(this, "updateVisible", () => {
|
|
210
210
|
const e = this.five.getCurrentState().mode;
|
|
211
211
|
this.tags.forEach((t) => {
|
|
212
|
-
|
|
212
|
+
V(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
|
|
213
213
|
}), this.setVisible(), this.updateRenderAllTags();
|
|
214
214
|
});
|
|
215
215
|
l(this, "handleFiveWantsMoveToPano", (e) => {
|
|
216
216
|
this.tags.forEach((t) => {
|
|
217
217
|
this.getVisible(t, { panoIndex: e }) && (t.state.visible = !0);
|
|
218
|
-
const
|
|
219
|
-
typeof
|
|
218
|
+
const s = this.getTagConfig(t);
|
|
219
|
+
typeof s.visibleConfig == "object" && t.temporaryState && (s.visibleConfig.keep ? t.temporaryState.visible = s.visibleConfig.keep === "visible" : t.temporaryState.visible = !!s.visibleConfig.alwaysShowWhenMovePano);
|
|
220
220
|
}), this.updateTagContainerVisible(), this.updateRenderImagePlane(), this.updateRenderVideoPlane();
|
|
221
221
|
});
|
|
222
222
|
/**
|
|
@@ -239,8 +239,8 @@ class Oi extends $ {
|
|
|
239
239
|
if (!e.tag.state)
|
|
240
240
|
return console.warn("Clickhandler: params.tag.state is undefined");
|
|
241
241
|
const t = this.can("fold", e.tag), i = this.can("unfold", e.tag);
|
|
242
|
-
t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((
|
|
243
|
-
|
|
242
|
+
t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((s) => {
|
|
243
|
+
s.id !== e.tag.id && s.state && this.can("fold", s) && (s.state.unfolded = !1);
|
|
244
244
|
}), this.updateRenderAllTags());
|
|
245
245
|
});
|
|
246
246
|
l(this, "handleFiveCameraUpdate", () => {
|
|
@@ -248,8 +248,8 @@ class Oi extends $ {
|
|
|
248
248
|
});
|
|
249
249
|
l(this, "handleFivePanoArrived", () => c(this, null, function* () {
|
|
250
250
|
this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
|
|
251
|
-
e.temporaryState = v(
|
|
252
|
-
}), this.tags.filter(
|
|
251
|
+
e.temporaryState = v(g({}, e.temporaryState), { visible: !0 });
|
|
252
|
+
}), this.tags.filter(_).filter((e) => {
|
|
253
253
|
var t;
|
|
254
254
|
return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
255
255
|
}).forEach((e) => {
|
|
@@ -258,11 +258,11 @@ class Oi extends $ {
|
|
|
258
258
|
if (!i)
|
|
259
259
|
return;
|
|
260
260
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
261
|
-
const
|
|
262
|
-
t.lookAt(
|
|
263
|
-
const
|
|
261
|
+
const s = this.five.camera.position;
|
|
262
|
+
t.lookAt(s.clone().setY(t.position.y));
|
|
263
|
+
const o = i.quaternion.clone(), n = t.quaternion.clone(), r = $();
|
|
264
264
|
r.onUpdate(({ progress: p }) => {
|
|
265
|
-
i.quaternion.copy(
|
|
265
|
+
i.quaternion.copy(o.clone().slerp(n, p));
|
|
266
266
|
}), r.play();
|
|
267
267
|
}), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
|
|
268
268
|
}));
|
|
@@ -271,9 +271,9 @@ class Oi extends $ {
|
|
|
271
271
|
this.setVisible(), this.updateRenderAllTags();
|
|
272
272
|
});
|
|
273
273
|
l(this, "onFiveEveryReady", () => {
|
|
274
|
-
this.setUnfoldedByCamera(),
|
|
274
|
+
this.setUnfoldedByCamera(), W(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
|
|
275
275
|
});
|
|
276
|
-
this.params = f({}, { debug: !1, config: this.config },
|
|
276
|
+
this.params = f({}, { debug: !1, config: this.config }, g({}, t)), this.debug = this.params.debug, this.config = this.params.config, N(1, { namespace: G.PlayAudio });
|
|
277
277
|
try {
|
|
278
278
|
const i = window;
|
|
279
279
|
Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
@@ -285,15 +285,15 @@ class Oi extends $ {
|
|
|
285
285
|
*/
|
|
286
286
|
load(e, t) {
|
|
287
287
|
return c(this, null, function* () {
|
|
288
|
-
var
|
|
289
|
-
this.clearTags(), console.debug(
|
|
290
|
-
globalConfig: (
|
|
291
|
-
contentTypeConfig: (
|
|
288
|
+
var s, o;
|
|
289
|
+
this.clearTags(), console.debug(w, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = f({}, this.config, {
|
|
290
|
+
globalConfig: (s = e.globalConfig) != null ? s : {},
|
|
291
|
+
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
292
292
|
}), this.store.visibleWithAnimation = !0;
|
|
293
293
|
const i = yield this.addTag(e.tagList, t);
|
|
294
294
|
if (this.store.visibleWithAnimation = void 0, this.debug)
|
|
295
295
|
try {
|
|
296
|
-
|
|
296
|
+
O(this.five, this.tags);
|
|
297
297
|
} catch (n) {
|
|
298
298
|
console.error(n);
|
|
299
299
|
}
|
|
@@ -305,41 +305,39 @@ class Oi extends $ {
|
|
|
305
305
|
*/
|
|
306
306
|
addTag(e, t) {
|
|
307
307
|
return c(this, null, function* () {
|
|
308
|
-
const
|
|
309
|
-
var T, y, C
|
|
310
|
-
const n = JSON.parse(JSON.stringify(
|
|
311
|
-
|
|
312
|
-
const h = this.calculateTagConfig(
|
|
313
|
-
return
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
data: (D = p.initialData) != null && D.important ? f(s.data, n, p.initialData) : f(s.data, p.initialData, n),
|
|
319
|
-
state: m({
|
|
308
|
+
const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
309
|
+
var T, y, C;
|
|
310
|
+
const n = JSON.parse(JSON.stringify(o.data)), r = o.config ? JSON.parse(JSON.stringify(o.config)) : {};
|
|
311
|
+
o.initialConfig = r;
|
|
312
|
+
const h = this.calculateTagConfig(o), p = this.getTagConfig(o);
|
|
313
|
+
return o.config = p, v(g({}, o), {
|
|
314
|
+
enabled: (T = o.enabled) != null ? T : !0,
|
|
315
|
+
id: (y = o.id) != null ? y : x(),
|
|
316
|
+
data: (C = p.initialData) != null && C.important ? f(o.data, n, p.initialData) : f(o.data, p.initialData, n),
|
|
317
|
+
state: g({
|
|
320
318
|
visible: void 0,
|
|
321
|
-
unfolded: !this.can("fold",
|
|
319
|
+
unfolded: !this.can("fold", o)
|
|
322
320
|
}, p.initialState),
|
|
323
|
-
hooks: new
|
|
324
|
-
originPosition:
|
|
321
|
+
hooks: new M(),
|
|
322
|
+
originPosition: o.position,
|
|
325
323
|
position: (() => {
|
|
326
|
-
const
|
|
327
|
-
return Array.isArray(
|
|
324
|
+
const m = this.getTransformedPostion(o.position);
|
|
325
|
+
return Array.isArray(m) ? m.map((U) => U.toArray()) : m.toArray();
|
|
328
326
|
})(),
|
|
329
327
|
initialConfig: r,
|
|
330
328
|
computedConfig: h,
|
|
331
329
|
config: p,
|
|
332
|
-
unfold: () => this.changeUnfoldedById(
|
|
333
|
-
fold: () => this.changeUnfoldedById(
|
|
334
|
-
enable: () => this.changeEnabledById(
|
|
335
|
-
disable: () => this.changeEnabledById(
|
|
336
|
-
destroy: () => this.destroyTagById(
|
|
337
|
-
changeData: (
|
|
330
|
+
unfold: () => this.changeUnfoldedById(o.id, !0),
|
|
331
|
+
fold: () => this.changeUnfoldedById(o.id, !1),
|
|
332
|
+
enable: () => this.changeEnabledById(o.id, !0),
|
|
333
|
+
disable: () => this.changeEnabledById(o.id, !1),
|
|
334
|
+
destroy: () => this.destroyTagById(o.id),
|
|
335
|
+
changeData: (m) => this.changeDataById(o.id, m)
|
|
338
336
|
});
|
|
339
337
|
});
|
|
340
|
-
return
|
|
341
|
-
var
|
|
342
|
-
this.store.eventListenerDisposer && ((n = (
|
|
338
|
+
return s.forEach(L), this.tags.push(...s), this.tagsLengthWillUpdate = !0, J(this.five).then(() => c(this, null, function* () {
|
|
339
|
+
var o, n, r;
|
|
340
|
+
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
|
|
343
341
|
}));
|
|
344
342
|
});
|
|
345
343
|
}
|
|
@@ -392,26 +390,26 @@ class Oi extends $ {
|
|
|
392
390
|
setState(e, t) {
|
|
393
391
|
if (this.checkDisposed())
|
|
394
392
|
return;
|
|
395
|
-
const { userAction: i = !0, visibleWithAnimation:
|
|
396
|
-
this.state = Object.assign(this.state, e), this.store.visibleWithAnimation =
|
|
393
|
+
const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = g({}, this.state);
|
|
394
|
+
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 });
|
|
397
395
|
}
|
|
398
396
|
/**
|
|
399
397
|
* @description: 销毁
|
|
400
398
|
*/
|
|
401
399
|
dispose() {
|
|
402
|
-
var e, t, i,
|
|
400
|
+
var e, t, i, s, o, n;
|
|
403
401
|
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
404
402
|
var h;
|
|
405
403
|
return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
|
|
406
|
-
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (
|
|
404
|
+
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (n = (o = this.store).resizeObserverDisposer) == null || n.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");
|
|
407
405
|
}
|
|
408
406
|
changeUnfoldedById(e, t) {
|
|
409
407
|
var n;
|
|
410
408
|
const i = this.getTagById(e);
|
|
411
409
|
if (!i)
|
|
412
410
|
return;
|
|
413
|
-
const
|
|
414
|
-
if (
|
|
411
|
+
const s = this.can("fold", i), o = this.can("unfold", i);
|
|
412
|
+
if (s && o) {
|
|
415
413
|
i.state.unfolded = t;
|
|
416
414
|
const r = this.filterPointTag;
|
|
417
415
|
(n = this.TagContainerSvelte) == null || n.$set({ tags: r });
|
|
@@ -427,15 +425,15 @@ class Oi extends $ {
|
|
|
427
425
|
*/
|
|
428
426
|
changeTagNormalById(e, t) {
|
|
429
427
|
const i = this.getTagById(e);
|
|
430
|
-
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal =
|
|
428
|
+
i && i.tag3DContentSvelte && (i.tag3DContentSvelte.currentNormal = D(t));
|
|
431
429
|
}
|
|
432
430
|
/**
|
|
433
431
|
* @description: 改变data
|
|
434
432
|
*/
|
|
435
433
|
changeDataById(e, t, i = !0) {
|
|
436
|
-
const
|
|
437
|
-
let
|
|
438
|
-
|
|
434
|
+
const s = this.getTagById(e);
|
|
435
|
+
let o = !1;
|
|
436
|
+
s && (s.data && (o = !0), i ? s.data = f(s.data, t) : s.data = g(g({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
|
|
439
437
|
}
|
|
440
438
|
/**
|
|
441
439
|
* @description: 改变tag的stickType
|
|
@@ -447,17 +445,17 @@ class Oi extends $ {
|
|
|
447
445
|
* @description: 改变tag任意属性
|
|
448
446
|
*/
|
|
449
447
|
changeTagById(e, t, i = !0) {
|
|
450
|
-
const
|
|
451
|
-
let
|
|
452
|
-
t && (t.data && (
|
|
448
|
+
const s = this.getTagById(e);
|
|
449
|
+
let o = !1;
|
|
450
|
+
t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? f(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = D(t.normal)), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
|
|
453
451
|
}
|
|
454
452
|
/**
|
|
455
453
|
* @description: 销毁tag
|
|
456
454
|
*/
|
|
457
455
|
destroyTagById(e) {
|
|
458
456
|
(Array.isArray(e) ? e : [e]).forEach((i) => {
|
|
459
|
-
const
|
|
460
|
-
|
|
457
|
+
const s = this.tags.findIndex((o) => o.id === i);
|
|
458
|
+
s !== -1 && this.tags.splice(s, 1);
|
|
461
459
|
}), this.updateRenderAllTags();
|
|
462
460
|
}
|
|
463
461
|
/**
|
|
@@ -486,9 +484,9 @@ class Oi extends $ {
|
|
|
486
484
|
}
|
|
487
485
|
handleDisable() {
|
|
488
486
|
var e, t, i;
|
|
489
|
-
this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((
|
|
490
|
-
var
|
|
491
|
-
(
|
|
487
|
+
this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((s) => {
|
|
488
|
+
var o;
|
|
489
|
+
(o = s.tag3DContentSvelte) == null || o.dispose(), s.tag3DContentSvelte = void 0;
|
|
492
490
|
}), this.five.needsRender = !0;
|
|
493
491
|
}
|
|
494
492
|
/**
|
|
@@ -497,13 +495,13 @@ class Oi extends $ {
|
|
|
497
495
|
addEventListener() {
|
|
498
496
|
const { five: e, hooks: t } = this;
|
|
499
497
|
let i = !1;
|
|
500
|
-
const
|
|
498
|
+
const s = P(() => {
|
|
501
499
|
i || (i = !0, e.ready().then(() => {
|
|
502
500
|
this.onFiveEveryReady(), i = !1;
|
|
503
501
|
}));
|
|
504
502
|
}, 150);
|
|
505
|
-
return e.on("cameraUpdate",
|
|
506
|
-
e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("modeChange", this.updateVisible), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate",
|
|
503
|
+
return e.on("cameraUpdate", s), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("modeChange", this.updateVisible), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), t.on("click", this.clickhandler), () => {
|
|
504
|
+
e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("modeChange", this.updateVisible), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate", s), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
|
|
507
505
|
};
|
|
508
506
|
}
|
|
509
507
|
addResizeListener() {
|
|
@@ -521,17 +519,17 @@ class Oi extends $ {
|
|
|
521
519
|
this.state.enabled && (this.show(), this.updateRenderAllTags());
|
|
522
520
|
}, i = () => {
|
|
523
521
|
this.state.enabled && this.hide();
|
|
524
|
-
}, { observe:
|
|
525
|
-
|
|
522
|
+
}, { observe: s, unobserve: o } = S(
|
|
523
|
+
P(() => {
|
|
526
524
|
this.store.resizeObserverDisposer && i();
|
|
527
525
|
}, 500),
|
|
528
526
|
e
|
|
529
|
-
), { observe: n, unobserve: r } =
|
|
530
|
-
|
|
527
|
+
), { observe: n, unobserve: r } = S(
|
|
528
|
+
k(() => t(), 400),
|
|
531
529
|
e
|
|
532
530
|
);
|
|
533
|
-
return
|
|
534
|
-
|
|
531
|
+
return s(), n(), () => {
|
|
532
|
+
o(), r();
|
|
535
533
|
};
|
|
536
534
|
}
|
|
537
535
|
setUnfoldedByCamera() {
|
|
@@ -545,12 +543,12 @@ class Oi extends $ {
|
|
|
545
543
|
});
|
|
546
544
|
}
|
|
547
545
|
changeTagMode(e, t) {
|
|
548
|
-
var i,
|
|
549
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (
|
|
546
|
+
var i, s, o, n, r, h;
|
|
547
|
+
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((p) => p == null ? void 0 : p()), e.tag3DContentSvelte = void 0);
|
|
550
548
|
}
|
|
551
549
|
}
|
|
552
550
|
export {
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
551
|
+
Mi as PanoTagPluginController,
|
|
552
|
+
Mi as default,
|
|
553
|
+
Fi as pluginFlag
|
|
556
554
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -170,7 +170,10 @@ class I {
|
|
|
170
170
|
var r, l;
|
|
171
171
|
if (!e._domEvent || !e._domEvent[`${t}Handler`])
|
|
172
172
|
return;
|
|
173
|
-
n === void 0
|
|
173
|
+
if (n === void 0) {
|
|
174
|
+
delete e._domEvent[`${t}Handler`];
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
174
177
|
const o = e._domEvent[`${t}Handler`].findIndex((u) => u[0] === n);
|
|
175
178
|
if (o !== -1 && (e._domEvent[`${t}Handler`].splice(o, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
|
|
176
179
|
const u = (r = this.boundObject[t]) == null ? void 0 : r.findIndex((a) => a === e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.24.1",
|
|
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",
|