@realsee/dnalogel 3.31.1 → 3.32.0-dev.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/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.js +5849 -5666
- package/dist/index.umd.js +59 -59
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
- package/docs/classes/CSS3DRender.html +33 -43
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
- package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +113 -200
- package/docs/classes/ModelRoomLabelController.html +13 -23
- package/docs/classes/MoveController.html +33 -43
- package/docs/classes/Object3DHelperController.html +47 -39
- package/docs/classes/PaintBrush.html +17 -27
- package/docs/classes/PanoMeasurePluginLine.html +36 -56
- package/docs/classes/PanoMeasurePluginModel.html +32 -42
- package/docs/classes/PanoMeasurePluginPoint.html +13 -23
- package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
- package/docs/classes/PanoTagPluginController.html +110 -198
- package/docs/classes/Util.BetterTween.html +13 -27
- package/docs/classes/Util.Interval.html +15 -29
- package/docs/classes/Util.LineSegments.html +11 -25
- package/docs/classes/Util.Magnifier.html +60 -93
- package/docs/classes/Util.Object3D.html +12 -26
- package/docs/classes/Util.PointDomHelper.html +14 -28
- package/docs/classes/Util.PointHelper.html +14 -28
- package/docs/classes/Util.PointSelectorHelper.html +20 -34
- package/docs/classes/Util.Rectangle.html +16 -30
- package/docs/classes/WalkController.html +29 -39
- package/docs/enums/CameraMovementEffect.html +9 -19
- package/docs/enums/ContentType.html +23 -33
- package/docs/enums/DIRECTION.html +11 -21
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/DimensionType.html +9 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/PaintBrushTypeEnum.html +10 -20
- package/docs/enums/PointType.html +9 -19
- package/docs/enums/Rotation.html +10 -20
- package/docs/functions/AreaMakerPlugin.html +7 -17
- package/docs/functions/CSS3DRenderPlugin.html +7 -17
- package/docs/functions/CameraMovementPlugin.html +7 -17
- package/docs/functions/CruisePlugin.html +7 -17
- package/docs/functions/CurrentPanoImagePlugin.html +7 -17
- package/docs/functions/GuideLinePlugin.html +7 -17
- package/docs/functions/ItemLabelPlugin.html +7 -17
- package/docs/functions/MapviewFloorplanPlugin.html +7 -17
- package/docs/functions/ModelChassisCompassPlugin.html +7 -17
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
- package/docs/functions/ModelFloorplanPlugin.html +7 -17
- package/docs/functions/ModelItemLabelPlugin.html +7 -17
- package/docs/functions/ModelRoomLabelPlugin.html +7 -17
- package/docs/functions/ModelTVVideoPlugin.html +7 -17
- package/docs/functions/ModelViewPlugin.html +7 -17
- package/docs/functions/MovePlugin.html +8 -18
- package/docs/functions/Object3DHelperPlugin.html +7 -17
- package/docs/functions/PanoCompassPlugin.html +7 -17
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
- package/docs/functions/PanoDoorLabelPlugin.html +7 -17
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
- package/docs/functions/PanoMeasurePlugin.html +7 -17
- package/docs/functions/PanoRulerPlugin.html +7 -17
- package/docs/functions/PanoRulerProPlugin.html +7 -17
- package/docs/functions/PanoSpatialTagPlugin.html +7 -17
- package/docs/functions/PanoTagPlugin.html +7 -17
- package/docs/functions/PanoVideoPlugin.html +7 -17
- package/docs/functions/PipelinePlugin.html +7 -17
- package/docs/functions/TopviewFloorplanPlugin.html +7 -17
- package/docs/functions/Util.absoluteUrl.html +8 -22
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
- package/docs/functions/Util.equal.html +8 -22
- package/docs/functions/Util.getCoordsFromClient.html +8 -22
- package/docs/functions/Util.getCoordsFromElement.html +8 -22
- package/docs/functions/Util.getFrameTime.html +8 -22
- package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
- package/docs/functions/Util.isAbsoluteURL.html +8 -22
- package/docs/functions/Util.isModelLike.html +8 -22
- package/docs/functions/Util.isNil.html +8 -22
- package/docs/functions/Util.isPanoramaLike.html +8 -22
- package/docs/functions/Util.nextFrame.html +8 -22
- package/docs/functions/Util.notNil.html +8 -22
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
- package/docs/functions/Util.tweenProgress.html +8 -22
- package/docs/functions/Util.uuid.html +8 -22
- package/docs/functions/pluginFlag.html +7 -17
- package/docs/index.html +7 -18
- package/docs/interfaces/AddTagConfig.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
- package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
- package/docs/interfaces/EventMap.html +17 -27
- package/docs/interfaces/FloorplanBounding.html +10 -20
- package/docs/interfaces/FloorplanData.html +12 -22
- package/docs/interfaces/FloorplanEntrance.html +13 -23
- package/docs/interfaces/FloorplanExtraObject.html +12 -22
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
- package/docs/interfaces/FloorplanFloorData.html +11 -21
- package/docs/interfaces/FloorplanImagePosition.html +9 -19
- package/docs/interfaces/FloorplanObserver.html +11 -21
- package/docs/interfaces/FloorplanOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanPosition.html +9 -19
- package/docs/interfaces/FloorplanRoomItem.html +16 -26
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
- package/docs/interfaces/FloorplanServerBounding.html +10 -20
- package/docs/interfaces/FloorplanServerComputedData.html +12 -22
- package/docs/interfaces/FloorplanServerData.html +9 -19
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
- package/docs/interfaces/FloorplanServerEntrance.html +13 -23
- package/docs/interfaces/FloorplanServerFloorData.html +11 -21
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
- package/docs/interfaces/FloorplanServerObserver.html +11 -21
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanServerPosition.html +9 -19
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
- package/docs/interfaces/HelperOffset.html +10 -20
- package/docs/interfaces/ImagePlaneGroup.html +8 -18
- package/docs/interfaces/ItemLabelPluginData.html +8 -18
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
- package/docs/interfaces/MinMax.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
- package/docs/interfaces/ModelViewPluginExportType.html +13 -23
- package/docs/interfaces/Object3DHelperState.html +10 -20
- package/docs/interfaces/ObjectHelperControllers.html +12 -22
- package/docs/interfaces/PaintBrushAction.html +14 -24
- package/docs/interfaces/PaintBrushConfigs.html +14 -24
- package/docs/interfaces/PaintBrushState.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
- package/docs/interfaces/PanoMeasureParameterType.html +18 -28
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
- package/docs/interfaces/PanoRulerProPluginState.html +10 -20
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
- package/docs/interfaces/Point.html +10 -20
- package/docs/interfaces/Room.html +11 -21
- package/docs/interfaces/RoomInfo.html +9 -19
- package/docs/interfaces/RoomLabel.html +16 -26
- package/docs/interfaces/RoomRules.html +7 -17
- package/docs/interfaces/Rooms.html +7 -17
- package/docs/interfaces/Scissor.html +11 -21
- package/docs/interfaces/State.html +10 -20
- package/docs/interfaces/TagCacheInterface.html +14 -24
- package/docs/interfaces/TagConfig.html +49 -65
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
- package/docs/interfaces/TagIconUrl.html +14 -24
- package/docs/interfaces/TagObjectGroup.html +8 -18
- package/docs/interfaces/TagStyle.html +8 -18
- package/docs/interfaces/Tags.html +437 -61
- package/docs/interfaces/TemporaryState.html +8 -18
- package/docs/interfaces/Util.MagnifierParameter.html +24 -43
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
- package/docs/interfaces/Util.PointIntersection.html +12 -33
- package/docs/modules/AreaMakerPluginType.html +6 -16
- package/docs/modules/CruisePluginTypes.html +6 -18
- package/docs/modules/CurrentPanoImagePluginType.html +7 -17
- package/docs/modules/GuideLineItem.html +7 -17
- package/docs/modules/GuideLineModeItem.html +7 -17
- package/docs/modules/GuideLinePluginType.html +6 -16
- package/docs/modules/PanoVideoPluginType.html +7 -17
- package/docs/modules/Util.html +8 -26
- package/docs/modules.html +11 -34
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
- package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
- package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
- package/docs/types/ArrayPosition.html +7 -17
- package/docs/types/AudioAppearance.html +7 -17
- package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
- package/docs/types/CSS3DRenderExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
- package/docs/types/ClassFunctionParameters.html +7 -17
- package/docs/types/Color.html +7 -17
- package/docs/types/ContentTypeConfigKey.html +7 -17
- package/docs/types/ContentTypeConfigKeySplit.html +8 -18
- package/docs/types/ContentTypeMap.html +7 -17
- package/docs/types/Create3DDomContainerReturnType.html +7 -17
- package/docs/types/Create3DElementReturnType.html +7 -17
- package/docs/types/CruisePluginExportType.html +7 -17
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
- package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
- package/docs/types/DeprecatedTagProperty.html +7 -17
- package/docs/types/Direction-1.html +7 -17
- package/docs/types/Direction4.html +7 -17
- package/docs/types/ElementRenderer.html +7 -17
- package/docs/types/FloorplanRuleLabels.html +7 -17
- package/docs/types/FloorplanServerRuleLabels.html +7 -17
- package/docs/types/GuideLinePluginExportType.html +7 -17
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
- package/docs/types/GuideLinePluginType.PathItem.html +6 -16
- package/docs/types/GuideLinePluginType.PluginData.html +6 -16
- package/docs/types/HelperEventMap.html +7 -17
- package/docs/types/InternalHelperEventMap.html +11 -29
- package/docs/types/LoadTagConfig.html +7 -17
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/MediaData.html +10 -20
- package/docs/types/MediaStore.html +7 -17
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
- package/docs/types/ModelId.html +7 -17
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
- package/docs/types/MoveArgs.html +7 -17
- package/docs/types/MoveOpts.html +7 -17
- package/docs/types/Object3DHelperEventMap.html +7 -17
- package/docs/types/ObjectFit.html +7 -17
- package/docs/types/PaintBrushEventMap.html +7 -17
- package/docs/types/PanoCompassPluginData.html +7 -17
- package/docs/types/PanoCompassPluginExportType.html +7 -17
- package/docs/types/PanoCompassPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
- package/docs/types/PanoIndex.html +7 -17
- package/docs/types/PanoMeasurePluginEvent.html +7 -17
- package/docs/types/PanoMeasureReturnType.html +7 -17
- package/docs/types/PanoSpatialTagPluginId.html +7 -17
- package/docs/types/PanoTagPluginExportInterface.html +7 -17
- package/docs/types/PanoTagPluginParamsInterface.html +7 -17
- package/docs/types/PanoVideoPluginParameterType.html +7 -17
- package/docs/types/PanoVideoPluginReturnType.html +7 -17
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
- package/docs/types/PipelinePluginParameterType.html +7 -17
- package/docs/types/PipelinePluginReturnType.html +7 -17
- package/docs/types/PlaneTag.html +7 -17
- package/docs/types/Point2DTag.html +7 -17
- package/docs/types/Point3DTag.html +7 -17
- package/docs/types/PointTag.html +7 -17
- package/docs/types/PointTagInstance.html +7 -17
- package/docs/types/Position.html +7 -17
- package/docs/types/RotateArgs.html +7 -17
- package/docs/types/RotateOpts.html +7 -17
- package/docs/types/RuleLabelsKey.html +7 -17
- package/docs/types/RuleLabelsValue.html +7 -17
- package/docs/types/StickType.html +7 -17
- package/docs/types/Tag.html +13 -35
- package/docs/types/Tag2D.html +7 -17
- package/docs/types/Tag3D.html +7 -17
- package/docs/types/TagConfigByKey.html +8 -18
- package/docs/types/TagContentType.html +7 -17
- package/docs/types/TagContentTypeMapping.html +7 -17
- package/docs/types/TagDimensionType.html +7 -17
- package/docs/types/TagElement.html +7 -17
- package/docs/types/TagEvents.html +12 -38
- package/docs/types/TagGLTFObject.html +7 -17
- package/docs/types/TagHooks.html +7 -17
- package/docs/types/TagId.html +7 -17
- package/docs/types/TagInstance.html +8 -44
- package/docs/types/TagPointType.html +7 -17
- package/docs/types/TagRendererMap.html +7 -17
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/WorkCode.html +7 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
- package/docs/variables/PLUGIN.html +7 -17
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
- package/docs/variables/ROOM_TYPE_MAP.html +7 -17
- package/docs/variables/defaultGlobalConfig.html +7 -17
- package/docs/variables/itemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Move.js +50 -37
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +23 -10
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelMakerPlugin/Controller.js +33 -23
- package/libs/ModelMakerPlugin/index.js +13 -3
- package/libs/ModelMakerPlugin/utils/Text.js +43 -33
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +84 -65
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +3 -3
- package/libs/components/AreaLabel/LabelItem.js +56 -51
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +167 -162
- package/libs/floorplan/Components/Main.js +85 -76
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +143 -129
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +5 -6
- package/docs/classes/Sculpt.html +0 -852
- package/docs/functions/ModelMakerPlugin.html +0 -303
- package/docs/functions/SculptPlugin.html +0 -306
- package/docs/functions/Util.blink.html +0 -351
- package/docs/functions/Util.reblink.html +0 -349
- package/docs/interfaces/ContentTypeMapInterface.html +0 -773
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
- package/docs/modules/ModelMakerPluginType.html +0 -339
- package/docs/modules/SculptData.html +0 -318
- package/docs/types/AddObject3DHelperConfig.html +0 -315
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
- package/docs/types/ScaleCallback.html +0 -314
- package/docs/types/ScalePosition.html +0 -303
- package/docs/types/SculptData.BoxData.html +0 -306
- package/docs/types/SculptData.CircleData.html +0 -306
- package/docs/types/SculptData.CylinderData.html +0 -306
- package/docs/types/SculptData.PointData.html +0 -306
- package/docs/types/SculptData.PolygonData.html +0 -306
- package/docs/types/SculptData.PolylineData.html +0 -306
- package/docs/types/SculptData.PrismData.html +0 -306
- package/docs/types/SculptData.RectangleData.html +0 -306
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var A = Object.defineProperty;
|
|
2
2
|
var R = Object.getOwnPropertySymbols;
|
|
3
|
-
var k = Object.prototype.hasOwnProperty,
|
|
3
|
+
var k = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
|
|
4
4
|
var C = (d, m, t) => m in d ? A(d, m, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[m] = t, j = (d, m) => {
|
|
5
5
|
for (var t in m || (m = {}))
|
|
6
6
|
k.call(m, t) && C(d, t, m[t]);
|
|
7
7
|
if (R)
|
|
8
8
|
for (var t of R(m))
|
|
9
|
-
|
|
9
|
+
I.call(m, t) && C(d, t, m[t]);
|
|
10
10
|
return d;
|
|
11
11
|
};
|
|
12
12
|
var u = (d, m, t) => (C(d, typeof m != "symbol" ? m + "" : m, t), t);
|
|
@@ -26,9 +26,9 @@ var S = (d, m, t) => new Promise((e, o) => {
|
|
|
26
26
|
}, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(i, r);
|
|
27
27
|
a((t = t.apply(d, m)).next());
|
|
28
28
|
});
|
|
29
|
-
import { TagComputer as
|
|
30
|
-
import { Group as y, Quaternion as
|
|
31
|
-
import
|
|
29
|
+
import { TagComputer as V } from "./TagComputer.js";
|
|
30
|
+
import { Group as y, Quaternion as O, Vector3 as b, Matrix4 as v } from "three";
|
|
31
|
+
import E from "../Components/TagContainer.js";
|
|
32
32
|
import x from "../Components/Tag/index.js";
|
|
33
33
|
import { CSS3DRenderPlugin as G } from "../../CSS3DRenderPlugin/index.js";
|
|
34
34
|
import { loadGLTF as F } from "../../shared-utils/three/GLTFLoader.js";
|
|
@@ -67,8 +67,8 @@ import "../utils/normalPositionToPositions.js";
|
|
|
67
67
|
import "./TagCache.js";
|
|
68
68
|
import "../../base/BasePlugin.js";
|
|
69
69
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
70
|
-
import "../../vendor/svelte/store/index.js";
|
|
71
|
-
import "../../vendor/svelte/internal/
|
|
70
|
+
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
71
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
72
72
|
import "../../shared-utils/device.js";
|
|
73
73
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
74
74
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
@@ -88,13 +88,25 @@ import "../Assets/Icon.js";
|
|
|
88
88
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
89
89
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
90
90
|
import "../../shared-utils/three/getNormal.js";
|
|
91
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
92
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
93
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
94
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
95
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
96
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
97
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
98
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
99
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
100
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
101
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
91
102
|
import "../Components/TagItem.js";
|
|
92
103
|
import "../utils/noTypecheck.js";
|
|
93
104
|
import "../Components/Common/TagPoint.js";
|
|
94
105
|
import "../Components/Common/Shadow.js";
|
|
95
|
-
import "../../vendor/svelte/transition/index.js";
|
|
96
|
-
import "../../vendor/svelte/easing/index.js";
|
|
106
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
107
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
97
108
|
import "../Components/Common/Icon/Icon.js";
|
|
109
|
+
import "../../vendor/svelte/src/runtime/internal/await_block.js";
|
|
98
110
|
import "../utils/getImageInfo.js";
|
|
99
111
|
import "../utils/px2rem.js";
|
|
100
112
|
import "../../vendor/classnames/index.js";
|
|
@@ -115,6 +127,7 @@ import "../Components/Common/Text/MText.js";
|
|
|
115
127
|
import "../Components/Tag/ImageTextTag.js";
|
|
116
128
|
import "../Components/Common/Line/Polyline.js";
|
|
117
129
|
import "../Components/Common/Media.js";
|
|
130
|
+
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
118
131
|
import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
119
132
|
import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
120
133
|
import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -162,7 +175,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
|
|
|
162
175
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
163
176
|
import "@realsee/five/gltf-loader";
|
|
164
177
|
const q = /* @__PURE__ */ new Map(), $ = /* @__PURE__ */ new Map();
|
|
165
|
-
class
|
|
178
|
+
class ki extends V {
|
|
166
179
|
constructor(t) {
|
|
167
180
|
super(t);
|
|
168
181
|
u(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -184,7 +197,7 @@ class Ti extends I {
|
|
|
184
197
|
return;
|
|
185
198
|
t.loading = !0;
|
|
186
199
|
const o = F(e).then((s) => {
|
|
187
|
-
var
|
|
200
|
+
var l;
|
|
188
201
|
const n = Object.assign(s.scene, {
|
|
189
202
|
customID: t.id,
|
|
190
203
|
isTagModel: !0,
|
|
@@ -193,7 +206,7 @@ class Ti extends I {
|
|
|
193
206
|
this.hooks.emit("click", { target: "TagModel", tag: t, event: h });
|
|
194
207
|
})
|
|
195
208
|
});
|
|
196
|
-
return n.visible = this.getCurrentVisibleState(t), new v().fromArray(t.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(t), (
|
|
209
|
+
return n.visible = this.getCurrentVisibleState(t), new v().fromArray(t.matrix).decompose(n.position, n.quaternion, n.scale), n.updateWorldMatrix(!0, !0), n.visible = this.getVisible(t), (l = this.getTagConfig(t).modelConfig) != null && l.autoLookAtEnabled && n.lookAt(this.five.camera.position.clone().setY(n.position.y)), n;
|
|
197
210
|
});
|
|
198
211
|
t.model = { promise: o };
|
|
199
212
|
const i = yield o;
|
|
@@ -249,7 +262,7 @@ class Ti extends I {
|
|
|
249
262
|
var o, i;
|
|
250
263
|
return ((i = (o = e.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : i.type) === "Video";
|
|
251
264
|
}).forEach((e) => {
|
|
252
|
-
var
|
|
265
|
+
var p;
|
|
253
266
|
const o = e.data.mediaData[0];
|
|
254
267
|
if (!o)
|
|
255
268
|
return;
|
|
@@ -258,10 +271,10 @@ class Ti extends I {
|
|
|
258
271
|
return;
|
|
259
272
|
const r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
|
|
260
273
|
if ((a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), s || n) {
|
|
261
|
-
const
|
|
274
|
+
const l = e.position.map(g), h = new L(i, l, {
|
|
262
275
|
videoCoverSrc: o.videoCoverUrl,
|
|
263
276
|
playButton: e.data.playIcon,
|
|
264
|
-
paused: !((
|
|
277
|
+
paused: !((p = e.data.autoplayConfig) != null && p.autoplayVideo),
|
|
265
278
|
objectFit: e.data.objectFit,
|
|
266
279
|
videoTextureMap: q,
|
|
267
280
|
ImageTextureMap: $,
|
|
@@ -290,8 +303,8 @@ class Ti extends I {
|
|
|
290
303
|
(a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (s || n) && (e.mediaPlane = new w(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(
|
|
291
304
|
e.mediaPlane,
|
|
292
305
|
"click",
|
|
293
|
-
(
|
|
294
|
-
this.hooks.emit("click", { tag: e, target: "TagContent", event:
|
|
306
|
+
(p) => {
|
|
307
|
+
this.hooks.emit("click", { tag: e, target: "TagContent", event: p.origDomEvent });
|
|
295
308
|
},
|
|
296
309
|
{ noEmitWhenHide: !0 }
|
|
297
310
|
), this.imagePlaneGroup.add(e.mediaPlane));
|
|
@@ -304,10 +317,10 @@ class Ti extends I {
|
|
|
304
317
|
this.filterCSS3DTag.forEach((e) => {
|
|
305
318
|
var o, i, r;
|
|
306
319
|
if (e.tag3DContentSvelte) {
|
|
307
|
-
const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal:
|
|
308
|
-
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(
|
|
309
|
-
const
|
|
310
|
-
s.css3DObject.setRotationFromQuaternion(
|
|
320
|
+
const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: p } = e.tag3DContentSvelte;
|
|
321
|
+
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(p)) {
|
|
322
|
+
const l = new O().setFromUnitVectors(n, p);
|
|
323
|
+
s.css3DObject.setRotationFromQuaternion(l);
|
|
311
324
|
}
|
|
312
325
|
return;
|
|
313
326
|
} else {
|
|
@@ -321,26 +334,26 @@ class Ti extends I {
|
|
|
321
334
|
const s = this.getTagNormal(e);
|
|
322
335
|
if (!s)
|
|
323
336
|
return;
|
|
324
|
-
const n = this.getTagConfig(e),
|
|
325
|
-
if (this.getRenderType(e) === "BehindDom" ||
|
|
326
|
-
|
|
337
|
+
const n = this.getTagConfig(e), p = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
|
|
338
|
+
if (this.getRenderType(e) === "BehindDom" || p.mode === "behind") {
|
|
339
|
+
p.mode = "behind", p.container = document.createElement("div");
|
|
327
340
|
const f = "black";
|
|
328
|
-
|
|
341
|
+
p.container.style.backgroundColor = f, p.container.style.border = `3px solid ${f}`, this.css3DRenderPlugin.hooks.on("render", () => {
|
|
329
342
|
var c;
|
|
330
|
-
if (
|
|
331
|
-
const P = this.addObjectClickHandler(e,
|
|
343
|
+
if (l.css3DObject.opacityMesh && n.clickable !== !1) {
|
|
344
|
+
const P = this.addObjectClickHandler(e, l.css3DObject.opacityMesh, (T) => {
|
|
332
345
|
this.hooks.emit("click", { event: T, target: "TagContent", tag: e });
|
|
333
346
|
});
|
|
334
347
|
(c = this.store.css3DRenderDisposer.get(e.id)) == null || c.push(P);
|
|
335
348
|
}
|
|
336
349
|
});
|
|
337
350
|
}
|
|
338
|
-
const
|
|
339
|
-
if (!
|
|
351
|
+
const l = this.css3DRenderPlugin.create3DDomContainer(a, p);
|
|
352
|
+
if (!l)
|
|
340
353
|
return;
|
|
341
|
-
this.store.css3DRenderDisposer.set(e.id, [
|
|
354
|
+
this.store.css3DRenderDisposer.set(e.id, [l.dispose]);
|
|
342
355
|
const h = new x({
|
|
343
|
-
target:
|
|
356
|
+
target: l.container,
|
|
344
357
|
props: {
|
|
345
358
|
tag: e,
|
|
346
359
|
hooks: this.hooks,
|
|
@@ -352,12 +365,12 @@ class Ti extends I {
|
|
|
352
365
|
});
|
|
353
366
|
e.tag3DContentSvelte = {
|
|
354
367
|
svelteApp: h,
|
|
355
|
-
domContainer:
|
|
356
|
-
css3DInstance:
|
|
368
|
+
domContainer: l,
|
|
369
|
+
css3DInstance: l,
|
|
357
370
|
initialNormal: s,
|
|
358
371
|
currentNormal: s,
|
|
359
372
|
dispose: () => {
|
|
360
|
-
h.$destroy(),
|
|
373
|
+
h.$destroy(), l.dispose();
|
|
361
374
|
}
|
|
362
375
|
}, D(e) && ((r = e.model) != null && r.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
|
|
363
376
|
}
|
|
@@ -399,7 +412,7 @@ class Ti extends I {
|
|
|
399
412
|
if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
|
|
400
413
|
return;
|
|
401
414
|
e.updateWorldMatrix(!1, !1);
|
|
402
|
-
const a = e.matrixWorld, s = new b().fromArray(r[0]), n = new b().fromArray(r[2]),
|
|
415
|
+
const a = e.matrixWorld, s = new b().fromArray(r[0]), n = new b().fromArray(r[2]), p = W(s, n).add(new b(0, 0, 5e-4)), l = new v().setPosition(p), h = new v().makeScale(o, o, o), f = new v().multiply(a).multiply(l).multiply(h);
|
|
403
416
|
f.decompose(i.position, i.quaternion, i.scale);
|
|
404
417
|
const c = i.opacityMesh;
|
|
405
418
|
c && f.decompose(c.position, c.quaternion, c.scale);
|
|
@@ -476,16 +489,16 @@ class Ti extends I {
|
|
|
476
489
|
}
|
|
477
490
|
}
|
|
478
491
|
updateDomView(t = {}) {
|
|
479
|
-
var o
|
|
480
|
-
const e = this.filterPointTag.filter((
|
|
492
|
+
var o;
|
|
493
|
+
const e = this.filterPointTag.filter((i) => i.state.visible);
|
|
481
494
|
if (this.TagContainerSvelte)
|
|
482
495
|
this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
|
|
483
496
|
else {
|
|
484
|
-
const
|
|
485
|
-
if (!
|
|
497
|
+
const i = this.container;
|
|
498
|
+
if (!i)
|
|
486
499
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
487
|
-
this.TagContainerSvelte = new
|
|
488
|
-
target:
|
|
500
|
+
this.TagContainerSvelte = new E({
|
|
501
|
+
target: i,
|
|
489
502
|
props: {
|
|
490
503
|
hooks: this.hooks,
|
|
491
504
|
tags: e,
|
|
@@ -494,12 +507,12 @@ class Ti extends I {
|
|
|
494
507
|
mediaStore: this.mediaStore,
|
|
495
508
|
rendererMap: this.rendererMap,
|
|
496
509
|
contentTypeMap: this.contentTypeMap,
|
|
497
|
-
withAnimation: (
|
|
510
|
+
withAnimation: (o = t == null ? void 0 : t.withAnimation) != null ? o : this.store.visibleWithAnimation
|
|
498
511
|
}
|
|
499
512
|
});
|
|
500
513
|
}
|
|
501
514
|
}
|
|
502
515
|
}
|
|
503
516
|
export {
|
|
504
|
-
|
|
517
|
+
ki as TagRender
|
|
505
518
|
};
|
|
@@ -10,11 +10,13 @@ import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
|
|
|
10
10
|
import { WorkUtil } from '../../shared-utils/Utils/WorkUtil';
|
|
11
11
|
export declare abstract class TagUtil extends TagCache {
|
|
12
12
|
tags: TagInstance[];
|
|
13
|
+
get container(): Element;
|
|
14
|
+
set container(container: Element);
|
|
13
15
|
config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
|
|
14
16
|
tagsLengthWillUpdate: boolean;
|
|
17
|
+
workUtil: WorkUtil;
|
|
15
18
|
set workCode(workCode: string);
|
|
16
19
|
get workCode(): string;
|
|
17
|
-
workUtil: WorkUtil;
|
|
18
20
|
protected mediaStore: MediaStore;
|
|
19
21
|
/** css3DRenderPlugin */
|
|
20
22
|
protected css3DRenderPlugin?: CSS3DRenderPluginExportType;
|
|
@@ -29,6 +31,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
29
31
|
disposed: boolean;
|
|
30
32
|
};
|
|
31
33
|
protected domEvents: FiveDomEvents;
|
|
34
|
+
private _container;
|
|
32
35
|
protected constructor(five: Five);
|
|
33
36
|
getTagById<C extends TagContentType = TagContentType, S extends StickType = StickType>(id: TagId): TagInstance<C, S> | undefined;
|
|
34
37
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
@@ -2,28 +2,28 @@ var q = Object.defineProperty, K = Object.defineProperties;
|
|
|
2
2
|
var Q = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var V = Object.getOwnPropertySymbols;
|
|
4
4
|
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var w = (
|
|
5
|
+
var w = (c, s, e) => s in c ? q(c, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[s] = e, b = (c, s) => {
|
|
6
6
|
for (var e in s || (s = {}))
|
|
7
|
-
Y.call(s, e) && w(
|
|
7
|
+
Y.call(s, e) && w(c, e, s[e]);
|
|
8
8
|
if (V)
|
|
9
9
|
for (var e of V(s))
|
|
10
|
-
Z.call(s, e) && w(
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
10
|
+
Z.call(s, e) && w(c, e, s[e]);
|
|
11
|
+
return c;
|
|
12
|
+
}, _ = (c, s) => K(c, Q(s));
|
|
13
|
+
var d = (c, s, e) => (w(c, typeof s != "symbol" ? s + "" : s, e), e);
|
|
14
14
|
import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
|
|
15
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
18
|
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
19
19
|
import { planeNormal as E } from "../utils/planeNormal.js";
|
|
20
|
-
import { getTagCenterPosition as
|
|
20
|
+
import { getTagCenterPosition as R } from "../utils/tagPosition.js";
|
|
21
21
|
import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
|
|
22
|
-
import { TagCache as
|
|
23
|
-
import { writable as
|
|
22
|
+
import { TagCache as ne } from "./TagCache.js";
|
|
23
|
+
import { writable as re } from "../../vendor/svelte/src/runtime/store/index.js";
|
|
24
24
|
import { isIOSWX as se } from "../../shared-utils/device.js";
|
|
25
25
|
import { Five as fe } from "@realsee/five";
|
|
26
|
-
import { isMediaPlaneTag as ae, isMediaModelTag as B, isPlaneTag as
|
|
26
|
+
import { isMediaPlaneTag as ae, isMediaModelTag as B, isPlaneTag as ce, isPoint3DTag as le } from "../utils/tag/tagCheck.js";
|
|
27
27
|
import { VideoPlane as de } from "../utils/model/mediaPlane.js";
|
|
28
28
|
import { FiveDomEvents as ue } from "../../shared-utils/five/FiveDomEvents.js";
|
|
29
29
|
import N from "../utils/tag/adaptConfig.js";
|
|
@@ -52,7 +52,7 @@ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
52
52
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
53
53
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
54
54
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
55
|
-
import "../../vendor/svelte/internal/
|
|
55
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
56
56
|
import "../../shared-utils/three/loadTexture.js";
|
|
57
57
|
import "../../shared-utils/three/Quadrangle.js";
|
|
58
58
|
import "../../shared-utils/math/pointIsRectangle.js";
|
|
@@ -63,35 +63,36 @@ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
|
63
63
|
import "../../shared-utils/three/getNormal.js";
|
|
64
64
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
65
65
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
66
|
-
class ui extends
|
|
67
|
-
// private _cache_pointTag?: PointTagInstance[]
|
|
68
|
-
// private _cache_2DPointTag?: TagInstance<TagContentType, '2DPoint'>[]
|
|
69
|
-
// private _cache_imagePlane?: TagInstance<'MediaPlane', 'Plane'>[]
|
|
70
|
-
// private _cache_mediaModel?: TagInstance<'MediaModel', 'Model'>[]
|
|
71
|
-
// private _cache_css3DTag?: (
|
|
72
|
-
// | TagInstance<TagContentType, 'Plane'>
|
|
73
|
-
// | TagInstance<TagContentType, 'Model'>
|
|
74
|
-
// | TagInstance<TagContentType, '3DPoint'>
|
|
75
|
-
// )[]
|
|
66
|
+
class ui extends ne {
|
|
76
67
|
constructor(e) {
|
|
77
68
|
super(e);
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
69
|
+
d(this, "tags", []);
|
|
70
|
+
d(this, "config", te);
|
|
71
|
+
d(this, "tagsLengthWillUpdate", !0);
|
|
72
|
+
d(this, "workUtil", new me(this.five));
|
|
73
|
+
d(this, "mediaStore", re({
|
|
83
74
|
currentMediaElement: null
|
|
84
75
|
}));
|
|
85
76
|
/** css3DRenderPlugin */
|
|
86
|
-
|
|
87
|
-
|
|
77
|
+
d(this, "css3DRenderPlugin");
|
|
78
|
+
d(this, "store", {
|
|
88
79
|
disposers: [],
|
|
89
80
|
disposed: !1,
|
|
90
81
|
resizeObserverDisposerAdding: !1,
|
|
91
82
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
92
83
|
});
|
|
93
|
-
|
|
94
|
-
|
|
84
|
+
d(this, "domEvents", new ue(this.five));
|
|
85
|
+
// private _cache_pointTag?: PointTagInstance[]
|
|
86
|
+
// private _cache_2DPointTag?: TagInstance<TagContentType, '2DPoint'>[]
|
|
87
|
+
// private _cache_imagePlane?: TagInstance<'MediaPlane', 'Plane'>[]
|
|
88
|
+
// private _cache_mediaModel?: TagInstance<'MediaModel', 'Model'>[]
|
|
89
|
+
// private _cache_css3DTag?: (
|
|
90
|
+
// | TagInstance<TagContentType, 'Plane'>
|
|
91
|
+
// | TagInstance<TagContentType, 'Model'>
|
|
92
|
+
// | TagInstance<TagContentType, '3DPoint'>
|
|
93
|
+
// )[]
|
|
94
|
+
d(this, "_container", null);
|
|
95
|
+
d(this, "loadVideoFirstFrame", () => {
|
|
95
96
|
se && this.hooks.emit("loadVideoFirstFrame");
|
|
96
97
|
});
|
|
97
98
|
this.mediaStore.subscribe(({ currentMediaElement: i }) => {
|
|
@@ -105,6 +106,13 @@ class ui extends re {
|
|
|
105
106
|
});
|
|
106
107
|
});
|
|
107
108
|
}
|
|
109
|
+
get container() {
|
|
110
|
+
var e;
|
|
111
|
+
return this._container || ((e = this.five.getElement()) == null ? void 0 : e.parentElement);
|
|
112
|
+
}
|
|
113
|
+
set container(e) {
|
|
114
|
+
this._container = e;
|
|
115
|
+
}
|
|
108
116
|
set workCode(e) {
|
|
109
117
|
this.workUtil.workCode = e;
|
|
110
118
|
}
|
|
@@ -127,9 +135,9 @@ class ui extends re {
|
|
|
127
135
|
* @description 获取标签配置
|
|
128
136
|
*/
|
|
129
137
|
getTagConfig(e, i) {
|
|
130
|
-
var
|
|
131
|
-
const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (
|
|
132
|
-
return (
|
|
138
|
+
var r, f, l;
|
|
139
|
+
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];
|
|
140
|
+
return (l = n != null ? n : o) != null ? l : {};
|
|
133
141
|
}
|
|
134
142
|
/**
|
|
135
143
|
* @description 获取标签当前状态
|
|
@@ -144,8 +152,8 @@ class ui extends re {
|
|
|
144
152
|
e.computedConfig = i;
|
|
145
153
|
const o = this.getTagConfig(e);
|
|
146
154
|
if (e.config = o, e.config.initialData) {
|
|
147
|
-
const
|
|
148
|
-
e.data = (t = o.initialData) != null && t.important ? y(e.data,
|
|
155
|
+
const n = JSON.parse(JSON.stringify(e.data));
|
|
156
|
+
e.data = (t = o.initialData) != null && t.important ? y(e.data, n, o.initialData) : y(e.data, o.initialData, n);
|
|
149
157
|
}
|
|
150
158
|
});
|
|
151
159
|
}
|
|
@@ -200,16 +208,16 @@ class ui extends re {
|
|
|
200
208
|
if (t.angle !== void 0)
|
|
201
209
|
return t.angle;
|
|
202
210
|
{
|
|
203
|
-
const
|
|
204
|
-
if (
|
|
205
|
-
throw new Error(`getAngle(): observerPosition is ${
|
|
206
|
-
const
|
|
207
|
-
if (!
|
|
211
|
+
const n = this.workUtil.getObserverPosition(o);
|
|
212
|
+
if (n === void 0)
|
|
213
|
+
throw new Error(`getAngle(): observerPosition is ${n}`);
|
|
214
|
+
const r = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
|
|
215
|
+
if (!r)
|
|
208
216
|
return;
|
|
209
|
-
const f =
|
|
217
|
+
const f = R(e);
|
|
210
218
|
if (!f)
|
|
211
219
|
return;
|
|
212
|
-
const
|
|
220
|
+
const l = new ie.Vector3().copy(n).sub(f), h = r.angleTo(l) * 180 / Math.PI;
|
|
213
221
|
return t.angle = h, t.angle;
|
|
214
222
|
}
|
|
215
223
|
}
|
|
@@ -217,42 +225,42 @@ class ui extends re {
|
|
|
217
225
|
* @description 获取距离
|
|
218
226
|
*/
|
|
219
227
|
getDistance(e, i) {
|
|
220
|
-
const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode:
|
|
221
|
-
if ((
|
|
222
|
-
return
|
|
223
|
-
const f =
|
|
228
|
+
const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = A(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
229
|
+
if ((r == null ? void 0 : r.distance) !== void 0)
|
|
230
|
+
return r.distance;
|
|
231
|
+
const f = R(e);
|
|
224
232
|
if (!f)
|
|
225
233
|
return -1;
|
|
226
|
-
if (A(
|
|
227
|
-
const
|
|
228
|
-
if (
|
|
234
|
+
if (A(n)) {
|
|
235
|
+
const l = this.workUtil.getObserverPosition(t);
|
|
236
|
+
if (l === void 0)
|
|
229
237
|
return -1;
|
|
230
|
-
const h =
|
|
231
|
-
return
|
|
238
|
+
const h = l.distanceTo(f);
|
|
239
|
+
return r && (r.distance = h), h;
|
|
232
240
|
}
|
|
233
|
-
if ($(
|
|
241
|
+
if ($(n))
|
|
234
242
|
return this.five.camera.position.distanceTo(f);
|
|
235
243
|
}
|
|
236
244
|
getPositions(e) {
|
|
237
|
-
if (
|
|
245
|
+
if (ce(e))
|
|
238
246
|
return e.position;
|
|
239
247
|
if (B(e))
|
|
240
248
|
return e.data.mediaPosition;
|
|
241
|
-
if (
|
|
249
|
+
if (le(e))
|
|
242
250
|
return oe(this.five.camera.position, C(e.position), C(e.normal));
|
|
243
251
|
}
|
|
244
252
|
addObjectClickHandler(e, i, o) {
|
|
245
253
|
if (!i || !this.domEvents)
|
|
246
254
|
return () => {
|
|
247
255
|
};
|
|
248
|
-
const t = () => !(!this.getCurrentVisibleState(e) || e.loading),
|
|
256
|
+
const t = () => !(!this.getCurrentVisibleState(e) || e.loading), n = (r) => {
|
|
249
257
|
if (!t())
|
|
250
258
|
return !1;
|
|
251
|
-
o(
|
|
259
|
+
o(r.origDomEvent);
|
|
252
260
|
};
|
|
253
|
-
return this.domEvents.addEventListener(i, "click",
|
|
254
|
-
var
|
|
255
|
-
(
|
|
261
|
+
return this.domEvents.addEventListener(i, "click", n), () => {
|
|
262
|
+
var r;
|
|
263
|
+
(r = this.domEvents) == null || r.removeEventListener(i, "click", n);
|
|
256
264
|
};
|
|
257
265
|
}
|
|
258
266
|
getTagNormal(e) {
|
|
@@ -312,10 +320,10 @@ class ui extends re {
|
|
|
312
320
|
if ((I = e == null ? void 0 : e.config) != null && I._isMerged)
|
|
313
321
|
return e.config;
|
|
314
322
|
}
|
|
315
|
-
const t = {},
|
|
316
|
-
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([
|
|
323
|
+
const t = {}, n = {}, r = {};
|
|
324
|
+
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, m]) => {
|
|
317
325
|
var F, L;
|
|
318
|
-
const a =
|
|
326
|
+
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) ? (F = n[T]) != null ? F : n[T] = {} : (L = r[T]) != null ? L : r[T] = {} : t;
|
|
319
327
|
if (!v[a]) {
|
|
320
328
|
if (g.length === 0 && (v[a] = m), g.length === 1) {
|
|
321
329
|
const [p] = g;
|
|
@@ -334,17 +342,17 @@ class ui extends re {
|
|
|
334
342
|
}
|
|
335
343
|
}
|
|
336
344
|
});
|
|
337
|
-
const f = (W = e.initialConfig) != null ? W : {},
|
|
338
|
-
z(
|
|
345
|
+
const f = (W = e.initialConfig) != null ? W : {}, l = y({}, ee, this.config.globalConfig, ...Object.values(t)), h = y({}, l, f), P = {}, G = Object.values(fe.Mode);
|
|
346
|
+
z(n).forEach(([u, m]) => {
|
|
339
347
|
G.forEach((a) => {
|
|
340
|
-
(
|
|
348
|
+
(u === "PanoramaLike" && A(a) || u === "ModelLike" && $(a)) && (P[a] = y({}, l, ...Object.values(m), f, { _isMerged: !0 }));
|
|
341
349
|
});
|
|
342
|
-
}), z(
|
|
343
|
-
const a = P[
|
|
344
|
-
P[
|
|
350
|
+
}), z(r).forEach(([u, m]) => {
|
|
351
|
+
const a = P[u];
|
|
352
|
+
P[u] = y({}, l, a, ...Object.values(m), f, { _isMerged: !0 });
|
|
345
353
|
});
|
|
346
|
-
const k =
|
|
347
|
-
return N(k), Object.values(P).forEach((
|
|
354
|
+
const k = _(b({}, h), { configWithFiveMode: P });
|
|
355
|
+
return N(k), Object.values(P).forEach((u) => N(u)), k._isMerged = !0, k;
|
|
348
356
|
}
|
|
349
357
|
}
|
|
350
358
|
export {
|