@realsee/dnalogel 2.26.2 → 2.27.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -13
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +6 -3
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +21 -15
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
- package/dist/PanoTagPlugin/controller/index.d.ts +3 -3
- package/dist/PanoTagPlugin/typings/controller.d.ts +3 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +26 -4
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
- package/dist/index.cjs.js +44 -45
- package/dist/index.js +2880 -2846
- package/dist/index.umd.js +36 -37
- package/dist/shared-utils/five/FiveDomEvents.d.ts +6 -0
- package/dist/shared-utils/positionToVector3.d.ts +16 -0
- package/dist/shared-utils/safeObj.d.ts +1 -1
- package/dist/shared-utils/util.d.ts +1 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +5 -3
- package/docs/classes/CruisePluginController.html +5 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +5 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +5 -3
- package/docs/classes/Magnifier.html +5 -3
- package/docs/classes/ModelRoomLabelController.html +5 -3
- package/docs/classes/Object3DHelperController.html +5 -3
- package/docs/classes/PaintBrush.html +5 -3
- package/docs/classes/PanoMeasurePluginLine.html +5 -3
- package/docs/classes/PanoMeasurePluginModel.html +5 -3
- package/docs/classes/PanoMeasurePluginPoint.html +5 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +5 -3
- package/docs/classes/PanoTagPluginController.html +57 -48
- package/docs/classes/Util.BetterTween.html +5 -3
- package/docs/classes/Util.Interval.html +5 -3
- package/docs/classes/Util.Magnifier.html +5 -3
- package/docs/classes/Util.PointDomHelper.html +5 -3
- package/docs/classes/Util.PointHelper.html +5 -3
- package/docs/classes/Util.PointSelectorHelper.html +5 -3
- package/docs/classes/Util.Rectangle.html +5 -3
- package/docs/enums/CameraMovementEffect.html +5 -3
- package/docs/enums/ContentType.html +5 -3
- package/docs/enums/DIRECTION.html +5 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -3
- package/docs/enums/DimensionType.html +5 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +5 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -3
- package/docs/enums/PaintBrushTypeEnum.html +5 -3
- package/docs/enums/PointType.html +5 -3
- package/docs/enums/Rotation.html +5 -3
- package/docs/functions/CSS3DRenderPlugin.html +5 -3
- package/docs/functions/CameraMovementPlugin.html +5 -3
- package/docs/functions/CruisePlugin.html +5 -3
- package/docs/functions/GuideLinePlugin.html +5 -3
- package/docs/functions/ItemLabelPlugin.html +5 -3
- package/docs/functions/MapviewFloorplanPlugin.html +5 -3
- package/docs/functions/ModelChassisCompassPlugin.html +5 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -3
- package/docs/functions/ModelFloorplanPlugin.html +5 -3
- package/docs/functions/ModelItemLabelPlugin.html +5 -3
- package/docs/functions/ModelRoomLabelPlugin.html +5 -3
- package/docs/functions/ModelTVVideoPlugin.html +5 -3
- package/docs/functions/ModelViewPlugin.html +5 -3
- package/docs/functions/Object3DHelperPlugin.html +5 -3
- package/docs/functions/PanoCompassPlugin.html +5 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -3
- package/docs/functions/PanoDoorLabelPlugin.html +5 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -3
- package/docs/functions/PanoMeasurePlugin.html +5 -3
- package/docs/functions/PanoRulerPlugin.html +5 -3
- package/docs/functions/PanoRulerProPlugin.html +5 -3
- package/docs/functions/PanoSpatialTagPlugin.html +5 -3
- package/docs/functions/PanoTagPlugin.html +5 -3
- package/docs/functions/PanoVideoPlugin.html +5 -3
- package/docs/functions/PipelinePlugin.html +5 -3
- package/docs/functions/TopviewFloorplanPlugin.html +5 -3
- package/docs/functions/Util.absoluteUrl.html +5 -3
- package/docs/functions/Util.getCoordsFromClient.html +5 -3
- package/docs/functions/Util.getCoordsFromElement.html +5 -3
- package/docs/functions/Util.getFrameTime.html +5 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -3
- package/docs/functions/Util.isAbsoluteURL.html +5 -3
- package/docs/functions/Util.isModelLike.html +5 -3
- package/docs/functions/Util.isNil.html +5 -3
- package/docs/functions/Util.isPanoramaLike.html +5 -3
- package/docs/functions/Util.nextFrame.html +5 -3
- package/docs/functions/Util.notNil.html +5 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -3
- package/docs/functions/Util.tweenProgress.html +5 -3
- package/docs/functions/Util.uuid.html +5 -3
- package/docs/functions/pluginFlag.html +6 -4
- package/docs/index.html +6 -4
- package/docs/interfaces/AddTagConfig.html +7 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +5 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +5 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +5 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +5 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +5 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +5 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +5 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +5 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +5 -3
- package/docs/interfaces/EventMap.html +14 -12
- package/docs/interfaces/FloorplanBounding.html +5 -3
- package/docs/interfaces/FloorplanData.html +5 -3
- package/docs/interfaces/FloorplanEntrance.html +5 -3
- package/docs/interfaces/FloorplanExtraObject.html +5 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +5 -3
- package/docs/interfaces/FloorplanFloorData.html +5 -3
- package/docs/interfaces/FloorplanImagePosition.html +5 -3
- package/docs/interfaces/FloorplanObserver.html +5 -3
- package/docs/interfaces/FloorplanOutlineItem.html +5 -3
- package/docs/interfaces/FloorplanPosition.html +5 -3
- package/docs/interfaces/FloorplanRoomItem.html +5 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +5 -3
- package/docs/interfaces/FloorplanServerBounding.html +5 -3
- package/docs/interfaces/FloorplanServerComputedData.html +5 -3
- package/docs/interfaces/FloorplanServerData.html +5 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +5 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +5 -3
- package/docs/interfaces/FloorplanServerEntrance.html +5 -3
- package/docs/interfaces/FloorplanServerFloorData.html +5 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +5 -3
- package/docs/interfaces/FloorplanServerObserver.html +5 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +5 -3
- package/docs/interfaces/FloorplanServerPosition.html +5 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +5 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +5 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +5 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +5 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +5 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +5 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +5 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +5 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +5 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +5 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +5 -3
- package/docs/interfaces/HelperOffset.html +5 -3
- package/docs/interfaces/ImagePlaneGroup.html +5 -3
- package/docs/interfaces/ItemLabelPluginData.html +5 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +5 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +5 -3
- package/docs/interfaces/MinMax.html +5 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +5 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +5 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +5 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +5 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +5 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +5 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +5 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +5 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +5 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -3
- package/docs/interfaces/ModelViewPluginExportType.html +5 -3
- package/docs/interfaces/Object3DHelperState.html +5 -3
- package/docs/interfaces/ObjectHelperControllers.html +5 -3
- package/docs/interfaces/PaintBrushAction.html +5 -3
- package/docs/interfaces/PaintBrushConfigs.html +5 -3
- package/docs/interfaces/PaintBrushState.html +5 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +5 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -3
- package/docs/interfaces/PanoMeasureParameterType.html +5 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +5 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +5 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +5 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +5 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +5 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +5 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +5 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +5 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +5 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +5 -3
- package/docs/interfaces/PanoRulerProPluginState.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +5 -3
- package/docs/interfaces/Point.html +5 -3
- package/docs/interfaces/Room.html +5 -3
- package/docs/interfaces/RoomInfo.html +5 -3
- package/docs/interfaces/RoomLabel.html +5 -3
- package/docs/interfaces/RoomRules.html +5 -3
- package/docs/interfaces/Rooms.html +5 -3
- package/docs/interfaces/Scissor.html +5 -3
- package/docs/interfaces/State.html +6 -4
- package/docs/interfaces/TagCacheInterface.html +22 -13
- package/docs/interfaces/TagConfig.html +27 -15
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -3
- package/docs/interfaces/TagIconUrl.html +5 -3
- package/docs/interfaces/TagObjectGroup.html +5 -3
- package/docs/interfaces/TagStyle.html +5 -3
- package/docs/interfaces/Tags.html +16 -14
- package/docs/interfaces/TemporaryState.html +7 -5
- package/docs/interfaces/Util.MagnifierParameter.html +5 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +5 -3
- package/docs/interfaces/Util.PointIntersection.html +5 -3
- package/docs/modules/CruisePluginTypes.html +5 -3
- package/docs/modules/GuideLineItem.html +5 -3
- package/docs/modules/GuideLineModeItem.html +5 -3
- package/docs/modules/GuideLinePluginType.html +5 -3
- package/docs/modules/PanoVideoPluginType.html +5 -3
- package/docs/modules/Util.html +5 -3
- package/docs/modules.html +8 -4
- package/docs/types/ArrayPosition.html +5 -3
- package/docs/types/AudioAppearance.html +5 -3
- package/docs/types/AudioTagTypeConfigKey.html +5 -3
- package/docs/types/CSS3DRenderExportType.html +5 -3
- package/docs/types/CSS3DRenderPluginExportType.html +5 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -3
- package/docs/types/ClassFunctionParameters.html +5 -3
- package/docs/types/Color.html +5 -3
- package/docs/types/ContentTypeConfigKey.html +5 -3
- package/docs/types/ContentTypeConfigKeySplit.html +6 -4
- package/docs/types/ContentTypeMap.html +5 -3
- package/docs/types/Create3DDomContainerReturnType.html +5 -3
- package/docs/types/Create3DElementReturnType.html +5 -3
- package/docs/types/CruisePluginExportType.html +5 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -3
- package/docs/types/DeprecatedTagProperty.html +5 -3
- package/docs/types/Direction-1.html +5 -3
- package/docs/types/Direction4.html +5 -3
- package/docs/types/ElementRenderer.html +5 -3
- package/docs/types/FloorplanRuleLabels.html +5 -3
- package/docs/types/FloorplanServerRuleLabels.html +5 -3
- package/docs/types/GuideLinePluginExportType.html +5 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -3
- package/docs/types/GuideLinePluginType.PathItem.html +5 -3
- package/docs/types/GuideLinePluginType.PluginData.html +5 -3
- package/docs/types/HelperEventMap.html +5 -3
- package/docs/types/LoadTagConfig.html +6 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -3
- package/docs/types/MediaData.html +5 -3
- package/docs/types/MediaStore.html +6 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -3
- package/docs/types/MoveArgs.html +5 -3
- package/docs/types/MoveOpts.html +5 -3
- package/docs/types/Object3DHelperEventMap.html +5 -3
- package/docs/types/ObjectFit.html +5 -3
- package/docs/types/PaintBrushEventMap.html +5 -3
- package/docs/types/PanoCompassPluginData.html +5 -3
- package/docs/types/PanoCompassPluginExportType.html +5 -3
- package/docs/types/PanoCompassPluginParameterType.html +5 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -3
- package/docs/types/PanoIndex.html +5 -3
- package/docs/types/PanoMeasurePluginEvent.html +5 -3
- package/docs/types/PanoMeasureReturnType.html +5 -3
- package/docs/types/PanoSpatialTagPluginId.html +5 -3
- package/docs/types/PanoTagPluginExportInterface.html +5 -3
- package/docs/types/PanoTagPluginParamsInterface.html +5 -3
- package/docs/types/PanoVideoPluginParameterType.html +5 -3
- package/docs/types/PanoVideoPluginReturnType.html +5 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -3
- package/docs/types/PipelinePluginParameterType.html +5 -3
- package/docs/types/PipelinePluginReturnType.html +5 -3
- package/docs/types/PlaneTag.html +6 -4
- package/docs/types/Point2DTag.html +6 -4
- package/docs/types/Point3DTag.html +6 -4
- package/docs/types/PointTag.html +6 -4
- package/docs/types/PointTagInstance.html +6 -4
- package/docs/types/Position.html +5 -3
- package/docs/types/RotateArgs.html +5 -3
- package/docs/types/RotateOpts.html +5 -3
- package/docs/types/RuleLabelsKey.html +5 -3
- package/docs/types/RuleLabelsValue.html +5 -3
- package/docs/types/StickType.html +5 -3
- package/docs/types/Tag.html +6 -4
- package/docs/types/Tag2D.html +5 -3
- package/docs/types/Tag3D.html +5 -3
- package/docs/types/TagConfigByKey.html +365 -0
- package/docs/types/TagContentType.html +5 -3
- package/docs/types/TagDimensionType.html +5 -3
- package/docs/types/TagElement.html +5 -3
- package/docs/types/TagEvents.html +6 -4
- package/docs/types/TagGLTFObject.html +5 -3
- package/docs/types/TagHooks.html +6 -4
- package/docs/types/TagId.html +5 -3
- package/docs/types/TagInstance.html +5 -3
- package/docs/types/TagPointType.html +5 -3
- package/docs/types/TagRendererMap.html +5 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -3
- package/docs/types/WorkCode.html +5 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -3
- package/docs/variables/PLUGIN.html +5 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -3
- package/docs/variables/ROOM_TYPE_MAP.html +5 -3
- package/docs/variables/defaultGlobalConfig.html +360 -0
- package/docs/variables/itemLabelPluginServerParams.html +5 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -3
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -13
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +4 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -1
- package/libs/CruisePlugin/Controller.js +6 -3
- package/libs/CruisePlugin/index.js +9 -6
- package/libs/GuideLinePlugin/Controller.js +8 -5
- package/libs/GuideLinePlugin/GuideLineItem.js +6 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -3
- package/libs/GuideLinePlugin/index.js +11 -8
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Model/area.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +1 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +6 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +17 -21
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +21 -15
- package/libs/PanoTagPlugin/controller/TagComputer.js +187 -188
- package/libs/PanoTagPlugin/controller/TagRender.js +69 -66
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +160 -141
- package/libs/PanoTagPlugin/controller/index.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/index.js +57 -53
- package/libs/PanoTagPlugin/index.js +14 -10
- package/libs/PanoTagPlugin/typings/controller.d.ts +3 -1
- package/libs/PanoTagPlugin/typings/index.js +6 -4
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +26 -4
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +13 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
- package/libs/PanoTagPlugin/utils/index.js +15 -15
- package/libs/PanoTagPlugin/utils/planeNormal.js +1 -1
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
- package/libs/PanoTagPlugin/utils/tagPosition.js +17 -18
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PipelinePlugin/Controller.js +1 -1
- package/libs/PipelinePlugin/index.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +111 -108
- package/libs/shared-utils/five/FiveDomEvents.d.ts +6 -0
- package/libs/shared-utils/five/FiveDomEvents.js +53 -48
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/positionToVector3.d.ts +16 -0
- package/libs/shared-utils/positionToVector3.js +12 -0
- package/libs/shared-utils/safeObj.d.ts +1 -1
- package/libs/shared-utils/util.d.ts +1 -0
- package/libs/shared-utils/util.js +6 -0
- package/package.json +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
var k = Object.defineProperty;
|
|
2
|
-
var E = (b,
|
|
3
|
-
var P = (b,
|
|
4
|
-
var M = (b,
|
|
2
|
+
var E = (b, f, t) => f in b ? k(b, f, { enumerable: !0, configurable: !0, writable: !0, value: t }) : b[f] = t;
|
|
3
|
+
var P = (b, f, t) => (E(b, typeof f != "symbol" ? f + "" : f, t), t);
|
|
4
|
+
var M = (b, f, t) => new Promise((e, o) => {
|
|
5
5
|
var i = (r) => {
|
|
6
6
|
try {
|
|
7
7
|
a(t.next(r));
|
|
8
|
-
} catch (
|
|
9
|
-
o(
|
|
8
|
+
} catch (s) {
|
|
9
|
+
o(s);
|
|
10
10
|
}
|
|
11
|
-
},
|
|
11
|
+
}, n = (r) => {
|
|
12
12
|
try {
|
|
13
13
|
a(t.throw(r));
|
|
14
|
-
} catch (
|
|
15
|
-
o(
|
|
14
|
+
} catch (s) {
|
|
15
|
+
o(s);
|
|
16
16
|
}
|
|
17
|
-
}, a = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(i,
|
|
18
|
-
a((t = t.apply(b,
|
|
17
|
+
}, a = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(i, n);
|
|
18
|
+
a((t = t.apply(b, f)).next());
|
|
19
19
|
});
|
|
20
20
|
import { TagComputer as w } from "./TagComputer.js";
|
|
21
|
-
import { Group as y, Quaternion as O, Vector3 as
|
|
21
|
+
import { Group as y, Quaternion as O, Vector3 as D, Matrix4 as g } from "three";
|
|
22
22
|
import A from "../Components/TagContainer.js";
|
|
23
|
-
import
|
|
24
|
-
import { arrayPositionToVector3 as C } from "../../
|
|
25
|
-
import { centerPoint as
|
|
23
|
+
import V from "../Components/Tag/index.js";
|
|
24
|
+
import { arrayPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
25
|
+
import { centerPoint as x } from "../../shared-utils/three/centerPoint.js";
|
|
26
26
|
import { isMediaModelTag as S, isStickModelTag as G } from "../utils/tag/tagCheck.js";
|
|
27
27
|
import { CSS3DRenderPlugin as I } from "../../CSS3DRenderPlugin/index.js";
|
|
28
28
|
import { loadGLTF as F } from "../../shared-utils/three/GLTFLoader.js";
|
|
@@ -46,6 +46,7 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
47
47
|
import "../../shared-utils/isNil.js";
|
|
48
48
|
import "./TagUtil.js";
|
|
49
|
+
import "../typings/tag/TagConfig.js";
|
|
49
50
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
50
51
|
import "../tag.config.js";
|
|
51
52
|
import "../utils/planeNormal.js";
|
|
@@ -59,6 +60,8 @@ import "../../shared-utils/device.js";
|
|
|
59
60
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
60
61
|
import "../../shared-utils/threex/domevents/index.js";
|
|
61
62
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
63
|
+
import "../../shared-utils/safeObj.js";
|
|
64
|
+
import "../../shared-utils/util.js";
|
|
62
65
|
import "../../shared-utils/three/loadTexture.js";
|
|
63
66
|
import "../../shared-utils/three/Quadrangle.js";
|
|
64
67
|
import "../../shared-utils/math/pointIsRectangle.js";
|
|
@@ -153,7 +156,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
|
|
|
153
156
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
154
157
|
import "@realsee/five/gltf-loader";
|
|
155
158
|
const L = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
|
|
156
|
-
class
|
|
159
|
+
class bi extends w {
|
|
157
160
|
constructor(t) {
|
|
158
161
|
super(t);
|
|
159
162
|
P(this, "group", new y());
|
|
@@ -173,30 +176,30 @@ class ui extends w {
|
|
|
173
176
|
if (!e)
|
|
174
177
|
return;
|
|
175
178
|
const o = F(e).then((r) => {
|
|
176
|
-
var p, m,
|
|
177
|
-
const
|
|
179
|
+
var p, m, h, l, u;
|
|
180
|
+
const s = Object.assign(r.scene, {
|
|
178
181
|
customID: t.id,
|
|
179
182
|
isTagModel: !0,
|
|
180
|
-
removeEventListener: this.addObjectClickHandler(t, r.scene, (
|
|
181
|
-
this.hooks.emit("click", { target: "TagModel", tag: t, event:
|
|
183
|
+
removeEventListener: this.addObjectClickHandler(t, r.scene, (c) => {
|
|
184
|
+
this.hooks.emit("click", { target: "TagModel", tag: t, event: c });
|
|
182
185
|
})
|
|
183
186
|
});
|
|
184
|
-
return
|
|
187
|
+
return s.visible = this.getCurrentVisibleState(t), new g().fromArray(t.matrix).decompose(s.position, s.quaternion, s.scale), s.updateWorldMatrix(!0, !0), s.visible = this.getVisibleByFiveMode(t), (h = (m = (p = this.config) == null ? void 0 : p.globalConfig) == null ? void 0 : m.modelConfig) != null && h.autoLookAtEnabled && ((u = (l = t.config) == null ? void 0 : l.modelConfig) != null && u.autoLookAtEnabled) && s.lookAt(this.five.camera.position.clone().setY(s.position.y)), s;
|
|
185
188
|
});
|
|
186
189
|
t.model = { promise: o };
|
|
187
190
|
const i = yield o;
|
|
188
191
|
if (((a = t.model) == null ? void 0 : a.promise) !== o || !this.tags.includes(t))
|
|
189
192
|
return;
|
|
190
193
|
t.model.object = i;
|
|
191
|
-
const
|
|
192
|
-
if (
|
|
194
|
+
const n = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
|
|
195
|
+
if (n && (this.gltfObjectGroup.remove(n), n.removeEventListener()), this.updateRender3DDomTag(), S(t)) {
|
|
193
196
|
if (this.getRenderType(t) === "Mesh" && !t.mediaPlane) {
|
|
194
197
|
const r = t.data.mediaPosition.map(C);
|
|
195
198
|
t.mediaPlane = new j(t.data.mediaData[0].url, t.data.mediaPosition.map(C), {
|
|
196
199
|
objectFit: t.data.objectFit
|
|
197
200
|
});
|
|
198
|
-
const
|
|
199
|
-
t.mediaPlane.position.copy(
|
|
201
|
+
const s = new D().addVectors(r[0], r[2]).divideScalar(2);
|
|
202
|
+
t.mediaPlane.position.copy(s), i.add(t.mediaPlane);
|
|
200
203
|
}
|
|
201
204
|
this.getRenderType(t) !== "Mesh" && (i.updateTagCss3DObjectMatrix = () => this.updateTagCss3DObjectMatrix(t, i), i.updateTagCss3DObjectMatrix());
|
|
202
205
|
}
|
|
@@ -232,7 +235,7 @@ class ui extends w {
|
|
|
232
235
|
var o, i;
|
|
233
236
|
return ((i = (o = e.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : i.type) === "Video";
|
|
234
237
|
}).forEach((e) => {
|
|
235
|
-
var p, m,
|
|
238
|
+
var p, m, h, l, u;
|
|
236
239
|
const o = e.data.mediaData[0];
|
|
237
240
|
if (!o)
|
|
238
241
|
return;
|
|
@@ -240,22 +243,22 @@ class ui extends w {
|
|
|
240
243
|
if (!i)
|
|
241
244
|
return;
|
|
242
245
|
e.mediaPlane && !((m = (p = e.state) == null ? void 0 : p.visible) == null || m) && e.mediaPlane instanceof R && e.mediaPlane.pause();
|
|
243
|
-
const
|
|
244
|
-
if ((r ||
|
|
245
|
-
const
|
|
246
|
+
const n = e.position.map(C), a = this.getCurrentVisibleState(e), r = (() => !!(e.mediaPlane && !a))(), s = (() => !!(!e.mediaPlane && a))(), d = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
|
|
247
|
+
if ((r || d) && (e.mediaPlane && this.imagePlaneGroup.remove(e.mediaPlane), (h = e.mediaPlane) == null || h.dispose(), (l = e.mediaPlane) == null || l.removeFromParent(), e.mediaPlane = void 0), s || d) {
|
|
248
|
+
const c = new R(i, n, {
|
|
246
249
|
videoCoverSrc: o.videoCoverUrl,
|
|
247
250
|
playButton: e.data.playIcon,
|
|
248
|
-
paused: !((
|
|
251
|
+
paused: !((u = e.data.autoplayConfig) != null && u.autoplayVideo),
|
|
249
252
|
objectFit: e.data.objectFit,
|
|
250
253
|
videoTextureMap: L,
|
|
251
254
|
ImageTextureMap: B,
|
|
252
255
|
domEvents: this.domEvents
|
|
253
256
|
});
|
|
254
|
-
|
|
255
|
-
|
|
257
|
+
c.onVideoReady = (T) => {
|
|
258
|
+
T.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: c.videoInstance }));
|
|
256
259
|
};
|
|
257
|
-
const
|
|
258
|
-
|
|
260
|
+
const v = (T) => (this.five.on("renderFrame", T), () => this.five.off("renderFrame", T));
|
|
261
|
+
c.initialRenderHooks(v), e.mediaPlane = c, this.imagePlaneGroup.add(e.mediaPlane);
|
|
259
262
|
}
|
|
260
263
|
});
|
|
261
264
|
}
|
|
@@ -267,13 +270,13 @@ class ui extends w {
|
|
|
267
270
|
var o, i;
|
|
268
271
|
return ((i = (o = e.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : i.type) === "Image";
|
|
269
272
|
}).forEach((e) => {
|
|
270
|
-
var
|
|
273
|
+
var d, p;
|
|
271
274
|
const { url: o } = e.data.mediaData[0];
|
|
272
275
|
if (!o)
|
|
273
276
|
return;
|
|
274
|
-
const i = e.position.map(C);
|
|
275
|
-
(
|
|
276
|
-
this.hooks.emit("click", { tag: e, target: "TagContent", event:
|
|
277
|
+
const i = e.position.map(C), n = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !n))(), r = (() => !!(!e.mediaPlane && n))(), s = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
|
|
278
|
+
(a || s) && (e.mediaPlane && this.imagePlaneGroup.remove(e.mediaPlane), (d = e.mediaPlane) == null || d.dispose(), (p = e.mediaPlane) == null || p.removeFromParent(), e.mediaPlane = void 0), (r || s) && (e.mediaPlane = new j(o, i, { objectFit: e.data.objectFit }), e.config.clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (m) => {
|
|
279
|
+
this.hooks.emit("click", { tag: e, target: "TagContent", event: m.origDomEvent });
|
|
277
280
|
}), this.imagePlaneGroup.add(e.mediaPlane));
|
|
278
281
|
});
|
|
279
282
|
}
|
|
@@ -282,12 +285,12 @@ class ui extends w {
|
|
|
282
285
|
*/
|
|
283
286
|
updateRender3DDomTag() {
|
|
284
287
|
this.sort([...this.filterCSS3DTag]).forEach((e) => {
|
|
285
|
-
var o, i,
|
|
288
|
+
var o, i, n, a;
|
|
286
289
|
if (e.tag3DContentSvelte) {
|
|
287
|
-
const { svelteApp: r, css3DInstance:
|
|
288
|
-
if (r.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !
|
|
289
|
-
const m = new O().setFromUnitVectors(
|
|
290
|
-
|
|
290
|
+
const { svelteApp: r, css3DInstance: s, initialNormal: d, currentNormal: p } = e.tag3DContentSvelte;
|
|
291
|
+
if (r.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !d.equals(p)) {
|
|
292
|
+
const m = new O().setFromUnitVectors(d, p);
|
|
293
|
+
s.css3DObject.setRotationFromQuaternion(m);
|
|
291
294
|
}
|
|
292
295
|
return;
|
|
293
296
|
} else {
|
|
@@ -298,20 +301,20 @@ class ui extends w {
|
|
|
298
301
|
const r = this.getPositions(e);
|
|
299
302
|
if (!r)
|
|
300
303
|
return;
|
|
301
|
-
const
|
|
302
|
-
if (!
|
|
304
|
+
const s = this.getTagNormal(e);
|
|
305
|
+
if (!s)
|
|
303
306
|
return;
|
|
304
|
-
const p = (
|
|
307
|
+
const p = (n = this.getTagConfig(e).tag3DConfig) != null ? n : {};
|
|
305
308
|
if (this.getRenderType(e) === "BehindDom") {
|
|
306
309
|
p.mode = "behind", p.container = document.createElement("div");
|
|
307
310
|
const l = "black";
|
|
308
311
|
p.container.style.backgroundColor = l, p.container.style.border = `3px solid ${l}`, this.css3DRenderPlugin.hooks.on("render", () => {
|
|
309
|
-
var
|
|
312
|
+
var u;
|
|
310
313
|
if (m.css3DObject.opacityMesh) {
|
|
311
|
-
const
|
|
312
|
-
this.hooks.emit("click", { event:
|
|
314
|
+
const c = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (v) => {
|
|
315
|
+
this.hooks.emit("click", { event: v, target: "TagContent", tag: e });
|
|
313
316
|
});
|
|
314
|
-
(
|
|
317
|
+
(u = this.store.css3DRenderDisposer.get(e.id)) == null || u.push(c);
|
|
315
318
|
}
|
|
316
319
|
});
|
|
317
320
|
}
|
|
@@ -319,7 +322,7 @@ class ui extends w {
|
|
|
319
322
|
if (!m)
|
|
320
323
|
return;
|
|
321
324
|
this.store.css3DRenderDisposer.set(e.id, [m.dispose]);
|
|
322
|
-
const
|
|
325
|
+
const h = new V({
|
|
323
326
|
target: m.container,
|
|
324
327
|
props: {
|
|
325
328
|
tag: e,
|
|
@@ -331,13 +334,13 @@ class ui extends w {
|
|
|
331
334
|
}
|
|
332
335
|
});
|
|
333
336
|
e.tag3DContentSvelte = {
|
|
334
|
-
svelteApp:
|
|
337
|
+
svelteApp: h,
|
|
335
338
|
domContainer: m,
|
|
336
339
|
css3DInstance: m,
|
|
337
|
-
initialNormal:
|
|
338
|
-
currentNormal:
|
|
340
|
+
initialNormal: s,
|
|
341
|
+
currentNormal: s,
|
|
339
342
|
dispose: () => {
|
|
340
|
-
|
|
343
|
+
h.$destroy(), m.dispose();
|
|
341
344
|
}
|
|
342
345
|
}, S(e) && ((a = e.model) != null && a.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
|
|
343
346
|
}
|
|
@@ -353,8 +356,8 @@ class ui extends w {
|
|
|
353
356
|
updateRenderModelTag() {
|
|
354
357
|
const t = (i) => !this.enabledModelTagSet.has(i.customID), e = this.gltfObjectGroup.children.filter(t);
|
|
355
358
|
e.forEach((i) => i.removeEventListener()), this.gltfObjectGroup.remove(...e), this.tags.filter((i) => i.stickType === "Model").forEach((i) => {
|
|
356
|
-
var
|
|
357
|
-
(
|
|
359
|
+
var n;
|
|
360
|
+
(n = i.model) == null || n.promise.then((a) => {
|
|
358
361
|
a.visible = this.getCurrentVisibleState(i);
|
|
359
362
|
});
|
|
360
363
|
}), this.five.needsRender = !0;
|
|
@@ -370,18 +373,18 @@ class ui extends w {
|
|
|
370
373
|
* @param model 模型
|
|
371
374
|
*/
|
|
372
375
|
updateTagCss3DObjectMatrix(t, e) {
|
|
373
|
-
var
|
|
374
|
-
const o = (
|
|
376
|
+
var u, c, v;
|
|
377
|
+
const o = (c = (u = t.config.tag3DConfig) == null ? void 0 : u.ratio) != null ? c : 216e-5, i = (v = t.tag3DContentSvelte) == null ? void 0 : v.css3DInstance.css3DObject;
|
|
375
378
|
if (!i)
|
|
376
379
|
return;
|
|
377
|
-
const
|
|
378
|
-
if (!
|
|
380
|
+
const n = S(t) ? t.data.mediaPosition : t.position;
|
|
381
|
+
if (!n || n.length !== 4 || !Array.isArray(n[0]) || !Array.isArray(n[2]))
|
|
379
382
|
return;
|
|
380
383
|
e.updateWorldMatrix(!1, !1);
|
|
381
|
-
const a = e.matrixWorld, r = new
|
|
382
|
-
|
|
384
|
+
const a = e.matrixWorld, r = new D().fromArray(n[0]), s = new D().fromArray(n[2]), d = x(r, s).add(new D(0, 0, 5e-4)), p = new g().setPosition(d), m = new g().makeScale(o, o, o), h = new g().multiply(a).multiply(p).multiply(m);
|
|
385
|
+
h.decompose(i.position, i.quaternion, i.scale);
|
|
383
386
|
const l = i.opacityMesh;
|
|
384
|
-
l &&
|
|
387
|
+
l && h.decompose(l.position, l.quaternion, l.scale);
|
|
385
388
|
}
|
|
386
389
|
/** 添加模型标签 */
|
|
387
390
|
addMediaModelTag(t) {
|
|
@@ -422,8 +425,8 @@ class ui extends w {
|
|
|
422
425
|
temporaryState: this.temporaryState,
|
|
423
426
|
withAnimation: this.store.visibleWithAnimation
|
|
424
427
|
}), this.filterCSS3DTag.forEach((e) => {
|
|
425
|
-
var o, i,
|
|
426
|
-
(a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((
|
|
428
|
+
var o, i, n, a, r;
|
|
429
|
+
(a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((n = e.state) == null ? void 0 : n.visible)) !== !1), (r = e.tag3DContentSvelte) == null || r.svelteApp.$set({
|
|
427
430
|
state: this.state,
|
|
428
431
|
temporaryState: this.temporaryState,
|
|
429
432
|
withAnimation: this.store.visibleWithAnimation
|
|
@@ -450,5 +453,5 @@ class ui extends w {
|
|
|
450
453
|
}
|
|
451
454
|
}
|
|
452
455
|
export {
|
|
453
|
-
|
|
456
|
+
bi as TagRender
|
|
454
457
|
};
|
|
@@ -30,9 +30,14 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
30
30
|
pauseCurrentMedia(): void;
|
|
31
31
|
/**
|
|
32
32
|
* @description: 获取merge后的配置
|
|
33
|
-
* TODO: 缓存
|
|
34
33
|
*/
|
|
35
|
-
getTagConfig(tag: Tag
|
|
34
|
+
getTagConfig(tag: Tag, params?: {
|
|
35
|
+
useCache: boolean;
|
|
36
|
+
}): TagConfig<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown">;
|
|
37
|
+
/**
|
|
38
|
+
* @description 获取标签当前状态
|
|
39
|
+
*/
|
|
40
|
+
getCurrentVisibleState(tag: TagInstance): boolean;
|
|
36
41
|
protected loadVideoFirstFrame(): void;
|
|
37
42
|
protected updateTagConfig(params?: {
|
|
38
43
|
force?: boolean;
|