@realsee/dnalogel 3.12.0-dev.0 → 3.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/DebugUtil.d.ts +6 -0
- package/dist/index.cjs.js +31 -31
- package/dist/index.js +876 -853
- package/dist/index.umd.js +31 -31
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/PanoTagPlugin/controller/TagUtil.js +98 -96
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +30 -26
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/utils/DebugUtil.d.ts +6 -0
- package/libs/PanoTagPlugin/utils/DebugUtil.js +25 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -40
- package/libs/index.js +121 -120
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- 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 -680
- 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 -699
- 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 -358
- 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
|
@@ -194,6 +194,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
194
194
|
import "../shared-utils/three/GLTFLoader.js";
|
|
195
195
|
import "@realsee/five/gltf-loader";
|
|
196
196
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
197
|
+
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
197
198
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
198
199
|
import "../GuideLinePlugin/utils/index.js";
|
|
199
200
|
import "../shared-utils/to.js";
|
|
@@ -205,7 +206,7 @@ import "../shared-utils/Utils/FiveUtil.js";
|
|
|
205
206
|
import "../shared-utils/formatRad.js";
|
|
206
207
|
import "./Work.js";
|
|
207
208
|
import "./utils/coordinatesToVector.js";
|
|
208
|
-
class
|
|
209
|
+
class er extends G {
|
|
209
210
|
constructor(t, e) {
|
|
210
211
|
super(t, e);
|
|
211
212
|
k(this, "state", {
|
|
@@ -595,5 +596,5 @@ class tr extends G {
|
|
|
595
596
|
}
|
|
596
597
|
}
|
|
597
598
|
export {
|
|
598
|
-
|
|
599
|
+
er as default
|
|
599
600
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typing as
|
|
1
|
+
import { typing as bt } from "./typing/index.js";
|
|
2
2
|
import t from "./Work.js";
|
|
3
3
|
import i from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
@@ -162,6 +162,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
162
162
|
import "../shared-utils/three/GLTFLoader.js";
|
|
163
163
|
import "@realsee/five/gltf-loader";
|
|
164
164
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
165
|
+
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
165
166
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
166
167
|
import "../GuideLinePlugin/utils/index.js";
|
|
167
168
|
import "../shared-utils/to.js";
|
|
@@ -177,13 +178,13 @@ import "../shared-utils/formatRad.js";
|
|
|
177
178
|
import "./BaseController.js";
|
|
178
179
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
179
180
|
import "./utils/getFiveStateOnCurve.js";
|
|
180
|
-
const
|
|
181
|
+
const dt = (o, r) => new t(o, r), kt = (o, r) => new i(o, r);
|
|
181
182
|
export {
|
|
182
|
-
|
|
183
|
+
dt as CruisePlugin,
|
|
183
184
|
t as CruisePluginController,
|
|
184
|
-
|
|
185
|
+
bt as CruisePluginTypes,
|
|
185
186
|
i as MoveController,
|
|
186
|
-
|
|
187
|
+
kt as MovePlugin,
|
|
187
188
|
t as WalkController,
|
|
188
|
-
|
|
189
|
+
dt as default
|
|
189
190
|
};
|
|
@@ -186,6 +186,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
186
186
|
import "../shared-utils/three/GLTFLoader.js";
|
|
187
187
|
import "@realsee/five/gltf-loader";
|
|
188
188
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
189
|
+
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
189
190
|
import "./Components/Tag.js";
|
|
190
191
|
import "./utils/index.js";
|
|
191
192
|
import "../shared-utils/to.js";
|
|
@@ -204,8 +205,8 @@ import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
|
204
205
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
205
206
|
import "../CruisePlugin/utils/safeCall.js";
|
|
206
207
|
import "../CruisePlugin/utils/sleep.js";
|
|
207
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
208
|
-
class
|
|
208
|
+
const b = "GuideLinePlugin", g = `${b}`, ee = (s) => `${g}--${s}`;
|
|
209
|
+
class oe extends O {
|
|
209
210
|
constructor(t, i) {
|
|
210
211
|
super(t, i);
|
|
211
212
|
h(this, "name", b);
|
|
@@ -354,6 +355,6 @@ class ee extends O {
|
|
|
354
355
|
}
|
|
355
356
|
}
|
|
356
357
|
export {
|
|
357
|
-
|
|
358
|
-
|
|
358
|
+
oe as default,
|
|
359
|
+
ee as pluginFlag
|
|
359
360
|
};
|
|
@@ -5,7 +5,7 @@ import "@realsee/five";
|
|
|
5
5
|
import "../shared-utils/five/changeMode.js";
|
|
6
6
|
import "../CruisePlugin/Move.js";
|
|
7
7
|
import "../CruisePlugin/Work.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as ho } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -158,6 +158,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
158
158
|
import "../shared-utils/three/GLTFLoader.js";
|
|
159
159
|
import "@realsee/five/gltf-loader";
|
|
160
160
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
161
|
+
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
161
162
|
import "./Components/Tag.js";
|
|
162
163
|
import "./utils/index.js";
|
|
163
164
|
import "../shared-utils/nearlyEqual.js";
|
|
@@ -177,5 +178,5 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
177
178
|
import "../CruisePlugin/utils/safeCall.js";
|
|
178
179
|
import "../CruisePlugin/utils/sleep.js";
|
|
179
180
|
export {
|
|
180
|
-
|
|
181
|
+
ho as GuideLineItem
|
|
181
182
|
};
|
|
@@ -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 _i } 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";
|
|
@@ -155,6 +155,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
155
155
|
import "../shared-utils/three/GLTFLoader.js";
|
|
156
156
|
import "@realsee/five/gltf-loader";
|
|
157
157
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
158
|
+
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
158
159
|
export {
|
|
159
|
-
|
|
160
|
+
_i as GuideLineModeItem
|
|
160
161
|
};
|
|
@@ -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 wt } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as Pt } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -169,6 +169,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
169
169
|
import "../shared-utils/three/GLTFLoader.js";
|
|
170
170
|
import "@realsee/five/gltf-loader";
|
|
171
171
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
172
|
+
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
172
173
|
import "./Components/Tag.js";
|
|
173
174
|
import "./utils/index.js";
|
|
174
175
|
import "../shared-utils/to.js";
|
|
@@ -176,10 +177,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
176
177
|
import "../shared-utils/nearlyEqual.js";
|
|
177
178
|
import "../CruisePlugin/Move.js";
|
|
178
179
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
179
|
-
const
|
|
180
|
+
const $t = (i, o) => new t(i, o);
|
|
180
181
|
export {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
182
|
+
wt as GuideLineItem,
|
|
183
|
+
Pt as GuideLineModeItem,
|
|
184
|
+
$t as GuideLinePlugin,
|
|
185
|
+
$t as default
|
|
185
186
|
};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var w = (l, s, e) => s in l ?
|
|
1
|
+
var q = Object.defineProperty, K = Object.defineProperties;
|
|
2
|
+
var Q = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var x = Object.getOwnPropertySymbols;
|
|
4
|
+
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var w = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, k = (l, s) => {
|
|
6
6
|
for (var e in s || (s = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
Y.call(s, e) && w(l, e, s[e]);
|
|
8
|
+
if (x)
|
|
9
|
+
for (var e of x(s))
|
|
10
|
+
Z.call(s, e) && w(l, e, s[e]);
|
|
11
11
|
return l;
|
|
12
|
-
},
|
|
12
|
+
}, R = (l, s) => K(l, Q(s));
|
|
13
13
|
var p = (l, s, e) => (w(l, typeof s != "symbol" ? s + "" : s, e), e);
|
|
14
|
-
import { defaultGlobalConfig as
|
|
14
|
+
import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
|
|
15
15
|
import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
-
import * as
|
|
17
|
-
import { DefaultConfig as
|
|
18
|
-
import { anyPositionToVector3 as
|
|
16
|
+
import * as ie from "three";
|
|
17
|
+
import { DefaultConfig as te } from "../tag.config.js";
|
|
18
|
+
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
19
19
|
import { planeNormal as E } from "../utils/planeNormal.js";
|
|
20
|
-
import { getTagCenterPosition as
|
|
21
|
-
import { normalPositionToPositions as
|
|
22
|
-
import { TagCache as
|
|
23
|
-
import { writable as
|
|
24
|
-
import { isIOSWX as
|
|
25
|
-
import { Five as
|
|
26
|
-
import { isMediaPlaneTag as
|
|
27
|
-
import { VideoPlane as
|
|
28
|
-
import { FiveDomEvents as
|
|
29
|
-
import
|
|
30
|
-
import { isPanoramaLike as A, isModelLike as
|
|
20
|
+
import { getTagCenterPosition as _ } from "../utils/tagPosition.js";
|
|
21
|
+
import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
|
|
22
|
+
import { TagCache as re } from "./TagCache.js";
|
|
23
|
+
import { writable as ne } from "../../vendor/svelte/store/index.js";
|
|
24
|
+
import { isIOSWX as se } from "../../shared-utils/device.js";
|
|
25
|
+
import { Five as fe } from "@realsee/five";
|
|
26
|
+
import { isMediaPlaneTag as le, isMediaModelTag as B, isPlaneTag as ce, isPoint3DTag as ae } from "../utils/tag/tagCheck.js";
|
|
27
|
+
import { VideoPlane as de } from "../utils/model/mediaPlane.js";
|
|
28
|
+
import { FiveDomEvents as ue } from "../../shared-utils/five/FiveDomEvents.js";
|
|
29
|
+
import N from "../utils/tag/adaptConfig.js";
|
|
30
|
+
import { isPanoramaLike as A, isModelLike as $ } from "../../shared-utils/five/mode.js";
|
|
31
31
|
import "hammerjs";
|
|
32
32
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
33
33
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
34
34
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
|
-
import { entries as
|
|
36
|
-
import { getUrlExt as
|
|
37
|
-
import { transformPosition as
|
|
38
|
-
import { WorkUtil as
|
|
35
|
+
import { entries as z } from "../../shared-utils/typescript/entries.js";
|
|
36
|
+
import { getUrlExt as H } from "../../shared-utils/url/getUrl.js";
|
|
37
|
+
import { transformPosition as J } from "../../shared-utils/five/transformPosition.js";
|
|
38
|
+
import { WorkUtil as me } from "../../shared-utils/Utils/WorkUtil.js";
|
|
39
39
|
import "../../shared-utils/three/centerPoint.js";
|
|
40
40
|
import "../../base/BasePlugin.js";
|
|
41
41
|
import "../../shared-utils/Subscribe.js";
|
|
@@ -62,13 +62,13 @@ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
|
62
62
|
import "../../shared-utils/three/getNormal.js";
|
|
63
63
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
64
64
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
65
|
-
class
|
|
65
|
+
class di extends re {
|
|
66
66
|
constructor(e) {
|
|
67
67
|
super(e);
|
|
68
68
|
p(this, "tags", []);
|
|
69
|
-
p(this, "config",
|
|
70
|
-
p(this, "workUtil", new
|
|
71
|
-
p(this, "mediaStore",
|
|
69
|
+
p(this, "config", te);
|
|
70
|
+
p(this, "workUtil", new me(this.five));
|
|
71
|
+
p(this, "mediaStore", ne({
|
|
72
72
|
currentMediaElement: null
|
|
73
73
|
}));
|
|
74
74
|
/** css3DRenderPlugin */
|
|
@@ -79,14 +79,14 @@ class ui extends ne {
|
|
|
79
79
|
resizeObserverDisposerAdding: !1,
|
|
80
80
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
81
81
|
});
|
|
82
|
-
p(this, "domEvents", new
|
|
82
|
+
p(this, "domEvents", new ue(this.five));
|
|
83
83
|
p(this, "loadVideoFirstFrame", () => {
|
|
84
|
-
|
|
84
|
+
se && this.hooks.emit("loadVideoFirstFrame");
|
|
85
85
|
});
|
|
86
86
|
this.mediaStore.subscribe(({ currentMediaElement: i }) => {
|
|
87
87
|
this.tags.forEach((o) => {
|
|
88
88
|
var t;
|
|
89
|
-
if (o.mediaPlane instanceof
|
|
89
|
+
if (o.mediaPlane instanceof de && i !== o.mediaPlane.videoInstance) {
|
|
90
90
|
if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
|
|
91
91
|
return;
|
|
92
92
|
o.mediaPlane.pause();
|
|
@@ -116,9 +116,9 @@ class ui extends ne {
|
|
|
116
116
|
* @description: 获取标签配置
|
|
117
117
|
*/
|
|
118
118
|
getTagConfig(e, i) {
|
|
119
|
-
var
|
|
120
|
-
const o = this.calculateTagConfig(e, i), t = (
|
|
121
|
-
return (
|
|
119
|
+
var n, f, c;
|
|
120
|
+
const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (n = i == null ? void 0 : i.fiveMode) != null ? n : this.five.getCurrentState().mode, r = (f = o.configWithFiveMode) == null ? void 0 : f[t];
|
|
121
|
+
return (c = r != null ? r : o) != null ? c : {};
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* @description 获取标签当前状态
|
|
@@ -128,11 +128,13 @@ class ui extends ne {
|
|
|
128
128
|
}
|
|
129
129
|
updateTagConfig() {
|
|
130
130
|
this.clearCache(), this.tags.forEach((e) => {
|
|
131
|
-
var
|
|
131
|
+
var t;
|
|
132
132
|
const i = this.getTagConfig(e, { useCache: !1 });
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
e.computedConfig = i;
|
|
134
|
+
const o = this.getTagConfig(e);
|
|
135
|
+
if (e.config = o, e.config.initialData) {
|
|
136
|
+
const r = JSON.parse(JSON.stringify(e.data));
|
|
137
|
+
e.data = (t = o.initialData) != null && t.important ? y(e.data, r, o.initialData) : y(e.data, o.initialData, r);
|
|
136
138
|
}
|
|
137
139
|
});
|
|
138
140
|
}
|
|
@@ -163,15 +165,15 @@ class ui extends ne {
|
|
|
163
165
|
return;
|
|
164
166
|
const t = e.data.mediaData;
|
|
165
167
|
if (!(!t || t.length === 0) && o.renderType === "Mesh") {
|
|
166
|
-
if (
|
|
168
|
+
if (le(e)) {
|
|
167
169
|
if (t.length === 1) {
|
|
168
170
|
if (t[0].type === "Video")
|
|
169
171
|
return "Mesh";
|
|
170
172
|
if (t[0].type === "Image")
|
|
171
|
-
return
|
|
173
|
+
return H(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
172
174
|
}
|
|
173
|
-
} else if (
|
|
174
|
-
return t.length === 1 && t[0].type === "Image" ?
|
|
175
|
+
} else if (B(e))
|
|
176
|
+
return t.length === 1 && t[0].type === "Image" ? H(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
175
177
|
}
|
|
176
178
|
})();
|
|
177
179
|
return i != null ? i : "Dom";
|
|
@@ -187,16 +189,16 @@ class ui extends ne {
|
|
|
187
189
|
if (t.angle !== void 0)
|
|
188
190
|
return t.angle;
|
|
189
191
|
{
|
|
190
|
-
const
|
|
191
|
-
if (
|
|
192
|
-
throw new Error(`getAngle(): observerPosition is ${
|
|
193
|
-
const
|
|
194
|
-
if (!
|
|
192
|
+
const r = this.workUtil.getObserverPosition(o);
|
|
193
|
+
if (r === void 0)
|
|
194
|
+
throw new Error(`getAngle(): observerPosition is ${r}`);
|
|
195
|
+
const n = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
|
|
196
|
+
if (!n)
|
|
195
197
|
return;
|
|
196
|
-
const f =
|
|
198
|
+
const f = _(e);
|
|
197
199
|
if (!f)
|
|
198
200
|
return;
|
|
199
|
-
const
|
|
201
|
+
const c = new ie.Vector3().copy(r).sub(f), g = n.angleTo(c) * 180 / Math.PI;
|
|
200
202
|
return t.angle = g, t.angle;
|
|
201
203
|
}
|
|
202
204
|
}
|
|
@@ -204,47 +206,47 @@ class ui extends ne {
|
|
|
204
206
|
* @description: 获取距离
|
|
205
207
|
*/
|
|
206
208
|
getDistance(e, i) {
|
|
207
|
-
const o = k(k({}, this.five.getCurrentState()), i), { panoIndex: t, mode:
|
|
208
|
-
if ((
|
|
209
|
-
return
|
|
210
|
-
const f =
|
|
209
|
+
const o = k(k({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = o, n = A(r) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
210
|
+
if ((n == null ? void 0 : n.distance) !== void 0)
|
|
211
|
+
return n.distance;
|
|
212
|
+
const f = _(e);
|
|
211
213
|
if (!f)
|
|
212
214
|
return -1;
|
|
213
|
-
if (A(
|
|
214
|
-
const
|
|
215
|
-
if (
|
|
215
|
+
if (A(r)) {
|
|
216
|
+
const c = this.workUtil.getObserverPosition(t);
|
|
217
|
+
if (c === void 0)
|
|
216
218
|
return -1;
|
|
217
|
-
const g =
|
|
218
|
-
return
|
|
219
|
+
const g = c.distanceTo(f);
|
|
220
|
+
return n && (n.distance = g), g;
|
|
219
221
|
}
|
|
220
|
-
if (
|
|
222
|
+
if ($(r))
|
|
221
223
|
return this.five.camera.position.distanceTo(f);
|
|
222
224
|
}
|
|
223
225
|
getPositions(e) {
|
|
224
226
|
if (ce(e))
|
|
225
227
|
return e.position;
|
|
226
|
-
if (
|
|
228
|
+
if (B(e))
|
|
227
229
|
return e.data.mediaPosition;
|
|
228
|
-
if (
|
|
229
|
-
return
|
|
230
|
+
if (ae(e))
|
|
231
|
+
return oe(this.five.camera.position, C(e.position), C(e.normal));
|
|
230
232
|
}
|
|
231
233
|
addObjectClickHandler(e, i, o) {
|
|
232
234
|
if (!i || !this.domEvents)
|
|
233
235
|
return () => {
|
|
234
236
|
};
|
|
235
|
-
const t = () => !(!this.getCurrentVisibleState(e) || e.loading),
|
|
237
|
+
const t = () => !(!this.getCurrentVisibleState(e) || e.loading), r = (n) => {
|
|
236
238
|
if (!t())
|
|
237
239
|
return !1;
|
|
238
|
-
o(
|
|
240
|
+
o(n.origDomEvent);
|
|
239
241
|
};
|
|
240
|
-
return this.domEvents.addEventListener(i, "click",
|
|
241
|
-
var
|
|
242
|
-
(
|
|
242
|
+
return this.domEvents.addEventListener(i, "click", r), () => {
|
|
243
|
+
var n;
|
|
244
|
+
(n = this.domEvents) == null || n.removeEventListener(i, "click", r);
|
|
243
245
|
};
|
|
244
246
|
}
|
|
245
247
|
getTagNormal(e) {
|
|
246
248
|
if (e.normal)
|
|
247
|
-
return
|
|
249
|
+
return C(e.normal);
|
|
248
250
|
if (e.stickType === "Plane")
|
|
249
251
|
return E(e.position);
|
|
250
252
|
if (e.stickType === "Model")
|
|
@@ -277,7 +279,7 @@ class ui extends ne {
|
|
|
277
279
|
if (!e)
|
|
278
280
|
return;
|
|
279
281
|
const i = this.workUtil.transform;
|
|
280
|
-
return Array.isArray(e) && e.length === 4 ? e.map(
|
|
282
|
+
return Array.isArray(e) && e.length === 4 ? e.map(C).map((o) => J(o, i)) : J(C(e), i);
|
|
281
283
|
}
|
|
282
284
|
/**
|
|
283
285
|
* @description 检查是否已经销毁
|
|
@@ -290,7 +292,7 @@ class ui extends ne {
|
|
|
290
292
|
* @description: 获取merge后的配置
|
|
291
293
|
*/
|
|
292
294
|
calculateTagConfig(e, i) {
|
|
293
|
-
var O, j, S, I, W
|
|
295
|
+
var O, j, S, I, W;
|
|
294
296
|
const o = (O = i == null ? void 0 : i.useCache) != null ? O : !0;
|
|
295
297
|
if (!e)
|
|
296
298
|
return (j = this.config.globalConfig) != null ? j : {};
|
|
@@ -300,40 +302,40 @@ class ui extends ne {
|
|
|
300
302
|
if ((I = e == null ? void 0 : e.config) != null && I._isMerged)
|
|
301
303
|
return e.config;
|
|
302
304
|
}
|
|
303
|
-
const t = {},
|
|
305
|
+
const t = {}, r = {}, n = {};
|
|
304
306
|
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([d, u]) => {
|
|
305
|
-
var
|
|
306
|
-
const
|
|
307
|
-
if (!v[
|
|
308
|
-
if (h.length === 0 && (v[
|
|
307
|
+
var V, L;
|
|
308
|
+
const a = d, D = a.split("-"), F = d.startsWith("["), T = F ? D[0].slice(1, -1) : void 0, h = F ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (V = r[T]) != null ? V : r[T] = {} : (L = n[T]) != null ? L : n[T] = {} : t;
|
|
309
|
+
if (!v[a]) {
|
|
310
|
+
if (h.length === 0 && (v[a] = u), h.length === 1) {
|
|
309
311
|
const [m] = h;
|
|
310
|
-
(e.contentType === m || m === "Any") && (v[
|
|
312
|
+
(e.contentType === m || m === "Any") && (v[a] = u);
|
|
311
313
|
}
|
|
312
314
|
if (h.length === 2) {
|
|
313
|
-
const [m = "Any",
|
|
314
|
-
m === "Mixin" && e.contentType ===
|
|
315
|
+
const [m = "Any", P = "Any"] = h;
|
|
316
|
+
m === "Mixin" && e.contentType === P && (v[a] = u), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (v[a] = u);
|
|
315
317
|
}
|
|
316
318
|
if (h.length === 3) {
|
|
317
|
-
const [m = "Any",
|
|
318
|
-
if (
|
|
319
|
-
const
|
|
320
|
-
(
|
|
319
|
+
const [m = "Any", P, X] = h;
|
|
320
|
+
if (P === "Audio" && e.contentType === "Audio") {
|
|
321
|
+
const U = e;
|
|
322
|
+
(U.stickType === m || m === "Any") && U.data.appearance === X && (v[a] = u);
|
|
321
323
|
}
|
|
322
324
|
}
|
|
323
325
|
}
|
|
324
326
|
});
|
|
325
|
-
const f = (
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
(d === "PanoramaLike" && A(
|
|
327
|
+
const f = (W = e.initialConfig) != null ? W : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), g = y({}, c, f), M = {}, G = Object.values(fe.Mode);
|
|
328
|
+
z(r).forEach(([d, u]) => {
|
|
329
|
+
G.forEach((a) => {
|
|
330
|
+
(d === "PanoramaLike" && A(a) || d === "ModelLike" && $(a)) && (M[a] = y({}, c, ...Object.values(u), f, { _isMerged: !0 }));
|
|
329
331
|
});
|
|
330
|
-
}),
|
|
331
|
-
M[d] = y({},
|
|
332
|
+
}), z(n).forEach(([d, u]) => {
|
|
333
|
+
M[d] = y({}, c, ...Object.values(u), f, { _isMerged: !0 });
|
|
332
334
|
});
|
|
333
|
-
const b =
|
|
334
|
-
return
|
|
335
|
+
const b = R(k({}, g), { configWithFiveMode: M });
|
|
336
|
+
return N(b), Object.values(M).forEach((d) => N(d)), b._isMerged = !0, b;
|
|
335
337
|
}
|
|
336
338
|
}
|
|
337
339
|
export {
|
|
338
|
-
|
|
340
|
+
di as TagUtil
|
|
339
341
|
};
|