@realsee/dnalogel 3.35.0-dev.1 → 3.35.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/CHANGELOG.md +13 -0
- package/dist/ModelMakerPlugin/Controller.d.ts +1 -1
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +2 -1
- package/dist/PanoMeasurePlugin/typings/data.d.ts +3 -0
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -2
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +6 -11
- package/dist/PanoTagPlugin/controller/index.d.ts +0 -1
- package/dist/PanoTagPlugin/utils/debounce.d.ts +0 -1
- package/dist/PanoVideoPlugin/Controller.d.ts +3 -1
- package/dist/PanoVideoPlugin/typings.d.ts +2 -2
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +3161 -3165
- package/dist/index.umd.js +44 -44
- package/dist/shared-utils/tag.d.ts +4 -4
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +44 -34
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +44 -34
- package/docs/classes/CSS3DRender.html +43 -33
- package/docs/classes/GuideLineItem.GuideLineItem.html +31 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +55 -45
- package/docs/classes/{Magnifier.html → ModelMakerPluginInstance.html} +203 -111
- package/docs/classes/ModelRoomLabelController.html +23 -13
- package/docs/classes/MoveController.html +43 -33
- package/docs/classes/Object3DHelperController.html +39 -47
- package/docs/classes/PaintBrush.html +27 -17
- package/docs/classes/PanoMeasurePluginLine.html +56 -36
- package/docs/classes/PanoMeasurePluginModel.html +42 -32
- package/docs/classes/PanoMeasurePluginPoint.html +23 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +61 -34
- package/docs/classes/PanoTagPluginController.html +234 -126
- package/docs/classes/Sculpt.html +852 -0
- package/docs/classes/Util.BetterTween.html +27 -13
- package/docs/classes/Util.Interval.html +29 -15
- package/docs/classes/Util.LineSegments.html +25 -11
- package/docs/classes/Util.Magnifier.html +93 -60
- package/docs/classes/Util.Object3D.html +26 -12
- package/docs/classes/Util.PointDomHelper.html +28 -14
- package/docs/classes/Util.PointHelper.html +28 -14
- package/docs/classes/Util.PointSelectorHelper.html +34 -20
- package/docs/classes/Util.Rectangle.html +30 -16
- package/docs/classes/WalkController.html +39 -29
- package/docs/enums/CameraMovementEffect.html +19 -9
- package/docs/enums/ContentType.html +33 -23
- package/docs/enums/DIRECTION.html +21 -11
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +21 -11
- package/docs/enums/DimensionType.html +19 -9
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +20 -10
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +21 -11
- package/docs/enums/PaintBrushTypeEnum.html +20 -10
- package/docs/enums/PointType.html +19 -9
- package/docs/enums/Rotation.html +20 -10
- package/docs/functions/AreaMakerPlugin.html +17 -7
- package/docs/functions/CSS3DRenderPlugin.html +17 -7
- package/docs/functions/CameraMovementPlugin.html +17 -7
- package/docs/functions/CruisePlugin.html +17 -7
- package/docs/functions/CurrentPanoImagePlugin.html +17 -7
- package/docs/functions/GuideLinePlugin.html +17 -7
- package/docs/functions/ItemLabelPlugin.html +17 -7
- package/docs/functions/MapviewFloorplanPlugin.html +17 -7
- package/docs/functions/ModelChassisCompassPlugin.html +17 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +17 -7
- package/docs/functions/ModelFloorplanPlugin.html +17 -7
- package/docs/functions/ModelItemLabelPlugin.html +17 -7
- package/docs/functions/ModelMakerPlugin.html +303 -0
- package/docs/functions/ModelRoomLabelPlugin.html +17 -7
- package/docs/functions/ModelTVVideoPlugin.html +17 -7
- package/docs/functions/ModelViewPlugin.html +17 -7
- package/docs/functions/MovePlugin.html +18 -8
- package/docs/functions/Object3DHelperPlugin.html +17 -7
- package/docs/functions/PanoCompassPlugin.html +17 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +17 -7
- package/docs/functions/PanoDoorLabelPlugin.html +17 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +17 -7
- package/docs/functions/PanoMeasurePlugin.html +17 -7
- package/docs/functions/PanoRulerPlugin.html +17 -7
- package/docs/functions/PanoRulerProPlugin.html +17 -7
- package/docs/functions/PanoSpatialTagPlugin.html +17 -7
- package/docs/functions/PanoTagPlugin.html +20 -8
- package/docs/functions/PanoVideoPlugin.html +17 -7
- package/docs/functions/PipelinePlugin.html +17 -7
- package/docs/functions/SculptPlugin.html +306 -0
- package/docs/functions/TopviewFloorplanPlugin.html +17 -7
- package/docs/functions/Util.absoluteUrl.html +22 -8
- package/docs/functions/Util.blink.html +351 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +22 -8
- package/docs/functions/Util.equal.html +22 -8
- package/docs/functions/Util.getCoordsFromClient.html +22 -8
- package/docs/functions/Util.getCoordsFromElement.html +22 -8
- package/docs/functions/Util.getFrameTime.html +22 -8
- package/docs/functions/Util.getIntersectFromRelativePosition.html +29 -10
- package/docs/functions/Util.getRaycasterFromFivePointer.html +22 -8
- package/docs/functions/Util.isAbsoluteURL.html +22 -8
- package/docs/functions/Util.isModelLike.html +22 -8
- package/docs/functions/Util.isNil.html +22 -8
- package/docs/functions/Util.isPanoramaLike.html +22 -8
- package/docs/functions/Util.nextFrame.html +22 -8
- package/docs/functions/Util.notNil.html +22 -8
- package/docs/functions/Util.reblink.html +349 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +22 -8
- package/docs/functions/Util.tweenProgress.html +22 -8
- package/docs/functions/Util.uuid.html +22 -8
- package/docs/functions/pluginFlag.html +17 -7
- package/docs/index.html +18 -7
- package/docs/interfaces/AddTagConfig.html +18 -8
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.Config.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +30 -20
- package/docs/interfaces/AreaMakerPluginType.Params.html +18 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -10
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +19 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.State.html +19 -9
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +23 -13
- package/docs/interfaces/CSS3DRenderPluginState.html +20 -10
- package/docs/interfaces/CameraMovementPluginExportType.html +19 -9
- package/docs/interfaces/ContentTypeMapInterface.html +773 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +21 -10
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +24 -13
- package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -22
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +352 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +39 -23
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +30 -18
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +30 -18
- package/docs/interfaces/CruisePluginTypes.PluginData.html +41 -30
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +18 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +25 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +23 -13
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +24 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +19 -9
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +18 -8
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +20 -10
- package/docs/interfaces/EventMap.html +27 -17
- package/docs/interfaces/FloorplanBounding.html +20 -10
- package/docs/interfaces/FloorplanData.html +22 -12
- package/docs/interfaces/FloorplanEntrance.html +23 -13
- package/docs/interfaces/FloorplanExtraObject.html +22 -12
- package/docs/interfaces/FloorplanExtraObject3D.html +20 -10
- package/docs/interfaces/FloorplanFloorData.html +21 -11
- package/docs/interfaces/FloorplanImagePosition.html +19 -9
- package/docs/interfaces/FloorplanObserver.html +21 -11
- package/docs/interfaces/FloorplanOutlineItem.html +21 -11
- package/docs/interfaces/FloorplanPosition.html +19 -9
- package/docs/interfaces/FloorplanRoomItem.html +26 -16
- package/docs/interfaces/FloorplanRoomLabelItem.html +19 -9
- package/docs/interfaces/FloorplanServerBounding.html +20 -10
- package/docs/interfaces/FloorplanServerComputedData.html +22 -12
- package/docs/interfaces/FloorplanServerData.html +19 -9
- package/docs/interfaces/FloorplanServerDoorItem.html +22 -12
- package/docs/interfaces/FloorplanServerDoorPosition.html +20 -10
- package/docs/interfaces/FloorplanServerEntrance.html +23 -13
- package/docs/interfaces/FloorplanServerFloorData.html +21 -11
- package/docs/interfaces/FloorplanServerImagePosition.html +19 -9
- package/docs/interfaces/FloorplanServerObserver.html +21 -11
- package/docs/interfaces/FloorplanServerOutlineItem.html +21 -11
- package/docs/interfaces/FloorplanServerPosition.html +19 -9
- package/docs/interfaces/FloorplanServerRoomItem.html +27 -17
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +19 -9
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +20 -10
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +21 -11
- package/docs/interfaces/GuideLinePluginType.EventMap.html +24 -14
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +19 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +17 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +26 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +17 -7
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +19 -9
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +32 -22
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +18 -8
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +33 -23
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +16 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +17 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +19 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +22 -12
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +20 -10
- package/docs/interfaces/HelperOffset.html +20 -10
- package/docs/interfaces/ImagePlaneGroup.html +18 -8
- package/docs/interfaces/ItemLabelPluginData.html +18 -8
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +23 -13
- package/docs/interfaces/ItemLabelPluginParametersType.html +21 -11
- package/docs/interfaces/MinMax.html +19 -9
- package/docs/interfaces/ModelChassisCompassPluginData.html +19 -9
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +20 -10
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +19 -9
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +20 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +20 -10
- package/docs/interfaces/ModelItemLabelPluginData.html +18 -8
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +23 -13
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +19 -9
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +556 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +349 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +391 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +332 -0
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +401 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +381 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +364 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +18 -8
- package/docs/interfaces/ModelTVVideoPluginData.html +21 -11
- package/docs/interfaces/ModelTVVideoPluginExportType.html +20 -10
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +18 -8
- package/docs/interfaces/ModelViewPluginExportType.html +23 -13
- package/docs/interfaces/Object3DHelperState.html +20 -10
- package/docs/interfaces/ObjectHelperControllers.html +22 -12
- package/docs/interfaces/PaintBrushAction.html +24 -14
- package/docs/interfaces/PaintBrushConfigs.html +24 -14
- package/docs/interfaces/PaintBrushState.html +22 -12
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +22 -12
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +17 -7
- package/docs/interfaces/PanoMeasureParameterType.html +28 -18
- package/docs/interfaces/PanoMeasurePluginLineJson.html +20 -10
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +19 -9
- package/docs/interfaces/PanoMeasurePluginPointJson.html +19 -9
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +30 -10
- package/docs/interfaces/PanoRulerPluginExportType.html +22 -12
- package/docs/interfaces/PanoRulerPluginOptions.html +19 -9
- package/docs/interfaces/PanoRulerPluginParameterType.html +20 -10
- package/docs/interfaces/PanoRulerProPluginExportType.html +21 -11
- package/docs/interfaces/PanoRulerProPluginOptions.html +19 -9
- package/docs/interfaces/PanoRulerProPluginParameterType.html +19 -9
- package/docs/interfaces/PanoRulerProPluginState.html +20 -10
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +17 -7
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +17 -7
- package/docs/interfaces/PanoSpatialTagPluginData.html +23 -13
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +22 -12
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +25 -15
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +22 -12
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +25 -15
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +23 -13
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +22 -12
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +20 -10
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +78 -18
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +20 -10
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +22 -12
- package/docs/interfaces/Point.html +20 -10
- package/docs/interfaces/Room.html +21 -11
- package/docs/interfaces/RoomInfo.html +19 -9
- package/docs/interfaces/RoomLabel.html +26 -16
- package/docs/interfaces/RoomRules.html +17 -7
- package/docs/interfaces/Rooms.html +17 -7
- package/docs/interfaces/Scissor.html +21 -11
- package/docs/interfaces/State.html +20 -10
- package/docs/interfaces/TagCacheInterface.html +24 -14
- package/docs/interfaces/TagConfig.html +65 -49
- package/docs/interfaces/TagGLTFObjectGroup.html +18 -8
- package/docs/interfaces/TagIconUrl.html +24 -14
- package/docs/interfaces/TagObjectGroup.html +18 -8
- package/docs/interfaces/TagStyle.html +18 -8
- package/docs/interfaces/Tags.html +61 -437
- package/docs/interfaces/TemporaryState.html +18 -8
- package/docs/interfaces/Util.BlinkAnimeOptions.html +380 -0
- package/docs/interfaces/Util.MagnifierParameter.html +43 -24
- package/docs/interfaces/Util.MouseGroupParameter.html +25 -11
- package/docs/interfaces/Util.PointIntersection.html +33 -12
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +387 -0
- package/docs/modules/AreaMakerPluginType.html +16 -6
- package/docs/modules/CruisePluginTypes.html +18 -6
- package/docs/modules/CurrentPanoImagePluginType.html +17 -7
- package/docs/modules/GuideLineItem.html +17 -7
- package/docs/modules/GuideLineModeItem.html +17 -7
- package/docs/modules/GuideLinePluginType.html +16 -6
- package/docs/modules/ModelMakerPluginType.html +339 -0
- package/docs/modules/PanoVideoPluginType.html +17 -7
- package/docs/modules/SculptData.html +318 -0
- package/docs/modules/Util.html +26 -8
- package/docs/modules.html +34 -11
- package/docs/types/AddObject3DHelperConfig.html +315 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +16 -6
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +16 -6
- package/docs/types/AreaMakerPluginType.PluginData.html +16 -6
- package/docs/types/AreaMakerPluginType.ServerData.html +16 -6
- package/docs/types/ArrayPosition.html +17 -7
- package/docs/types/AudioAppearance.html +17 -7
- package/docs/types/CSS3DRenderExportType.html +17 -7
- package/docs/types/CSS3DRenderPluginExportType.html +17 -7
- package/docs/types/CSS3DRenderPluginParameterType.html +17 -7
- package/docs/types/ClassFunctionParameters.html +17 -7
- package/docs/types/Color.html +17 -7
- package/docs/types/ContentTypeConfigKey.html +17 -7
- package/docs/types/ContentTypeConfigKeySplit.html +18 -8
- package/docs/types/ContentTypeMap.html +17 -7
- package/docs/types/Create3DDomContainerReturnType.html +17 -7
- package/docs/types/Create3DElementReturnType.html +17 -7
- package/docs/types/CruisePluginExportType.html +17 -7
- package/docs/types/CruisePluginTypes.CruiseData.html +17 -6
- package/docs/types/CruisePluginTypes.MoveEffect.html +17 -6
- package/docs/types/CurrentPanoImagePluginExportType.html +17 -7
- package/docs/types/DeprecatedMediaPlaneProperty.html +17 -7
- package/docs/types/DeprecatedTagProperty.html +17 -7
- package/docs/types/Direction-1.html +17 -7
- package/docs/types/Direction4.html +17 -7
- package/docs/types/ElementRenderer.html +17 -7
- package/docs/types/FloorplanRuleLabels.html +17 -7
- package/docs/types/FloorplanServerRuleLabels.html +17 -7
- package/docs/types/GuideLinePluginExportType.html +17 -7
- package/docs/types/GuideLinePluginType.GuideLineItem.html +18 -8
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +16 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +16 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +16 -6
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +16 -6
- package/docs/types/GuideLinePluginType.PathItem.html +16 -6
- package/docs/types/GuideLinePluginType.PluginData.html +16 -6
- package/docs/types/HelperEventMap.html +17 -7
- package/docs/types/InternalHelperEventMap.html +29 -11
- package/docs/types/LoadTagConfig.html +17 -7
- package/docs/types/MapviewFloorplanPluginParameterType.html +17 -7
- package/docs/types/MapviewFloorplanPluginReturnType.html +17 -7
- package/docs/types/MediaData.html +20 -10
- package/docs/types/MediaStore.html +17 -7
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +17 -7
- package/docs/types/ModelFloorplanPluginParameterType.html +17 -7
- package/docs/types/ModelFloorplanPluginReturnType.html +17 -7
- package/docs/types/ModelId.html +17 -7
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +329 -0
- package/docs/types/ModelMakerPluginType.ItemType.html +308 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +17 -7
- package/docs/types/ModelRoomLabelPluginReturnType.html +17 -7
- package/docs/types/MoveArgs.html +17 -7
- package/docs/types/MoveOpts.html +17 -7
- package/docs/types/Object3DHelperEventMap.html +17 -7
- package/docs/types/ObjectFit.html +17 -7
- package/docs/types/PaintBrushEventMap.html +17 -7
- package/docs/types/PanoCompassPluginData.html +17 -7
- package/docs/types/PanoCompassPluginExportType.html +17 -7
- package/docs/types/PanoCompassPluginParameterType.html +17 -7
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +17 -7
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +17 -7
- package/docs/types/PanoIndex.html +17 -7
- package/docs/types/PanoMeasurePluginEvent.html +17 -7
- package/docs/types/PanoMeasureReturnType.html +17 -7
- package/docs/types/PanoSpatialTagPluginId.html +17 -7
- package/docs/types/PanoTagPluginExportInterface.html +17 -7
- package/docs/types/PanoTagPluginParamsInterface.html +17 -7
- package/docs/types/PanoVideoPluginParameterType.html +17 -7
- package/docs/types/PanoVideoPluginReturnType.html +17 -7
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +22 -12
- package/docs/types/PipelinePluginParameterType.html +17 -7
- package/docs/types/PipelinePluginReturnType.html +17 -7
- package/docs/types/PlaneTag.html +17 -7
- package/docs/types/Point2DTag.html +17 -7
- package/docs/types/Point3DTag.html +17 -7
- package/docs/types/PointTag.html +17 -7
- package/docs/types/PointTagInstance.html +17 -7
- package/docs/types/Position.html +17 -7
- package/docs/types/{AudioTagTypeConfigKey.html → PositionFrom.html} +28 -10
- package/docs/types/RotateArgs.html +17 -7
- package/docs/types/RotateOpts.html +17 -7
- package/docs/types/RuleLabelsKey.html +17 -7
- package/docs/types/RuleLabelsValue.html +17 -7
- package/docs/types/ScaleCallback.html +314 -0
- package/docs/types/ScalePosition.html +303 -0
- package/docs/types/SculptData.BoxData.html +306 -0
- package/docs/types/SculptData.CircleData.html +306 -0
- package/docs/types/SculptData.CylinderData.html +306 -0
- package/docs/types/SculptData.PointData.html +306 -0
- package/docs/types/SculptData.PolygonData.html +306 -0
- package/docs/types/SculptData.PolylineData.html +306 -0
- package/docs/types/SculptData.PrismData.html +306 -0
- package/docs/types/SculptData.RectangleData.html +306 -0
- package/docs/types/StickType.html +17 -7
- package/docs/types/Tag.html +35 -13
- package/docs/types/Tag2D.html +17 -7
- package/docs/types/Tag3D.html +17 -7
- package/docs/types/TagConfigByKey.html +18 -8
- package/docs/types/TagContentType.html +17 -7
- package/docs/types/TagContentTypeMapping.html +17 -7
- package/docs/types/TagDimensionType.html +17 -7
- package/docs/types/TagElement.html +17 -7
- package/docs/types/TagEvents.html +38 -12
- package/docs/types/TagGLTFObject.html +17 -7
- package/docs/types/TagHooks.html +17 -7
- package/docs/types/TagId.html +17 -7
- package/docs/types/TagInstance.html +44 -8
- package/docs/types/TagPointType.html +17 -7
- package/docs/types/TagRendererMap.html +17 -7
- package/docs/types/TopviewFloorplanPluginParameterType.html +17 -7
- package/docs/types/TopviewFloorplanPluginReturnType.html +17 -7
- package/docs/types/WorkCode.html +17 -7
- package/docs/variables/FLOOR_TYPE_MAP.html +17 -7
- package/docs/variables/PLUGIN.html +17 -7
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +17 -7
- package/docs/variables/ROOM_TYPE_MAP.html +17 -7
- package/docs/variables/defaultGlobalConfig.html +17 -7
- package/docs/variables/itemLabelPluginServerParams.html +17 -7
- package/docs/variables/modelItemLabelPluginServerParams.html +17 -7
- package/docs/variables/modelRoomLabelPluginServerParams.html +17 -7
- package/libs/ModelMakerPlugin/Controller.d.ts +1 -1
- package/libs/ModelMakerPlugin/Controller.js +88 -86
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +23 -26
- package/libs/PanoMeasurePlugin/Controller/ViewController.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +49 -35
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +2 -1
- package/libs/PanoMeasurePlugin/Model/polyline.js +37 -35
- package/libs/PanoMeasurePlugin/typings/data.d.ts +3 -0
- package/libs/PanoRulerPlugin/Plugin.js +15 -15
- package/libs/PanoTagPlugin/controller/TagComputer.js +0 -2
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +63 -67
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +6 -11
- package/libs/PanoTagPlugin/controller/TagUtil.js +107 -106
- package/libs/PanoTagPlugin/controller/index.d.ts +0 -1
- package/libs/PanoTagPlugin/controller/index.js +61 -67
- package/libs/PanoTagPlugin/utils/debounce.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/debounce.js +4 -10
- package/libs/PanoTagPlugin/utils/index.js +6 -7
- package/libs/PanoVideoPlugin/Controller.d.ts +3 -1
- package/libs/PanoVideoPlugin/Controller.js +41 -41
- package/libs/PanoVideoPlugin/typings.d.ts +2 -2
- package/libs/base/BasePlugin.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -4
- package/libs/shared-utils/tag.js +26 -30
- package/package.json +2 -2
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
var Z = Object.defineProperty, q = Object.defineProperties;
|
|
2
2
|
var K = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var _ = Object.getOwnPropertySymbols;
|
|
4
4
|
var Q = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var E = (l, s, e) => s in l ? Z(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, b = (l, s) => {
|
|
6
6
|
for (var e in s || (s = {}))
|
|
7
|
-
Q.call(s, e) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
Y.call(s, e) &&
|
|
7
|
+
Q.call(s, e) && E(l, e, s[e]);
|
|
8
|
+
if (_)
|
|
9
|
+
for (var e of _(s))
|
|
10
|
+
Y.call(s, e) && E(l, e, s[e]);
|
|
11
11
|
return l;
|
|
12
12
|
}, U = (l, s) => q(l, K(s));
|
|
13
|
-
var
|
|
13
|
+
var d = (l, s, e) => (E(l, typeof s != "symbol" ? s + "" : s, e), e);
|
|
14
14
|
import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
|
|
15
|
-
import { objectAssignDeepExports as
|
|
15
|
+
import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
16
|
import * as ie from "three";
|
|
17
17
|
import { DefaultConfig as te } from "../tag.config.js";
|
|
18
|
-
import { anyPositionToVector3 as
|
|
19
|
-
import { planeNormal as
|
|
18
|
+
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
19
|
+
import { planeNormal as w } from "../utils/planeNormal.js";
|
|
20
20
|
import { getTagCenterPosition as V } from "../utils/tagPosition.js";
|
|
21
21
|
import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
|
|
22
22
|
import { TagCache as ne } from "./TagCache.js";
|
|
@@ -24,18 +24,18 @@ import { writable as re } from "../../vendor/svelte/store/index.js";
|
|
|
24
24
|
import { isIOSWX as se } from "../../shared-utils/device.js";
|
|
25
25
|
import { CSS3DRenderPlugin as fe } from "../../CSS3DRenderPlugin/index.js";
|
|
26
26
|
import { Five as ae } from "@realsee/five";
|
|
27
|
-
import { isMediaPlaneTag as
|
|
27
|
+
import { isMediaPlaneTag as le, isMediaModelTag as B, isPlaneTag as ce, isPoint3DTag as de } from "../utils/tag/tagCheck.js";
|
|
28
28
|
import { VideoPlane as ue } from "../utils/model/mediaPlane.js";
|
|
29
29
|
import { FiveDomEvents as me } from "../../shared-utils/five/FiveDomEvents.js";
|
|
30
30
|
import N from "../utils/tag/adaptConfig.js";
|
|
31
|
-
import { isPanoramaLike as
|
|
31
|
+
import { isPanoramaLike as S, isModelLike as z } from "../../shared-utils/five/mode.js";
|
|
32
32
|
import "hammerjs";
|
|
33
33
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
34
34
|
import "animejs";
|
|
35
35
|
import { entries as $ } from "../../shared-utils/typescript/entries.js";
|
|
36
36
|
import { getUrlExt as H } from "../../shared-utils/url/getUrl.js";
|
|
37
37
|
import { transformPosition as J } from "../../shared-utils/five/transformPosition.js";
|
|
38
|
-
import { WorkUtil as
|
|
38
|
+
import { WorkUtil as pe } 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";
|
|
@@ -66,32 +66,37 @@ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
|
66
66
|
import "../../shared-utils/three/getNormal.js";
|
|
67
67
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
68
68
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
69
|
-
class
|
|
69
|
+
class hi extends ne {
|
|
70
70
|
constructor(e) {
|
|
71
71
|
super(e);
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
d(this, "tags", []);
|
|
73
|
+
d(this, "config", te);
|
|
74
|
+
d(this, "tagsLengthWillUpdate", !0);
|
|
75
|
+
d(this, "workUtil", new pe(this.five));
|
|
75
76
|
/** 插件参数 */
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
d(this, "params");
|
|
78
|
+
d(this, "mediaStore", re({
|
|
78
79
|
currentMediaElement: null
|
|
79
80
|
}));
|
|
80
|
-
|
|
81
|
+
d(this, "store", {
|
|
81
82
|
disposers: [],
|
|
82
83
|
disposed: !1,
|
|
83
84
|
resizeObserverDisposerAdding: !1,
|
|
84
85
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
85
86
|
});
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
d(this, "domEvents", new me(this.five));
|
|
88
|
+
// private _cache_pointTag?: PointTagInstance[]
|
|
89
|
+
// private _cache_2DPointTag?: TagInstance<TagContentType, '2DPoint'>[]
|
|
90
|
+
// private _cache_imagePlane?: TagInstance<'MediaPlane', 'Plane'>[]
|
|
91
|
+
// private _cache_mediaModel?: TagInstance<'MediaModel', 'Model'>[]
|
|
92
|
+
// private _cache_css3DTag?: (
|
|
93
|
+
// | TagInstance<TagContentType, 'Plane'>
|
|
94
|
+
// | TagInstance<TagContentType, 'Model'>
|
|
95
|
+
// | TagInstance<TagContentType, '3DPoint'>
|
|
96
|
+
// )[]
|
|
97
|
+
d(this, "_container", null);
|
|
98
|
+
d(this, "_css3DRenderPlugin");
|
|
99
|
+
d(this, "loadVideoFirstFrame", () => {
|
|
95
100
|
se && this.hooks.emit("loadVideoFirstFrame");
|
|
96
101
|
});
|
|
97
102
|
this.mediaStore.subscribe(({ currentMediaElement: i }) => {
|
|
@@ -112,17 +117,6 @@ class gi extends ne {
|
|
|
112
117
|
set container(e) {
|
|
113
118
|
this._container = e;
|
|
114
119
|
}
|
|
115
|
-
// eslint-disable-next-line accessor-pairs
|
|
116
|
-
set tagsLengthWillUpdate(e) {
|
|
117
|
-
e && (this._cache_pointTag = this.tags.filter((i) => i.stickType === "2DPoint" || i.stickType === "3DPoint").filter((i) => i.position), this._cache_2DPointTag = this.tags.filter((i) => i.stickType === "2DPoint").filter((i) => i.position), this._cache_imagePlane = this.tags.filter(
|
|
118
|
-
(i) => i.contentType === "MediaPlane" && i.stickType === "Plane" && this.getRenderType(i) === "Mesh"
|
|
119
|
-
), this._cache_mediaModel = this.tags.filter((i) => i.stickType === "Model" && i.contentType === "MediaModel"), this._cache_css3DTag = this.tags.filter(
|
|
120
|
-
(i) => i.stickType === "3DPoint" || i.stickType === "Plane" || i.stickType === "Model" && i.contentType === "MediaModel"
|
|
121
|
-
).filter((i) => {
|
|
122
|
-
const o = this.getRenderType(i);
|
|
123
|
-
return o === "BehindDom" || o === "Dom";
|
|
124
|
-
}));
|
|
125
|
-
}
|
|
126
120
|
set workCode(e) {
|
|
127
121
|
this.workUtil.workCode = e;
|
|
128
122
|
}
|
|
@@ -138,21 +132,6 @@ class gi extends ne {
|
|
|
138
132
|
}
|
|
139
133
|
return this._css3DRenderPlugin;
|
|
140
134
|
}
|
|
141
|
-
get filterPointTag() {
|
|
142
|
-
return this._cache_pointTag;
|
|
143
|
-
}
|
|
144
|
-
get filter2DPointTag() {
|
|
145
|
-
return this._cache_2DPointTag;
|
|
146
|
-
}
|
|
147
|
-
get filterImagePlane() {
|
|
148
|
-
return this._cache_imagePlane;
|
|
149
|
-
}
|
|
150
|
-
get filterMediaModel() {
|
|
151
|
-
return this._cache_mediaModel;
|
|
152
|
-
}
|
|
153
|
-
get filterCSS3DTag() {
|
|
154
|
-
return this._cache_css3DTag;
|
|
155
|
-
}
|
|
156
135
|
getTagById(e) {
|
|
157
136
|
const i = this.tags.find((o) => o.id === e);
|
|
158
137
|
if (!i) {
|
|
@@ -169,9 +148,9 @@ class gi extends ne {
|
|
|
169
148
|
* @description 获取标签配置
|
|
170
149
|
*/
|
|
171
150
|
getTagConfig(e, i) {
|
|
172
|
-
var r,
|
|
173
|
-
const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (r = i == null ? void 0 : i.fiveMode) != null ? r : this.five.getCurrentState().mode, n = (
|
|
174
|
-
return (
|
|
151
|
+
var r, f, c;
|
|
152
|
+
const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (r = i == null ? void 0 : i.fiveMode) != null ? r : this.five.getCurrentState().mode, n = (f = o.configWithFiveMode) == null ? void 0 : f[t];
|
|
153
|
+
return (c = n != null ? n : o) != null ? c : {};
|
|
175
154
|
}
|
|
176
155
|
/**
|
|
177
156
|
* @description 获取标签当前状态
|
|
@@ -187,7 +166,7 @@ class gi extends ne {
|
|
|
187
166
|
const o = this.getTagConfig(e);
|
|
188
167
|
if (e.config = o, e.config.initialData) {
|
|
189
168
|
const n = JSON.parse(JSON.stringify(e.data));
|
|
190
|
-
e.data = (t = o.initialData) != null && t.important ?
|
|
169
|
+
e.data = (t = o.initialData) != null && t.important ? y(e.data, n, o.initialData) : y(e.data, o.initialData, n);
|
|
191
170
|
}
|
|
192
171
|
});
|
|
193
172
|
}
|
|
@@ -218,7 +197,7 @@ class gi extends ne {
|
|
|
218
197
|
return;
|
|
219
198
|
const t = e.data.mediaData;
|
|
220
199
|
if (!(!t || t.length === 0) && o.renderType === "Mesh") {
|
|
221
|
-
if (
|
|
200
|
+
if (le(e)) {
|
|
222
201
|
if (t.length === 1) {
|
|
223
202
|
if (t[0].type === "Video")
|
|
224
203
|
return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
|
|
@@ -245,43 +224,43 @@ class gi extends ne {
|
|
|
245
224
|
const n = this.workUtil.getObserverPosition(o);
|
|
246
225
|
if (n === void 0)
|
|
247
226
|
throw new Error(`getAngle(): observerPosition is ${n}`);
|
|
248
|
-
const r = (() => e.stickType === "3DPoint" ?
|
|
227
|
+
const r = (() => e.stickType === "3DPoint" ? C(e.normal) : w(e.position))();
|
|
249
228
|
if (!r)
|
|
250
229
|
return;
|
|
251
|
-
const
|
|
252
|
-
if (!
|
|
230
|
+
const f = V(e);
|
|
231
|
+
if (!f)
|
|
253
232
|
return;
|
|
254
|
-
const
|
|
255
|
-
return t.angle =
|
|
233
|
+
const c = new ie.Vector3().copy(n).sub(f), h = r.angleTo(c) * 180 / Math.PI;
|
|
234
|
+
return t.angle = h, t.angle;
|
|
256
235
|
}
|
|
257
236
|
}
|
|
258
237
|
/**
|
|
259
238
|
* @description 获取距离
|
|
260
239
|
*/
|
|
261
240
|
getDistance(e, i) {
|
|
262
|
-
const o =
|
|
241
|
+
const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = S(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
263
242
|
if ((r == null ? void 0 : r.distance) !== void 0)
|
|
264
243
|
return r.distance;
|
|
265
|
-
const
|
|
266
|
-
if (!
|
|
244
|
+
const f = V(e);
|
|
245
|
+
if (!f)
|
|
267
246
|
return -1;
|
|
268
|
-
if (
|
|
269
|
-
const
|
|
270
|
-
if (
|
|
247
|
+
if (S(n)) {
|
|
248
|
+
const c = this.workUtil.getObserverPosition(t);
|
|
249
|
+
if (c === void 0)
|
|
271
250
|
return -1;
|
|
272
|
-
const
|
|
273
|
-
return r && (r.distance =
|
|
251
|
+
const h = c.distanceTo(f);
|
|
252
|
+
return r && (r.distance = h), h;
|
|
274
253
|
}
|
|
275
254
|
if (z(n))
|
|
276
|
-
return this.five.camera.position.distanceTo(
|
|
255
|
+
return this.five.camera.position.distanceTo(f);
|
|
277
256
|
}
|
|
278
257
|
getPositions(e) {
|
|
279
|
-
if (
|
|
258
|
+
if (ce(e))
|
|
280
259
|
return e.position;
|
|
281
260
|
if (B(e))
|
|
282
261
|
return e.data.mediaPosition;
|
|
283
262
|
if (de(e))
|
|
284
|
-
return oe(this.five.camera.position,
|
|
263
|
+
return oe(this.five.camera.position, C(e.position), C(e.normal));
|
|
285
264
|
}
|
|
286
265
|
addObjectClickHandler(e, i, o) {
|
|
287
266
|
if (!i || !this.domEvents)
|
|
@@ -299,17 +278,39 @@ class gi extends ne {
|
|
|
299
278
|
}
|
|
300
279
|
getTagNormal(e) {
|
|
301
280
|
if (e.normal)
|
|
302
|
-
return
|
|
281
|
+
return C(e.normal);
|
|
303
282
|
if (e.stickType === "Plane")
|
|
304
|
-
return
|
|
283
|
+
return w(e.position);
|
|
305
284
|
if (e.stickType === "Model")
|
|
306
|
-
return
|
|
285
|
+
return w(this.getPositions(e));
|
|
286
|
+
}
|
|
287
|
+
get filterPointTag() {
|
|
288
|
+
return this.tags.filter((i) => i.stickType === "2DPoint" || i.stickType === "3DPoint").filter((i) => i.position);
|
|
289
|
+
}
|
|
290
|
+
get filter2DPointTag() {
|
|
291
|
+
return this.tags.filter((i) => i.stickType === "2DPoint").filter((i) => i.position);
|
|
292
|
+
}
|
|
293
|
+
get filterImagePlane() {
|
|
294
|
+
return this.tags.filter(
|
|
295
|
+
(i) => i.contentType === "MediaPlane" && i.stickType === "Plane" && this.getRenderType(i) === "Mesh"
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
get filterMediaModel() {
|
|
299
|
+
return this.tags.filter((i) => i.stickType === "Model" && i.contentType === "MediaModel");
|
|
300
|
+
}
|
|
301
|
+
get filterCSS3DTag() {
|
|
302
|
+
return this.tags.filter(
|
|
303
|
+
(i) => i.stickType === "3DPoint" || i.stickType === "Plane" || i.stickType === "Model" && i.contentType === "MediaModel"
|
|
304
|
+
).filter((i) => {
|
|
305
|
+
const o = this.getRenderType(i);
|
|
306
|
+
return o === "BehindDom" || o === "Dom";
|
|
307
|
+
});
|
|
307
308
|
}
|
|
308
309
|
getTransformedPostion(e) {
|
|
309
310
|
if (!e)
|
|
310
311
|
return;
|
|
311
312
|
const i = this.workUtil.transform;
|
|
312
|
-
return Array.isArray(e) && e.length === 4 ? e.map(
|
|
313
|
+
return Array.isArray(e) && e.length === 4 ? e.map(C).map((o) => J(o, i)) : J(C(e), i);
|
|
313
314
|
}
|
|
314
315
|
/**
|
|
315
316
|
* @description 检查是否已经销毁
|
|
@@ -322,51 +323,51 @@ class gi extends ne {
|
|
|
322
323
|
* @description 获取merge后的配置
|
|
323
324
|
*/
|
|
324
325
|
calculateTagConfig(e, i) {
|
|
325
|
-
var
|
|
326
|
-
const o = (
|
|
326
|
+
var A, O, I, W, j;
|
|
327
|
+
const o = (A = i == null ? void 0 : i.useCache) != null ? A : !0;
|
|
327
328
|
if (!e)
|
|
328
|
-
return (
|
|
329
|
+
return (O = this.config.globalConfig) != null ? O : {};
|
|
329
330
|
if (o) {
|
|
330
|
-
if ((
|
|
331
|
+
if ((I = e == null ? void 0 : e.computedConfig) != null && I._isMerged)
|
|
331
332
|
return e.computedConfig;
|
|
332
|
-
if ((
|
|
333
|
+
if ((W = e == null ? void 0 : e.config) != null && W._isMerged)
|
|
333
334
|
return e.config;
|
|
334
335
|
}
|
|
335
336
|
const t = {}, n = {}, r = {};
|
|
336
337
|
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, m]) => {
|
|
337
|
-
var
|
|
338
|
-
const
|
|
339
|
-
if (!v[
|
|
340
|
-
if (
|
|
341
|
-
const [
|
|
342
|
-
(e.contentType ===
|
|
338
|
+
var R, F;
|
|
339
|
+
const a = u, D = a.split("-"), x = u.startsWith("["), T = x ? D[0].slice(1, -1) : void 0, g = x ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (R = n[T]) != null ? R : n[T] = {} : (F = r[T]) != null ? F : r[T] = {} : t;
|
|
340
|
+
if (!v[a]) {
|
|
341
|
+
if (g.length === 0 && (v[a] = m), g.length === 1) {
|
|
342
|
+
const [p] = g;
|
|
343
|
+
(e.contentType === p || p === "Any") && (v[a] = m);
|
|
343
344
|
}
|
|
344
|
-
if (
|
|
345
|
-
const [
|
|
346
|
-
|
|
345
|
+
if (g.length === 2) {
|
|
346
|
+
const [p = "Any", M = "Any"] = g;
|
|
347
|
+
p === "Mixin" && e.contentType === M && (v[a] = m), (e.stickType === p || p === "Any") && (e.contentType === M || M === "Any") && (v[a] = m);
|
|
347
348
|
}
|
|
348
|
-
if (
|
|
349
|
-
const [
|
|
349
|
+
if (g.length === 3) {
|
|
350
|
+
const [p = "Any", M, X] = g;
|
|
350
351
|
if (M === "Audio" && e.contentType === "Audio") {
|
|
351
|
-
const
|
|
352
|
-
(
|
|
352
|
+
const L = e;
|
|
353
|
+
(L.stickType === p || p === "Any") && L.data.appearance === X && (v[a] = m);
|
|
353
354
|
}
|
|
354
355
|
}
|
|
355
356
|
}
|
|
356
357
|
});
|
|
357
|
-
const
|
|
358
|
+
const f = (j = e.initialConfig) != null ? j : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), h = y({}, c, f), P = {}, G = Object.values(ae.Mode);
|
|
358
359
|
$(n).forEach(([u, m]) => {
|
|
359
|
-
G.forEach((
|
|
360
|
-
(u === "PanoramaLike" &&
|
|
360
|
+
G.forEach((a) => {
|
|
361
|
+
(u === "PanoramaLike" && S(a) || u === "ModelLike" && z(a)) && (P[a] = y({}, c, ...Object.values(m), f, { _isMerged: !0 }));
|
|
361
362
|
});
|
|
362
363
|
}), $(r).forEach(([u, m]) => {
|
|
363
|
-
const
|
|
364
|
-
|
|
364
|
+
const a = P[u];
|
|
365
|
+
P[u] = y({}, c, a, ...Object.values(m), f, { _isMerged: !0 });
|
|
365
366
|
});
|
|
366
|
-
const
|
|
367
|
-
return N(
|
|
367
|
+
const k = U(b({}, h), { configWithFiveMode: P });
|
|
368
|
+
return N(k), Object.values(P).forEach((u) => N(u)), k._isMerged = !0, k;
|
|
368
369
|
}
|
|
369
370
|
}
|
|
370
371
|
export {
|
|
371
|
-
|
|
372
|
+
hi as TagUtil
|
|
372
373
|
};
|
|
@@ -138,7 +138,6 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
138
138
|
private addResizeListener;
|
|
139
139
|
private addResizeObserver;
|
|
140
140
|
private updateVisible;
|
|
141
|
-
private handleFiveModeChange;
|
|
142
141
|
private handleFiveWantsMoveToPano;
|
|
143
142
|
/**
|
|
144
143
|
* @description 走点/切换模型后显示
|