@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
|
@@ -2,26 +2,26 @@ var P = Object.defineProperty, V = Object.defineProperties;
|
|
|
2
2
|
var T = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var k = Object.getOwnPropertySymbols;
|
|
4
4
|
var F = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var b = (h, e, t) => e in h ? P(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, u = (h, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
F.call(e, t) &&
|
|
7
|
+
F.call(e, t) && b(h, t, e[t]);
|
|
8
8
|
if (k)
|
|
9
9
|
for (var t of k(e))
|
|
10
|
-
L.call(e, t) &&
|
|
10
|
+
L.call(e, t) && b(h, t, e[t]);
|
|
11
11
|
return h;
|
|
12
12
|
}, p = (h, e) => V(h, T(e));
|
|
13
|
-
var i = (h, e, t) => (
|
|
13
|
+
var i = (h, e, t) => (b(h, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
14
|
import * as n from "three";
|
|
15
|
-
import { logWarning as
|
|
16
|
-
import { createLineGeometry as
|
|
17
|
-
import { isPanoramaLike as M, isModelLike as
|
|
15
|
+
import { logWarning as x, logError as S } from "../../shared-utils/log.js";
|
|
16
|
+
import { createLineGeometry as U } from "../utils/createLineGeometry.js";
|
|
17
|
+
import { isPanoramaLike as M, isModelLike as _ } from "../../shared-utils/five/mode.js";
|
|
18
18
|
import "hammerjs";
|
|
19
19
|
import "@realsee/five";
|
|
20
20
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
21
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
22
22
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
|
-
import { BetterTween as
|
|
24
|
-
import { loadTexture as
|
|
23
|
+
import { BetterTween as O, tweenProgress as G } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
24
|
+
import { loadTexture as A } from "../../shared-utils/three/loadTexture.js";
|
|
25
25
|
import w from "../../PanoTagPlugin/controller/index.js";
|
|
26
26
|
import E from "../Components/Tag.js";
|
|
27
27
|
import { filterAdjacentDistinct as B } from "../utils/index.js";
|
|
@@ -155,8 +155,8 @@ class N {
|
|
|
155
155
|
i(this, "plugin");
|
|
156
156
|
i(this, "textureHasLoaded", !1);
|
|
157
157
|
i(this, "disposed", !1);
|
|
158
|
-
i(this, "flowAnime", new
|
|
159
|
-
i(this, "flickerAnime",
|
|
158
|
+
i(this, "flowAnime", new O({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
|
|
159
|
+
i(this, "flickerAnime", G(300).yoyo(!0).repeat(5));
|
|
160
160
|
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
161
161
|
i(this, "cacheLengths", []);
|
|
162
162
|
/** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
|
|
@@ -175,7 +175,7 @@ class N {
|
|
|
175
175
|
});
|
|
176
176
|
/** 模型状态变更 */
|
|
177
177
|
i(this, "onFiveModeChange", (e) => {
|
|
178
|
-
this.modeVisible = this.mode === "panorama" ? M(e) :
|
|
178
|
+
this.modeVisible = this.mode === "panorama" ? M(e) : _(e), this.updateVisible();
|
|
179
179
|
});
|
|
180
180
|
i(this, "onFiveModelShownFloorChange", (e) => {
|
|
181
181
|
this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
|
|
@@ -190,17 +190,17 @@ class N {
|
|
|
190
190
|
this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
|
|
191
191
|
});
|
|
192
192
|
i(this, "onFlickerAnimeUpdate", (e) => {
|
|
193
|
-
var s,
|
|
193
|
+
var s, a, o, d;
|
|
194
194
|
const { progress: t } = e, r = 1 - t;
|
|
195
|
-
this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((
|
|
195
|
+
this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((o = this.startTagContainer.app) == null || o.$set(p(u({}, this.startTagContainer.tag.data), {
|
|
196
196
|
opacity: r,
|
|
197
197
|
name: this.name,
|
|
198
|
-
distance: Math.round((
|
|
199
|
-
}))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((
|
|
198
|
+
distance: Math.round((a = (s = this.curvePath) == null ? void 0 : s.getLength()) != null ? a : 0)
|
|
199
|
+
}))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((d = this.endTagContainer.app) == null || d.$set(p(u({}, this.endTagContainer.tag.data), { opacity: r })));
|
|
200
200
|
});
|
|
201
|
-
i(this, "logWarning", (e) =>
|
|
202
|
-
i(this, "logError", (e) =>
|
|
203
|
-
var
|
|
201
|
+
i(this, "logWarning", (e) => x("GuideLineModeItem: ", e));
|
|
202
|
+
i(this, "logError", (e) => S("GuideLineModeItem: ", e));
|
|
203
|
+
var a, o;
|
|
204
204
|
this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new w(this.five) }, this.endTagContainer = { tag: null, plugin: new w(this.five) };
|
|
205
205
|
const r = new n.BufferGeometry(), s = new n.ShaderMaterial({
|
|
206
206
|
vertexShader: R,
|
|
@@ -221,7 +221,7 @@ class N {
|
|
|
221
221
|
vOffset: { value: 0 }
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
|
-
this.mesh = new n.Mesh(r, s), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((
|
|
224
|
+
this.mesh = new n.Mesh(r, s), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((o = (a = this.five.model) == null ? void 0 : a.shownFloor) != null ? o : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
|
|
225
225
|
}
|
|
226
226
|
get panoGroup() {
|
|
227
227
|
return this._panoGroup;
|
|
@@ -270,28 +270,28 @@ class N {
|
|
|
270
270
|
return this.logError("setPathByPanoGroup: work is not ready");
|
|
271
271
|
const r = B(e);
|
|
272
272
|
if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
|
|
273
|
-
const
|
|
274
|
-
this.skippedPositions =
|
|
273
|
+
const a = t.skipPanoGroup ? r.map((o) => this.five.work.observers[o]).map((o) => o.standingPosition.clone()) : null;
|
|
274
|
+
this.skippedPositions = a;
|
|
275
275
|
}
|
|
276
276
|
const s = this.getPathFromPanoGroup(r, this.five.work, t);
|
|
277
277
|
this.path = s, this.setGeometryByPath(s, t);
|
|
278
278
|
}
|
|
279
279
|
/** 通过路径设置线条形状 */
|
|
280
280
|
setGeometryByPath(e, t) {
|
|
281
|
-
var
|
|
281
|
+
var f, v, C;
|
|
282
282
|
if (this.disposed)
|
|
283
283
|
return this.logError("disposed");
|
|
284
|
-
const r = (
|
|
285
|
-
this.scale = r, this.width = s, this.unitLength =
|
|
286
|
-
const { geometry:
|
|
284
|
+
const r = (f = t == null ? void 0 : t.scale) != null ? f : this.scale, s = (v = t == null ? void 0 : t.width) != null ? v : this.width, a = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
|
|
285
|
+
this.scale = r, this.width = s, this.unitLength = a;
|
|
286
|
+
const { geometry: o, maxU: d, curvePath: g, curvePoints: m } = U({
|
|
287
287
|
path: e,
|
|
288
288
|
width: s * r,
|
|
289
|
-
unitLength:
|
|
289
|
+
unitLength: a * r,
|
|
290
290
|
skipPositions: this.skippedPositions
|
|
291
291
|
});
|
|
292
|
-
this._curvePath =
|
|
293
|
-
const
|
|
294
|
-
this.path =
|
|
292
|
+
this._curvePath = g, this._curvePoints = m, this.mesh.geometry = o, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = d, this.five.needsRender = !0;
|
|
293
|
+
const l = e, c = u(u({}, this.geometryStyle), t);
|
|
294
|
+
this.path = l, this.geometryStyle = c;
|
|
295
295
|
}
|
|
296
296
|
/** 设置线条材质 */
|
|
297
297
|
setMartial(e) {
|
|
@@ -299,24 +299,24 @@ class N {
|
|
|
299
299
|
if (this.disposed)
|
|
300
300
|
return this.logError("disposed");
|
|
301
301
|
(e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((r = e == null ? void 0 : e.texture) == null ? void 0 : r.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
|
|
302
|
-
const t =
|
|
302
|
+
const t = u(u({}, this.materialStyle), e);
|
|
303
303
|
this.materialStyle = t;
|
|
304
304
|
}
|
|
305
305
|
/** 设置模型状态 */
|
|
306
306
|
setMeshStyle(e) {
|
|
307
307
|
if (e != null && e.translate) {
|
|
308
|
-
const s = new n.Vector3(),
|
|
309
|
-
|
|
308
|
+
const s = new n.Vector3(), a = new n.Vector3().fromArray(e.translate);
|
|
309
|
+
a.y += this.heightOffset, s.add(a), this.mesh.position.copy(s), r(this.startTagContainer, a), r(this.endTagContainer, a);
|
|
310
310
|
}
|
|
311
|
-
const t =
|
|
311
|
+
const t = u(u({}, this.meshStyle), e);
|
|
312
312
|
this.meshStyle = t;
|
|
313
|
-
function r(s,
|
|
313
|
+
function r(s, a) {
|
|
314
314
|
if (!s.tag)
|
|
315
315
|
return;
|
|
316
|
-
const
|
|
317
|
-
|
|
318
|
-
const
|
|
319
|
-
s.plugin.changeTagById(s.tag.id, { position:
|
|
316
|
+
const o = new n.Vector3().fromArray(s.tag.position);
|
|
317
|
+
o.add(a);
|
|
318
|
+
const d = o.toArray();
|
|
319
|
+
s.plugin.changeTagById(s.tag.id, { position: d });
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
/** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
|
|
@@ -370,7 +370,7 @@ class N {
|
|
|
370
370
|
setTextureUrl(e) {
|
|
371
371
|
if (this.disposed)
|
|
372
372
|
return this.logError("disposed");
|
|
373
|
-
this.textureUrl = e,
|
|
373
|
+
this.textureUrl = e, A(e).then((t) => {
|
|
374
374
|
this.disposed || this.textureUrl === e && (t.wrapT = n.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
|
|
375
375
|
});
|
|
376
376
|
}
|
|
@@ -402,42 +402,42 @@ class N {
|
|
|
402
402
|
return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
|
|
403
403
|
}
|
|
404
404
|
getPanoGroupLengths() {
|
|
405
|
-
var
|
|
405
|
+
var m;
|
|
406
406
|
if (!this.curvePoints || !this.curvePath)
|
|
407
407
|
return [];
|
|
408
|
-
const e = this.curvePoints.length,
|
|
409
|
-
let
|
|
410
|
-
for (let
|
|
411
|
-
const
|
|
408
|
+
const e = this.panoGroup.map((l) => this.five.work.observers[l]), t = this.curvePoints.length, r = this.curvePath.getLength(), s = t - 1, a = r / s, o = (m = this.curvePath.getLengths(s)) != null ? m : [], d = [];
|
|
409
|
+
let g = 0;
|
|
410
|
+
for (let l = 0; l < t; l++) {
|
|
411
|
+
const c = this.curvePoints[l], f = e[g];
|
|
412
412
|
if (!f)
|
|
413
413
|
break;
|
|
414
|
-
f.clone().setY(0).distanceTo(
|
|
414
|
+
f.standingPosition.clone().setY(0).distanceTo(c.clone().setY(0)) < a && (d.push(o[l]), g += 1);
|
|
415
415
|
}
|
|
416
|
-
return
|
|
416
|
+
return d;
|
|
417
417
|
}
|
|
418
418
|
setTag(e, t) {
|
|
419
419
|
const r = this.curvePath, s = e === "start" ? this.startTagContainer : this.endTagContainer;
|
|
420
420
|
if (!(t != null && t.data))
|
|
421
421
|
return s.plugin.clearTags();
|
|
422
|
-
const
|
|
422
|
+
const o = I({}, {
|
|
423
423
|
contentType: "Custom",
|
|
424
424
|
stickType: "2DPoint",
|
|
425
425
|
config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
|
|
426
426
|
style: { point: { enabled: !1 } },
|
|
427
427
|
data: {}
|
|
428
428
|
}, t);
|
|
429
|
-
s.tag =
|
|
430
|
-
var
|
|
431
|
-
(
|
|
432
|
-
const
|
|
433
|
-
return s.app =
|
|
429
|
+
s.tag = o, y(o) && (s.tag.element = (g) => {
|
|
430
|
+
var c, f;
|
|
431
|
+
(c = s.app) == null || c.$destroy();
|
|
432
|
+
const m = e === "start" ? p(u({}, o.data), { name: this.name, distance: Math.round((f = r.getLength()) != null ? f : 0), i18n: this.plugin.config.i18n }) : o.data, l = new E({ target: g, intro: !0, props: m });
|
|
433
|
+
return s.app = l, () => l.$destroy();
|
|
434
434
|
}), s.plugin.load({ tagList: [s.tag] });
|
|
435
|
-
const
|
|
436
|
-
if (
|
|
437
|
-
const
|
|
438
|
-
|
|
439
|
-
const
|
|
440
|
-
s.plugin.changeTagById(s.tag.id, { position:
|
|
435
|
+
const d = this.meshStyle.translate;
|
|
436
|
+
if (d && o.position) {
|
|
437
|
+
const g = new n.Vector3().fromArray(o.position), m = new n.Vector3().fromArray(d);
|
|
438
|
+
g.add(m), g.y += this.heightOffset;
|
|
439
|
+
const l = g.toArray();
|
|
440
|
+
s.plugin.changeTagById(s.tag.id, { position: l });
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
doShow() {
|
|
@@ -450,8 +450,8 @@ class N {
|
|
|
450
450
|
getPathFromPanoGroup(e, t, r) {
|
|
451
451
|
if (e.length < 2)
|
|
452
452
|
return [];
|
|
453
|
-
const
|
|
454
|
-
return [
|
|
453
|
+
const a = e.map((o) => t.observers[o]).map((o) => o.standingPosition.toArray());
|
|
454
|
+
return [u({ type: "CatmullRomCurve3", points: a }, r)];
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
function y(h) {
|
|
@@ -13,7 +13,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
13
13
|
import "./Components/Tag.js";
|
|
14
14
|
import "./utils/index.js";
|
|
15
15
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
-
import { GuideLineModeItem as
|
|
16
|
+
import { GuideLineModeItem as Xi } from "./GuideLineModeItem/index.js";
|
|
17
17
|
import "../vendor/polyline-normals/index.js";
|
|
18
18
|
import "../vendor/polyline-miter-util/index.js";
|
|
19
19
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -73,8 +73,6 @@ import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
|
73
73
|
import "../shared-utils/typescript/entries.js";
|
|
74
74
|
import "../shared-utils/url/getUrl.js";
|
|
75
75
|
import "../shared-utils/five/transformPosition.js";
|
|
76
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
77
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
78
76
|
import "../shared-utils/five/getFloorIndex.js";
|
|
79
77
|
import "../shared-utils/safeObj.js";
|
|
80
78
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -156,5 +154,5 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
156
154
|
import "@realsee/five/gltf-loader";
|
|
157
155
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
158
156
|
export {
|
|
159
|
-
|
|
157
|
+
Xi as GuideLineModeItem
|
|
160
158
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as Mt } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as ct } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -38,9 +38,6 @@ import "../shared-utils/vectorToCoordinate.js";
|
|
|
38
38
|
import "../shared-utils/formatRad.js";
|
|
39
39
|
import "../CruisePlugin/BaseController.js";
|
|
40
40
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
41
|
-
import "../shared-utils/Utils/WorkUtil.js";
|
|
42
|
-
import "../shared-utils/Utils/BaseUtil.js";
|
|
43
|
-
import "../shared-utils/five/transformPosition.js";
|
|
44
41
|
import "../shared-utils/log.js";
|
|
45
42
|
import "./utils/createLineGeometry.js";
|
|
46
43
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -89,6 +86,7 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
89
86
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
90
87
|
import "../shared-utils/typescript/entries.js";
|
|
91
88
|
import "../shared-utils/url/getUrl.js";
|
|
89
|
+
import "../shared-utils/five/transformPosition.js";
|
|
92
90
|
import "../shared-utils/five/getFloorIndex.js";
|
|
93
91
|
import "../shared-utils/safeObj.js";
|
|
94
92
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -175,10 +173,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
175
173
|
import "../shared-utils/nearlyEqual.js";
|
|
176
174
|
import "../CruisePlugin/Move.js";
|
|
177
175
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
178
|
-
const
|
|
176
|
+
const st = (i, o) => new t(i, o);
|
|
179
177
|
export {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
178
|
+
Mt as GuideLineItem,
|
|
179
|
+
ct as GuideLineModeItem,
|
|
180
|
+
st as GuideLinePlugin,
|
|
181
|
+
st as default
|
|
184
182
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
1
|
+
var $ = Object.defineProperty, w = Object.defineProperties;
|
|
2
2
|
var E = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var k = Object.getOwnPropertySymbols;
|
|
4
4
|
var L = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var M = (b, e, i) => e in b ?
|
|
5
|
+
var M = (b, e, i) => e in b ? $(b, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : b[e] = i, x = (b, e) => {
|
|
6
6
|
for (var i in e || (e = {}))
|
|
7
7
|
L.call(e, i) && M(b, i, e[i]);
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
8
|
+
if (k)
|
|
9
|
+
for (var i of k(e))
|
|
10
10
|
_.call(e, i) && M(b, i, e[i]);
|
|
11
11
|
return b;
|
|
12
|
-
},
|
|
12
|
+
}, D = (b, e) => w(b, E(e));
|
|
13
13
|
import * as F from "three";
|
|
14
|
-
import { is3DTag as
|
|
15
|
-
import { getTagCenterPosition as C, getTagPosition as
|
|
14
|
+
import { is3DTag as z, isMediaModelTag as R } from "../utils/tag/tagCheck.js";
|
|
15
|
+
import { getTagCenterPosition as C, getTagPosition as O } from "../utils/tagPosition.js";
|
|
16
16
|
import { checkRange as h } from "../utils/checkRange.js";
|
|
17
17
|
import { isPanoramaLike as y, isModelLike as Z } from "../../shared-utils/five/mode.js";
|
|
18
18
|
import "hammerjs";
|
|
@@ -23,7 +23,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
23
23
|
import { notNil as q } from "../../shared-utils/isNil.js";
|
|
24
24
|
import { TagUtil as H } from "./TagUtil.js";
|
|
25
25
|
import { getFloorIndex as N } from "../../shared-utils/five/getFloorIndex.js";
|
|
26
|
-
import { safeObj as
|
|
26
|
+
import { safeObj as U } from "../../shared-utils/safeObj.js";
|
|
27
27
|
import { toArray as W } from "../../shared-utils/util.js";
|
|
28
28
|
import "../../shared-utils/three/centerPoint.js";
|
|
29
29
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -64,11 +64,9 @@ import "../utils/tag/adaptConfig.js";
|
|
|
64
64
|
import "../../shared-utils/typescript/entries.js";
|
|
65
65
|
import "../../shared-utils/url/getUrl.js";
|
|
66
66
|
import "../../shared-utils/five/transformPosition.js";
|
|
67
|
-
import "../../shared-utils/Utils/WorkUtil.js";
|
|
68
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
69
67
|
const I = new F.Raycaster();
|
|
70
68
|
I.params.Points.threshold = 0.1;
|
|
71
|
-
class
|
|
69
|
+
class Je extends H {
|
|
72
70
|
constructor(e) {
|
|
73
71
|
super(e);
|
|
74
72
|
}
|
|
@@ -133,7 +131,7 @@ class Qe extends H {
|
|
|
133
131
|
reason: `distance is not in visibleDistance. distance: ${l}, visibleDistance: ${n.visibleDistance}`
|
|
134
132
|
};
|
|
135
133
|
}
|
|
136
|
-
if (y(o) && n.angleRange &&
|
|
134
|
+
if (y(o) && n.angleRange && z(e)) {
|
|
137
135
|
s.push("angleRange");
|
|
138
136
|
const l = this.getAngle(e);
|
|
139
137
|
if (h(l, n.angleRange) === !1)
|
|
@@ -218,7 +216,7 @@ class Qe extends H {
|
|
|
218
216
|
}).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: a }) => {
|
|
219
217
|
var u, m;
|
|
220
218
|
return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((u = a.autoUnfold) == null ? void 0 : u.enable) === !1 || ((m = a.autoUnfold) == null ? void 0 : m.strategy) !== "MinimumDistance");
|
|
221
|
-
}).map((r) =>
|
|
219
|
+
}).map((r) => D(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
|
|
222
220
|
const u = a.autoUnfold.distance;
|
|
223
221
|
return !(u && h(r, u) === !1);
|
|
224
222
|
}).sort((r, a) => r.distance - a.distance).findIndex((r) => r.id === e.id);
|
|
@@ -267,14 +265,14 @@ class Qe extends H {
|
|
|
267
265
|
/** 通过射线检测标签可用性 */
|
|
268
266
|
getTagEnableByIntersect(e, i) {
|
|
269
267
|
var n, r, a, u, m;
|
|
270
|
-
const f =
|
|
268
|
+
const f = U(U((n = this.getTagConfig(e).visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, o = y(this.five.getCurrentState().mode) ? this.getObserverPosition(t) : this.five.camera.position;
|
|
271
269
|
if (o === void 0)
|
|
272
270
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
273
271
|
const d = W(
|
|
274
272
|
(() => {
|
|
275
273
|
var g;
|
|
276
274
|
const v = (g = f.checkPoints) != null ? g : "center";
|
|
277
|
-
return v === "center" ? C(e) : v === "corner" ?
|
|
275
|
+
return v === "center" ? C(e) : v === "corner" ? O(e) : Array.isArray(v) ? v : [];
|
|
278
276
|
})()
|
|
279
277
|
);
|
|
280
278
|
let s = 0, c = 0;
|
|
@@ -282,13 +280,13 @@ class Qe extends H {
|
|
|
282
280
|
const g = new F.Vector3().subVectors(v, o).normalize();
|
|
283
281
|
I.set(o, g);
|
|
284
282
|
const P = o.distanceTo(v), [l] = this.five.model.intersectRaycaster(I), p = (() => {
|
|
285
|
-
if (!
|
|
283
|
+
if (!R(e))
|
|
286
284
|
return;
|
|
287
|
-
const V = this.tags.filter(
|
|
288
|
-
var
|
|
289
|
-
return (
|
|
290
|
-
}).filter(q), [
|
|
291
|
-
return
|
|
285
|
+
const V = this.tags.filter(R).map((A) => {
|
|
286
|
+
var T;
|
|
287
|
+
return (T = A.model) == null ? void 0 : T.object;
|
|
288
|
+
}).filter(q), [B] = I.intersectObjects(V, !0);
|
|
289
|
+
return B;
|
|
292
290
|
})(), S = (r = f.distanceAccuracy) != null ? r : 0.01;
|
|
293
291
|
Math.min((a = l == null ? void 0 : l.distance) != null ? a : 1 / 0, (u = p == null ? void 0 : p.distance) != null ? u : 1 / 0) + S >= P ? s++ : c++;
|
|
294
292
|
const j = (m = f.needPassed) != null ? m : 1;
|
|
@@ -309,11 +307,11 @@ class Qe extends H {
|
|
|
309
307
|
var o, d, s, c, n, r, a;
|
|
310
308
|
let i = 0;
|
|
311
309
|
const f = (o = e.fiveState) == null ? void 0 : o.panoIndex;
|
|
312
|
-
f !== void 0 ? i = (d = this.
|
|
310
|
+
f !== void 0 ? i = (d = this.work.observers[f]) == null ? void 0 : d.floorIndex : i = N(this.work, (a = (r = (c = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : c.position) != null ? r : (n = e.mediaPlane) == null ? void 0 : n.position) != null ? a : C(e));
|
|
313
311
|
const t = this.five.model.shownFloor;
|
|
314
312
|
return t === null || t === i;
|
|
315
313
|
}
|
|
316
314
|
}
|
|
317
315
|
export {
|
|
318
|
-
|
|
316
|
+
Je as TagComputer
|
|
319
317
|
};
|
|
@@ -75,8 +75,6 @@ import "../utils/tag/adaptConfig.js";
|
|
|
75
75
|
import "../../shared-utils/typescript/entries.js";
|
|
76
76
|
import "../../shared-utils/url/getUrl.js";
|
|
77
77
|
import "../../shared-utils/five/transformPosition.js";
|
|
78
|
-
import "../../shared-utils/Utils/WorkUtil.js";
|
|
79
|
-
import "../../shared-utils/Utils/BaseUtil.js";
|
|
80
78
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
81
79
|
import "../../shared-utils/safeObj.js";
|
|
82
80
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -162,7 +160,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
|
|
|
162
160
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
163
161
|
import "@realsee/five/gltf-loader";
|
|
164
162
|
const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
|
|
165
|
-
class
|
|
163
|
+
class fi extends I {
|
|
166
164
|
constructor(t) {
|
|
167
165
|
super(t);
|
|
168
166
|
h(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -495,5 +493,5 @@ class Ti extends I {
|
|
|
495
493
|
}
|
|
496
494
|
}
|
|
497
495
|
export {
|
|
498
|
-
|
|
496
|
+
fi as TagRender
|
|
499
497
|
};
|
|
@@ -7,13 +7,12 @@ import { Five } from '@realsee/five';
|
|
|
7
7
|
import type { State as FiveState } from '@realsee/five';
|
|
8
8
|
import type { Mode } from '@realsee/five';
|
|
9
9
|
import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
|
|
10
|
-
import { WorkUtil } from '../../shared-utils/Utils/WorkUtil';
|
|
11
10
|
export declare abstract class TagUtil extends TagCache {
|
|
12
11
|
tags: TagInstance[];
|
|
13
12
|
config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
|
|
14
13
|
set workCode(workCode: string);
|
|
15
14
|
get workCode(): string;
|
|
16
|
-
|
|
15
|
+
protected get work(): import("@realsee/five").Work;
|
|
17
16
|
protected mediaStore: MediaStore;
|
|
18
17
|
/** css3DRenderPlugin */
|
|
19
18
|
protected css3DRenderPlugin?: CSS3DRenderPluginExportType;
|
|
@@ -28,6 +27,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
28
27
|
disposed: boolean;
|
|
29
28
|
};
|
|
30
29
|
protected domEvents: FiveDomEvents;
|
|
30
|
+
private _workCode;
|
|
31
31
|
protected constructor(five: Five);
|
|
32
32
|
getTagById<C extends TagContentType = TagContentType, S extends StickType = StickType>(id: TagId): TagInstance<C, S> | undefined;
|
|
33
33
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
@@ -43,6 +43,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
43
43
|
* @description 获取标签当前状态
|
|
44
44
|
*/
|
|
45
45
|
getCurrentVisibleState(tag: TagInstance): boolean;
|
|
46
|
+
protected getObserverPosition: (index: number) => THREE.Vector3;
|
|
46
47
|
protected loadVideoFirstFrame: () => void;
|
|
47
48
|
protected updateTagConfig(): void;
|
|
48
49
|
protected can<T extends Tag>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;
|