@realsee/dnalogel 3.6.0-dev.0 → 3.6.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/AreaMakerPlugin/Controller.d.ts +2 -0
- package/dist/AreaMakerPlugin/typing.d.ts +1 -0
- package/dist/AreaMakerPlugin/utils/Item.d.ts +4 -0
- package/dist/CruisePlugin/Controller.d.ts +171 -0
- package/dist/CruisePlugin/index.d.ts +3 -4
- package/dist/CruisePlugin/typing.d.ts +2 -2
- package/dist/CruisePlugin/utils/linerValue.d.ts +1 -0
- package/dist/GuideLinePlugin/Controller.d.ts +6 -1
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +4104 -4142
- package/dist/index.umd.js +58 -58
- package/libs/AreaMakerPlugin/Controller.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +32 -30
- package/libs/AreaMakerPlugin/typing.d.ts +1 -0
- package/libs/AreaMakerPlugin/utils/Item.d.ts +4 -0
- package/libs/AreaMakerPlugin/utils/Item.js +59 -53
- package/libs/CruisePlugin/Controller.d.ts +171 -0
- package/libs/CruisePlugin/Controller.js +760 -0
- package/libs/CruisePlugin/index.d.ts +3 -4
- package/libs/CruisePlugin/index.js +12 -17
- package/libs/CruisePlugin/typing.d.ts +2 -2
- package/libs/GuideLinePlugin/Controller.d.ts +6 -1
- package/libs/GuideLinePlugin/Controller.js +62 -48
- package/libs/GuideLinePlugin/GuideLineItem/index.js +43 -53
- package/libs/GuideLinePlugin/GuideLineItem.js +10 -13
- package/libs/GuideLinePlugin/index.js +17 -20
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +111 -68
- package/libs/index.js +119 -124
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
- package/dist/CruisePlugin/BaseController.d.ts +0 -159
- package/dist/CruisePlugin/Move.d.ts +0 -40
- package/dist/CruisePlugin/Work.d.ts +0 -120
- package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
- package/dist/shared-utils/five/fiveLoaded.d.ts +0 -2
- package/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -120
- package/docs/assets/main.js +0 -58
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1367
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -728
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -681
- package/docs/classes/CSS3DRender.html +0 -776
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -479
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -859
- package/docs/classes/Magnifier.html +0 -483
- package/docs/classes/ModelRoomLabelController.html +0 -401
- package/docs/classes/MoveController.html +0 -652
- package/docs/classes/Object3DHelperController.html +0 -643
- package/docs/classes/PaintBrush.html +0 -505
- package/docs/classes/PanoMeasurePluginLine.html +0 -525
- package/docs/classes/PanoMeasurePluginModel.html +0 -574
- package/docs/classes/PanoMeasurePluginPoint.html +0 -365
- package/docs/classes/PanoMeasurePluginPolyline.html +0 -570
- package/docs/classes/PanoTagPluginController.html +0 -1114
- package/docs/classes/Util.BetterTween.html +0 -419
- package/docs/classes/Util.Interval.html +0 -435
- package/docs/classes/Util.LineSegments.html +0 -387
- package/docs/classes/Util.Magnifier.html +0 -506
- package/docs/classes/Util.Object3D.html +0 -409
- package/docs/classes/Util.PointDomHelper.html +0 -410
- package/docs/classes/Util.PointHelper.html +0 -401
- package/docs/classes/Util.PointSelectorHelper.html +0 -457
- package/docs/classes/Util.Rectangle.html +0 -458
- package/docs/classes/WalkController.html +0 -671
- package/docs/enums/CameraMovementEffect.html +0 -313
- package/docs/enums/ContentType.html +0 -459
- package/docs/enums/DIRECTION.html +0 -323
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -323
- package/docs/enums/DimensionType.html +0 -313
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -316
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -323
- package/docs/enums/PaintBrushTypeEnum.html +0 -316
- package/docs/enums/PointType.html +0 -313
- package/docs/enums/Rotation.html +0 -320
- package/docs/functions/AreaMakerPlugin.html +0 -293
- package/docs/functions/CSS3DRenderPlugin.html +0 -291
- package/docs/functions/CameraMovementPlugin.html +0 -296
- package/docs/functions/CruisePlugin.html +0 -293
- package/docs/functions/CurrentPanoImagePlugin.html +0 -293
- package/docs/functions/GuideLinePlugin.html +0 -293
- package/docs/functions/ItemLabelPlugin.html +0 -293
- package/docs/functions/MapviewFloorplanPlugin.html +0 -293
- package/docs/functions/ModelChassisCompassPlugin.html +0 -296
- package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -296
- package/docs/functions/ModelFloorplanPlugin.html +0 -293
- package/docs/functions/ModelItemLabelPlugin.html +0 -293
- package/docs/functions/ModelRoomLabelPlugin.html +0 -291
- package/docs/functions/ModelTVVideoPlugin.html +0 -293
- package/docs/functions/ModelViewPlugin.html +0 -296
- package/docs/functions/Object3DHelperPlugin.html +0 -291
- package/docs/functions/PanoCompassPlugin.html +0 -293
- package/docs/functions/PanoCursorRaycasterPlugin.html +0 -297
- package/docs/functions/PanoDoorLabelPlugin.html +0 -293
- package/docs/functions/PanoFloorplanRadarPlugin.html +0 -293
- package/docs/functions/PanoMeasurePlugin.html +0 -293
- package/docs/functions/PanoRulerPlugin.html +0 -296
- package/docs/functions/PanoRulerProPlugin.html +0 -296
- package/docs/functions/PanoSpatialTagPlugin.html +0 -296
- package/docs/functions/PanoTagPlugin.html +0 -298
- package/docs/functions/PanoVideoPlugin.html +0 -302
- package/docs/functions/PipelinePlugin.html +0 -291
- package/docs/functions/TopviewFloorplanPlugin.html +0 -293
- package/docs/functions/Util.absoluteUrl.html +0 -329
- package/docs/functions/Util.checkFiveModelLoaded.html +0 -332
- package/docs/functions/Util.equal.html +0 -341
- package/docs/functions/Util.getCoordsFromClient.html +0 -331
- package/docs/functions/Util.getCoordsFromElement.html +0 -331
- package/docs/functions/Util.getFrameTime.html +0 -323
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -331
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -331
- package/docs/functions/Util.isAbsoluteURL.html +0 -324
- package/docs/functions/Util.isModelLike.html +0 -324
- package/docs/functions/Util.isNil.html +0 -332
- package/docs/functions/Util.isPanoramaLike.html +0 -324
- package/docs/functions/Util.nextFrame.html +0 -337
- package/docs/functions/Util.notNil.html +0 -332
- package/docs/functions/Util.requestAnimationFrameInterval.html +0 -353
- package/docs/functions/Util.tweenProgress.html +0 -326
- package/docs/functions/Util.uuid.html +0 -322
- package/docs/functions/pluginFlag.html +0 -291
- package/docs/index.html +0 -357
- package/docs/interfaces/AddTagConfig.html +0 -306
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -332
- package/docs/interfaces/AreaMakerPluginType.Config.html +0 -337
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -623
- package/docs/interfaces/AreaMakerPluginType.Params.html +0 -336
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -386
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -371
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -336
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -329
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -328
- package/docs/interfaces/AreaMakerPluginType.State.html +0 -357
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -452
- package/docs/interfaces/CSS3DRenderPluginState.html +0 -328
- package/docs/interfaces/CameraMovementPluginExportType.html +0 -361
- package/docs/interfaces/CruisePluginTypes.Config.html +0 -362
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -364
- package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -699
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -388
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -424
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -414
- package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -354
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -322
- package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -390
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -385
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -524
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -326
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -318
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -340
- package/docs/interfaces/EventMap.html +0 -545
- package/docs/interfaces/FloorplanBounding.html +0 -335
- package/docs/interfaces/FloorplanData.html +0 -338
- package/docs/interfaces/FloorplanEntrance.html +0 -363
- package/docs/interfaces/FloorplanExtraObject.html +0 -353
- package/docs/interfaces/FloorplanExtraObject3D.html +0 -342
- package/docs/interfaces/FloorplanFloorData.html +0 -331
- package/docs/interfaces/FloorplanImagePosition.html +0 -317
- package/docs/interfaces/FloorplanObserver.html +0 -335
- package/docs/interfaces/FloorplanOutlineItem.html +0 -331
- package/docs/interfaces/FloorplanPosition.html +0 -317
- package/docs/interfaces/FloorplanRoomItem.html +0 -382
- package/docs/interfaces/FloorplanRoomLabelItem.html +0 -323
- package/docs/interfaces/FloorplanServerBounding.html +0 -335
- package/docs/interfaces/FloorplanServerComputedData.html +0 -334
- package/docs/interfaces/FloorplanServerData.html +0 -317
- package/docs/interfaces/FloorplanServerDoorItem.html +0 -334
- package/docs/interfaces/FloorplanServerDoorPosition.html +0 -320
- package/docs/interfaces/FloorplanServerEntrance.html +0 -363
- package/docs/interfaces/FloorplanServerFloorData.html +0 -331
- package/docs/interfaces/FloorplanServerImagePosition.html +0 -317
- package/docs/interfaces/FloorplanServerObserver.html +0 -335
- package/docs/interfaces/FloorplanServerOutlineItem.html +0 -331
- package/docs/interfaces/FloorplanServerPosition.html +0 -317
- package/docs/interfaces/FloorplanServerRoomItem.html +0 -394
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -323
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -326
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -365
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -529
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -360
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -351
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -418
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -340
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -350
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -486
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -347
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -486
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -312
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -333
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -358
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -374
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -356
- package/docs/interfaces/HelperOffset.html +0 -335
- package/docs/interfaces/ImagePlaneGroup.html +0 -309
- package/docs/interfaces/ItemLabelPluginData.html +0 -306
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -391
- package/docs/interfaces/ItemLabelPluginParametersType.html +0 -327
- package/docs/interfaces/MinMax.html +0 -313
- package/docs/interfaces/ModelChassisCompassPluginData.html +0 -313
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -349
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -313
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -320
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -357
- package/docs/interfaces/ModelItemLabelPluginData.html +0 -306
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -391
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -313
- package/docs/interfaces/ModelRoomLabelPluginData.html +0 -306
- package/docs/interfaces/ModelTVVideoPluginData.html +0 -327
- package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -351
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -306
- package/docs/interfaces/ModelViewPluginExportType.html +0 -419
- package/docs/interfaces/Object3DHelperState.html +0 -320
- package/docs/interfaces/ObjectHelperControllers.html +0 -327
- package/docs/interfaces/PaintBrushAction.html +0 -366
- package/docs/interfaces/PaintBrushConfigs.html +0 -364
- package/docs/interfaces/PaintBrushState.html +0 -348
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -428
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -285
- package/docs/interfaces/PanoMeasureParameterType.html +0 -452
- package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -320
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -317
- package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -313
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -323
- package/docs/interfaces/PanoRulerPluginExportType.html +0 -380
- package/docs/interfaces/PanoRulerPluginOptions.html +0 -329
- package/docs/interfaces/PanoRulerPluginParameterType.html +0 -320
- package/docs/interfaces/PanoRulerProPluginExportType.html +0 -356
- package/docs/interfaces/PanoRulerProPluginOptions.html +0 -326
- package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -313
- package/docs/interfaces/PanoRulerProPluginState.html +0 -320
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -299
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -288
- package/docs/interfaces/PanoSpatialTagPluginData.html +0 -356
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -338
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -434
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -334
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -355
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -341
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -334
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -326
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -344
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -317
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -423
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -317
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -352
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -371
- package/docs/interfaces/Point.html +0 -320
- package/docs/interfaces/Room.html +0 -327
- package/docs/interfaces/RoomInfo.html +0 -313
- package/docs/interfaces/RoomLabel.html +0 -389
- package/docs/interfaces/RoomRules.html +0 -288
- package/docs/interfaces/Rooms.html +0 -288
- package/docs/interfaces/Scissor.html +0 -347
- package/docs/interfaces/State.html +0 -334
- package/docs/interfaces/TagCacheInterface.html +0 -365
- package/docs/interfaces/TagConfig.html +0 -568
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -309
- package/docs/interfaces/TagIconUrl.html +0 -366
- package/docs/interfaces/TagObjectGroup.html +0 -309
- package/docs/interfaces/TagStyle.html +0 -319
- package/docs/interfaces/Tags.html +0 -2823
- package/docs/interfaces/TemporaryState.html +0 -306
- package/docs/interfaces/Util.MagnifierParameter.html +0 -394
- package/docs/interfaces/Util.MouseGroupParameter.html +0 -353
- package/docs/interfaces/Util.PointIntersection.html +0 -368
- package/docs/modules/AreaMakerPluginType.html +0 -326
- package/docs/modules/CruisePluginTypes.html +0 -331
- package/docs/modules/CurrentPanoImagePluginType.html +0 -300
- package/docs/modules/GuideLineItem.html +0 -292
- package/docs/modules/GuideLineModeItem.html +0 -297
- package/docs/modules/GuideLinePluginType.html +0 -353
- package/docs/modules/PanoVideoPluginType.html +0 -304
- package/docs/modules/Util.html +0 -354
- package/docs/modules.html +0 -560
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -334
- package/docs/types/AreaMakerPluginType.PluginData.html +0 -304
- package/docs/types/AreaMakerPluginType.ServerData.html +0 -304
- package/docs/types/ArrayPosition.html +0 -282
- package/docs/types/AudioAppearance.html +0 -282
- package/docs/types/AudioTagTypeConfigKey.html +0 -282
- package/docs/types/CSS3DRenderExportType.html +0 -282
- package/docs/types/CSS3DRenderPluginExportType.html +0 -282
- package/docs/types/CSS3DRenderPluginParameterType.html +0 -282
- package/docs/types/ClassFunctionParameters.html +0 -289
- package/docs/types/Color.html +0 -282
- package/docs/types/ContentTypeConfigKey.html +0 -282
- package/docs/types/ContentTypeConfigKeySplit.html +0 -282
- package/docs/types/ContentTypeMap.html +0 -282
- package/docs/types/Create3DDomContainerReturnType.html +0 -282
- package/docs/types/Create3DElementReturnType.html +0 -282
- package/docs/types/CruisePluginExportType.html +0 -282
- package/docs/types/CruisePluginTypes.CruiseData.html +0 -321
- package/docs/types/CruisePluginTypes.MoveEffect.html +0 -298
- package/docs/types/CurrentPanoImagePluginExportType.html +0 -282
- package/docs/types/DeprecatedMediaPlaneProperty.html +0 -294
- package/docs/types/DeprecatedTagProperty.html +0 -297
- package/docs/types/Direction-1.html +0 -282
- package/docs/types/Direction4.html +0 -282
- package/docs/types/ElementRenderer.html +0 -306
- package/docs/types/FloorplanRuleLabels.html +0 -285
- package/docs/types/FloorplanServerRuleLabels.html +0 -282
- package/docs/types/GuideLinePluginExportType.html +0 -282
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -355
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -376
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -309
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -312
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -312
- package/docs/types/GuideLinePluginType.PathItem.html +0 -312
- package/docs/types/GuideLinePluginType.PluginData.html +0 -321
- package/docs/types/HelperEventMap.html +0 -520
- package/docs/types/LoadTagConfig.html +0 -282
- package/docs/types/MapviewFloorplanPluginParameterType.html +0 -282
- package/docs/types/MapviewFloorplanPluginReturnType.html +0 -282
- package/docs/types/MediaData.html +0 -303
- package/docs/types/MediaStore.html +0 -287
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -289
- package/docs/types/ModelFloorplanPluginParameterType.html +0 -282
- package/docs/types/ModelFloorplanPluginReturnType.html +0 -282
- package/docs/types/ModelId.html +0 -282
- package/docs/types/ModelRoomLabelPluginParameters.html +0 -282
- package/docs/types/ModelRoomLabelPluginReturnType.html +0 -282
- package/docs/types/MoveArgs.html +0 -292
- package/docs/types/MoveOpts.html +0 -290
- package/docs/types/Object3DHelperEventMap.html +0 -375
- package/docs/types/ObjectFit.html +0 -282
- package/docs/types/PaintBrushEventMap.html +0 -313
- package/docs/types/PanoCompassPluginData.html +0 -282
- package/docs/types/PanoCompassPluginExportType.html +0 -282
- package/docs/types/PanoCompassPluginParameterType.html +0 -282
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -282
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -282
- package/docs/types/PanoIndex.html +0 -282
- package/docs/types/PanoMeasurePluginEvent.html +0 -282
- package/docs/types/PanoMeasureReturnType.html +0 -282
- package/docs/types/PanoSpatialTagPluginId.html +0 -282
- package/docs/types/PanoTagPluginExportInterface.html +0 -282
- package/docs/types/PanoTagPluginParamsInterface.html +0 -282
- package/docs/types/PanoVideoPluginParameterType.html +0 -282
- package/docs/types/PanoVideoPluginReturnType.html +0 -282
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -290
- package/docs/types/PipelinePluginParameterType.html +0 -282
- package/docs/types/PipelinePluginReturnType.html +0 -282
- package/docs/types/PlaneTag.html +0 -290
- package/docs/types/Point2DTag.html +0 -290
- package/docs/types/Point3DTag.html +0 -290
- package/docs/types/PointTag.html +0 -287
- package/docs/types/PointTagInstance.html +0 -287
- package/docs/types/Position.html +0 -282
- package/docs/types/RotateArgs.html +0 -294
- package/docs/types/RotateOpts.html +0 -290
- package/docs/types/RuleLabelsKey.html +0 -282
- package/docs/types/RuleLabelsValue.html +0 -282
- package/docs/types/StickType.html +0 -282
- package/docs/types/Tag.html +0 -348
- package/docs/types/Tag2D.html +0 -290
- package/docs/types/Tag3D.html +0 -290
- package/docs/types/TagConfigByKey.html +0 -287
- package/docs/types/TagContentType.html +0 -282
- package/docs/types/TagContentTypeMapping.html +0 -282
- package/docs/types/TagDimensionType.html +0 -284
- package/docs/types/TagElement.html +0 -292
- package/docs/types/TagEvents.html +0 -335
- package/docs/types/TagGLTFObject.html +0 -305
- package/docs/types/TagHooks.html +0 -282
- package/docs/types/TagId.html +0 -282
- package/docs/types/TagInstance.html +0 -360
- package/docs/types/TagPointType.html +0 -285
- package/docs/types/TagRendererMap.html +0 -287
- package/docs/types/TopviewFloorplanPluginParameterType.html +0 -282
- package/docs/types/TopviewFloorplanPluginReturnType.html +0 -282
- package/docs/types/WorkCode.html +0 -282
- package/docs/variables/FLOOR_TYPE_MAP.html +0 -292
- package/docs/variables/PLUGIN.html +0 -282
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -285
- package/docs/variables/ROOM_TYPE_MAP.html +0 -292
- package/docs/variables/defaultGlobalConfig.html +0 -282
- package/docs/variables/itemLabelPluginServerParams.html +0 -289
- package/docs/variables/modelItemLabelPluginServerParams.html +0 -289
- package/docs/variables/modelRoomLabelPluginServerParams.html +0 -289
- package/libs/CruisePlugin/BaseController.d.ts +0 -159
- package/libs/CruisePlugin/BaseController.js +0 -231
- package/libs/CruisePlugin/Move.d.ts +0 -40
- package/libs/CruisePlugin/Move.js +0 -120
- package/libs/CruisePlugin/Work.d.ts +0 -120
- package/libs/CruisePlugin/Work.js +0 -597
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +0 -11
- package/libs/shared-utils/five/fiveLoaded.d.ts +0 -2
- package/libs/shared-utils/five/fiveLoaded.js +0 -30
- package/libs/shared-utils/formatRad.d.ts +0 -7
- package/libs/shared-utils/formatRad.js +0 -7
- /package/dist/{shared-utils → CruisePlugin/utils}/formatRad.d.ts +0 -0
- /package/dist/{shared-utils/vectorToCoordinate.d.ts → CruisePlugin/utils/vectorToCoordinates.d.ts} +0 -0
- /package/libs/{shared-utils/vectorToCoordinate.d.ts → CruisePlugin/utils/vectorToCoordinates.d.ts} +0 -0
- /package/libs/{shared-utils/vectorToCoordinate.js → CruisePlugin/utils/vectorToCoordinates.js} +0 -0
|
@@ -8,6 +8,8 @@ export declare class Controller extends BasePlugin.Controller<PluginType.State,
|
|
|
8
8
|
state: PluginType.State;
|
|
9
9
|
/** 标注模型 { id: item } 的映射表 */
|
|
10
10
|
itemMap: Map<string | number, AreaMakerItem>;
|
|
11
|
+
/** 自定义 DOM */
|
|
12
|
+
itemRenderer?: PluginType.ItemRenderer;
|
|
11
13
|
/** 标注模型容器 */
|
|
12
14
|
modelGroup: THREE.Group;
|
|
13
15
|
/** 当前使用的数据 */
|
|
@@ -106,6 +106,7 @@ export interface ServerDataV2 {
|
|
|
106
106
|
export type ServerData = ServerDataV1 | ServerDataV2;
|
|
107
107
|
/** 插件使用的数据 */
|
|
108
108
|
export type PluginData = ServerDataV2;
|
|
109
|
+
export type ItemRenderer = (container: HTMLElement, item: ServerAreaMakerItem) => () => void;
|
|
109
110
|
export interface ServerAreaMakerItem {
|
|
110
111
|
id: number | string;
|
|
111
112
|
/** 标注名称 */
|
|
@@ -58,6 +58,10 @@ export declare class AreaMakerItem {
|
|
|
58
58
|
tagZIndex: number;
|
|
59
59
|
/** 标注实例的事件处理器 */
|
|
60
60
|
hooks: Subscribe<PluginType.AreaMakerItemEventMap>;
|
|
61
|
+
/** 自定义 Dom */
|
|
62
|
+
itemRenderer?: PluginType.ItemRenderer;
|
|
63
|
+
/** 数据 */
|
|
64
|
+
private data;
|
|
61
65
|
/** Plugin 实例 */
|
|
62
66
|
private plugin;
|
|
63
67
|
/** 标注透明度动画 */
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import type { Five } from '@realsee/five';
|
|
2
|
+
import type { BaseOptions } from '../base/BasePlugin';
|
|
3
|
+
import * as BasePluginWithData from '../base/BasePluginWithData';
|
|
4
|
+
import type { PluginState, EventMap, PluginServerData, PluginData, Config } from './typing';
|
|
5
|
+
export declare const pluginFlag: (name: string) => string;
|
|
6
|
+
export default class CruisePluginController extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
|
|
7
|
+
static PluginVersion: string;
|
|
8
|
+
state: PluginState;
|
|
9
|
+
protected data?: PluginData;
|
|
10
|
+
private config?;
|
|
11
|
+
private privateState;
|
|
12
|
+
private GuideLine?;
|
|
13
|
+
constructor(five: Five, config?: Config);
|
|
14
|
+
/**
|
|
15
|
+
* @description Load Data and State
|
|
16
|
+
*/
|
|
17
|
+
load(serverData: PluginServerData | PluginServerData['data'], state?: PluginState, userAction?: boolean): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
20
|
+
*/
|
|
21
|
+
play(options?: {
|
|
22
|
+
userAction?: boolean;
|
|
23
|
+
}): void;
|
|
24
|
+
/**
|
|
25
|
+
* @description If playing, first pause, then play from keyframes index/id
|
|
26
|
+
* @param {number} options.index play from keyframes index
|
|
27
|
+
* @param {string} options.id play from keyframes id
|
|
28
|
+
*/
|
|
29
|
+
playFrom(options: {
|
|
30
|
+
userAction?: boolean;
|
|
31
|
+
index?: number;
|
|
32
|
+
id?: string;
|
|
33
|
+
}): void;
|
|
34
|
+
/**
|
|
35
|
+
* @description Play from first keyframe
|
|
36
|
+
*/
|
|
37
|
+
playFromStart(options?: {
|
|
38
|
+
userAction?: boolean;
|
|
39
|
+
}): void;
|
|
40
|
+
/**
|
|
41
|
+
* @description Pause
|
|
42
|
+
*/
|
|
43
|
+
pause(options?: {
|
|
44
|
+
userAction?: boolean;
|
|
45
|
+
}): void;
|
|
46
|
+
/**
|
|
47
|
+
* @description Show guide line
|
|
48
|
+
*/
|
|
49
|
+
show(options?: {
|
|
50
|
+
userAction?: boolean;
|
|
51
|
+
}): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* @description Hide guide line
|
|
54
|
+
*/
|
|
55
|
+
hide(options?: {
|
|
56
|
+
userAction?: boolean;
|
|
57
|
+
}): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* @description Enable
|
|
60
|
+
*/
|
|
61
|
+
enable(options?: {
|
|
62
|
+
userAction?: boolean;
|
|
63
|
+
}): void;
|
|
64
|
+
/**
|
|
65
|
+
* @description Disable
|
|
66
|
+
*/
|
|
67
|
+
disable(options?: {
|
|
68
|
+
userAction?: boolean;
|
|
69
|
+
}): void;
|
|
70
|
+
/**
|
|
71
|
+
* @description Dispose
|
|
72
|
+
*/
|
|
73
|
+
dispose(): void;
|
|
74
|
+
/**
|
|
75
|
+
* @description Set state
|
|
76
|
+
*/
|
|
77
|
+
setState(state: Partial<PluginState>, options?: BaseOptions & Record<string, any>): void;
|
|
78
|
+
/**
|
|
79
|
+
* @description Format data
|
|
80
|
+
*/
|
|
81
|
+
protected formatData(serverData: PluginServerData | PluginServerData['data']): Promise<PluginData>;
|
|
82
|
+
private handleEnable;
|
|
83
|
+
private handleVisible;
|
|
84
|
+
private changePlayState;
|
|
85
|
+
/**
|
|
86
|
+
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
87
|
+
* @param {number} options.playFromIndex play from keyframes index
|
|
88
|
+
* @param {string} options.playFromId play from keyframes id
|
|
89
|
+
*/
|
|
90
|
+
private handlePlay;
|
|
91
|
+
/**
|
|
92
|
+
* @description: Pause and record pause state
|
|
93
|
+
*/
|
|
94
|
+
private handlePause;
|
|
95
|
+
/**
|
|
96
|
+
* @description Play single keyframe
|
|
97
|
+
*/
|
|
98
|
+
private playKeyframe;
|
|
99
|
+
/**
|
|
100
|
+
* @description: listen interupted by five gesture
|
|
101
|
+
*/
|
|
102
|
+
private addInterruptListener;
|
|
103
|
+
/**
|
|
104
|
+
* @description: getPlayPromise
|
|
105
|
+
*/
|
|
106
|
+
private getPlayPromise;
|
|
107
|
+
/**
|
|
108
|
+
* @description Action promise queue in sequence
|
|
109
|
+
*/
|
|
110
|
+
private actionPromiseQueue;
|
|
111
|
+
/**
|
|
112
|
+
* @description Action move keyframe
|
|
113
|
+
*/
|
|
114
|
+
private move;
|
|
115
|
+
/**
|
|
116
|
+
* @description Action rotate keyframe
|
|
117
|
+
*/
|
|
118
|
+
private rotate;
|
|
119
|
+
/**
|
|
120
|
+
* @description Update five camera
|
|
121
|
+
*/
|
|
122
|
+
private updateCamera;
|
|
123
|
+
/**
|
|
124
|
+
* @description: Change five pano
|
|
125
|
+
*/
|
|
126
|
+
private changePano;
|
|
127
|
+
/**
|
|
128
|
+
* @description: Change play speed
|
|
129
|
+
*/
|
|
130
|
+
private changeSpeed;
|
|
131
|
+
/**
|
|
132
|
+
* @description Get duration by speed
|
|
133
|
+
*/
|
|
134
|
+
private getSpeededDuration;
|
|
135
|
+
/**
|
|
136
|
+
* @description Get ratate progress
|
|
137
|
+
*/
|
|
138
|
+
private getProgress;
|
|
139
|
+
/**
|
|
140
|
+
* @description Change five mode
|
|
141
|
+
*/
|
|
142
|
+
private changeMode;
|
|
143
|
+
/**
|
|
144
|
+
* @description Force interupt five updateCamera
|
|
145
|
+
*/
|
|
146
|
+
private forceInteruptUpdateCamera;
|
|
147
|
+
private getPauseData;
|
|
148
|
+
/**
|
|
149
|
+
* @description Set pause data
|
|
150
|
+
*/
|
|
151
|
+
private setPauseData;
|
|
152
|
+
/**
|
|
153
|
+
* @description Clear pause data
|
|
154
|
+
*/
|
|
155
|
+
private clearPauseData;
|
|
156
|
+
/**
|
|
157
|
+
* @description: Restore state that before loaded
|
|
158
|
+
*/
|
|
159
|
+
private clear;
|
|
160
|
+
private handleDispose;
|
|
161
|
+
/**
|
|
162
|
+
* @description Action function if plugin is enable
|
|
163
|
+
*/
|
|
164
|
+
private actionIfStateIsEnabled;
|
|
165
|
+
/**
|
|
166
|
+
* @description: Wait for five work ready
|
|
167
|
+
*/
|
|
168
|
+
private waitFiveLoaded;
|
|
169
|
+
private setFiveLinearUpdateCamera;
|
|
170
|
+
private setFiveOriginUpdateCamera;
|
|
171
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
|
+
import CruisePluginController from './Controller';
|
|
2
3
|
import * as CruisePluginTypes from './typing';
|
|
3
4
|
import type { Config } from './typing';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const CruisePlugin: FivePlugin<Config | undefined, InstanceType<typeof WalkController>>;
|
|
7
|
-
export { WalkController, MoveController, MoveController as CruisePluginController };
|
|
5
|
+
export { CruisePluginController };
|
|
6
|
+
export declare const CruisePlugin: FivePlugin<Config | undefined, InstanceType<typeof CruisePluginController>>;
|
|
8
7
|
export type { CruisePluginExportType } from './typing';
|
|
9
8
|
export default CruisePlugin;
|
|
10
9
|
export { CruisePluginTypes };
|
|
@@ -82,7 +82,7 @@ export interface PluginState extends BasePluginWithData.State {
|
|
|
82
82
|
speed: number;
|
|
83
83
|
config?: {
|
|
84
84
|
/** 速度配置 */
|
|
85
|
-
speedConfig?:
|
|
85
|
+
speedConfig?: {
|
|
86
86
|
/** 旋转速度 */
|
|
87
87
|
rotateSpeed: number;
|
|
88
88
|
/** 旋转速度单位 */
|
|
@@ -91,7 +91,7 @@ export interface PluginState extends BasePluginWithData.State {
|
|
|
91
91
|
moveSpeed: number;
|
|
92
92
|
/** 移动速度单位 */
|
|
93
93
|
moveSpeedUnit: 'm/s' | 'm/ms';
|
|
94
|
-
}
|
|
94
|
+
};
|
|
95
95
|
/** five 走点动画 */
|
|
96
96
|
moveEffect?: MoveEffect;
|
|
97
97
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function linerValue(x0: number, v0: number, t1: number, t: number): number;
|
|
@@ -4,9 +4,10 @@ import type { EventMap, PluginData, PluginServerData, PluginState } from './typi
|
|
|
4
4
|
import type * as PluginType from './typing';
|
|
5
5
|
import type { Config } from '../base/BasePlugin';
|
|
6
6
|
import { GuideLineItem } from './GuideLineItem';
|
|
7
|
-
import CruisePluginController from '../CruisePlugin/
|
|
7
|
+
import CruisePluginController from '../CruisePlugin/Controller';
|
|
8
8
|
export declare const pluginFlag: (name: string) => string;
|
|
9
9
|
export default class Controller extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
|
|
10
|
+
readonly version = "v1.1.0";
|
|
10
11
|
readonly name = "GuideLinePlugin";
|
|
11
12
|
readonly cruisePlugin: CruisePluginController;
|
|
12
13
|
/** GuideLineItem 索引 */
|
|
@@ -59,5 +60,9 @@ export default class Controller extends BasePluginWithData.Controller<PluginStat
|
|
|
59
60
|
private handleEnable;
|
|
60
61
|
private handleVisible;
|
|
61
62
|
private disposedErrorLog;
|
|
63
|
+
/**
|
|
64
|
+
* @description: Wait for five model ready
|
|
65
|
+
*/
|
|
66
|
+
private waitFiveLoaded;
|
|
62
67
|
private getDataWithoutVersion;
|
|
63
68
|
}
|