@realsee/dnalogel 3.11.0-dev.0 → 3.11.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/typing.d.ts +8 -0
- package/dist/AreaMakerPlugin/utils/Item.d.ts +1 -1
- package/dist/CruisePlugin/BaseController.d.ts +0 -2
- package/dist/CruisePlugin/Work.d.ts +5 -1
- package/dist/GuideLinePlugin/Controller.d.ts +0 -4
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +3 -2
- package/dist/base/BasePlugin.d.ts +1 -1
- package/dist/index.cjs.js +49 -49
- package/dist/index.js +2610 -2669
- package/dist/index.umd.js +44 -44
- package/libs/AreaMakerPlugin/typing.d.ts +8 -0
- package/libs/AreaMakerPlugin/utils/Item.d.ts +1 -1
- package/libs/AreaMakerPlugin/utils/Item.js +12 -10
- package/libs/CruisePlugin/BaseController.d.ts +0 -2
- package/libs/CruisePlugin/BaseController.js +14 -18
- package/libs/CruisePlugin/Move.js +2 -5
- package/libs/CruisePlugin/Work.d.ts +5 -1
- package/libs/CruisePlugin/Work.js +127 -129
- package/libs/CruisePlugin/index.js +6 -8
- package/libs/GuideLinePlugin/Controller.d.ts +0 -4
- package/libs/GuideLinePlugin/Controller.js +30 -39
- package/libs/GuideLinePlugin/GuideLineItem.js +2 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +61 -61
- package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -4
- package/libs/GuideLinePlugin/index.js +8 -10
- package/libs/PanoTagPlugin/controller/TagComputer.js +22 -24
- package/libs/PanoTagPlugin/controller/TagRender.js +2 -4
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +104 -94
- package/libs/PanoTagPlugin/controller/index.js +5 -7
- package/libs/PanoTagPlugin/index.js +11 -13
- package/libs/base/BasePlugin.d.ts +1 -1
- package/libs/base/BasePlugin.js +2 -2
- package/libs/index.js +121 -123
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- package/dist/shared-utils/Utils/BaseUtil.d.ts +0 -5
- package/dist/shared-utils/Utils/WorkUtil.d.ts +0 -33
- 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 -730
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -693
- package/docs/classes/CSS3DRender.html +0 -777
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -480
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -860
- package/docs/classes/Magnifier.html +0 -484
- package/docs/classes/ModelRoomLabelController.html +0 -402
- package/docs/classes/MoveController.html +0 -653
- package/docs/classes/Object3DHelperController.html +0 -644
- package/docs/classes/PaintBrush.html +0 -506
- package/docs/classes/PanoMeasurePluginLine.html +0 -526
- package/docs/classes/PanoMeasurePluginModel.html +0 -575
- package/docs/classes/PanoMeasurePluginPoint.html +0 -366
- package/docs/classes/PanoMeasurePluginPolyline.html +0 -571
- package/docs/classes/PanoTagPluginController.html +0 -1131
- package/docs/classes/Util.BetterTween.html +0 -420
- package/docs/classes/Util.Interval.html +0 -436
- package/docs/classes/Util.LineSegments.html +0 -388
- package/docs/classes/Util.Magnifier.html +0 -507
- package/docs/classes/Util.Object3D.html +0 -410
- package/docs/classes/Util.PointDomHelper.html +0 -411
- package/docs/classes/Util.PointHelper.html +0 -402
- package/docs/classes/Util.PointSelectorHelper.html +0 -458
- package/docs/classes/Util.Rectangle.html +0 -459
- package/docs/classes/WalkController.html +0 -672
- package/docs/enums/CameraMovementEffect.html +0 -314
- package/docs/enums/ContentType.html +0 -460
- package/docs/enums/DIRECTION.html +0 -324
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -324
- package/docs/enums/DimensionType.html +0 -314
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -317
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -324
- package/docs/enums/PaintBrushTypeEnum.html +0 -317
- package/docs/enums/PointType.html +0 -314
- package/docs/enums/Rotation.html +0 -321
- package/docs/functions/AreaMakerPlugin.html +0 -294
- package/docs/functions/CSS3DRenderPlugin.html +0 -292
- package/docs/functions/CameraMovementPlugin.html +0 -297
- package/docs/functions/CruisePlugin.html +0 -294
- package/docs/functions/CurrentPanoImagePlugin.html +0 -294
- package/docs/functions/GuideLinePlugin.html +0 -294
- package/docs/functions/ItemLabelPlugin.html +0 -294
- package/docs/functions/MapviewFloorplanPlugin.html +0 -294
- package/docs/functions/ModelChassisCompassPlugin.html +0 -297
- package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -297
- package/docs/functions/ModelFloorplanPlugin.html +0 -294
- package/docs/functions/ModelItemLabelPlugin.html +0 -294
- package/docs/functions/ModelRoomLabelPlugin.html +0 -292
- package/docs/functions/ModelTVVideoPlugin.html +0 -294
- package/docs/functions/ModelViewPlugin.html +0 -297
- package/docs/functions/MovePlugin.html +0 -294
- package/docs/functions/Object3DHelperPlugin.html +0 -292
- package/docs/functions/PanoCompassPlugin.html +0 -294
- package/docs/functions/PanoCursorRaycasterPlugin.html +0 -298
- package/docs/functions/PanoDoorLabelPlugin.html +0 -294
- package/docs/functions/PanoFloorplanRadarPlugin.html +0 -294
- package/docs/functions/PanoMeasurePlugin.html +0 -294
- package/docs/functions/PanoRulerPlugin.html +0 -297
- package/docs/functions/PanoRulerProPlugin.html +0 -297
- package/docs/functions/PanoSpatialTagPlugin.html +0 -297
- package/docs/functions/PanoTagPlugin.html +0 -299
- package/docs/functions/PanoVideoPlugin.html +0 -303
- package/docs/functions/PipelinePlugin.html +0 -292
- package/docs/functions/TopviewFloorplanPlugin.html +0 -294
- package/docs/functions/Util.absoluteUrl.html +0 -330
- package/docs/functions/Util.checkFiveModelLoaded.html +0 -333
- package/docs/functions/Util.equal.html +0 -342
- package/docs/functions/Util.getCoordsFromClient.html +0 -332
- package/docs/functions/Util.getCoordsFromElement.html +0 -332
- package/docs/functions/Util.getFrameTime.html +0 -324
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -332
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -332
- package/docs/functions/Util.isAbsoluteURL.html +0 -325
- package/docs/functions/Util.isModelLike.html +0 -325
- package/docs/functions/Util.isNil.html +0 -333
- package/docs/functions/Util.isPanoramaLike.html +0 -325
- package/docs/functions/Util.nextFrame.html +0 -338
- package/docs/functions/Util.notNil.html +0 -333
- package/docs/functions/Util.requestAnimationFrameInterval.html +0 -354
- package/docs/functions/Util.tweenProgress.html +0 -327
- package/docs/functions/Util.uuid.html +0 -323
- package/docs/functions/pluginFlag.html +0 -292
- package/docs/index.html +0 -358
- package/docs/interfaces/AddTagConfig.html +0 -307
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -334
- package/docs/interfaces/AreaMakerPluginType.Config.html +0 -339
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -625
- package/docs/interfaces/AreaMakerPluginType.Params.html +0 -338
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -396
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -381
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -338
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -331
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -330
- package/docs/interfaces/AreaMakerPluginType.State.html +0 -359
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -453
- package/docs/interfaces/CSS3DRenderPluginState.html +0 -329
- package/docs/interfaces/CameraMovementPluginExportType.html +0 -362
- package/docs/interfaces/CruisePluginTypes.Config.html +0 -363
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -365
- package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -723
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -389
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -425
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -415
- package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -355
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -323
- package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -391
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -386
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -525
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -327
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -319
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -341
- package/docs/interfaces/EventMap.html +0 -546
- package/docs/interfaces/FloorplanBounding.html +0 -336
- package/docs/interfaces/FloorplanData.html +0 -339
- package/docs/interfaces/FloorplanEntrance.html +0 -364
- package/docs/interfaces/FloorplanExtraObject.html +0 -354
- package/docs/interfaces/FloorplanExtraObject3D.html +0 -343
- package/docs/interfaces/FloorplanFloorData.html +0 -332
- package/docs/interfaces/FloorplanImagePosition.html +0 -318
- package/docs/interfaces/FloorplanObserver.html +0 -336
- package/docs/interfaces/FloorplanOutlineItem.html +0 -332
- package/docs/interfaces/FloorplanPosition.html +0 -318
- package/docs/interfaces/FloorplanRoomItem.html +0 -383
- package/docs/interfaces/FloorplanRoomLabelItem.html +0 -324
- package/docs/interfaces/FloorplanServerBounding.html +0 -336
- package/docs/interfaces/FloorplanServerComputedData.html +0 -335
- package/docs/interfaces/FloorplanServerData.html +0 -318
- package/docs/interfaces/FloorplanServerDoorItem.html +0 -335
- package/docs/interfaces/FloorplanServerDoorPosition.html +0 -321
- package/docs/interfaces/FloorplanServerEntrance.html +0 -364
- package/docs/interfaces/FloorplanServerFloorData.html +0 -332
- package/docs/interfaces/FloorplanServerImagePosition.html +0 -318
- package/docs/interfaces/FloorplanServerObserver.html +0 -336
- package/docs/interfaces/FloorplanServerOutlineItem.html +0 -332
- package/docs/interfaces/FloorplanServerPosition.html +0 -318
- package/docs/interfaces/FloorplanServerRoomItem.html +0 -395
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -324
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -327
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -366
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -530
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -361
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -352
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -419
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -341
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -351
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -487
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -348
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -487
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -313
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -334
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -359
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -375
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -357
- package/docs/interfaces/HelperOffset.html +0 -336
- package/docs/interfaces/ImagePlaneGroup.html +0 -310
- package/docs/interfaces/ItemLabelPluginData.html +0 -307
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -392
- package/docs/interfaces/ItemLabelPluginParametersType.html +0 -328
- package/docs/interfaces/MinMax.html +0 -314
- package/docs/interfaces/ModelChassisCompassPluginData.html +0 -314
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -350
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -314
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -321
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -358
- package/docs/interfaces/ModelItemLabelPluginData.html +0 -307
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -392
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -314
- package/docs/interfaces/ModelRoomLabelPluginData.html +0 -307
- package/docs/interfaces/ModelTVVideoPluginData.html +0 -328
- package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -352
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -307
- package/docs/interfaces/ModelViewPluginExportType.html +0 -420
- package/docs/interfaces/Object3DHelperState.html +0 -321
- package/docs/interfaces/ObjectHelperControllers.html +0 -328
- package/docs/interfaces/PaintBrushAction.html +0 -367
- package/docs/interfaces/PaintBrushConfigs.html +0 -365
- package/docs/interfaces/PaintBrushState.html +0 -349
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -429
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -286
- package/docs/interfaces/PanoMeasureParameterType.html +0 -453
- package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -321
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -318
- package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -314
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -324
- package/docs/interfaces/PanoRulerPluginExportType.html +0 -381
- package/docs/interfaces/PanoRulerPluginOptions.html +0 -330
- package/docs/interfaces/PanoRulerPluginParameterType.html +0 -321
- package/docs/interfaces/PanoRulerProPluginExportType.html +0 -357
- package/docs/interfaces/PanoRulerProPluginOptions.html +0 -327
- package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -314
- package/docs/interfaces/PanoRulerProPluginState.html +0 -321
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -300
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -289
- package/docs/interfaces/PanoSpatialTagPluginData.html +0 -357
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -339
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -435
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -335
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -356
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -342
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -335
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -327
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -345
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -318
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -424
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -318
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -353
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -372
- package/docs/interfaces/Point.html +0 -321
- package/docs/interfaces/Room.html +0 -328
- package/docs/interfaces/RoomInfo.html +0 -314
- package/docs/interfaces/RoomLabel.html +0 -390
- package/docs/interfaces/RoomRules.html +0 -289
- package/docs/interfaces/Rooms.html +0 -289
- package/docs/interfaces/Scissor.html +0 -348
- package/docs/interfaces/State.html +0 -335
- package/docs/interfaces/TagCacheInterface.html +0 -366
- package/docs/interfaces/TagConfig.html +0 -569
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -310
- package/docs/interfaces/TagIconUrl.html +0 -367
- package/docs/interfaces/TagObjectGroup.html +0 -310
- package/docs/interfaces/TagStyle.html +0 -320
- package/docs/interfaces/Tags.html +0 -2824
- package/docs/interfaces/TemporaryState.html +0 -307
- package/docs/interfaces/Util.MagnifierParameter.html +0 -395
- package/docs/interfaces/Util.MouseGroupParameter.html +0 -354
- package/docs/interfaces/Util.PointIntersection.html +0 -369
- package/docs/modules/AreaMakerPluginType.html +0 -329
- package/docs/modules/CruisePluginTypes.html +0 -332
- package/docs/modules/CurrentPanoImagePluginType.html +0 -301
- package/docs/modules/GuideLineItem.html +0 -293
- package/docs/modules/GuideLineModeItem.html +0 -298
- package/docs/modules/GuideLinePluginType.html +0 -354
- package/docs/modules/PanoVideoPluginType.html +0 -305
- package/docs/modules/Util.html +0 -355
- package/docs/modules.html +0 -562
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -336
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -324
- package/docs/types/AreaMakerPluginType.PluginData.html +0 -306
- package/docs/types/AreaMakerPluginType.ServerData.html +0 -306
- package/docs/types/ArrayPosition.html +0 -283
- package/docs/types/AudioAppearance.html +0 -283
- package/docs/types/AudioTagTypeConfigKey.html +0 -283
- package/docs/types/CSS3DRenderExportType.html +0 -283
- package/docs/types/CSS3DRenderPluginExportType.html +0 -283
- package/docs/types/CSS3DRenderPluginParameterType.html +0 -283
- package/docs/types/ClassFunctionParameters.html +0 -290
- package/docs/types/Color.html +0 -283
- package/docs/types/ContentTypeConfigKey.html +0 -283
- package/docs/types/ContentTypeConfigKeySplit.html +0 -283
- package/docs/types/ContentTypeMap.html +0 -283
- package/docs/types/Create3DDomContainerReturnType.html +0 -283
- package/docs/types/Create3DElementReturnType.html +0 -283
- package/docs/types/CruisePluginExportType.html +0 -283
- package/docs/types/CruisePluginTypes.CruiseData.html +0 -322
- package/docs/types/CruisePluginTypes.MoveEffect.html +0 -299
- package/docs/types/CurrentPanoImagePluginExportType.html +0 -283
- package/docs/types/DeprecatedMediaPlaneProperty.html +0 -295
- package/docs/types/DeprecatedTagProperty.html +0 -298
- package/docs/types/Direction-1.html +0 -283
- package/docs/types/Direction4.html +0 -283
- package/docs/types/ElementRenderer.html +0 -307
- package/docs/types/FloorplanRuleLabels.html +0 -286
- package/docs/types/FloorplanServerRuleLabels.html +0 -283
- package/docs/types/GuideLinePluginExportType.html +0 -283
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -356
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -377
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -310
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -313
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -313
- package/docs/types/GuideLinePluginType.PathItem.html +0 -313
- package/docs/types/GuideLinePluginType.PluginData.html +0 -322
- package/docs/types/HelperEventMap.html +0 -521
- package/docs/types/LoadTagConfig.html +0 -283
- package/docs/types/MapviewFloorplanPluginParameterType.html +0 -283
- package/docs/types/MapviewFloorplanPluginReturnType.html +0 -283
- package/docs/types/MediaData.html +0 -304
- package/docs/types/MediaStore.html +0 -288
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -290
- package/docs/types/ModelFloorplanPluginParameterType.html +0 -283
- package/docs/types/ModelFloorplanPluginReturnType.html +0 -283
- package/docs/types/ModelId.html +0 -283
- package/docs/types/ModelRoomLabelPluginParameters.html +0 -283
- package/docs/types/ModelRoomLabelPluginReturnType.html +0 -283
- package/docs/types/MoveArgs.html +0 -293
- package/docs/types/MoveOpts.html +0 -291
- package/docs/types/Object3DHelperEventMap.html +0 -376
- package/docs/types/ObjectFit.html +0 -283
- package/docs/types/PaintBrushEventMap.html +0 -314
- package/docs/types/PanoCompassPluginData.html +0 -283
- package/docs/types/PanoCompassPluginExportType.html +0 -283
- package/docs/types/PanoCompassPluginParameterType.html +0 -283
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -283
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -283
- package/docs/types/PanoIndex.html +0 -283
- package/docs/types/PanoMeasurePluginEvent.html +0 -283
- package/docs/types/PanoMeasureReturnType.html +0 -283
- package/docs/types/PanoSpatialTagPluginId.html +0 -283
- package/docs/types/PanoTagPluginExportInterface.html +0 -283
- package/docs/types/PanoTagPluginParamsInterface.html +0 -283
- package/docs/types/PanoVideoPluginParameterType.html +0 -283
- package/docs/types/PanoVideoPluginReturnType.html +0 -283
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -291
- package/docs/types/PipelinePluginParameterType.html +0 -283
- package/docs/types/PipelinePluginReturnType.html +0 -283
- package/docs/types/PlaneTag.html +0 -291
- package/docs/types/Point2DTag.html +0 -291
- package/docs/types/Point3DTag.html +0 -291
- package/docs/types/PointTag.html +0 -288
- package/docs/types/PointTagInstance.html +0 -288
- package/docs/types/Position.html +0 -283
- package/docs/types/RotateArgs.html +0 -295
- package/docs/types/RotateOpts.html +0 -291
- package/docs/types/RuleLabelsKey.html +0 -283
- package/docs/types/RuleLabelsValue.html +0 -283
- package/docs/types/StickType.html +0 -283
- package/docs/types/Tag.html +0 -349
- package/docs/types/Tag2D.html +0 -291
- package/docs/types/Tag3D.html +0 -291
- package/docs/types/TagConfigByKey.html +0 -288
- package/docs/types/TagContentType.html +0 -283
- package/docs/types/TagContentTypeMapping.html +0 -283
- package/docs/types/TagDimensionType.html +0 -285
- package/docs/types/TagElement.html +0 -293
- package/docs/types/TagEvents.html +0 -336
- package/docs/types/TagGLTFObject.html +0 -306
- package/docs/types/TagHooks.html +0 -283
- package/docs/types/TagId.html +0 -283
- package/docs/types/TagInstance.html +0 -361
- package/docs/types/TagPointType.html +0 -286
- package/docs/types/TagRendererMap.html +0 -290
- package/docs/types/TopviewFloorplanPluginParameterType.html +0 -283
- package/docs/types/TopviewFloorplanPluginReturnType.html +0 -283
- package/docs/types/WorkCode.html +0 -283
- package/docs/variables/FLOOR_TYPE_MAP.html +0 -293
- package/docs/variables/PLUGIN.html +0 -283
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -286
- package/docs/variables/ROOM_TYPE_MAP.html +0 -293
- package/docs/variables/defaultGlobalConfig.html +0 -283
- package/docs/variables/itemLabelPluginServerParams.html +0 -290
- package/docs/variables/modelItemLabelPluginServerParams.html +0 -290
- package/docs/variables/modelRoomLabelPluginServerParams.html +0 -290
- package/libs/shared-utils/Utils/BaseUtil.d.ts +0 -5
- package/libs/shared-utils/Utils/BaseUtil.js +0 -12
- package/libs/shared-utils/Utils/WorkUtil.d.ts +0 -33
- package/libs/shared-utils/Utils/WorkUtil.js +0 -68
|
@@ -80,6 +80,14 @@ export type AreaMakerItemEventMap = {
|
|
|
80
80
|
target: AreaMakerItem;
|
|
81
81
|
nativeEvent: MouseEvent;
|
|
82
82
|
}) => void;
|
|
83
|
+
/**
|
|
84
|
+
* @description: 标注标签没有被遮挡,自动展示
|
|
85
|
+
*/
|
|
86
|
+
tagShow: () => void;
|
|
87
|
+
/**
|
|
88
|
+
* @description: 标注标签被模型遮挡,自动隐藏
|
|
89
|
+
*/
|
|
90
|
+
tagHide: () => void;
|
|
83
91
|
};
|
|
84
92
|
/** 动画相关的配置 */
|
|
85
93
|
export interface AnimeOptions {
|
|
@@ -76,7 +76,7 @@ class it {
|
|
|
76
76
|
/** 标注标签实例 */
|
|
77
77
|
i(this, "tagApp");
|
|
78
78
|
/** 标注标签是否可见 */
|
|
79
|
-
i(this, "tagVisible",
|
|
79
|
+
i(this, "tagVisible", null);
|
|
80
80
|
/** 标注标签的世界坐标 */
|
|
81
81
|
i(this, "tagPosition", new a.Vector3());
|
|
82
82
|
/** 标注标签的 NDC 坐标 */
|
|
@@ -127,14 +127,14 @@ class it {
|
|
|
127
127
|
this.makerObject.material.opacity = o, this.outline.material.opacity = l;
|
|
128
128
|
return;
|
|
129
129
|
}
|
|
130
|
-
return new Promise((
|
|
130
|
+
return new Promise((m) => {
|
|
131
131
|
this.opacityAnime = new T({ makerObjectOpacity: s, outlineOpacity: r }).to({
|
|
132
132
|
makerObjectOpacity: o,
|
|
133
133
|
outlineOpacity: l
|
|
134
|
-
}).onUpdate(({ makerObjectOpacity:
|
|
135
|
-
this.makerObject.material.opacity =
|
|
136
|
-
}).onComplete(() =>
|
|
137
|
-
this.makerObject.material.opacity = o, this.outline.material.opacity = l, this.plugin.five.needsRender = !0,
|
|
134
|
+
}).onUpdate(({ makerObjectOpacity: p, outlineOpacity: c }) => {
|
|
135
|
+
this.makerObject.material.opacity = p, this.outline.material.opacity = c, this.plugin.five.needsRender = !0;
|
|
136
|
+
}).onComplete(() => m(!0)).onDispose(() => {
|
|
137
|
+
this.makerObject.material.opacity = o, this.outline.material.opacity = l, this.plugin.five.needsRender = !0, m(!1);
|
|
138
138
|
}).play();
|
|
139
139
|
});
|
|
140
140
|
});
|
|
@@ -182,7 +182,7 @@ class it {
|
|
|
182
182
|
i(this, "updateTagVisible", () => {
|
|
183
183
|
var s;
|
|
184
184
|
const { result: e, msg: t } = this.checkTagVisible();
|
|
185
|
-
this.checkMsg.checkTagVisibleMsg = t, this.tagVisible !== e && (this.tagVisible = e, (s = this.tagApp) == null || s.$set({ visible: e }));
|
|
185
|
+
this.checkMsg.checkTagVisibleMsg = t, this.tagVisible !== e && (this.tagVisible = e, this.tagVisible ? this.hooks.emit("tagShow") : this.hooks.emit("tagHide"), (s = this.tagApp) == null || s.$set({ visible: e }));
|
|
186
186
|
});
|
|
187
187
|
/** 检测标注标签是否可见 */
|
|
188
188
|
i(this, "checkTagVisible", () => {
|
|
@@ -210,8 +210,8 @@ class it {
|
|
|
210
210
|
};
|
|
211
211
|
this.containerResizeTimeoutID && clearTimeout(this.containerResizeTimeoutID), this.containerResizeTimeoutID = setTimeout(t, 100);
|
|
212
212
|
});
|
|
213
|
-
var
|
|
214
|
-
const s = t.object_data, o = s.bottom_y, r = s.height, l = new a.Color((
|
|
213
|
+
var m, p, c, g;
|
|
214
|
+
const s = t.object_data, o = s.bottom_y, r = s.height, l = new a.Color((m = s.color) != null ? m : "#FFFFFF"), h = (p = s.opacity) != null ? p : 0.4;
|
|
215
215
|
this.data = t, this.id = t.id, this.name = (c = t.name) != null ? c : "", this.plugin = e, this.height = r, this.bottomY = o, this.opacity = h, this.shape = new a.Shape().fromJSON(s.shape), this.floorIndex = t.floor_index, this.makerObject = new a.Mesh(d(this.shape, r), V(l, h)), u(this.makerObject, o), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new y(
|
|
216
216
|
new a.EdgesGeometry(this.makerObject.geometry),
|
|
217
217
|
new a.LineBasicMaterial({ color: l, transparent: !0 })
|
|
@@ -219,6 +219,8 @@ class it {
|
|
|
219
219
|
}
|
|
220
220
|
/** 挂载标注 */
|
|
221
221
|
mount() {
|
|
222
|
+
if (this.mounted)
|
|
223
|
+
return;
|
|
222
224
|
this.mounted = !0, this.updateVisible(), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.modelGroup.add(this.makerObject, this.outline);
|
|
223
225
|
const e = !!this.name, t = this.plugin.tagDomContainer;
|
|
224
226
|
if (e) {
|
|
@@ -237,7 +239,7 @@ class it {
|
|
|
237
239
|
/** 卸载标注 */
|
|
238
240
|
unmount() {
|
|
239
241
|
var e, t;
|
|
240
|
-
this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (e = this.tagApp) == null || e.$destroy(), this.tagApp = null, this.plugin.hooks.off("stateChange", this.onPluginStateChange), this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate), (t = this.resizeObserver) == null || t.unobserve();
|
|
242
|
+
this.mounted && (this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (e = this.tagApp) == null || e.$destroy(), this.tagApp = null, this.plugin.hooks.off("stateChange", this.onPluginStateChange), this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate), (t = this.resizeObserver) == null || t.unobserve());
|
|
241
243
|
}
|
|
242
244
|
/** 更改标注透明度
|
|
243
245
|
* @param opacity 标注透明度,范围:0-1
|
|
@@ -4,11 +4,9 @@ import type { GuideLinePluginExportType } from '../GuideLinePlugin';
|
|
|
4
4
|
import * as BasePlugin from '../base/BasePlugin';
|
|
5
5
|
import type { PluginState, EventMap, MoveEffect } from './typing';
|
|
6
6
|
import type { PartialDeep } from 'type-fest';
|
|
7
|
-
import { WorkUtil } from '../shared-utils/Utils/WorkUtil';
|
|
8
7
|
export declare const pluginFlag: (name: string) => string;
|
|
9
8
|
export default abstract class CruiseController<PluginData, Config = unknown> extends BasePlugin.Controller<PluginState, EventMap> {
|
|
10
9
|
state: PluginState;
|
|
11
|
-
protected workUtil: WorkUtil;
|
|
12
10
|
protected data?: PluginData & {
|
|
13
11
|
id: string | number;
|
|
14
12
|
};
|
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
var c = Object.defineProperty;
|
|
2
2
|
var f = Object.getOwnPropertySymbols;
|
|
3
3
|
var v = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var u = (a, s, e) => s in a ? c(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, g = (a, s) => {
|
|
5
5
|
for (var e in s || (s = {}))
|
|
6
|
-
v.call(s, e) &&
|
|
6
|
+
v.call(s, e) && u(a, e, s[e]);
|
|
7
7
|
if (f)
|
|
8
8
|
for (var e of f(s))
|
|
9
|
-
S.call(s, e) &&
|
|
9
|
+
S.call(s, e) && u(a, e, s[e]);
|
|
10
10
|
return a;
|
|
11
11
|
};
|
|
12
|
-
var d = (a, s, e) => (
|
|
13
|
-
var
|
|
12
|
+
var d = (a, s, e) => (u(a, typeof s != "symbol" ? s + "" : s, e), e);
|
|
13
|
+
var p = (a, s, e) => new Promise((t, i) => {
|
|
14
14
|
var r = (h) => {
|
|
15
15
|
try {
|
|
16
16
|
n(e.next(h));
|
|
17
17
|
} catch (o) {
|
|
18
18
|
i(o);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, m = (h) => {
|
|
21
21
|
try {
|
|
22
22
|
n(e.throw(h));
|
|
23
23
|
} catch (o) {
|
|
24
24
|
i(o);
|
|
25
25
|
}
|
|
26
|
-
}, n = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(r,
|
|
26
|
+
}, n = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(r, m);
|
|
27
27
|
n((e = e.apply(a, s)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as y } from "../base/BasePlugin.js";
|
|
30
30
|
import { equal as L } from "../shared-utils/equal.js";
|
|
31
31
|
import { objectAssignDeepExports as C } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
|
-
import { WorkUtil as P } from "../shared-utils/Utils/WorkUtil.js";
|
|
33
32
|
import "../shared-utils/Subscribe.js";
|
|
34
33
|
import "hammerjs";
|
|
35
34
|
import "three";
|
|
@@ -52,10 +51,8 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
52
51
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
53
52
|
import "../shared-utils/url/absoluteUrl.js";
|
|
54
53
|
import "../shared-utils/isTruelyObject.js";
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
const m = "CruisePlugin", l = `${m}`, Z = (a) => `${l}--${a}`;
|
|
58
|
-
class ee extends y {
|
|
54
|
+
const b = "CruisePlugin", l = `${b}`, R = (a) => `${l}--${a}`;
|
|
55
|
+
class T extends y {
|
|
59
56
|
constructor(e, t) {
|
|
60
57
|
super(e, t);
|
|
61
58
|
d(this, "state", {
|
|
@@ -65,7 +62,6 @@ class ee extends y {
|
|
|
65
62
|
playing: !1,
|
|
66
63
|
speed: 1
|
|
67
64
|
});
|
|
68
|
-
d(this, "workUtil", new P(this.five));
|
|
69
65
|
d(this, "data");
|
|
70
66
|
d(this, "config");
|
|
71
67
|
d(this, "pauseDataMap", /* @__PURE__ */ new Map());
|
|
@@ -84,7 +80,7 @@ class ee extends y {
|
|
|
84
80
|
d(this, "disableErrorLog", () => {
|
|
85
81
|
console.error(`${l} is disabled`);
|
|
86
82
|
});
|
|
87
|
-
this.config = t, Object.assign(window, { [`__${
|
|
83
|
+
this.config = t, Object.assign(window, { [`__${b}_DEBUG__`]: this });
|
|
88
84
|
}
|
|
89
85
|
/**
|
|
90
86
|
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
@@ -102,7 +98,7 @@ class ee extends y {
|
|
|
102
98
|
* @description Show guide line
|
|
103
99
|
*/
|
|
104
100
|
show(e) {
|
|
105
|
-
return
|
|
101
|
+
return p(this, null, function* () {
|
|
106
102
|
this.setState({ visible: !0 }, e);
|
|
107
103
|
});
|
|
108
104
|
}
|
|
@@ -110,7 +106,7 @@ class ee extends y {
|
|
|
110
106
|
* @description Hide guide line
|
|
111
107
|
*/
|
|
112
108
|
hide(e) {
|
|
113
|
-
return
|
|
109
|
+
return p(this, null, function* () {
|
|
114
110
|
this.setState({ visible: !1 }, e);
|
|
115
111
|
});
|
|
116
112
|
}
|
|
@@ -231,6 +227,6 @@ class ee extends y {
|
|
|
231
227
|
}
|
|
232
228
|
}
|
|
233
229
|
export {
|
|
234
|
-
|
|
235
|
-
|
|
230
|
+
T as default,
|
|
231
|
+
R as pluginFlag
|
|
236
232
|
};
|
|
@@ -42,9 +42,6 @@ import "../shared-utils/Subscribe.js";
|
|
|
42
42
|
import "../shared-utils/url/absoluteUrl.js";
|
|
43
43
|
import "../shared-utils/equal.js";
|
|
44
44
|
import "../shared-utils/isTruelyObject.js";
|
|
45
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
46
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
47
|
-
import "../shared-utils/five/transformPosition.js";
|
|
48
45
|
import "../shared-utils/positionToVector3.js";
|
|
49
46
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
50
47
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -60,7 +57,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
60
57
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
61
58
|
import "../shared-utils/vectorToCoordinate.js";
|
|
62
59
|
import "../shared-utils/formatRad.js";
|
|
63
|
-
class
|
|
60
|
+
class re extends w {
|
|
64
61
|
constructor(e, s) {
|
|
65
62
|
var p;
|
|
66
63
|
super(e, s);
|
|
@@ -143,5 +140,5 @@ class he extends w {
|
|
|
143
140
|
}
|
|
144
141
|
}
|
|
145
142
|
export {
|
|
146
|
-
|
|
143
|
+
re as default
|
|
147
144
|
};
|
|
@@ -78,7 +78,11 @@ export default class WalkController extends CruiseController<PluginData, Config>
|
|
|
78
78
|
protected setPauseData(): Map<string | number, {
|
|
79
79
|
fiveState: Partial<State>;
|
|
80
80
|
id?: string | number;
|
|
81
|
-
playedProgress: number;
|
|
81
|
+
playedProgress: number; /**
|
|
82
|
+
* privateState.playing 和 state.playing 的区别:
|
|
83
|
+
* state.playing 先为true,然后才 handleplay,handleplay方法内会检查privateState.playing,如果已经开始(privateState.playing === true),就不执行操作,如果为false,就执行操作
|
|
84
|
+
* 其实就是加了一个不允许重复执行handleplay的逻辑
|
|
85
|
+
*/
|
|
82
86
|
duration?: number;
|
|
83
87
|
}>;
|
|
84
88
|
/**
|