@realsee/dnalogel 3.36.2 → 3.36.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 +3 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
- package/dist/index.cjs.js +4 -4
- package/dist/index.js +7 -2
- package/dist/index.umd.js +4 -4
- 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/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 +25 -25
- 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 +8 -26
- 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 +4 -4
- 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/PanoTagPlugin/controller/TagUtil.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/TagUtil.js +76 -72
- package/libs/PanoTagPlugin/controller/index.js +23 -22
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var q = Object.defineProperty, K = Object.defineProperties;
|
|
2
|
+
var Q = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var L = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var _ = (l, s, e) => s in l ?
|
|
4
|
+
var Y = Object.prototype.hasOwnProperty, ee = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var _ = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, D = (l, s) => {
|
|
6
6
|
for (var e in s || (s = {}))
|
|
7
|
-
|
|
7
|
+
Y.call(s, e) && _(l, e, s[e]);
|
|
8
8
|
if (L)
|
|
9
9
|
for (var e of L(s))
|
|
10
|
-
|
|
10
|
+
ee.call(s, e) && _(l, e, s[e]);
|
|
11
11
|
return l;
|
|
12
|
-
}, U = (l, s) =>
|
|
12
|
+
}, U = (l, s) => K(l, Q(s));
|
|
13
13
|
var f = (l, s, e) => (_(l, typeof s != "symbol" ? s + "" : s, e), e);
|
|
14
|
-
import { defaultGlobalConfig as
|
|
15
|
-
import { objectAssignDeepExports as
|
|
16
|
-
import * as
|
|
14
|
+
import { defaultGlobalConfig as ie } from "../typings/tag/TagConfig.js";
|
|
15
|
+
import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
+
import * as V from "three";
|
|
17
17
|
import { DefaultConfig as te } from "../tag.config.js";
|
|
18
|
-
import { anyPositionToVector3 as
|
|
19
|
-
import { planeNormal as
|
|
20
|
-
import { getTagCenterPosition as
|
|
18
|
+
import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
|
|
19
|
+
import { planeNormal as w } from "../utils/planeNormal.js";
|
|
20
|
+
import { getTagCenterPosition as B } from "../utils/tagPosition.js";
|
|
21
21
|
import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
|
|
22
|
-
import { TagCache as
|
|
23
|
-
import { writable as
|
|
22
|
+
import { TagCache as re } from "./TagCache.js";
|
|
23
|
+
import { writable as ne } from "../../vendor/svelte/store/index.js";
|
|
24
24
|
import { isIOSWX as se } from "../../shared-utils/device.js";
|
|
25
25
|
import { CSS3DRenderPlugin as fe } from "../../CSS3DRenderPlugin/index.js";
|
|
26
26
|
import { Five as ae } from "@realsee/five";
|
|
27
|
-
import { isMediaPlaneTag as ce, isMediaModelTag as
|
|
27
|
+
import { isMediaPlaneTag as ce, isMediaModelTag as N, isPlaneTag as le, isPoint3DTag as de } from "../utils/tag/tagCheck.js";
|
|
28
28
|
import { VideoPlane as ue } from "../utils/model/mediaPlane.js";
|
|
29
29
|
import { FiveDomEvents as me } from "../../shared-utils/five/FiveDomEvents.js";
|
|
30
|
-
import
|
|
31
|
-
import { isPanoramaLike as
|
|
30
|
+
import z from "../utils/tag/adaptConfig.js";
|
|
31
|
+
import { isPanoramaLike as E, isModelLike as $ } from "../../shared-utils/five/mode.js";
|
|
32
32
|
import "hammerjs";
|
|
33
33
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
34
34
|
import "animejs";
|
|
35
|
-
import { entries as
|
|
36
|
-
import { getUrlExt as
|
|
37
|
-
import { transformPosition as
|
|
35
|
+
import { entries as H } from "../../shared-utils/typescript/entries.js";
|
|
36
|
+
import { getUrlExt as J } from "../../shared-utils/url/getUrl.js";
|
|
37
|
+
import { transformPosition as G } from "../../shared-utils/five/transformPosition.js";
|
|
38
38
|
import { WorkUtil as he } from "../../shared-utils/Utils/WorkUtil.js";
|
|
39
39
|
import "../../shared-utils/three/centerPoint.js";
|
|
40
40
|
import "../../base/BasePlugin.js";
|
|
@@ -66,7 +66,7 @@ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
|
66
66
|
import "../../shared-utils/three/getNormal.js";
|
|
67
67
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
68
68
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
69
|
-
class gi extends
|
|
69
|
+
class gi extends re {
|
|
70
70
|
constructor(e) {
|
|
71
71
|
super(e);
|
|
72
72
|
f(this, "tags", []);
|
|
@@ -74,7 +74,7 @@ class gi extends ne {
|
|
|
74
74
|
f(this, "workUtil", new he(this.five));
|
|
75
75
|
/** 插件参数 */
|
|
76
76
|
f(this, "params");
|
|
77
|
-
f(this, "mediaStore",
|
|
77
|
+
f(this, "mediaStore", ne({
|
|
78
78
|
currentMediaElement: null
|
|
79
79
|
}));
|
|
80
80
|
f(this, "store", {
|
|
@@ -174,9 +174,9 @@ class gi extends ne {
|
|
|
174
174
|
* @description 获取标签配置
|
|
175
175
|
*/
|
|
176
176
|
getTagConfig(e, i) {
|
|
177
|
-
var
|
|
178
|
-
const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (
|
|
179
|
-
return (d =
|
|
177
|
+
var n, a, d;
|
|
178
|
+
const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (n = i == null ? void 0 : i.fiveMode) != null ? n : this.five.getCurrentState().mode, r = (a = o.configWithFiveMode) == null ? void 0 : a[t];
|
|
179
|
+
return (d = r != null ? r : o) != null ? d : {};
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
182
|
* @description 获取标签当前状态
|
|
@@ -191,8 +191,8 @@ class gi extends ne {
|
|
|
191
191
|
e.computedConfig = i;
|
|
192
192
|
const o = this.getTagConfig(e);
|
|
193
193
|
if (e.config = o, e.config.initialData) {
|
|
194
|
-
const
|
|
195
|
-
e.data = (t = o.initialData) != null && t.important ?
|
|
194
|
+
const r = JSON.parse(JSON.stringify(e.data));
|
|
195
|
+
e.data = (t = o.initialData) != null && t.important ? y(e.data, r, o.initialData) : y(e.data, o.initialData, r);
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
198
|
}
|
|
@@ -228,10 +228,10 @@ class gi extends ne {
|
|
|
228
228
|
if (t[0].type === "Video")
|
|
229
229
|
return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
|
|
230
230
|
if (t[0].type === "Image")
|
|
231
|
-
return
|
|
231
|
+
return J(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
232
232
|
}
|
|
233
|
-
} else if (
|
|
234
|
-
return t.length === 1 && t[0].type === "Image" ?
|
|
233
|
+
} else if (N(e))
|
|
234
|
+
return t.length === 1 && t[0].type === "Image" ? J(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
235
235
|
}
|
|
236
236
|
})();
|
|
237
237
|
return i != null ? i : "Dom";
|
|
@@ -247,16 +247,16 @@ class gi extends ne {
|
|
|
247
247
|
if (t.angle !== void 0)
|
|
248
248
|
return t.angle;
|
|
249
249
|
{
|
|
250
|
-
const
|
|
251
|
-
if (
|
|
252
|
-
throw new Error(`getAngle(): observerPosition is ${
|
|
253
|
-
const
|
|
254
|
-
if (!
|
|
250
|
+
const r = this.workUtil.getObserverPosition(o);
|
|
251
|
+
if (r === void 0)
|
|
252
|
+
throw new Error(`getAngle(): observerPosition is ${r}`);
|
|
253
|
+
const n = (() => e.stickType === "3DPoint" ? P(e.normal) : w(e.position))();
|
|
254
|
+
if (!n)
|
|
255
255
|
return;
|
|
256
|
-
const a =
|
|
256
|
+
const a = B(e);
|
|
257
257
|
if (!a)
|
|
258
258
|
return;
|
|
259
|
-
const d = new
|
|
259
|
+
const d = new V.Vector3().copy(r).sub(a), g = n.angleTo(d) * 180 / Math.PI;
|
|
260
260
|
return t.angle = g, t.angle;
|
|
261
261
|
}
|
|
262
262
|
}
|
|
@@ -264,57 +264,61 @@ class gi extends ne {
|
|
|
264
264
|
* @description 获取距离
|
|
265
265
|
*/
|
|
266
266
|
getDistance(e, i) {
|
|
267
|
-
const o = D(D({}, this.five.getCurrentState()), i), { panoIndex: t, mode:
|
|
268
|
-
if ((
|
|
269
|
-
return
|
|
270
|
-
const a =
|
|
267
|
+
const o = D(D({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = o, n = E(r) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
268
|
+
if ((n == null ? void 0 : n.distance) !== void 0)
|
|
269
|
+
return n.distance;
|
|
270
|
+
const a = B(e);
|
|
271
271
|
if (!a)
|
|
272
272
|
return -1;
|
|
273
|
-
if (
|
|
273
|
+
if (E(r)) {
|
|
274
274
|
const d = this.workUtil.getObserverPosition(t);
|
|
275
275
|
if (d === void 0)
|
|
276
276
|
return -1;
|
|
277
277
|
const g = d.distanceTo(a);
|
|
278
|
-
return
|
|
278
|
+
return n && (n.distance = g), g;
|
|
279
279
|
}
|
|
280
|
-
if (
|
|
280
|
+
if ($(r))
|
|
281
281
|
return this.five.camera.position.distanceTo(a);
|
|
282
282
|
}
|
|
283
283
|
getPositions(e) {
|
|
284
284
|
if (le(e))
|
|
285
285
|
return e.position;
|
|
286
|
-
if (
|
|
286
|
+
if (N(e))
|
|
287
287
|
return e.data.mediaPosition;
|
|
288
288
|
if (de(e))
|
|
289
|
-
return oe(this.five.camera.position,
|
|
289
|
+
return oe(this.five.camera.position, P(e.position), P(e.normal));
|
|
290
290
|
}
|
|
291
291
|
addObjectClickHandler(e, i, o) {
|
|
292
292
|
if (!i || !this.domEvents)
|
|
293
293
|
return () => {
|
|
294
294
|
};
|
|
295
|
-
const t = () => !(!this.getCurrentVisibleState(e) || e.loading),
|
|
295
|
+
const t = () => !(!this.getCurrentVisibleState(e) || e.loading), r = (n) => {
|
|
296
296
|
if (!t())
|
|
297
297
|
return !1;
|
|
298
|
-
o(
|
|
298
|
+
o(n.origDomEvent);
|
|
299
299
|
};
|
|
300
|
-
return this.domEvents.addEventListener(i, "click",
|
|
301
|
-
var
|
|
302
|
-
(
|
|
300
|
+
return this.domEvents.addEventListener(i, "click", r), () => {
|
|
301
|
+
var n;
|
|
302
|
+
(n = this.domEvents) == null || n.removeEventListener(i, "click", r);
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
305
|
getTagNormal(e) {
|
|
306
306
|
if (e.normal)
|
|
307
|
-
return
|
|
307
|
+
return P(e.normal);
|
|
308
308
|
if (e.stickType === "Plane")
|
|
309
|
-
return
|
|
309
|
+
return w(e.position);
|
|
310
310
|
if (e.stickType === "Model")
|
|
311
|
-
return
|
|
311
|
+
return w(this.getPositions(e));
|
|
312
312
|
}
|
|
313
313
|
getTransformedPostion(e) {
|
|
314
314
|
if (!e)
|
|
315
315
|
return;
|
|
316
316
|
const i = this.workUtil.transform;
|
|
317
|
-
return Array.isArray(e) && e.length === 4 ? e.map(
|
|
317
|
+
return Array.isArray(e) && e.length === 4 ? e.map(P).map((o) => G(o, i)) : G(P(e), i);
|
|
318
|
+
}
|
|
319
|
+
getTransformedMatrix(e) {
|
|
320
|
+
const i = new V.Matrix4().fromArray(e);
|
|
321
|
+
return i.premultiply(this.workUtil.transform), i.elements;
|
|
318
322
|
}
|
|
319
323
|
/**
|
|
320
324
|
* @description 检查是否已经销毁
|
|
@@ -327,20 +331,20 @@ class gi extends ne {
|
|
|
327
331
|
* @description 获取merge后的配置
|
|
328
332
|
*/
|
|
329
333
|
calculateTagConfig(e, i) {
|
|
330
|
-
var S, A, O, I
|
|
334
|
+
var S, A, x, O, I;
|
|
331
335
|
const o = (S = i == null ? void 0 : i.useCache) != null ? S : !0;
|
|
332
336
|
if (!e)
|
|
333
337
|
return (A = this.config.globalConfig) != null ? A : {};
|
|
334
338
|
if (o) {
|
|
335
|
-
if ((
|
|
339
|
+
if ((x = e == null ? void 0 : e.computedConfig) != null && x._isMerged)
|
|
336
340
|
return e.computedConfig;
|
|
337
|
-
if ((
|
|
341
|
+
if ((O = e == null ? void 0 : e.config) != null && O._isMerged)
|
|
338
342
|
return e.config;
|
|
339
343
|
}
|
|
340
|
-
const t = {},
|
|
344
|
+
const t = {}, r = {}, n = {};
|
|
341
345
|
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, m]) => {
|
|
342
|
-
var
|
|
343
|
-
const c = u,
|
|
346
|
+
var j, R;
|
|
347
|
+
const c = u, b = c.split("-"), W = u.startsWith("["), T = W ? b[0].slice(1, -1) : void 0, p = W ? b.slice(1) : b, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (j = r[T]) != null ? j : r[T] = {} : (R = n[T]) != null ? R : n[T] = {} : t;
|
|
344
348
|
if (!v[c]) {
|
|
345
349
|
if (p.length === 0 && (v[c] = m), p.length === 1) {
|
|
346
350
|
const [h] = p;
|
|
@@ -351,25 +355,25 @@ class gi extends ne {
|
|
|
351
355
|
h === "Mixin" && e.contentType === M && (v[c] = m), (e.stickType === h || h === "Any") && (e.contentType === M || M === "Any") && (v[c] = m);
|
|
352
356
|
}
|
|
353
357
|
if (p.length === 3) {
|
|
354
|
-
const [h = "Any", M,
|
|
358
|
+
const [h = "Any", M, Z] = p;
|
|
355
359
|
if (M === "Audio" && e.contentType === "Audio") {
|
|
356
360
|
const F = e;
|
|
357
|
-
(F.stickType === h || h === "Any") && F.data.appearance ===
|
|
361
|
+
(F.stickType === h || h === "Any") && F.data.appearance === Z && (v[c] = m);
|
|
358
362
|
}
|
|
359
363
|
}
|
|
360
364
|
}
|
|
361
365
|
});
|
|
362
|
-
const a = (
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
(u === "PanoramaLike" &&
|
|
366
|
+
const a = (I = e.initialConfig) != null ? I : {}, d = y({}, ie, this.config.globalConfig, ...Object.values(t)), g = y({}, d, a), C = {}, X = Object.values(ae.Mode);
|
|
367
|
+
H(r).forEach(([u, m]) => {
|
|
368
|
+
X.forEach((c) => {
|
|
369
|
+
(u === "PanoramaLike" && E(c) || u === "ModelLike" && $(c)) && (C[c] = y({}, d, ...Object.values(m), a, { _isMerged: !0 }));
|
|
366
370
|
});
|
|
367
|
-
}),
|
|
371
|
+
}), H(n).forEach(([u, m]) => {
|
|
368
372
|
const c = C[u];
|
|
369
|
-
C[u] =
|
|
373
|
+
C[u] = y({}, d, c, ...Object.values(m), a, { _isMerged: !0 });
|
|
370
374
|
});
|
|
371
|
-
const
|
|
372
|
-
return
|
|
375
|
+
const k = U(D({}, g), { configWithFiveMode: C });
|
|
376
|
+
return z(k), Object.values(C).forEach((u) => z(u)), k._isMerged = !0, k;
|
|
373
377
|
}
|
|
374
378
|
}
|
|
375
379
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var k = Object.defineProperty, E = Object.defineProperties;
|
|
2
2
|
var F = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var P = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var M = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var D = (d, a, e) => a in d ? k(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
|
-
|
|
7
|
+
M.call(a, e) && D(d, e, a[e]);
|
|
8
8
|
if (P)
|
|
9
9
|
for (var e of P(a))
|
|
10
|
-
|
|
10
|
+
R.call(a, e) && D(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
12
|
}, C = (d, a) => E(d, F(a));
|
|
13
13
|
var f = (d, a, e) => (D(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
@@ -29,14 +29,14 @@ var g = (d, a, e) => new Promise((t, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
import * as A from "three";
|
|
31
31
|
import { Subscribe as O } from "@realsee/five";
|
|
32
|
-
import { objectAssignDeepExports as
|
|
32
|
+
import { objectAssignDeepExports as m } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
33
33
|
import { addDebugPoints as _ } from "../utils/addDebugPoints.js";
|
|
34
34
|
import { arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
|
|
35
35
|
import { isMediaModelTag as L, isModelTag as G } from "../utils/tag/tagCheck.js";
|
|
36
36
|
import { debounce as N } from "../utils/debounce.js";
|
|
37
37
|
import { throttle as S } from "../utils/throttle.js";
|
|
38
|
-
import
|
|
39
|
-
import { generateBlankAudio as
|
|
38
|
+
import x, { getTagStickType as z } from "../utils/tag/format.js";
|
|
39
|
+
import { generateBlankAudio as W, AudioNamespace as $ } from "../../shared-utils/audio.js";
|
|
40
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";
|
|
@@ -184,7 +184,7 @@ class Ni extends j {
|
|
|
184
184
|
f(this, "debugUtil", new K(this));
|
|
185
185
|
/** 更改 tag 模型 */
|
|
186
186
|
f(this, "changeTagModel", (e, t) => g(this, null, function* () {
|
|
187
|
-
e.data =
|
|
187
|
+
e.data = m({}, e.data, t), yield this.loadModel(e), this.updateTag(e);
|
|
188
188
|
}));
|
|
189
189
|
f(this, "whyHide", (e) => {
|
|
190
190
|
var s;
|
|
@@ -274,7 +274,7 @@ class Ni extends j {
|
|
|
274
274
|
f(this, "onFiveEveryReady", () => {
|
|
275
275
|
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();
|
|
276
276
|
});
|
|
277
|
-
this.params =
|
|
277
|
+
this.params = m({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, W(1, { namespace: $.PlayAudio });
|
|
278
278
|
try {
|
|
279
279
|
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
|
|
280
280
|
get: function() {
|
|
@@ -296,7 +296,7 @@ class Ni extends j {
|
|
|
296
296
|
load(e, t) {
|
|
297
297
|
return g(this, null, function* () {
|
|
298
298
|
var s, o;
|
|
299
|
-
this.clearTags(), console.debug(V, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config =
|
|
299
|
+
this.clearTags(), console.debug(V, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = m({}, this.config, {
|
|
300
300
|
globalConfig: (s = e.globalConfig) != null ? s : {},
|
|
301
301
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
302
302
|
}), this.store.visibleWithAnimation = !0;
|
|
@@ -317,7 +317,7 @@ class Ni extends j {
|
|
|
317
317
|
return g(this, null, function* () {
|
|
318
318
|
const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
319
319
|
var b, v, T, y;
|
|
320
|
-
o.stickType =
|
|
320
|
+
o.stickType = z(o);
|
|
321
321
|
const r = JSON.parse(JSON.stringify(o.data)), n = (b = o.initialConfig) != null ? b : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
|
|
322
322
|
o.initialConfig = n;
|
|
323
323
|
const h = this.calculateTagConfig(o), l = this.getTagConfig(o);
|
|
@@ -325,7 +325,7 @@ class Ni extends j {
|
|
|
325
325
|
const p = C(c({}, o), {
|
|
326
326
|
enabled: (v = o.enabled) != null ? v : !0,
|
|
327
327
|
id: (T = o.id) != null ? T : J(),
|
|
328
|
-
data: (y = l.initialData) != null && y.important ?
|
|
328
|
+
data: (y = l.initialData) != null && y.important ? m(o.data, r, l.initialData) : m(o.data, l.initialData, r),
|
|
329
329
|
state: c({
|
|
330
330
|
visible: void 0,
|
|
331
331
|
unfolded: !this.can("fold", o)
|
|
@@ -333,9 +333,10 @@ class Ni extends j {
|
|
|
333
333
|
hooks: new O(),
|
|
334
334
|
originPosition: o.position,
|
|
335
335
|
position: (() => {
|
|
336
|
-
const
|
|
337
|
-
return Array.isArray(
|
|
336
|
+
const u = this.getTransformedPostion(o.position);
|
|
337
|
+
return Array.isArray(u) ? u.map((B) => B.toArray()) : u.toArray();
|
|
338
338
|
})(),
|
|
339
|
+
matrix: o.matrix ? this.getTransformedMatrix(o.matrix) : o.matrix,
|
|
339
340
|
initialConfig: n,
|
|
340
341
|
computedConfig: h,
|
|
341
342
|
config: l,
|
|
@@ -344,13 +345,13 @@ class Ni extends j {
|
|
|
344
345
|
enable: () => this.changeEnabledById(p.id, !0),
|
|
345
346
|
disable: () => this.changeEnabledById(p.id, !1),
|
|
346
347
|
destroy: () => this.destroyTagById(p.id),
|
|
347
|
-
changeData: (
|
|
348
|
-
changePosition: (
|
|
349
|
-
blink: (
|
|
348
|
+
changeData: (u) => this.changeDataById(p.id, u),
|
|
349
|
+
changePosition: (u) => this.changePositionById(p.id, u),
|
|
350
|
+
blink: (u) => this.blinkTagById(p.id, u)
|
|
350
351
|
});
|
|
351
352
|
return p;
|
|
352
353
|
});
|
|
353
|
-
return s.forEach(
|
|
354
|
+
return s.forEach(x), this.tags.push(...s), this.tagsLengthWillUpdate = !0, H(this.five).then(() => g(this, null, function* () {
|
|
354
355
|
var o, r, n;
|
|
355
356
|
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.updateRenderAllTags();
|
|
356
357
|
}));
|
|
@@ -360,19 +361,19 @@ class Ni extends j {
|
|
|
360
361
|
* @description 改变配置
|
|
361
362
|
*/
|
|
362
363
|
changeConfig(e, t = !0) {
|
|
363
|
-
t ? this.config =
|
|
364
|
+
t ? this.config = m({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
|
|
364
365
|
}
|
|
365
366
|
/**
|
|
366
367
|
* @description 改变全局配置
|
|
367
368
|
*/
|
|
368
369
|
changeGlobalConfig(e, t = !0) {
|
|
369
|
-
t ? this.config.globalConfig =
|
|
370
|
+
t ? this.config.globalConfig = m({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
|
|
370
371
|
}
|
|
371
372
|
/**
|
|
372
373
|
* @description 改变类型配置
|
|
373
374
|
*/
|
|
374
375
|
changeContentTypeConfig(e, t, i = !0) {
|
|
375
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] =
|
|
376
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = m({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
|
|
376
377
|
}
|
|
377
378
|
show(e) {
|
|
378
379
|
return g(this, null, function* () {
|
|
@@ -502,7 +503,7 @@ class Ni extends j {
|
|
|
502
503
|
changeDataById(e, t, i = !0) {
|
|
503
504
|
const s = this.getTagById(e);
|
|
504
505
|
let o = !1;
|
|
505
|
-
s && (s.data && (o = !0), i ? s.data =
|
|
506
|
+
s && (s.data && (o = !0), i ? s.data = m(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateTag(s), o && s.hooks.emit("dataChanged", s.data));
|
|
506
507
|
}
|
|
507
508
|
/**
|
|
508
509
|
* @description 改变tag的stickType
|
|
@@ -516,7 +517,7 @@ class Ni extends j {
|
|
|
516
517
|
changeTagById(e, t, i = !0) {
|
|
517
518
|
const s = this.getTagById(e);
|
|
518
519
|
let o = !1;
|
|
519
|
-
t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ?
|
|
520
|
+
t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? m(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));
|
|
520
521
|
}
|
|
521
522
|
/**
|
|
522
523
|
* @description 销毁tag
|
|
@@ -140,21 +140,11 @@ export interface ContentTypeMapInterface {
|
|
|
140
140
|
modelUrl: string;
|
|
141
141
|
mediaData: MediaData[];
|
|
142
142
|
mediaPosition: [Position, Position, Position, Position];
|
|
143
|
-
matrix?: number[];
|
|
144
143
|
/** 多媒体在容器中的适配规则 {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
145
144
|
objectFit?: ObjectFit;
|
|
146
|
-
action?: {
|
|
147
|
-
url: string;
|
|
148
|
-
type: 'iframe' | 'window';
|
|
149
|
-
};
|
|
150
145
|
};
|
|
151
146
|
Model: {
|
|
152
147
|
modelUrl: string;
|
|
153
|
-
matrix?: number[];
|
|
154
|
-
action?: {
|
|
155
|
-
url?: string;
|
|
156
|
-
type: 'iframe' | 'window' | 'custom';
|
|
157
|
-
};
|
|
158
148
|
};
|
|
159
149
|
Custom: Object;
|
|
160
150
|
Unknown: Object;
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.36.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.36.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",
|