@realsee/dnalogel 3.41.7 → 3.42.0-alpha-tag.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/README.md +116 -0
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +17 -16
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -2
- package/dist/index.cjs.js +30 -30
- package/dist/index.js +735 -764
- package/dist/index.umd.js +24 -24
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +127 -0
- package/docs/assets/main.js +58 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1367 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +731 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +694 -0
- package/docs/classes/CSS3DRender.html +778 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +481 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +894 -0
- package/docs/classes/Magnifier.html +485 -0
- package/docs/classes/ModelRoomLabelController.html +403 -0
- package/docs/classes/MoveController.html +681 -0
- package/docs/classes/Object3DHelperController.html +645 -0
- package/docs/classes/PaintBrush.html +507 -0
- package/docs/classes/PanoMeasurePluginLine.html +527 -0
- package/docs/classes/PanoMeasurePluginModel.html +576 -0
- package/docs/classes/PanoMeasurePluginPoint.html +367 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +572 -0
- package/docs/classes/PanoTagPluginController.html +1132 -0
- package/docs/classes/Util.BetterTween.html +421 -0
- package/docs/classes/Util.Interval.html +437 -0
- package/docs/classes/Util.LineSegments.html +389 -0
- package/docs/classes/Util.Magnifier.html +508 -0
- package/docs/classes/Util.Object3D.html +411 -0
- package/docs/classes/Util.PointDomHelper.html +412 -0
- package/docs/classes/Util.PointHelper.html +403 -0
- package/docs/classes/Util.PointSelectorHelper.html +459 -0
- package/docs/classes/Util.Rectangle.html +460 -0
- package/docs/classes/WalkController.html +700 -0
- package/docs/enums/CameraMovementEffect.html +315 -0
- package/docs/enums/ContentType.html +461 -0
- package/docs/enums/DIRECTION.html +325 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +325 -0
- package/docs/enums/DimensionType.html +315 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +318 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +325 -0
- package/docs/enums/PaintBrushTypeEnum.html +318 -0
- package/docs/enums/PointType.html +315 -0
- package/docs/enums/Rotation.html +322 -0
- package/docs/functions/AreaMakerPlugin.html +295 -0
- package/docs/functions/CSS3DRenderPlugin.html +293 -0
- package/docs/functions/CameraMovementPlugin.html +298 -0
- package/docs/functions/CruisePlugin.html +295 -0
- package/docs/functions/CurrentPanoImagePlugin.html +295 -0
- package/docs/functions/GuideLinePlugin.html +295 -0
- package/docs/functions/ItemLabelPlugin.html +295 -0
- package/docs/functions/MapviewFloorplanPlugin.html +295 -0
- package/docs/functions/ModelChassisCompassPlugin.html +298 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +298 -0
- package/docs/functions/ModelFloorplanPlugin.html +295 -0
- package/docs/functions/ModelItemLabelPlugin.html +295 -0
- package/docs/functions/ModelRoomLabelPlugin.html +293 -0
- package/docs/functions/ModelTVVideoPlugin.html +295 -0
- package/docs/functions/ModelViewPlugin.html +298 -0
- package/docs/functions/MovePlugin.html +295 -0
- package/docs/functions/Object3DHelperPlugin.html +293 -0
- package/docs/functions/PanoCompassPlugin.html +295 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +299 -0
- package/docs/functions/PanoDoorLabelPlugin.html +295 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +295 -0
- package/docs/functions/PanoMeasurePlugin.html +295 -0
- package/docs/functions/PanoRulerPlugin.html +298 -0
- package/docs/functions/PanoRulerProPlugin.html +298 -0
- package/docs/functions/PanoSpatialTagPlugin.html +298 -0
- package/docs/functions/PanoTagPlugin.html +300 -0
- package/docs/functions/PanoVideoPlugin.html +304 -0
- package/docs/functions/PipelinePlugin.html +293 -0
- package/docs/functions/TopviewFloorplanPlugin.html +295 -0
- package/docs/functions/Util.absoluteUrl.html +331 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +334 -0
- package/docs/functions/Util.equal.html +343 -0
- package/docs/functions/Util.getCoordsFromClient.html +333 -0
- package/docs/functions/Util.getCoordsFromElement.html +333 -0
- package/docs/functions/Util.getFrameTime.html +325 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +333 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +333 -0
- package/docs/functions/Util.isAbsoluteURL.html +326 -0
- package/docs/functions/Util.isModelLike.html +326 -0
- package/docs/functions/Util.isNil.html +334 -0
- package/docs/functions/Util.isPanoramaLike.html +326 -0
- package/docs/functions/Util.nextFrame.html +339 -0
- package/docs/functions/Util.notNil.html +334 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +355 -0
- package/docs/functions/Util.tweenProgress.html +328 -0
- package/docs/functions/Util.uuid.html +324 -0
- package/docs/functions/pluginFlag.html +293 -0
- package/docs/index.html +358 -0
- package/docs/interfaces/AddTagConfig.html +308 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +335 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +340 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +626 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +339 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +397 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +382 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +339 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +332 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +331 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +360 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +454 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +330 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +363 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +364 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +366 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +724 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +390 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +426 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +416 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +356 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +324 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +392 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +387 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +526 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +328 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +320 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +342 -0
- package/docs/interfaces/EventMap.html +547 -0
- package/docs/interfaces/FloorplanBounding.html +337 -0
- package/docs/interfaces/FloorplanData.html +340 -0
- package/docs/interfaces/FloorplanEntrance.html +365 -0
- package/docs/interfaces/FloorplanExtraObject.html +355 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +344 -0
- package/docs/interfaces/FloorplanFloorData.html +333 -0
- package/docs/interfaces/FloorplanImagePosition.html +319 -0
- package/docs/interfaces/FloorplanObserver.html +337 -0
- package/docs/interfaces/FloorplanOutlineItem.html +333 -0
- package/docs/interfaces/FloorplanPosition.html +319 -0
- package/docs/interfaces/FloorplanRoomItem.html +407 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +325 -0
- package/docs/interfaces/FloorplanServerBounding.html +337 -0
- package/docs/interfaces/FloorplanServerComputedData.html +336 -0
- package/docs/interfaces/FloorplanServerData.html +319 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +336 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +322 -0
- package/docs/interfaces/FloorplanServerEntrance.html +365 -0
- package/docs/interfaces/FloorplanServerFloorData.html +333 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +319 -0
- package/docs/interfaces/FloorplanServerObserver.html +337 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +333 -0
- package/docs/interfaces/FloorplanServerPosition.html +319 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +419 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +325 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +328 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +367 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +531 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +362 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +353 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +452 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +342 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +352 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +522 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +349 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +532 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +314 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +335 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +360 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +376 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +358 -0
- package/docs/interfaces/HelperOffset.html +337 -0
- package/docs/interfaces/ImagePlaneGroup.html +311 -0
- package/docs/interfaces/ItemLabelPluginData.html +308 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +393 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +329 -0
- package/docs/interfaces/MinMax.html +315 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +315 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +351 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +315 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +322 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +359 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +308 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +393 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +315 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +308 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +329 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +353 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +308 -0
- package/docs/interfaces/ModelViewPluginExportType.html +421 -0
- package/docs/interfaces/Object3DHelperState.html +322 -0
- package/docs/interfaces/ObjectHelperControllers.html +329 -0
- package/docs/interfaces/PaintBrushAction.html +368 -0
- package/docs/interfaces/PaintBrushConfigs.html +366 -0
- package/docs/interfaces/PaintBrushState.html +350 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +430 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +287 -0
- package/docs/interfaces/PanoMeasureParameterType.html +454 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +322 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +319 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +315 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +325 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +382 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +331 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +322 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +358 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +328 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +315 -0
- package/docs/interfaces/PanoRulerProPluginState.html +322 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +301 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +290 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +358 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +340 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +436 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +336 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +357 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +343 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +336 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +328 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +346 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +319 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +425 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +319 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +354 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +373 -0
- package/docs/interfaces/Point.html +322 -0
- package/docs/interfaces/Room.html +329 -0
- package/docs/interfaces/RoomInfo.html +315 -0
- package/docs/interfaces/RoomLabel.html +391 -0
- package/docs/interfaces/RoomRules.html +290 -0
- package/docs/interfaces/Rooms.html +290 -0
- package/docs/interfaces/Scissor.html +349 -0
- package/docs/interfaces/State.html +336 -0
- package/docs/interfaces/TagCacheInterface.html +367 -0
- package/docs/interfaces/TagConfig.html +570 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +311 -0
- package/docs/interfaces/TagIconUrl.html +368 -0
- package/docs/interfaces/TagObjectGroup.html +311 -0
- package/docs/interfaces/TagStyle.html +321 -0
- package/docs/interfaces/Tags.html +2825 -0
- package/docs/interfaces/TemporaryState.html +308 -0
- package/docs/interfaces/Util.MagnifierParameter.html +396 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +355 -0
- package/docs/interfaces/Util.PointIntersection.html +370 -0
- package/docs/modules/AreaMakerPluginType.html +330 -0
- package/docs/modules/CruisePluginTypes.html +333 -0
- package/docs/modules/CurrentPanoImagePluginType.html +302 -0
- package/docs/modules/GuideLineItem.html +294 -0
- package/docs/modules/GuideLineModeItem.html +299 -0
- package/docs/modules/GuideLinePluginType.html +355 -0
- package/docs/modules/PanoVideoPluginType.html +306 -0
- package/docs/modules/Util.html +356 -0
- package/docs/modules.html +564 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +359 -0
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +325 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +307 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +307 -0
- package/docs/types/ArrayPosition.html +284 -0
- package/docs/types/AudioAppearance.html +284 -0
- package/docs/types/AudioTagTypeConfigKey.html +284 -0
- package/docs/types/CSS3DRenderExportType.html +284 -0
- package/docs/types/CSS3DRenderPluginExportType.html +284 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +284 -0
- package/docs/types/ClassFunctionParameters.html +291 -0
- package/docs/types/Color.html +284 -0
- package/docs/types/ContentTypeConfigKey.html +284 -0
- package/docs/types/ContentTypeConfigKeySplit.html +284 -0
- package/docs/types/ContentTypeMap.html +284 -0
- package/docs/types/Create3DDomContainerReturnType.html +284 -0
- package/docs/types/Create3DElementReturnType.html +284 -0
- package/docs/types/CruisePluginExportType.html +284 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +323 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +300 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +284 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +296 -0
- package/docs/types/DeprecatedTagProperty.html +299 -0
- package/docs/types/Direction-1.html +284 -0
- package/docs/types/Direction4.html +284 -0
- package/docs/types/ElementRenderer.html +308 -0
- package/docs/types/FloorplanRuleLabels.html +287 -0
- package/docs/types/FloorplanServerRuleLabels.html +284 -0
- package/docs/types/GuideLinePluginExportType.html +284 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +357 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +378 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +311 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +314 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +314 -0
- package/docs/types/GuideLinePluginType.PathItem.html +314 -0
- package/docs/types/GuideLinePluginType.PluginData.html +323 -0
- package/docs/types/HelperEventMap.html +429 -0
- package/docs/types/InternalHelperEventMap.html +380 -0
- package/docs/types/LoadTagConfig.html +284 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +284 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +284 -0
- package/docs/types/MediaData.html +305 -0
- package/docs/types/MediaStore.html +289 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +291 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +284 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +284 -0
- package/docs/types/ModelId.html +284 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +284 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +284 -0
- package/docs/types/MoveArgs.html +294 -0
- package/docs/types/MoveOpts.html +292 -0
- package/docs/types/Object3DHelperEventMap.html +377 -0
- package/docs/types/ObjectFit.html +284 -0
- package/docs/types/PaintBrushEventMap.html +315 -0
- package/docs/types/PanoCompassPluginData.html +284 -0
- package/docs/types/PanoCompassPluginExportType.html +284 -0
- package/docs/types/PanoCompassPluginParameterType.html +284 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +284 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +284 -0
- package/docs/types/PanoIndex.html +284 -0
- package/docs/types/PanoMeasurePluginEvent.html +284 -0
- package/docs/types/PanoMeasureReturnType.html +284 -0
- package/docs/types/PanoSpatialTagPluginId.html +284 -0
- package/docs/types/PanoTagPluginExportInterface.html +284 -0
- package/docs/types/PanoTagPluginParamsInterface.html +284 -0
- package/docs/types/PanoVideoPluginParameterType.html +284 -0
- package/docs/types/PanoVideoPluginReturnType.html +284 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +292 -0
- package/docs/types/PipelinePluginParameterType.html +284 -0
- package/docs/types/PipelinePluginReturnType.html +284 -0
- package/docs/types/PlaneTag.html +292 -0
- package/docs/types/Point2DTag.html +292 -0
- package/docs/types/Point3DTag.html +292 -0
- package/docs/types/PointTag.html +289 -0
- package/docs/types/PointTagInstance.html +289 -0
- package/docs/types/Position.html +284 -0
- package/docs/types/RotateArgs.html +296 -0
- package/docs/types/RotateOpts.html +292 -0
- package/docs/types/RuleLabelsKey.html +284 -0
- package/docs/types/RuleLabelsValue.html +284 -0
- package/docs/types/StickType.html +284 -0
- package/docs/types/Tag.html +350 -0
- package/docs/types/Tag2D.html +292 -0
- package/docs/types/Tag3D.html +292 -0
- package/docs/types/TagConfigByKey.html +289 -0
- package/docs/types/TagContentType.html +284 -0
- package/docs/types/TagContentTypeMapping.html +284 -0
- package/docs/types/TagDimensionType.html +286 -0
- package/docs/types/TagElement.html +294 -0
- package/docs/types/TagEvents.html +337 -0
- package/docs/types/TagGLTFObject.html +307 -0
- package/docs/types/TagHooks.html +284 -0
- package/docs/types/TagId.html +284 -0
- package/docs/types/TagInstance.html +362 -0
- package/docs/types/TagPointType.html +287 -0
- package/docs/types/TagRendererMap.html +291 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +284 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +284 -0
- package/docs/types/WorkCode.html +284 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +294 -0
- package/docs/variables/PLUGIN.html +284 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +287 -0
- package/docs/variables/ROOM_TYPE_MAP.html +294 -0
- package/docs/variables/defaultGlobalConfig.html +284 -0
- package/docs/variables/itemLabelPluginServerParams.html +291 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +291 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +291 -0
- package/libs/PanoTagPlugin/Components/TagItem.js +246 -286
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +54 -51
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
- package/libs/PanoTagPlugin/controller/TagUtil.js +22 -20
- package/libs/PanoTagPlugin/controller/index.js +57 -56
- package/libs/PanoTagPlugin/tag.config.js +5 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +17 -16
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://realsee.js.org/"><img src="https://vrlab-public.ljcdn.com/common/file/web/ea031fa5-ad82-46b3-86c8-7b20ec1e635a.jpg" width="60" /></a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<p align="center">
|
|
7
|
+
<a href="https://www.npmjs.com/package/@realsee/dnalogel">
|
|
8
|
+
<img src="https://img.shields.io/npm/v/@realsee/dnalogel.svg" alt="npm version" >
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://packagephobia.now.sh/result?p=@realsee/dnalogel">
|
|
11
|
+
<img src="https://packagephobia.now.sh/badge?p=@realsee/dnalogel" alt="install size" >
|
|
12
|
+
</a>
|
|
13
|
+
<a href="https://github.com/realsee-developer/dnalogel/blob/main/TERMS.txt">
|
|
14
|
+
<img src="https://img.shields.io/npm/l/@realsee/dnalogel.svg" alt="license">
|
|
15
|
+
</a>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
<h1 align="center">@realsee/dnalogel</h1>
|
|
19
|
+
|
|
20
|
+
# 👀 Overview
|
|
21
|
+
|
|
22
|
+
@realsee/dnalogel 将 [如视(realsee.com)](https://realsee.com) **VR 空间交互** 常用能力沉淀,并以 `Five Plugins` 形式进行抽象。
|
|
23
|
+
结合[如视三维空间重建渲染引擎 Five](https://open-platform.realsee.com/developer/docs/five/intro/)
|
|
24
|
+
与 [如视开放 API](https://open-platform.realsee.com/developer/openapi/?id=1001) ,可以制作出丰富多彩的三维空间应用。不论是经过线上环境千锤百炼的刚需功能,还是灵感一现的炫酷尝试,所有已经落地的功能我们均毫无保留的开源至github [realsee-developer/dnalogel](https://github.com/realsee-developer/dnalogel) 。
|
|
25
|
+
|
|
26
|
+
# 🔨 Usage
|
|
27
|
+
|
|
28
|
+
**1、安装**
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npm install @realsee/dnalogel
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
yarn add @realsee/dnalogel
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**2、插件注册**
|
|
39
|
+
|
|
40
|
+
```js
|
|
41
|
+
import { Five } from '@realsee/five'
|
|
42
|
+
import { Plugin } from '@realsee/dnalogel'
|
|
43
|
+
const five = new Five({
|
|
44
|
+
plugins: [[Plugin, 'PluginName', initOptions]],
|
|
45
|
+
})
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**3、插件方法使用**
|
|
49
|
+
|
|
50
|
+
```js
|
|
51
|
+
// 不同插件提供的方法可能存在差异,请参考各插件 API 文档
|
|
52
|
+
five.plugins.PluginName.load(data)
|
|
53
|
+
five.plugins.PluginName.enable()
|
|
54
|
+
five.plugins.PluginName.disable()
|
|
55
|
+
five.plugins.PluginName.dispose()
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**4、插件依赖数据获取**
|
|
59
|
+
|
|
60
|
+
您可以通过 [open API](https://open-platform.realsee.com/developer/open/api#/) 查看数据获取方式及相关 open API 。
|
|
61
|
+
|
|
62
|
+
# 📖 Documents
|
|
63
|
+
|
|
64
|
+
- [说明文档](https://open-platform.realsee.com/developer/docs/dnalogel/intro/)
|
|
65
|
+
- [API 文档](https://open-platform.realsee.com/developer/openapi/?id=1001)
|
|
66
|
+
- [demo 源码](https://github.com/realsee-developer/dnalogel)
|
|
67
|
+
- [数据依赖来源:open API](https://open-platform.realsee.com/developer/openapi/?id=1001)
|
|
68
|
+
|
|
69
|
+
# 💡 Preview
|
|
70
|
+
|
|
71
|
+
我们为每个插件书写了简单的效果示例,您可点击预览:
|
|
72
|
+
[@realsee/dnalogel showcase](https://realsee-developer.github.io/dnalogel/)
|
|
73
|
+
|
|
74
|
+
# 🧾 Lists
|
|
75
|
+
|
|
76
|
+
- 🔌 ModelViewPlugin:模型小窗插件
|
|
77
|
+
- 🔌 PanoFloorplanRadarPlugin:全景户型雷达图插件
|
|
78
|
+
- 🔌 ModelRoomLabelPlugin:模型态房屋标签插件
|
|
79
|
+
- 🔌 TopviewFloorplanPlugin:俯视模型户型图插件
|
|
80
|
+
- 🔌 ModelChassisCompassPlugin:模型底盘指南针插件
|
|
81
|
+
- 🔌 ModelEntryDoorGuidePlugin:模型入户门引导插件
|
|
82
|
+
- 🔌 CSS3DRenderPlugin:CSS3D渲染插件
|
|
83
|
+
- 🔌 CameraMovementPlugin:相机运镜插件
|
|
84
|
+
- 🔌 ModelFloorplanPlugin:模型户型图插件
|
|
85
|
+
- 🔌 PanoRulerPlugin:全景标尺插件
|
|
86
|
+
- 🔌 PanoCompassPlugin:全景指南针插件
|
|
87
|
+
- 其他插件持续更新中...
|
|
88
|
+
|
|
89
|
+
# 可能遇到的问题
|
|
90
|
+
|
|
91
|
+
1. webpack打包出现以下错误
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
Module not found: Error: Can't resolve '@realsee/five/line' in 'xxx/node_modules/@realsee/dnalogel/libs'
|
|
95
|
+
Did you mean 'index.js'?
|
|
96
|
+
BREAKING CHANGE: The request '@realsee/five/line' failed to resolve only because it was resolved as fully specified
|
|
97
|
+
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
|
|
98
|
+
The extension in the request is mandatory for it to be fully specified.
|
|
99
|
+
Add the extension to the request.
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
解决方案:在webpack配置里加以下rule
|
|
103
|
+
参考:[resolvefullyspecified](https://webpack.js.org/configuration/module/#resolvefullyspecified)
|
|
104
|
+
|
|
105
|
+
```js
|
|
106
|
+
{
|
|
107
|
+
test: /\.m?js$/,
|
|
108
|
+
resolve: {
|
|
109
|
+
fullySpecified: false, // disable the behaviour
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
# License
|
|
115
|
+
|
|
116
|
+
[TERMS](https://github.com/realsee-developer/dnalogel/blob/main/TERMS.txt)
|
|
@@ -65,7 +65,7 @@ export declare abstract class TagRender extends TagComputer {
|
|
|
65
65
|
/**
|
|
66
66
|
* @description 一个点的标签
|
|
67
67
|
*/
|
|
68
|
-
protected setPointTagPosition(tag?: TagInstance | TagInstance[])
|
|
68
|
+
protected setPointTagPosition: (tag?: TagInstance | TagInstance[]) => void;
|
|
69
69
|
/**
|
|
70
70
|
* @description 渲染单个点的标签
|
|
71
71
|
*/
|
|
@@ -8,6 +8,8 @@ import type { Mode } from '@realsee/five';
|
|
|
8
8
|
import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
|
|
9
9
|
export declare abstract class TagUtil extends TagCache {
|
|
10
10
|
tags: TagInstance[];
|
|
11
|
+
renderWidthPx?: number;
|
|
12
|
+
renderHeightPx?: number;
|
|
11
13
|
get container(): Element;
|
|
12
14
|
set container(container: Element);
|
|
13
15
|
config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
|
|
@@ -13,23 +13,24 @@ export type LoadTagConfig = AddTagConfig;
|
|
|
13
13
|
export interface TemporaryState {
|
|
14
14
|
visible?: boolean;
|
|
15
15
|
}
|
|
16
|
+
export type TagClickParams = {
|
|
17
|
+
event: Event;
|
|
18
|
+
} & ({
|
|
19
|
+
target: 'TagPoint';
|
|
20
|
+
tag: PointTagInstance;
|
|
21
|
+
} | {
|
|
22
|
+
target: 'TagContent';
|
|
23
|
+
tag: TagInstance;
|
|
24
|
+
} | {
|
|
25
|
+
target: 'AudioTagPlayIcon';
|
|
26
|
+
tag: TagInstance;
|
|
27
|
+
audioInstance: HTMLAudioElement;
|
|
28
|
+
} | {
|
|
29
|
+
target: 'TagModel';
|
|
30
|
+
tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>;
|
|
31
|
+
});
|
|
16
32
|
export interface EventMap extends BasePlugin.EventMap<State> {
|
|
17
|
-
click: (params:
|
|
18
|
-
event: Event;
|
|
19
|
-
} & ({
|
|
20
|
-
target: 'TagPoint';
|
|
21
|
-
tag: PointTagInstance;
|
|
22
|
-
} | {
|
|
23
|
-
target: 'TagContent';
|
|
24
|
-
tag: TagInstance;
|
|
25
|
-
} | {
|
|
26
|
-
target: 'AudioTagPlayIcon';
|
|
27
|
-
tag: TagInstance;
|
|
28
|
-
audioInstance: HTMLAudioElement;
|
|
29
|
-
} | {
|
|
30
|
-
target: 'TagModel';
|
|
31
|
-
tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>;
|
|
32
|
-
})) => void;
|
|
33
|
+
click: (params: TagClickParams) => void;
|
|
33
34
|
playStateChange: (params: {
|
|
34
35
|
event: Event;
|
|
35
36
|
state: 'playing' | 'paused';
|
|
@@ -14,8 +14,8 @@ import type anime from 'animejs';
|
|
|
14
14
|
type RequiredTag<C extends TagContentType = TagContentType, S extends StickType = StickType> = SetRequired<Tag<C, S>, 'id' | 'data' | 'enabled' | 'config' | 'stickType' | 'contentType'>;
|
|
15
15
|
export type TagInstance<C extends TagContentType = TagContentType, S extends StickType = StickType> = RequiredTag<C, S> & Partial<{
|
|
16
16
|
screenPosition: {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
leftPx: number;
|
|
18
|
+
topPx: number;
|
|
19
19
|
} | null;
|
|
20
20
|
zIndex?: number;
|
|
21
21
|
temporaryState: {
|