@realsee/dnalogel 3.0.0-3 → 3.0.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/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -2
- package/dist/index.cjs.js +48 -48
- package/dist/index.js +3366 -3383
- package/dist/index.umd.js +45 -45
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/nearlyEqual.d.ts +0 -7
- 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 +45 -45
- 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 +15 -15
- 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 +35 -37
- package/libs/CruisePlugin/index.js +6 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +1 -1
- package/libs/CurrentPanoImagePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +22 -24
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -5
- package/libs/GuideLinePlugin/index.js +8 -10
- 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 +22 -25
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +58 -64
- package/libs/PanoTagPlugin/controller/index.js +12 -14
- package/libs/PanoTagPlugin/index.js +12 -14
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -2
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +99 -97
- 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/floorplan/index.js +0 -1
- package/libs/index.js +117 -119
- package/libs/shared-utils/five/changeMode.js +11 -11
- 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/nearlyEqual.d.ts +0 -7
- package/libs/shared-utils/nearlyEqual.js +3 -9
- package/package.json +2 -2
- package/dist/shared-utils/three/getNormal.d.ts +0 -2
- package/dist/shared-utils/url/getUrl.d.ts +0 -4
- package/libs/shared-utils/three/getNormal.d.ts +0 -2
- package/libs/shared-utils/three/getNormal.js +0 -10
- package/libs/shared-utils/url/getUrl.d.ts +0 -4
- package/libs/shared-utils/url/getUrl.js +0 -7
- /package/dist/shared-utils/{url/absoluteUrl.d.ts → absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{url/absoluteUrl.d.ts → absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{url/absoluteUrl.js → absoluteUrl.js} +0 -0
|
@@ -40,7 +40,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
40
40
|
import "hammerjs";
|
|
41
41
|
import "@realsee/five";
|
|
42
42
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
43
|
-
import "../shared-utils/
|
|
43
|
+
import "../shared-utils/absoluteUrl.js";
|
|
44
44
|
const de = (s, { videoElement: g }) => {
|
|
45
45
|
const e = {
|
|
46
46
|
videoMeshes: [],
|
|
@@ -24,7 +24,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
24
24
|
import "hammerjs";
|
|
25
25
|
import "@realsee/five";
|
|
26
26
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
27
|
-
import "../shared-utils/
|
|
27
|
+
import "../shared-utils/absoluteUrl.js";
|
|
28
28
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
29
29
|
export {
|
|
30
30
|
j as DIRECTION,
|
|
@@ -47,7 +47,7 @@ import { ScaleController as A } from "../shared-utils/Object3DHelper/Controller/
|
|
|
47
47
|
import "../shared-utils/Subscribe.js";
|
|
48
48
|
import "hammerjs";
|
|
49
49
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
|
-
import "../shared-utils/
|
|
50
|
+
import "../shared-utils/absoluteUrl.js";
|
|
51
51
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
52
52
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
53
53
|
import "../shared-utils/three/IObject3D.js";
|
|
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/
|
|
24
|
+
import "../shared-utils/absoluteUrl.js";
|
|
25
25
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
26
26
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
27
27
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
@@ -52,7 +52,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
52
52
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
53
53
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
54
54
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
55
|
-
import "../shared-utils/
|
|
55
|
+
import "../shared-utils/absoluteUrl.js";
|
|
56
56
|
import "./Assets/roomInfoIcon.js";
|
|
57
57
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
58
58
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/
|
|
24
|
+
import "../shared-utils/absoluteUrl.js";
|
|
25
25
|
import "./getRoomInfoInstance.js";
|
|
26
26
|
import "./Assets/roomInfoIcon.js";
|
|
27
27
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -32,7 +32,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
32
32
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
33
33
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
34
34
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
|
-
import "../shared-utils/
|
|
35
|
+
import "../shared-utils/absoluteUrl.js";
|
|
36
36
|
class J extends c {
|
|
37
37
|
constructor(t) {
|
|
38
38
|
super(t);
|
|
@@ -35,7 +35,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
35
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
36
36
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
37
37
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
|
-
import "../shared-utils/
|
|
38
|
+
import "../shared-utils/absoluteUrl.js";
|
|
39
39
|
import "../vendor/svelte/internal/index.js";
|
|
40
40
|
import "../vendor/classnames/index.js";
|
|
41
41
|
const ee = { userAction: !0 };
|
|
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/
|
|
24
|
+
import "../shared-utils/absoluteUrl.js";
|
|
25
25
|
import "./DoorLabelItem.js";
|
|
26
26
|
import "../vendor/svelte/internal/index.js";
|
|
27
27
|
import "../vendor/classnames/index.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/
|
|
58
|
+
import "../../shared-utils/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";
|
|
@@ -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/
|
|
62
|
+
import "../../shared-utils/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/
|
|
58
|
+
import "../../shared-utils/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/
|
|
64
|
+
import "../../shared-utils/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/
|
|
68
|
+
import "../../../shared-utils/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/
|
|
57
|
+
import "../shared-utils/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/
|
|
28
|
+
import "../shared-utils/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/
|
|
25
|
+
import "../shared-utils/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/
|
|
25
|
+
import "../../shared-utils/absoluteUrl.js";
|
|
26
26
|
class F extends l {
|
|
27
27
|
constructor(t) {
|
|
28
28
|
super(t);
|
|
@@ -2,15 +2,15 @@ var E = Object.defineProperty, $ = Object.defineProperties;
|
|
|
2
2
|
var L = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var k = Object.getOwnPropertySymbols;
|
|
4
4
|
var _ = Object.prototype.hasOwnProperty, z = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var M = (
|
|
5
|
+
var M = (v, e, i) => e in v ? E(v, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : v[e] = i, y = (v, e) => {
|
|
6
6
|
for (var i in e || (e = {}))
|
|
7
|
-
_.call(e, i) && M(
|
|
7
|
+
_.call(e, i) && M(v, i, e[i]);
|
|
8
8
|
if (k)
|
|
9
9
|
for (var i of k(e))
|
|
10
|
-
z.call(e, i) && M(
|
|
11
|
-
return
|
|
12
|
-
}, D = (
|
|
13
|
-
import * as
|
|
10
|
+
z.call(e, i) && M(v, i, e[i]);
|
|
11
|
+
return v;
|
|
12
|
+
}, D = (v, e) => $(v, L(e));
|
|
13
|
+
import * as F from "three";
|
|
14
14
|
import { is3DTag as O, isMediaModelTag as R } from "../utils/tag/tagCheck.js";
|
|
15
15
|
import { getTagCenterPosition as I, getTagPosition as Z } from "../utils/tagPosition.js";
|
|
16
16
|
import { checkRange as h } from "../utils/checkRange.js";
|
|
@@ -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/
|
|
48
|
+
import "../../shared-utils/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,13 +57,11 @@ 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";
|
|
61
60
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
62
61
|
import "../utils/tag/adaptConfig.js";
|
|
63
62
|
import "../../shared-utils/typescript/entries.js";
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
class Ge extends q {
|
|
63
|
+
const T = new F.Raycaster();
|
|
64
|
+
class We extends q {
|
|
67
65
|
constructor(e) {
|
|
68
66
|
super(e);
|
|
69
67
|
}
|
|
@@ -85,9 +83,8 @@ class Ge extends q {
|
|
|
85
83
|
if (s.keep === "visible")
|
|
86
84
|
return { value: !0, checkedList: o, reason: "config.keep is visible" };
|
|
87
85
|
if (s.visibleFiveMode !== void 0) {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
if (Array.isArray(a) ? v = a.includes(n) : a === "ModelLike" ? v = H(n) : a === "PanoramaLike" ? v = !b(n) : a === "all" ? v = !0 : typeof a == "string" && (v = a === n), v === !1)
|
|
86
|
+
let a = !1;
|
|
87
|
+
if (Array.isArray(s.visibleFiveMode) ? a = s.visibleFiveMode.includes(n) : s.visibleFiveMode === "ModelLike" ? a = H(n) : s.visibleFiveMode === "PanoramaLike" ? a = !b(n) : s.visibleFiveMode === "all" ? a = !0 : typeof s.visibleFiveMode == "string" && (a = s.visibleFiveMode === n), a === !1)
|
|
91
88
|
return {
|
|
92
89
|
value: !1,
|
|
93
90
|
checkedList: o,
|
|
@@ -201,8 +198,8 @@ class Ge extends q {
|
|
|
201
198
|
const f = this.getTagProject(r);
|
|
202
199
|
if (!f)
|
|
203
200
|
return !1;
|
|
204
|
-
const { x: u, y: a, z:
|
|
205
|
-
return !(Math.abs(
|
|
201
|
+
const { x: u, y: a, z: m } = f;
|
|
202
|
+
return !(Math.abs(m) > 1 || Math.abs(u) > 1 || Math.abs(a) > 1);
|
|
206
203
|
}).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: f }) => {
|
|
207
204
|
var u, a;
|
|
208
205
|
return !(typeof f == "function" || f.keep || f.autoUnfold === !1 || ((u = f.autoUnfold) == null ? void 0 : u.enable) === !1 || ((a = f.autoUnfold) == null ? void 0 : a.strategy) !== "MinimumDistance");
|
|
@@ -277,22 +274,22 @@ class Ge extends q {
|
|
|
277
274
|
}
|
|
278
275
|
/** 通过射线检测标签可用性 */
|
|
279
276
|
getTagEnableByIntersect(e, i) {
|
|
280
|
-
var s, r, f, u, a,
|
|
277
|
+
var s, r, f, u, a, m;
|
|
281
278
|
const l = U(U((s = this.getTagConfig(e).visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, n = b(this.five.getCurrentState().mode) ? (r = this.five.work.observers[t]) == null ? void 0 : r.position : this.five.camera.position;
|
|
282
279
|
if (n === void 0)
|
|
283
280
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
284
281
|
const d = X(
|
|
285
282
|
(() => {
|
|
286
283
|
var g;
|
|
287
|
-
const
|
|
288
|
-
return
|
|
284
|
+
const p = (g = l.checkPoints) != null ? g : "center";
|
|
285
|
+
return p === "center" ? I(e) : p === "corner" ? Z(e) : Array.isArray(p) ? p : [];
|
|
289
286
|
})()
|
|
290
287
|
);
|
|
291
288
|
let o = 0, c = 0;
|
|
292
|
-
for (const
|
|
293
|
-
const g = new
|
|
289
|
+
for (const p of d) {
|
|
290
|
+
const g = new F.Vector3().subVectors(p, n).normalize();
|
|
294
291
|
T.set(n, g);
|
|
295
|
-
const
|
|
292
|
+
const j = n.distanceTo(p), [P] = this.five.model.intersectRaycaster(T), x = (() => {
|
|
296
293
|
if (!R(e))
|
|
297
294
|
return;
|
|
298
295
|
const B = this.tags.filter(R).map((A) => {
|
|
@@ -301,8 +298,8 @@ class Ge extends q {
|
|
|
301
298
|
}).filter(N), [w] = T.intersectObjects(B, !0);
|
|
302
299
|
return w;
|
|
303
300
|
})(), S = (f = l.distanceAccuracy) != null ? f : 0.01;
|
|
304
|
-
Math.min((u = P == null ? void 0 : P.distance) != null ? u : 1 / 0, (a = x == null ? void 0 : x.distance) != null ? a : 1 / 0) + S >=
|
|
305
|
-
const V = (
|
|
301
|
+
Math.min((u = P == null ? void 0 : P.distance) != null ? u : 1 / 0, (a = x == null ? void 0 : x.distance) != null ? a : 1 / 0) + S >= j ? o++ : c++;
|
|
302
|
+
const V = (m = l.needPassed) != null ? m : 1;
|
|
306
303
|
if (o >= V)
|
|
307
304
|
return { value: !0 };
|
|
308
305
|
}
|
|
@@ -329,5 +326,5 @@ class Ge extends q {
|
|
|
329
326
|
}
|
|
330
327
|
}
|
|
331
328
|
export {
|
|
332
|
-
|
|
329
|
+
We as TagComputer
|
|
333
330
|
};
|
|
@@ -65,14 +65,13 @@ 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/
|
|
68
|
+
import "../../shared-utils/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";
|
|
76
75
|
import "../../shared-utils/five/getFloorIndex.js";
|
|
77
76
|
import "../../shared-utils/safeObj.js";
|
|
78
77
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -82,7 +81,6 @@ import "../../shared-utils/three/loadVideoTexture.js";
|
|
|
82
81
|
import "../Assets/Icon.js";
|
|
83
82
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
84
83
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
85
|
-
import "../../shared-utils/three/getNormal.js";
|
|
86
84
|
import "../Components/TagItem.js";
|
|
87
85
|
import "../utils/noTypecheck.js";
|
|
88
86
|
import "../Components/Common/TagPoint.js";
|
|
@@ -157,7 +155,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
|
|
|
157
155
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
158
156
|
import "@realsee/five/gltf-loader";
|
|
159
157
|
const B = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map();
|
|
160
|
-
class
|
|
158
|
+
class pi extends O {
|
|
161
159
|
constructor(t) {
|
|
162
160
|
super(t);
|
|
163
161
|
b(this, "group", new R());
|
|
@@ -464,5 +462,5 @@ class hi extends O {
|
|
|
464
462
|
}
|
|
465
463
|
}
|
|
466
464
|
export {
|
|
467
|
-
|
|
465
|
+
pi as TagRender
|
|
468
466
|
};
|
|
@@ -1,43 +1,42 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var z = Object.defineProperty, H = Object.defineProperties;
|
|
2
|
+
var J = 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, U = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var k = (a, r, e) => r in a ? z(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
|
+
U.call(r, e) && k(a, e, r[e]);
|
|
11
11
|
return a;
|
|
12
|
-
}, L = (a, r) =>
|
|
12
|
+
}, L = (a, r) => H(a, J(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 X } 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 q from "three";
|
|
17
|
+
import { DefaultConfig as K } from "../tag.config.js";
|
|
18
|
+
import { anyPositionToVector3 as Q, 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 R } from "../utils/tagPosition.js";
|
|
21
|
+
import { normalPositionToPositions as Y } from "../utils/normalPositionToPositions.js";
|
|
22
|
+
import { TagCache as Z } from "./TagCache.js";
|
|
23
|
+
import { writable as ee } from "../../vendor/svelte/store/index.js";
|
|
24
|
+
import { isIOSWX as ie } from "../../shared-utils/device.js";
|
|
25
|
+
import { Five as te } from "@realsee/five";
|
|
26
|
+
import { isMediaPlaneTag as oe, isMediaModelTag as x, isPlaneTag as ne, isPoint3DTag as re } from "../utils/tag/tagCheck.js";
|
|
27
|
+
import { VideoPlane as se } from "../utils/model/mediaPlane.js";
|
|
28
|
+
import { FiveDomEvents as fe } from "../../shared-utils/five/FiveDomEvents.js";
|
|
29
|
+
import B 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";
|
|
37
36
|
import "../../shared-utils/three/centerPoint.js";
|
|
38
37
|
import "../../base/BasePlugin.js";
|
|
39
38
|
import "../../shared-utils/Subscribe.js";
|
|
40
|
-
import "../../shared-utils/
|
|
39
|
+
import "../../shared-utils/absoluteUrl.js";
|
|
41
40
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
42
41
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
43
42
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -57,13 +56,12 @@ import "../../shared-utils/three/loadVideoTexture.js";
|
|
|
57
56
|
import "../Assets/Icon.js";
|
|
58
57
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
59
58
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
60
|
-
|
|
61
|
-
class ti extends ee {
|
|
59
|
+
class Ze extends Z {
|
|
62
60
|
constructor(e) {
|
|
63
61
|
super(e);
|
|
64
62
|
d(this, "tags", []);
|
|
65
|
-
d(this, "config",
|
|
66
|
-
d(this, "mediaStore",
|
|
63
|
+
d(this, "config", K);
|
|
64
|
+
d(this, "mediaStore", ee({
|
|
67
65
|
currentMediaElement: null
|
|
68
66
|
}));
|
|
69
67
|
/** css3DRenderPlugin */
|
|
@@ -74,10 +72,10 @@ class ti extends ee {
|
|
|
74
72
|
resizeObserverDisposerAdding: !1,
|
|
75
73
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
76
74
|
});
|
|
77
|
-
d(this, "domEvents", new
|
|
75
|
+
d(this, "domEvents", new fe(this.five));
|
|
78
76
|
d(this, "mouseInfo");
|
|
79
77
|
d(this, "loadVideoFirstFrame", () => {
|
|
80
|
-
|
|
78
|
+
ie && this.hooks.emit("loadVideoFirstFrame");
|
|
81
79
|
});
|
|
82
80
|
d(this, "preventWhenMouseDown", () => {
|
|
83
81
|
var e;
|
|
@@ -87,7 +85,7 @@ class ti extends ee {
|
|
|
87
85
|
this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: i }) => {
|
|
88
86
|
this.tags.forEach((o) => {
|
|
89
87
|
var t;
|
|
90
|
-
if (o.mediaPlane instanceof
|
|
88
|
+
if (o.mediaPlane instanceof se && i !== o.mediaPlane.videoInstance) {
|
|
91
89
|
if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
|
|
92
90
|
return;
|
|
93
91
|
o.mediaPlane.pause();
|
|
@@ -159,15 +157,11 @@ class ti extends ee {
|
|
|
159
157
|
return;
|
|
160
158
|
const t = e.data.mediaData;
|
|
161
159
|
if (!(!t || t.length === 0) && o.renderType === "Mesh") {
|
|
162
|
-
if (
|
|
163
|
-
if (t.length === 1)
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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";
|
|
160
|
+
if (oe(e)) {
|
|
161
|
+
if (t.length === 1 && (t[0].type === "Image" || t[0].type === "Video"))
|
|
162
|
+
return "Mesh";
|
|
163
|
+
} else if (x(e))
|
|
164
|
+
return t.length === 1 && t[0].type === "Image" ? "Mesh" : "BehindDom";
|
|
171
165
|
}
|
|
172
166
|
})();
|
|
173
167
|
return i != null ? i : "Dom";
|
|
@@ -187,13 +181,13 @@ class ti extends ee {
|
|
|
187
181
|
const f = (n = (s = this.five.work) == null ? void 0 : s.observers[o]) == null ? void 0 : n.position;
|
|
188
182
|
if (f === void 0)
|
|
189
183
|
throw new Error(`getAngle(): observerPosition is ${f}`);
|
|
190
|
-
const
|
|
191
|
-
if (!
|
|
184
|
+
const l = (() => e.stickType === "3DPoint" ? Q(e.normal) : E(e.position))();
|
|
185
|
+
if (!l)
|
|
192
186
|
return;
|
|
193
|
-
const g =
|
|
187
|
+
const g = R(e);
|
|
194
188
|
if (!g)
|
|
195
189
|
return;
|
|
196
|
-
const u = new
|
|
190
|
+
const u = new q.Vector3().copy(f).sub(g), v = l.angleTo(u) * 180 / Math.PI;
|
|
197
191
|
return t.angle = v, t.angle;
|
|
198
192
|
}
|
|
199
193
|
}
|
|
@@ -201,15 +195,15 @@ class ti extends ee {
|
|
|
201
195
|
* @description: 获取距离
|
|
202
196
|
*/
|
|
203
197
|
getDistance(e, i) {
|
|
204
|
-
var
|
|
198
|
+
var l, g;
|
|
205
199
|
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;
|
|
206
200
|
if ((n == null ? void 0 : n.distance) !== void 0)
|
|
207
201
|
return n.distance;
|
|
208
|
-
const f =
|
|
202
|
+
const f = R(e);
|
|
209
203
|
if (!f)
|
|
210
204
|
return -1;
|
|
211
205
|
if (W(s)) {
|
|
212
|
-
const u = (g = (
|
|
206
|
+
const u = (g = (l = this.five.work) == null ? void 0 : l.observers[t]) == null ? void 0 : g.position;
|
|
213
207
|
if (u === void 0)
|
|
214
208
|
return -1;
|
|
215
209
|
const v = u.distanceTo(f);
|
|
@@ -219,12 +213,12 @@ class ti extends ee {
|
|
|
219
213
|
return this.five.camera.position.distanceTo(f);
|
|
220
214
|
}
|
|
221
215
|
getPositions(e) {
|
|
222
|
-
if (
|
|
216
|
+
if (ne(e))
|
|
223
217
|
return e.position;
|
|
224
|
-
if (
|
|
218
|
+
if (x(e))
|
|
225
219
|
return e.data.mediaPosition;
|
|
226
|
-
if (
|
|
227
|
-
return
|
|
220
|
+
if (re(e))
|
|
221
|
+
return Y(this.five.camera.position, w(e.position), w(e.normal));
|
|
228
222
|
}
|
|
229
223
|
addObjectClickHandler(e, i, o) {
|
|
230
224
|
if (!i || !this.domEvents)
|
|
@@ -291,43 +285,43 @@ class ti extends ee {
|
|
|
291
285
|
const t = {}, s = {}, n = {};
|
|
292
286
|
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([p, h]) => {
|
|
293
287
|
var I, O;
|
|
294
|
-
const
|
|
295
|
-
if (!M[
|
|
296
|
-
if (T.length === 0 && (M[
|
|
288
|
+
const c = p, D = c.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;
|
|
289
|
+
if (!M[c]) {
|
|
290
|
+
if (T.length === 0 && (M[c] = h), T.length === 1) {
|
|
297
291
|
const [m] = T;
|
|
298
|
-
(e.contentType === m || m === "Any") && (M[
|
|
292
|
+
(e.contentType === m || m === "Any") && (M[c] = h);
|
|
299
293
|
}
|
|
300
294
|
if (T.length === 2) {
|
|
301
295
|
const [m = "Any", P = "Any"] = T;
|
|
302
|
-
m === "Mixin" && e.contentType === P && (M[
|
|
296
|
+
m === "Mixin" && e.contentType === P && (M[c] = h), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (M[c] = h);
|
|
303
297
|
}
|
|
304
298
|
if (T.length === 3) {
|
|
305
|
-
const [m = "Any", P,
|
|
299
|
+
const [m = "Any", P, $] = T;
|
|
306
300
|
if (P === "Audio" && e.contentType === "Audio") {
|
|
307
301
|
const V = e;
|
|
308
|
-
(V.stickType === m || m === "Any") && V.data.appearance ===
|
|
302
|
+
(V.stickType === m || m === "Any") && V.data.appearance === $ && (M[c] = h);
|
|
309
303
|
}
|
|
310
304
|
}
|
|
311
305
|
}
|
|
312
306
|
});
|
|
313
307
|
const f = b(
|
|
314
308
|
{},
|
|
315
|
-
|
|
309
|
+
X,
|
|
316
310
|
this.config.globalConfig,
|
|
317
311
|
...Object.values(t),
|
|
318
312
|
e.config
|
|
319
|
-
),
|
|
313
|
+
), l = {}, g = Object.values(te.Mode);
|
|
320
314
|
G(s).forEach(([p, h]) => {
|
|
321
|
-
g.forEach((
|
|
322
|
-
(p === "PanoramaLike" && W(
|
|
315
|
+
g.forEach((c) => {
|
|
316
|
+
(p === "PanoramaLike" && W(c) || p === "ModelLike" && N(c)) && (l[c] = b({}, f, ...Object.values(h)));
|
|
323
317
|
});
|
|
324
318
|
}), G(n).forEach(([p, h]) => {
|
|
325
|
-
|
|
319
|
+
l[p] = b({}, f, ...Object.values(h));
|
|
326
320
|
});
|
|
327
|
-
const u = L(C({}, f), { configWithFiveMode:
|
|
328
|
-
return
|
|
321
|
+
const u = L(C({}, f), { configWithFiveMode: l });
|
|
322
|
+
return B(u, e), Object.values(l).forEach((p) => B(p, e)), u._isMerged = !0, u;
|
|
329
323
|
}
|
|
330
324
|
}
|
|
331
325
|
export {
|
|
332
|
-
|
|
326
|
+
Ze as TagUtil
|
|
333
327
|
};
|