@realsee/dnalogel 3.0.0-dev.0 → 3.0.0-dev.2
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/index.cjs.js +44 -44
- package/dist/index.js +2013 -2002
- package/dist/index.umd.js +36 -36
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/three/getNormal.d.ts +2 -0
- package/dist/shared-utils/url/getUrl.d.ts +4 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +44 -44
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +7 -7
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +13 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelId.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/AreaMakerPlugin/Controller.js +1 -1
- package/libs/AreaMakerPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Controller.js +37 -35
- package/libs/CruisePlugin/index.js +8 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +1 -1
- package/libs/CurrentPanoImagePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +24 -22
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -3
- package/libs/GuideLinePlugin/index.js +10 -8
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +5 -3
- package/libs/PanoTagPlugin/controller/TagRender.js +5 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +64 -58
- package/libs/PanoTagPlugin/controller/index.js +14 -12
- package/libs/PanoTagPlugin/index.js +14 -12
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +97 -99
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PipelinePlugin/Controller.js +1 -1
- package/libs/PipelinePlugin/index.js +1 -1
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +119 -117
- package/libs/shared-utils/index.d.ts +1 -1
- package/libs/shared-utils/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/getNormal.d.ts +2 -0
- package/libs/shared-utils/three/getNormal.js +10 -0
- package/libs/shared-utils/url/getUrl.d.ts +4 -0
- package/libs/shared-utils/url/getUrl.js +7 -0
- package/package.json +1 -1
- /package/dist/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.js → url/absoluteUrl.js} +0 -0
|
@@ -59,7 +59,7 @@ import "../Modules/rangePiece/html.js";
|
|
|
59
59
|
import "../../CSS3DRenderPlugin/index.js";
|
|
60
60
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
61
61
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
62
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
62
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
63
63
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
64
64
|
import "../../shared-utils/animationFrame/index.js";
|
|
65
65
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -55,7 +55,7 @@ import "../Modules/rangePiece/html.js";
|
|
|
55
55
|
import "../../CSS3DRenderPlugin/index.js";
|
|
56
56
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
57
57
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
58
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
58
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
59
59
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
60
60
|
import "../../shared-utils/animationFrame/index.js";
|
|
61
61
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -61,7 +61,7 @@ import "../Modules/rangePiece/html.js";
|
|
|
61
61
|
import "../../CSS3DRenderPlugin/index.js";
|
|
62
62
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
63
63
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
64
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
64
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
65
65
|
import "../../shared-utils/positionToVector3.js";
|
|
66
66
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
67
67
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -65,7 +65,7 @@ import "../rangePiece/html.js";
|
|
|
65
65
|
import "../../../CSS3DRenderPlugin/index.js";
|
|
66
66
|
import "../../../CSS3DRenderPlugin/Controller.js";
|
|
67
67
|
import "../../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
68
|
-
import "../../../shared-utils/absoluteUrl.js";
|
|
68
|
+
import "../../../shared-utils/url/absoluteUrl.js";
|
|
69
69
|
import "../../../shared-utils/animationFrame/BetterTween.js";
|
|
70
70
|
import "../../../shared-utils/animationFrame/index.js";
|
|
71
71
|
import "../../../shared-utils/isTouchDevice.js";
|
|
@@ -54,7 +54,7 @@ import "./Modules/rangePiece/html.js";
|
|
|
54
54
|
import "../CSS3DRenderPlugin/index.js";
|
|
55
55
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
56
56
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
57
|
-
import "../shared-utils/absoluteUrl.js";
|
|
57
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
58
58
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
59
59
|
import "../shared-utils/animationFrame/index.js";
|
|
60
60
|
import "../shared-utils/isTouchDevice.js";
|
|
@@ -25,7 +25,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
25
25
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
26
26
|
import "hammerjs";
|
|
27
27
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
28
|
-
import "../shared-utils/absoluteUrl.js";
|
|
28
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
29
29
|
import "../vendor/svelte/internal/index.js";
|
|
30
30
|
import "./store.js";
|
|
31
31
|
import "../vendor/svelte/store/index.js";
|
|
@@ -22,7 +22,7 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
23
|
import "hammerjs";
|
|
24
24
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
|
-
import "../shared-utils/absoluteUrl.js";
|
|
25
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
26
26
|
import "./Components/origins.js";
|
|
27
27
|
import "../vendor/svelte/internal/index.js";
|
|
28
28
|
import "./store.js";
|
|
@@ -22,7 +22,7 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
22
22
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
23
23
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
24
24
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
25
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
25
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
26
26
|
class F extends l {
|
|
27
27
|
constructor(t) {
|
|
28
28
|
super(t);
|
|
@@ -45,7 +45,7 @@ import "../utils/planeNormal.js";
|
|
|
45
45
|
import "../utils/normalPositionToPositions.js";
|
|
46
46
|
import "./TagCache.js";
|
|
47
47
|
import "../../base/BasePlugin.js";
|
|
48
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
48
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
49
49
|
import "../../vendor/svelte/store/index.js";
|
|
50
50
|
import "../../vendor/svelte/internal/index.js";
|
|
51
51
|
import "../../shared-utils/device.js";
|
|
@@ -57,11 +57,13 @@ import "../../shared-utils/three/loadVideoTexture.js";
|
|
|
57
57
|
import "../Assets/Icon.js";
|
|
58
58
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
59
59
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
60
|
+
import "../../shared-utils/three/getNormal.js";
|
|
60
61
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
61
62
|
import "../utils/tag/adaptConfig.js";
|
|
62
63
|
import "../../shared-utils/typescript/entries.js";
|
|
64
|
+
import "../../shared-utils/url/getUrl.js";
|
|
63
65
|
const T = new F.Raycaster();
|
|
64
|
-
class
|
|
66
|
+
class Ge extends q {
|
|
65
67
|
constructor(e) {
|
|
66
68
|
super(e);
|
|
67
69
|
}
|
|
@@ -326,5 +328,5 @@ class We extends q {
|
|
|
326
328
|
}
|
|
327
329
|
}
|
|
328
330
|
export {
|
|
329
|
-
|
|
331
|
+
Ge as TagComputer
|
|
330
332
|
};
|
|
@@ -65,13 +65,14 @@ import "../utils/planeNormal.js";
|
|
|
65
65
|
import "../utils/normalPositionToPositions.js";
|
|
66
66
|
import "./TagCache.js";
|
|
67
67
|
import "../../base/BasePlugin.js";
|
|
68
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
68
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
69
69
|
import "../../vendor/svelte/store/index.js";
|
|
70
70
|
import "../../vendor/svelte/internal/index.js";
|
|
71
71
|
import "../../shared-utils/device.js";
|
|
72
72
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
73
73
|
import "../utils/tag/adaptConfig.js";
|
|
74
74
|
import "../../shared-utils/typescript/entries.js";
|
|
75
|
+
import "../../shared-utils/url/getUrl.js";
|
|
75
76
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
76
77
|
import "../../shared-utils/safeObj.js";
|
|
77
78
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -81,6 +82,7 @@ import "../../shared-utils/three/loadVideoTexture.js";
|
|
|
81
82
|
import "../Assets/Icon.js";
|
|
82
83
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
83
84
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
85
|
+
import "../../shared-utils/three/getNormal.js";
|
|
84
86
|
import "../Components/TagItem.js";
|
|
85
87
|
import "../utils/noTypecheck.js";
|
|
86
88
|
import "../Components/Common/TagPoint.js";
|
|
@@ -155,7 +157,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
|
|
|
155
157
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
156
158
|
import "@realsee/five/gltf-loader";
|
|
157
159
|
const B = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map();
|
|
158
|
-
class
|
|
160
|
+
class hi extends O {
|
|
159
161
|
constructor(t) {
|
|
160
162
|
super(t);
|
|
161
163
|
b(this, "group", new R());
|
|
@@ -462,5 +464,5 @@ class pi extends O {
|
|
|
462
464
|
}
|
|
463
465
|
}
|
|
464
466
|
export {
|
|
465
|
-
|
|
467
|
+
hi as TagRender
|
|
466
468
|
};
|
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var H = Object.defineProperty, J = Object.defineProperties;
|
|
2
|
+
var U = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var F = Object.getOwnPropertySymbols;
|
|
4
|
-
var _ = Object.prototype.hasOwnProperty,
|
|
5
|
-
var k = (a, r, e) => r in a ?
|
|
4
|
+
var _ = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var k = (a, r, e) => r in a ? H(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e, C = (a, r) => {
|
|
6
6
|
for (var e in r || (r = {}))
|
|
7
7
|
_.call(r, e) && k(a, e, r[e]);
|
|
8
8
|
if (F)
|
|
9
9
|
for (var e of F(r))
|
|
10
|
-
|
|
10
|
+
X.call(r, e) && k(a, e, r[e]);
|
|
11
11
|
return a;
|
|
12
|
-
}, L = (a, r) =>
|
|
12
|
+
}, L = (a, r) => J(a, U(r));
|
|
13
13
|
var d = (a, r, e) => (k(a, typeof r != "symbol" ? r + "" : r, e), e);
|
|
14
|
-
import { defaultGlobalConfig as
|
|
14
|
+
import { defaultGlobalConfig as q } from "../typings/tag/TagConfig.js";
|
|
15
15
|
import { objectAssignDeepExports as b } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
-
import * as
|
|
17
|
-
import { DefaultConfig as
|
|
18
|
-
import { anyPositionToVector3 as
|
|
16
|
+
import * as K from "three";
|
|
17
|
+
import { DefaultConfig as Q } from "../tag.config.js";
|
|
18
|
+
import { anyPositionToVector3 as Y, arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
|
|
19
19
|
import { planeNormal as E } from "../utils/planeNormal.js";
|
|
20
|
-
import { getTagCenterPosition as
|
|
21
|
-
import { normalPositionToPositions as
|
|
22
|
-
import { TagCache as
|
|
23
|
-
import { writable as
|
|
24
|
-
import { isIOSWX as
|
|
25
|
-
import { Five as
|
|
26
|
-
import { isMediaPlaneTag as
|
|
27
|
-
import { VideoPlane as
|
|
28
|
-
import { FiveDomEvents as
|
|
29
|
-
import
|
|
20
|
+
import { getTagCenterPosition as x } from "../utils/tagPosition.js";
|
|
21
|
+
import { normalPositionToPositions as Z } from "../utils/normalPositionToPositions.js";
|
|
22
|
+
import { TagCache as ee } from "./TagCache.js";
|
|
23
|
+
import { writable as ie } from "../../vendor/svelte/store/index.js";
|
|
24
|
+
import { isIOSWX as te } from "../../shared-utils/device.js";
|
|
25
|
+
import { Five as oe } from "@realsee/five";
|
|
26
|
+
import { isMediaPlaneTag as ne, isMediaModelTag as B, isPlaneTag as re, isPoint3DTag as se } from "../utils/tag/tagCheck.js";
|
|
27
|
+
import { VideoPlane as fe } from "../utils/model/mediaPlane.js";
|
|
28
|
+
import { FiveDomEvents as ae } from "../../shared-utils/five/FiveDomEvents.js";
|
|
29
|
+
import R from "../utils/tag/adaptConfig.js";
|
|
30
30
|
import { isPanoramaLike as W, isModelLike as N } from "../../shared-utils/five/mode.js";
|
|
31
31
|
import "hammerjs";
|
|
32
32
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
33
33
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
34
34
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
35
|
import { entries as G } from "../../shared-utils/typescript/entries.js";
|
|
36
|
+
import { getUrlExt as $ } from "../../shared-utils/url/getUrl.js";
|
|
36
37
|
import "../../shared-utils/three/centerPoint.js";
|
|
37
38
|
import "../../base/BasePlugin.js";
|
|
38
39
|
import "../../shared-utils/Subscribe.js";
|
|
39
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
40
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
40
41
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
41
42
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
42
43
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -56,12 +57,13 @@ import "../../shared-utils/three/loadVideoTexture.js";
|
|
|
56
57
|
import "../Assets/Icon.js";
|
|
57
58
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
58
59
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
59
|
-
|
|
60
|
+
import "../../shared-utils/three/getNormal.js";
|
|
61
|
+
class ti extends ee {
|
|
60
62
|
constructor(e) {
|
|
61
63
|
super(e);
|
|
62
64
|
d(this, "tags", []);
|
|
63
|
-
d(this, "config",
|
|
64
|
-
d(this, "mediaStore",
|
|
65
|
+
d(this, "config", Q);
|
|
66
|
+
d(this, "mediaStore", ie({
|
|
65
67
|
currentMediaElement: null
|
|
66
68
|
}));
|
|
67
69
|
/** css3DRenderPlugin */
|
|
@@ -72,10 +74,10 @@ class Ze extends Z {
|
|
|
72
74
|
resizeObserverDisposerAdding: !1,
|
|
73
75
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
74
76
|
});
|
|
75
|
-
d(this, "domEvents", new
|
|
77
|
+
d(this, "domEvents", new ae(this.five));
|
|
76
78
|
d(this, "mouseInfo");
|
|
77
79
|
d(this, "loadVideoFirstFrame", () => {
|
|
78
|
-
|
|
80
|
+
te && this.hooks.emit("loadVideoFirstFrame");
|
|
79
81
|
});
|
|
80
82
|
d(this, "preventWhenMouseDown", () => {
|
|
81
83
|
var e;
|
|
@@ -85,7 +87,7 @@ class Ze extends Z {
|
|
|
85
87
|
this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: i }) => {
|
|
86
88
|
this.tags.forEach((o) => {
|
|
87
89
|
var t;
|
|
88
|
-
if (o.mediaPlane instanceof
|
|
90
|
+
if (o.mediaPlane instanceof fe && i !== o.mediaPlane.videoInstance) {
|
|
89
91
|
if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
|
|
90
92
|
return;
|
|
91
93
|
o.mediaPlane.pause();
|
|
@@ -157,11 +159,15 @@ class Ze extends Z {
|
|
|
157
159
|
return;
|
|
158
160
|
const t = e.data.mediaData;
|
|
159
161
|
if (!(!t || t.length === 0) && o.renderType === "Mesh") {
|
|
160
|
-
if (
|
|
161
|
-
if (t.length === 1
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
if (ne(e)) {
|
|
163
|
+
if (t.length === 1) {
|
|
164
|
+
if (t[0].type === "Video")
|
|
165
|
+
return "Mesh";
|
|
166
|
+
if (t[0].type === "Image")
|
|
167
|
+
return $(t[0].url) === "gif" ? "BehindDom" : "Mesh";
|
|
168
|
+
}
|
|
169
|
+
} else if (B(e))
|
|
170
|
+
return t.length === 1 && t[0].type === "Image" ? $(t[0].url) === "gif" ? "BehindDom" : "Mesh" : "BehindDom";
|
|
165
171
|
}
|
|
166
172
|
})();
|
|
167
173
|
return i != null ? i : "Dom";
|
|
@@ -181,13 +187,13 @@ class Ze extends Z {
|
|
|
181
187
|
const f = (n = (s = this.five.work) == null ? void 0 : s.observers[o]) == null ? void 0 : n.position;
|
|
182
188
|
if (f === void 0)
|
|
183
189
|
throw new Error(`getAngle(): observerPosition is ${f}`);
|
|
184
|
-
const
|
|
185
|
-
if (!
|
|
190
|
+
const c = (() => e.stickType === "3DPoint" ? Y(e.normal) : E(e.position))();
|
|
191
|
+
if (!c)
|
|
186
192
|
return;
|
|
187
|
-
const g =
|
|
193
|
+
const g = x(e);
|
|
188
194
|
if (!g)
|
|
189
195
|
return;
|
|
190
|
-
const u = new
|
|
196
|
+
const u = new K.Vector3().copy(f).sub(g), v = c.angleTo(u) * 180 / Math.PI;
|
|
191
197
|
return t.angle = v, t.angle;
|
|
192
198
|
}
|
|
193
199
|
}
|
|
@@ -195,15 +201,15 @@ class Ze extends Z {
|
|
|
195
201
|
* @description: 获取距离
|
|
196
202
|
*/
|
|
197
203
|
getDistance(e, i) {
|
|
198
|
-
var
|
|
204
|
+
var c, g;
|
|
199
205
|
const o = C(C({}, this.five.getCurrentState()), i), { panoIndex: t, mode: s } = o, n = W(s) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
200
206
|
if ((n == null ? void 0 : n.distance) !== void 0)
|
|
201
207
|
return n.distance;
|
|
202
|
-
const f =
|
|
208
|
+
const f = x(e);
|
|
203
209
|
if (!f)
|
|
204
210
|
return -1;
|
|
205
211
|
if (W(s)) {
|
|
206
|
-
const u = (g = (
|
|
212
|
+
const u = (g = (c = this.five.work) == null ? void 0 : c.observers[t]) == null ? void 0 : g.position;
|
|
207
213
|
if (u === void 0)
|
|
208
214
|
return -1;
|
|
209
215
|
const v = u.distanceTo(f);
|
|
@@ -213,12 +219,12 @@ class Ze extends Z {
|
|
|
213
219
|
return this.five.camera.position.distanceTo(f);
|
|
214
220
|
}
|
|
215
221
|
getPositions(e) {
|
|
216
|
-
if (
|
|
222
|
+
if (re(e))
|
|
217
223
|
return e.position;
|
|
218
|
-
if (
|
|
224
|
+
if (B(e))
|
|
219
225
|
return e.data.mediaPosition;
|
|
220
|
-
if (
|
|
221
|
-
return
|
|
226
|
+
if (se(e))
|
|
227
|
+
return Z(this.five.camera.position, w(e.position), w(e.normal));
|
|
222
228
|
}
|
|
223
229
|
addObjectClickHandler(e, i, o) {
|
|
224
230
|
if (!i || !this.domEvents)
|
|
@@ -285,43 +291,43 @@ class Ze extends Z {
|
|
|
285
291
|
const t = {}, s = {}, n = {};
|
|
286
292
|
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([p, h]) => {
|
|
287
293
|
var I, O;
|
|
288
|
-
const
|
|
289
|
-
if (!M[
|
|
290
|
-
if (T.length === 0 && (M[
|
|
294
|
+
const l = p, D = l.split("-"), S = p.startsWith("["), y = S ? D[0].slice(1, -1) : void 0, T = S ? D.slice(1) : D, M = y ? ["PanoramaLike", "ModelLike"].includes(y) ? (I = s[y]) != null ? I : s[y] = {} : (O = n[y]) != null ? O : n[y] = {} : t;
|
|
295
|
+
if (!M[l]) {
|
|
296
|
+
if (T.length === 0 && (M[l] = h), T.length === 1) {
|
|
291
297
|
const [m] = T;
|
|
292
|
-
(e.contentType === m || m === "Any") && (M[
|
|
298
|
+
(e.contentType === m || m === "Any") && (M[l] = h);
|
|
293
299
|
}
|
|
294
300
|
if (T.length === 2) {
|
|
295
301
|
const [m = "Any", P = "Any"] = T;
|
|
296
|
-
m === "Mixin" && e.contentType === P && (M[
|
|
302
|
+
m === "Mixin" && e.contentType === P && (M[l] = h), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (M[l] = h);
|
|
297
303
|
}
|
|
298
304
|
if (T.length === 3) {
|
|
299
|
-
const [m = "Any", P,
|
|
305
|
+
const [m = "Any", P, z] = T;
|
|
300
306
|
if (P === "Audio" && e.contentType === "Audio") {
|
|
301
307
|
const V = e;
|
|
302
|
-
(V.stickType === m || m === "Any") && V.data.appearance ===
|
|
308
|
+
(V.stickType === m || m === "Any") && V.data.appearance === z && (M[l] = h);
|
|
303
309
|
}
|
|
304
310
|
}
|
|
305
311
|
}
|
|
306
312
|
});
|
|
307
313
|
const f = b(
|
|
308
314
|
{},
|
|
309
|
-
|
|
315
|
+
q,
|
|
310
316
|
this.config.globalConfig,
|
|
311
317
|
...Object.values(t),
|
|
312
318
|
e.config
|
|
313
|
-
),
|
|
319
|
+
), c = {}, g = Object.values(oe.Mode);
|
|
314
320
|
G(s).forEach(([p, h]) => {
|
|
315
|
-
g.forEach((
|
|
316
|
-
(p === "PanoramaLike" && W(
|
|
321
|
+
g.forEach((l) => {
|
|
322
|
+
(p === "PanoramaLike" && W(l) || p === "ModelLike" && N(l)) && (c[l] = b({}, f, ...Object.values(h)));
|
|
317
323
|
});
|
|
318
324
|
}), G(n).forEach(([p, h]) => {
|
|
319
|
-
|
|
325
|
+
c[p] = b({}, f, ...Object.values(h));
|
|
320
326
|
});
|
|
321
|
-
const u = L(C({}, f), { configWithFiveMode:
|
|
322
|
-
return
|
|
327
|
+
const u = L(C({}, f), { configWithFiveMode: c });
|
|
328
|
+
return R(u, e), Object.values(c).forEach((p) => R(p, e)), u._isMerged = !0, u;
|
|
323
329
|
}
|
|
324
330
|
}
|
|
325
331
|
export {
|
|
326
|
-
|
|
332
|
+
ti as TagUtil
|
|
327
333
|
};
|
|
@@ -30,9 +30,9 @@ var p = (d, a, e) => new Promise((t, i) => {
|
|
|
30
30
|
import * as y from "three";
|
|
31
31
|
import { Subscribe as F } from "@realsee/five";
|
|
32
32
|
import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
33
|
-
import { addDebugPoints as
|
|
33
|
+
import { addDebugPoints as k } from "../utils/addDebugPoints.js";
|
|
34
34
|
import { arrayPositionToVector3 as A } from "../../shared-utils/positionToVector3.js";
|
|
35
|
-
import { isMediaModelTag as
|
|
35
|
+
import { isMediaModelTag as M, isModelTag as R } from "../utils/tag/tagCheck.js";
|
|
36
36
|
import { debounce as _ } from "../utils/debounce.js";
|
|
37
37
|
import { throttle as O } from "../utils/throttle.js";
|
|
38
38
|
import { resizeObserver as D } from "../utils/resizeObserver.js";
|
|
@@ -60,7 +60,7 @@ import "../utils/normalPositionToPositions.js";
|
|
|
60
60
|
import "./TagCache.js";
|
|
61
61
|
import "../../base/BasePlugin.js";
|
|
62
62
|
import "../../shared-utils/Subscribe.js";
|
|
63
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
63
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
64
64
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
65
65
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
66
66
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -83,9 +83,11 @@ import "../../shared-utils/three/loadVideoTexture.js";
|
|
|
83
83
|
import "../Assets/Icon.js";
|
|
84
84
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
85
85
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
86
|
+
import "../../shared-utils/three/getNormal.js";
|
|
86
87
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
87
88
|
import "../utils/tag/adaptConfig.js";
|
|
88
89
|
import "../../shared-utils/typescript/entries.js";
|
|
90
|
+
import "../../shared-utils/url/getUrl.js";
|
|
89
91
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
90
92
|
import "../../shared-utils/safeObj.js";
|
|
91
93
|
import "../Components/TagContainer.js";
|
|
@@ -164,8 +166,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
164
166
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
165
167
|
import "@realsee/five/gltf-loader";
|
|
166
168
|
import "../../shared-utils/animationFrame/index.js";
|
|
167
|
-
const P = "Dnalogel-PanoTagPlugin",
|
|
168
|
-
class
|
|
169
|
+
const P = "Dnalogel-PanoTagPlugin", Ai = (d) => `${P}--${d}`;
|
|
170
|
+
class Di extends N {
|
|
169
171
|
constructor(e, t) {
|
|
170
172
|
super(e);
|
|
171
173
|
/** state */
|
|
@@ -198,7 +200,7 @@ class Ci extends N {
|
|
|
198
200
|
l(this, "updateVisible", () => {
|
|
199
201
|
const e = this.five.getCurrentState().mode;
|
|
200
202
|
this.tags.forEach((t) => {
|
|
201
|
-
|
|
203
|
+
M(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
|
|
202
204
|
}), this.setVisible(), this.updateRenderAllTags();
|
|
203
205
|
});
|
|
204
206
|
l(this, "handleFiveWantsMoveToPano", (e) => {
|
|
@@ -241,7 +243,7 @@ class Ci extends N {
|
|
|
241
243
|
var e, t, i;
|
|
242
244
|
this.setVisible(), yield this.setVisibleAndUnfolded(), this.tags.forEach((s) => {
|
|
243
245
|
s.temporaryState = T(c({}, s.temporaryState), { visible: !0 });
|
|
244
|
-
}), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(
|
|
246
|
+
}), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(R).filter((s) => {
|
|
245
247
|
var o, n;
|
|
246
248
|
return (n = (o = s.config) == null ? void 0 : o.modelConfig) == null ? void 0 : n.autoLookAtEnabled;
|
|
247
249
|
}).forEach((s) => {
|
|
@@ -285,7 +287,7 @@ class Ci extends N {
|
|
|
285
287
|
const i = yield this.addTag(e.tagList, t);
|
|
286
288
|
if (this.debug)
|
|
287
289
|
try {
|
|
288
|
-
|
|
290
|
+
k(this.five, this.tags);
|
|
289
291
|
} catch (n) {
|
|
290
292
|
console.error(n);
|
|
291
293
|
}
|
|
@@ -321,7 +323,7 @@ class Ci extends N {
|
|
|
321
323
|
}).filter((o) => o.position);
|
|
322
324
|
return s.forEach(V), this.tags.push(...s), W(this.five).then(() => p(this, null, function* () {
|
|
323
325
|
var o, n, r;
|
|
324
|
-
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 })
|
|
326
|
+
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
|
|
325
327
|
}));
|
|
326
328
|
});
|
|
327
329
|
}
|
|
@@ -532,7 +534,7 @@ class Ci extends N {
|
|
|
532
534
|
}
|
|
533
535
|
}
|
|
534
536
|
export {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
537
|
+
Di as PanoTagPluginController,
|
|
538
|
+
Di as default,
|
|
539
|
+
Ai as pluginFlag
|
|
538
540
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as Kt } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Mt } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Ot, DimensionType as Qt, PointType as Rt } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "@realsee/five";
|
|
7
7
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -42,7 +42,7 @@ import "./utils/planeNormal.js";
|
|
|
42
42
|
import "./utils/normalPositionToPositions.js";
|
|
43
43
|
import "./controller/TagCache.js";
|
|
44
44
|
import "../base/BasePlugin.js";
|
|
45
|
-
import "../shared-utils/absoluteUrl.js";
|
|
45
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
46
46
|
import "../vendor/svelte/store/index.js";
|
|
47
47
|
import "../vendor/svelte/internal/index.js";
|
|
48
48
|
import "../shared-utils/device.js";
|
|
@@ -54,9 +54,11 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
54
54
|
import "./Assets/Icon.js";
|
|
55
55
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
56
56
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
57
|
+
import "../shared-utils/three/getNormal.js";
|
|
57
58
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
58
59
|
import "./utils/tag/adaptConfig.js";
|
|
59
60
|
import "../shared-utils/typescript/entries.js";
|
|
61
|
+
import "../shared-utils/url/getUrl.js";
|
|
60
62
|
import "../shared-utils/five/getFloorIndex.js";
|
|
61
63
|
import "../shared-utils/safeObj.js";
|
|
62
64
|
import "./Components/TagContainer.js";
|
|
@@ -138,14 +140,14 @@ import "@realsee/five/gltf-loader";
|
|
|
138
140
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
139
141
|
import "../shared-utils/animationFrame/index.js";
|
|
140
142
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
141
|
-
const
|
|
143
|
+
const Ht = (o, t) => new r(o, t);
|
|
142
144
|
export {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
Ot as ContentType,
|
|
146
|
+
Qt as DimensionType,
|
|
147
|
+
Ht as PanoTagPlugin,
|
|
146
148
|
r as PanoTagPluginController,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
Rt as PointType,
|
|
150
|
+
Ht as default,
|
|
151
|
+
Mt as defaultGlobalConfig,
|
|
152
|
+
Kt as pluginFlag
|
|
151
153
|
};
|