@realsee/dnalogel 2.26.2 → 2.27.0-dev.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/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -13
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
- 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 +8 -7
- package/dist/PanoTagPlugin/controller/index.d.ts +3 -3
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +33 -6
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/index.d.ts +1 -1
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
- package/dist/index.cjs.js +44 -45
- package/dist/index.js +2976 -2947
- 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 +32 -30
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- package/docs/interfaces/TagCacheInterface.html +7 -5
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- package/docs/types/TagGLTFObject.html +5 -3
- package/docs/types/TagHooks.html +5 -3
- 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.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -5
- 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 +182 -183
- package/libs/PanoTagPlugin/controller/TagRender.js +69 -66
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +8 -7
- package/libs/PanoTagPlugin/controller/TagUtil.js +162 -147
- 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 +1 -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 +33 -6
- 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.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/index.js +31 -34
- 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,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export type AnyPosition = Vector3 | number[] | {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
z: number;
|
|
6
|
-
};
|
|
7
|
-
export declare const positionToVector3: ({ x, y, z }: {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
z: number;
|
|
11
|
-
}) => Vector3;
|
|
12
|
-
export declare const arrayPositionToVector3: (arrayPosition: number[]) => Vector3;
|
|
13
|
-
export declare const anyPositionToVector3: (position: AnyPosition) => Vector3;
|
|
1
|
+
export { anyPositionToVector3, arrayPositionToVector3, positionToVector3, type AnyPosition } from '../../shared-utils/positionToVector3';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as THREE from 'three';
|
|
2
|
-
import type
|
|
2
|
+
import { type AnyPosition } from '../../../shared-utils/positionToVector3';
|
|
3
3
|
import { ICSS3DRenderer as CSS3DRenderer } from './CSS3DRenderer';
|
|
4
4
|
import { Subscribe } from '../../../shared-utils/Subscribe';
|
|
5
5
|
import { CSS3DObjectPlus } from './CSS3DObject';
|
|
@@ -5,14 +5,17 @@ import * as BasePlugin from '../../base/BasePlugin';
|
|
|
5
5
|
export declare abstract class TagCache extends BasePlugin.Controller<State, EventMap> {
|
|
6
6
|
private tagCacheByPanoIndex;
|
|
7
7
|
protected constructor(five: Five);
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* @description: 获取缓存
|
|
10
|
+
*/
|
|
11
|
+
protected getCache(params?: {
|
|
9
12
|
panoIndex?: number;
|
|
10
13
|
}): Map<TagId, TagCacheInterface>;
|
|
11
|
-
protected getCache(
|
|
14
|
+
protected getCache(params?: {
|
|
12
15
|
panoIndex?: number;
|
|
13
16
|
id: TagId;
|
|
14
17
|
}): TagCacheInterface;
|
|
15
|
-
protected getCache(
|
|
18
|
+
protected getCache(params?: {
|
|
16
19
|
panoIndex?: number;
|
|
17
20
|
id: TagId;
|
|
18
21
|
key: keyof TagCacheInterface;
|
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
import type { Five, Mode } from '@realsee/five';
|
|
2
|
-
import * as THREE from 'three';
|
|
1
|
+
import type { Five, Mode, State as FiveState } from '@realsee/five';
|
|
3
2
|
import type { TagInstance } from '../typings';
|
|
4
|
-
import type { Raycaster } from 'three';
|
|
5
3
|
import { TagUtil } from './TagUtil';
|
|
6
4
|
export declare abstract class TagComputer extends TagUtil {
|
|
7
|
-
private raycaster;
|
|
8
5
|
protected constructor(five: Five);
|
|
9
6
|
/**
|
|
10
7
|
* @description: 获取是否可见
|
|
11
8
|
*/
|
|
12
9
|
getVisibleByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
|
|
13
10
|
getVisibleByFiveMode(tag: TagInstance, mode?: Mode): boolean;
|
|
14
|
-
|
|
15
|
-
* @description 获取标签当前状态
|
|
16
|
-
* @return (this.state.visible && tag.state.visible) ?? true
|
|
17
|
-
*/
|
|
18
|
-
getCurrentVisibleState(tag: TagInstance): boolean;
|
|
19
|
-
getVisible(tag: TagInstance): boolean;
|
|
11
|
+
getVisible(tag: TagInstance, state?: Partial<FiveState>): boolean;
|
|
20
12
|
/** 获取当前点位上模型中的多媒体是否应该展示 */
|
|
21
|
-
getModelMedialVisibleByPanoIndex(tag: TagInstance): boolean;
|
|
13
|
+
getModelMedialVisibleByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
|
|
22
14
|
/**
|
|
23
15
|
* @description: 获取是否展开
|
|
24
16
|
*/
|
|
@@ -46,12 +38,26 @@ export declare abstract class TagComputer extends TagUtil {
|
|
|
46
38
|
z: number;
|
|
47
39
|
};
|
|
48
40
|
/** 通过射线检测标签可用性 */
|
|
49
|
-
protected getTagEnableByIntersect(tag: TagInstance,
|
|
41
|
+
protected getTagEnableByIntersect(tag: TagInstance, panoIndex?: number): {
|
|
42
|
+
value: boolean;
|
|
43
|
+
reason: {
|
|
44
|
+
type: string;
|
|
45
|
+
fivePanoIndex: number;
|
|
46
|
+
passedCount?: undefined;
|
|
47
|
+
needPassed?: undefined;
|
|
48
|
+
};
|
|
49
|
+
} | {
|
|
50
|
+
value: boolean;
|
|
51
|
+
reason?: undefined;
|
|
52
|
+
} | {
|
|
50
53
|
value: boolean;
|
|
51
|
-
reason:
|
|
54
|
+
reason: {
|
|
55
|
+
type: string;
|
|
56
|
+
passedCount: number;
|
|
57
|
+
needPassed: number;
|
|
58
|
+
fivePanoIndex?: undefined;
|
|
59
|
+
};
|
|
52
60
|
};
|
|
53
|
-
/** 获取点位看向标签的射线 */
|
|
54
|
-
protected getRaycasterFromPanoIndex(tag: TagInstance, panoIndex: number): THREE.Raycaster;
|
|
55
61
|
/** 检测是否匹配当前楼层 */
|
|
56
62
|
private getVisibleByFloorIndex;
|
|
57
63
|
}
|
|
@@ -30,13 +30,16 @@ 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
|
-
protected updateTagConfig(
|
|
38
|
-
force?: boolean;
|
|
39
|
-
}): void;
|
|
42
|
+
protected updateTagConfig(): void;
|
|
40
43
|
protected can<T extends Tag>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;
|
|
41
44
|
protected getRenderType(tag: TagInstance): 'Dom' | 'Mesh' | 'BehindDom';
|
|
42
45
|
/**
|
|
@@ -53,10 +56,8 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
53
56
|
protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
|
|
54
57
|
protected get filterPointTag(): PointTagInstance[];
|
|
55
58
|
protected get filter2DPointTag(): TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
|
|
56
|
-
protected get filter3DPointTag(): TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">[];
|
|
57
59
|
protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
|
|
58
60
|
protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
|
|
59
|
-
protected get filterModelTag(): TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model">[];
|
|
60
61
|
protected get filterCSS3DTag(): (TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
|
|
61
62
|
/**
|
|
62
63
|
* @description 检查是否已经销毁
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Tag, TagId, Tags, TagInstance, State, AddTagConfig, LoadTagConfig, ContentTypeConfigKey
|
|
2
|
-
import type {
|
|
1
|
+
import type { Tag, TagId, Tags, TagInstance, State, AddTagConfig, LoadTagConfig, ContentTypeConfigKey } from '../typings';
|
|
2
|
+
import type { TagConfigByKey, TagContentType } from '..';
|
|
3
3
|
import type { ArrayPosition } from '../typings';
|
|
4
4
|
import { type Five } from '@realsee/five';
|
|
5
5
|
import { TagRender } from './TagRender';
|
|
@@ -38,7 +38,7 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
38
38
|
/**
|
|
39
39
|
* @description: 改变类型配置
|
|
40
40
|
*/
|
|
41
|
-
changeContentTypeConfig<T extends ContentTypeConfigKey>(key:
|
|
41
|
+
changeContentTypeConfig<T extends ContentTypeConfigKey>(key: T, contentTypeConfig: TagConfigByKey<T>, merge?: boolean): void;
|
|
42
42
|
show(params?: {
|
|
43
43
|
userAction?: boolean;
|
|
44
44
|
withAnimation?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { State as FiveState } from '@realsee/five';
|
|
2
2
|
import type { TagConfig } from './TagConfig';
|
|
3
3
|
import type { ContentTypeMap, TagContentType } from './TagData';
|
|
4
|
-
import type { Position, TagId, StickType, TagStyle, ElementRenderer,
|
|
4
|
+
import type { Position, TagId, StickType, TagStyle, ElementRenderer, TagConfigByKey, ContentTypeConfigKey } from './Utils';
|
|
5
5
|
import type { ContentType, DeprecatedTagProperty } from '../../Archive/deprecated';
|
|
6
6
|
export interface Tags {
|
|
7
7
|
version?: string;
|
|
@@ -10,7 +10,7 @@ export interface Tags {
|
|
|
10
10
|
globalConfig?: TagConfig;
|
|
11
11
|
/** 按type配置 */
|
|
12
12
|
contentTypeConfig?: {
|
|
13
|
-
[key in ContentTypeConfigKey]?:
|
|
13
|
+
[key in ContentTypeConfigKey]?: TagConfigByKey<key>;
|
|
14
14
|
};
|
|
15
15
|
/** 标签列表配置 */
|
|
16
16
|
tagList: Tag[];
|
|
@@ -4,6 +4,7 @@ import type { ContentTypeMap, TagContentType } from './TagData';
|
|
|
4
4
|
import type { MinMax } from './Utils';
|
|
5
5
|
import type { TagInstance } from './TagInstance';
|
|
6
6
|
import type { PartialObjectDeep } from '../../../typings/typings';
|
|
7
|
+
import type { Vector3 } from 'three';
|
|
7
8
|
type ConfigFunction = (five: Five, tagState: {
|
|
8
9
|
tag: TagInstance<any>;
|
|
9
10
|
/** 标签点或中心点的到摄像机的距离 */
|
|
@@ -16,9 +17,9 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
16
17
|
visibleConfig?: {
|
|
17
18
|
/**
|
|
18
19
|
* @description 保持可见/不可见, 设置后visibleConfig下所有其他配置都不生效
|
|
19
|
-
* @default
|
|
20
|
+
* @default null
|
|
20
21
|
*/
|
|
21
|
-
keep?: 'visible' | 'hidden';
|
|
22
|
+
keep?: 'visible' | 'hidden' | null;
|
|
22
23
|
/**
|
|
23
24
|
* @description 在哪些 five mode 下可见
|
|
24
25
|
* @default ['Panorama']
|
|
@@ -62,6 +63,16 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
62
63
|
* @default 0.01
|
|
63
64
|
*/
|
|
64
65
|
distanceAccuracy?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @description: 碰撞检测的点
|
|
68
|
+
* @default 'center'
|
|
69
|
+
*/
|
|
70
|
+
checkPoints?: 'center' | 'corner' | Vector3[];
|
|
71
|
+
/**
|
|
72
|
+
* @description: 碰撞检测策略,多少点通过检测则认为碰撞通过
|
|
73
|
+
* @default 1
|
|
74
|
+
*/
|
|
75
|
+
needPassed?: number;
|
|
65
76
|
};
|
|
66
77
|
/**
|
|
67
78
|
* @description 3D标签中 「标签所在平面或垂直于标签法线的平面」 与 「摄像机到标签点或中心点的向量」 的夹角,范围内自动展开,范围外自动收起
|
|
@@ -104,9 +115,15 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
104
115
|
enable?: boolean;
|
|
105
116
|
/** 自动展开:最近标签自动展开 */
|
|
106
117
|
strategy?: 'MinimumDistance';
|
|
107
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* @description: 展开的最大数量
|
|
120
|
+
* @default 1
|
|
121
|
+
*/
|
|
108
122
|
maxNumber?: number;
|
|
109
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* @description: 展开的最大距离
|
|
125
|
+
* @default 无限制
|
|
126
|
+
*/
|
|
110
127
|
distance?: MinMax;
|
|
111
128
|
};
|
|
112
129
|
} | ConfigFunction;
|
|
@@ -117,17 +134,27 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
117
134
|
/** 展开/收起 */
|
|
118
135
|
unfolded?: boolean;
|
|
119
136
|
};
|
|
120
|
-
initialData?: PartialObjectDeep<ContentTypeMap[C]
|
|
137
|
+
initialData?: C extends TagContentType ? PartialObjectDeep<ContentTypeMap[C]> & {
|
|
138
|
+
important?: boolean;
|
|
139
|
+
} : {
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
important?: boolean;
|
|
142
|
+
};
|
|
121
143
|
tag3DConfig?: Create3DDomContainerParamsType['config'];
|
|
122
144
|
modelConfig?: {
|
|
123
145
|
autoLookAtEnabled?: boolean;
|
|
124
146
|
};
|
|
125
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* @description: 当图片为一张时可以选择通过Mesh渲染
|
|
149
|
+
* @default 'Dom'
|
|
150
|
+
*/
|
|
126
151
|
renderType?: 'Mesh' | 'Dom';
|
|
127
152
|
/**
|
|
128
153
|
* @description: 是否可以点击
|
|
129
154
|
* @default true
|
|
130
155
|
*/
|
|
131
156
|
clickable?: boolean;
|
|
157
|
+
isMerged?: boolean;
|
|
132
158
|
}
|
|
159
|
+
export declare const defaultGlobalConfig: TagConfig<any>;
|
|
133
160
|
export {};
|
|
@@ -3,6 +3,7 @@ import type { Group } from 'three';
|
|
|
3
3
|
import type { TagContentType } from './TagData';
|
|
4
4
|
import type { ImagePlane } from '../../utils/model/mediaPlane';
|
|
5
5
|
import type { TagInstance } from './TagInstance';
|
|
6
|
+
import type { TagConfig } from '../..';
|
|
6
7
|
export type TagId = string | number;
|
|
7
8
|
export type ArrayPosition = number[];
|
|
8
9
|
export type Position = ArrayPosition;
|
|
@@ -65,6 +66,7 @@ export type ContentTypeConfigKey = `${StickType | 'Any'}-${TagContentType | 'Any
|
|
|
65
66
|
* @description: 从 ContentTypeConfigKey 中提取 ContentTypeConfigKey 对应的 TagContentType 是啥,没找到就是 never
|
|
66
67
|
*/
|
|
67
68
|
export type PickTagContentTypeInContentTypeConfigKey<T extends ContentTypeConfigKey> = T extends `${any}-Audio-${any}` ? 'Audio' : T extends `Mixin-${string}` ? string : T extends `${any}-${infer C}` ? C : T extends TagContentType ? T : never;
|
|
69
|
+
export type TagConfigByKey<T extends ContentTypeConfigKey> = PickTagContentTypeInContentTypeConfigKey<T> extends TagContentType ? TagConfig<PickTagContentTypeInContentTypeConfigKey<T>> : TagConfig<any>;
|
|
68
70
|
export type ContentTypeConfigKeySplit = [StickType | 'Any', TagContentType | 'Any'] | ['Mixin', string] | [TagContentType] | [StickType | 'Any', 'Audio', AudioAppearance];
|
|
69
71
|
export type PointTag<C extends TagContentType = TagContentType> = TagInstance<C, '2DPoint' | '3DPoint'>;
|
|
70
72
|
/** 二维标签 */
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Vector3 } from 'three';
|
|
2
|
-
import { type AnyPosition } from '.';
|
|
3
2
|
import type { TagInstance } from '../typings';
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
3
|
+
export declare function getTagPosition(tag: TagInstance): Vector3 | Vector3[];
|
|
4
|
+
export declare function getTagCenterPosition(tag: TagInstance): Vector3;
|