@realsee/dnalogel 3.0.0-13 → 3.0.0-14
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 +39 -39
- package/dist/index.js +1032 -1034
- package/dist/index.umd.js +31 -31
- package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -1
- package/dist/shared-utils/five/calculateThreeMouse.d.ts +11 -0
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +6 -5
- 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 +16 -16
- 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 +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/CurrentPanoImagePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/PipelinePlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- 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/CruisePlugin/Controller.js +3 -2
- package/libs/CruisePlugin/index.js +6 -5
- package/libs/CurrentPanoImagePlugin/Controller.js +21 -23
- package/libs/CurrentPanoImagePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +46 -45
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +81 -71
- package/libs/shared-utils/five/calculateThreeMouse.d.ts +11 -0
- package/libs/shared-utils/five/calculateThreeMouse.js +8 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +6 -5
- package/libs/shared-utils/three/PointSelectorHelper.js +4 -4
- package/package.json +1 -1
- package/dist/shared-utils/five/adapt.d.ts +0 -9
- package/libs/shared-utils/five/adapt.d.ts +0 -9
- package/libs/shared-utils/five/adapt.js +0 -16
|
@@ -106,6 +106,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
106
106
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
107
107
|
import "../shared-utils/three/getNormal.js";
|
|
108
108
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
109
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
109
110
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
110
111
|
import "../shared-utils/typescript/entries.js";
|
|
111
112
|
import "../shared-utils/url/getUrl.js";
|
|
@@ -196,7 +197,7 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
196
197
|
import "./utils/coordinatesToVector.js";
|
|
197
198
|
import "../shared-utils/isTruelyObject.js";
|
|
198
199
|
import "./utils/formatRad.js";
|
|
199
|
-
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`,
|
|
200
|
+
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, ar = (c) => `${x}--${c}`, D = () => {
|
|
200
201
|
console.error(`${x} is disposed`);
|
|
201
202
|
}, W = () => {
|
|
202
203
|
console.warn(`${x} is disabled`);
|
|
@@ -753,5 +754,5 @@ class z extends V {
|
|
|
753
754
|
I(z, "PluginVersion", M);
|
|
754
755
|
export {
|
|
755
756
|
z as default,
|
|
756
|
-
|
|
757
|
+
ar as pluginFlag
|
|
757
758
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "./Controller.js";
|
|
2
|
-
import { typing as
|
|
2
|
+
import { typing as ao } from "./typing/index.js";
|
|
3
3
|
import "../base/BasePluginWithData.js";
|
|
4
4
|
import "../base/BasePlugin.js";
|
|
5
5
|
import "../shared-utils/Subscribe.js";
|
|
@@ -74,6 +74,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
74
74
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
75
75
|
import "../shared-utils/three/getNormal.js";
|
|
76
76
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
77
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
77
78
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
78
79
|
import "../shared-utils/typescript/entries.js";
|
|
79
80
|
import "../shared-utils/url/getUrl.js";
|
|
@@ -168,10 +169,10 @@ import "./utils/vectorToCoordinates.js";
|
|
|
168
169
|
import "./utils/formatRad.js";
|
|
169
170
|
import "./utils/linerValue.js";
|
|
170
171
|
import "./utils/sleep.js";
|
|
171
|
-
const
|
|
172
|
+
const lo = (r) => new i(r);
|
|
172
173
|
export {
|
|
173
|
-
|
|
174
|
+
lo as CruisePlugin,
|
|
174
175
|
i as CruisePluginController,
|
|
175
|
-
|
|
176
|
-
|
|
176
|
+
ao as CruisePluginTypes,
|
|
177
|
+
lo as default
|
|
177
178
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var p = (r, o, e) => o in r ?
|
|
1
|
+
var m = Object.defineProperty;
|
|
2
|
+
var g = Object.getOwnPropertySymbols;
|
|
3
|
+
var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var p = (r, o, e) => o in r ? m(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, d = (r, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
|
|
6
|
+
v.call(o, e) && p(r, e, o[e]);
|
|
7
|
+
if (g)
|
|
8
|
+
for (var e of g(o))
|
|
9
|
+
b.call(o, e) && p(r, e, o[e]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
12
|
var n = (r, o, e) => (p(r, typeof o != "symbol" ? o + "" : o, e), e);
|
|
@@ -27,16 +27,15 @@ var f = (r, o, e) => new Promise((i, t) => {
|
|
|
27
27
|
u((e = e.apply(r, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as a from "three";
|
|
30
|
-
import { Controller as
|
|
31
|
-
import { tweenProgress as
|
|
30
|
+
import { Controller as M } from "../base/BasePlugin.js";
|
|
31
|
+
import { tweenProgress as A } from "../shared-utils/animationFrame/BetterTween.js";
|
|
32
32
|
import "hammerjs";
|
|
33
33
|
import "@realsee/five";
|
|
34
34
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
36
36
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
37
|
-
import { equal as
|
|
38
|
-
import { loadTexture as
|
|
39
|
-
import { adaptPanoId as g } from "../shared-utils/five/adapt.js";
|
|
37
|
+
import { equal as w } from "../shared-utils/equal.js";
|
|
38
|
+
import { loadTexture as P } from "../shared-utils/three/loadTexture.js";
|
|
40
39
|
import "../shared-utils/Subscribe.js";
|
|
41
40
|
import "../shared-utils/url/absoluteUrl.js";
|
|
42
41
|
import "../shared-utils/animationFrame/index.js";
|
|
@@ -54,7 +53,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
54
53
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
55
54
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
56
55
|
import "../shared-utils/isTruelyObject.js";
|
|
57
|
-
class
|
|
56
|
+
class K extends M {
|
|
58
57
|
constructor(e, i) {
|
|
59
58
|
super(e);
|
|
60
59
|
// ==================== public properties ====================
|
|
@@ -99,23 +98,22 @@ class X extends A {
|
|
|
99
98
|
this.lastArrivedPanoIndex = -1, this.updateMeshVisible();
|
|
100
99
|
});
|
|
101
100
|
/** 走点前 */
|
|
102
|
-
|
|
103
|
-
n(this, "onFivePanoWillArrive", g(this.five, ({ panoIndex: e }) => {
|
|
101
|
+
n(this, "onFivePanoWillArrive", (e) => {
|
|
104
102
|
var i;
|
|
105
103
|
e !== this.five.getCurrentState().panoIndex && (this.isInPanoMoveAnime = !0, (i = this.opacityAnimeTween) == null || i.dispose(), this.updateMeshVisible());
|
|
106
|
-
})
|
|
104
|
+
});
|
|
107
105
|
/** 走点后 */
|
|
108
106
|
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
109
|
-
n(this, "onFivePanoArrived",
|
|
107
|
+
n(this, "onFivePanoArrived", (e) => {
|
|
110
108
|
e !== this.lastArrivedPanoIndex && (this.lastArrivedPanoIndex = e, this.isInPanoMoveAnime = !1, this.updateMeshPosition(e), this.updateMeshVisible(), this.five.needsRender = !0);
|
|
111
|
-
})
|
|
109
|
+
});
|
|
112
110
|
n(this, "onMeshVisibleChange", (e) => {
|
|
113
111
|
var i;
|
|
114
112
|
if ((i = this.opacityAnimeTween) == null || i.dispose(), !e) {
|
|
115
113
|
this.mesh.visible = !1;
|
|
116
114
|
return;
|
|
117
115
|
}
|
|
118
|
-
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween =
|
|
116
|
+
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = A(1e3).onUpdate(({ progress: t }) => {
|
|
119
117
|
var s;
|
|
120
118
|
(s = this.mesh) == null || s.material.setValues({ opacity: t }), this.five.needsRender = !0;
|
|
121
119
|
}).play();
|
|
@@ -203,7 +201,7 @@ class X extends A {
|
|
|
203
201
|
*/
|
|
204
202
|
setState(e, i = {}) {
|
|
205
203
|
const t = this.state;
|
|
206
|
-
if (
|
|
204
|
+
if (w(e, t, { deep: !0 }))
|
|
207
205
|
return;
|
|
208
206
|
const s = i.userAction !== void 0 ? i.userAction : !0;
|
|
209
207
|
if (this.updateState(e, s), e.enabled !== void 0 && t.enabled !== e.enabled && (e.enabled ? this.checkMsg.pluginDisabled = "" : this.checkMsg.pluginDisabled = "调用 setState 禁用", e.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), e.visible !== void 0 && t.visible !== e.visible) {
|
|
@@ -250,7 +248,7 @@ class X extends A {
|
|
|
250
248
|
reloadTexture(e) {
|
|
251
249
|
return f(this, null, function* () {
|
|
252
250
|
if (this.mesh.material.map = null, e !== "") {
|
|
253
|
-
const i =
|
|
251
|
+
const i = P(e);
|
|
254
252
|
this.textureLoadingPromise = i;
|
|
255
253
|
const t = yield i;
|
|
256
254
|
this.textureLoadingPromise === i && (this.onTextureLoaded(t), this.textureLoadingPromise = null);
|
|
@@ -282,5 +280,5 @@ class X extends A {
|
|
|
282
280
|
}
|
|
283
281
|
}
|
|
284
282
|
export {
|
|
285
|
-
|
|
283
|
+
K as CurrentPanoImagePluginController
|
|
286
284
|
};
|
|
@@ -26,9 +26,8 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
26
26
|
import "../shared-utils/equal.js";
|
|
27
27
|
import "../shared-utils/isTruelyObject.js";
|
|
28
28
|
import "../shared-utils/three/loadTexture.js";
|
|
29
|
-
|
|
30
|
-
const E = (r, o) => new t(r, o);
|
|
29
|
+
const D = (r, o) => new t(r, o);
|
|
31
30
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
D as CurrentPanoImagePlugin,
|
|
32
|
+
D as default
|
|
34
33
|
};
|
|
@@ -99,6 +99,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
99
99
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
100
100
|
import "../shared-utils/three/getNormal.js";
|
|
101
101
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
102
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
102
103
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
103
104
|
import "../shared-utils/typescript/entries.js";
|
|
104
105
|
import "../shared-utils/url/getUrl.js";
|
|
@@ -195,8 +196,8 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
|
195
196
|
import "../CruisePlugin/utils/formatRad.js";
|
|
196
197
|
import "../CruisePlugin/utils/linerValue.js";
|
|
197
198
|
import "../CruisePlugin/utils/sleep.js";
|
|
198
|
-
const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`,
|
|
199
|
-
class
|
|
199
|
+
const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, qr = (p) => `${g}--${p}`;
|
|
200
|
+
class zr extends P {
|
|
200
201
|
constructor(t, i) {
|
|
201
202
|
super(t, i);
|
|
202
203
|
d(this, "version", V);
|
|
@@ -355,6 +356,6 @@ class qr extends P {
|
|
|
355
356
|
}
|
|
356
357
|
}
|
|
357
358
|
export {
|
|
358
|
-
|
|
359
|
-
|
|
359
|
+
zr as default,
|
|
360
|
+
qr as pluginFlag
|
|
360
361
|
};
|
|
@@ -4,7 +4,7 @@ import "../shared-utils/log.js";
|
|
|
4
4
|
import "../shared-utils/to.js";
|
|
5
5
|
import "@realsee/five";
|
|
6
6
|
import "../shared-utils/five/changeMode.js";
|
|
7
|
-
import { GuideLineItem as
|
|
7
|
+
import { GuideLineItem as uo } from "./GuideLineItem/index.js";
|
|
8
8
|
import "three";
|
|
9
9
|
import "./utils/createLineGeometry.js";
|
|
10
10
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -70,6 +70,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
70
70
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
71
71
|
import "../shared-utils/three/getNormal.js";
|
|
72
72
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
73
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
73
74
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
74
75
|
import "../shared-utils/typescript/entries.js";
|
|
75
76
|
import "../shared-utils/url/getUrl.js";
|
|
@@ -168,5 +169,5 @@ import "../CruisePlugin/utils/formatRad.js";
|
|
|
168
169
|
import "../CruisePlugin/utils/linerValue.js";
|
|
169
170
|
import "../CruisePlugin/utils/sleep.js";
|
|
170
171
|
export {
|
|
171
|
-
|
|
172
|
+
uo as GuideLineItem
|
|
172
173
|
};
|
|
@@ -13,7 +13,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
13
13
|
import "./Components/Tag.js";
|
|
14
14
|
import "./utils/index.js";
|
|
15
15
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
-
import { GuideLineModeItem as
|
|
16
|
+
import { GuideLineModeItem as Vi } from "./GuideLineModeItem/index.js";
|
|
17
17
|
import "../vendor/polyline-normals/index.js";
|
|
18
18
|
import "../vendor/polyline-miter-util/index.js";
|
|
19
19
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -68,6 +68,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
68
68
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
69
69
|
import "../shared-utils/three/getNormal.js";
|
|
70
70
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
71
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
71
72
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
72
73
|
import "../shared-utils/typescript/entries.js";
|
|
73
74
|
import "../shared-utils/url/getUrl.js";
|
|
@@ -151,5 +152,5 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
151
152
|
import "@realsee/five/gltf-loader";
|
|
152
153
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
153
154
|
export {
|
|
154
|
-
|
|
155
|
+
Vi as GuideLineModeItem
|
|
155
156
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as ft } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as st } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -81,6 +81,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
81
81
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
82
82
|
import "../shared-utils/three/getNormal.js";
|
|
83
83
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
84
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
84
85
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
85
86
|
import "../shared-utils/typescript/entries.js";
|
|
86
87
|
import "../shared-utils/url/getUrl.js";
|
|
@@ -167,10 +168,10 @@ import "./utils/index.js";
|
|
|
167
168
|
import "../shared-utils/to.js";
|
|
168
169
|
import "../shared-utils/five/changeMode.js";
|
|
169
170
|
import "../shared-utils/nearlyEqual.js";
|
|
170
|
-
const
|
|
171
|
+
const Gt = (i, o) => new t(i, o);
|
|
171
172
|
export {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
ft as GuideLineItem,
|
|
174
|
+
st as GuideLineModeItem,
|
|
175
|
+
Gt as GuideLinePlugin,
|
|
176
|
+
Gt as default
|
|
176
177
|
};
|
|
@@ -276,7 +276,7 @@ class Xe extends j {
|
|
|
276
276
|
}
|
|
277
277
|
}).appendTo(this.container), this.pointSelector = new x(this.five, {
|
|
278
278
|
mode: this.editParams.pointSelectorMode,
|
|
279
|
-
pointSelectorHelperParams: { magnifierParams: this.magnifierParams }
|
|
279
|
+
pointSelectorHelperParams: { magnifierParams: this.magnifierParams, container: this.container }
|
|
280
280
|
}), this.pointSelector.enable(), this.polyline = new S({ model: this.model }), this.area = new w(void 0, {
|
|
281
281
|
five: this.five,
|
|
282
282
|
model: this.model,
|
|
@@ -59,11 +59,12 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
59
59
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
60
60
|
import "../../shared-utils/three/getNormal.js";
|
|
61
61
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
62
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
62
63
|
import "../utils/tag/adaptConfig.js";
|
|
63
64
|
import "../../shared-utils/typescript/entries.js";
|
|
64
65
|
import "../../shared-utils/url/getUrl.js";
|
|
65
66
|
const T = new j.Raycaster();
|
|
66
|
-
class
|
|
67
|
+
class Je extends q {
|
|
67
68
|
constructor(e) {
|
|
68
69
|
super(e);
|
|
69
70
|
}
|
|
@@ -75,72 +76,72 @@ class Ge extends q {
|
|
|
75
76
|
if ((d == null ? void 0 : d.visible) !== void 0)
|
|
76
77
|
return d.visible;
|
|
77
78
|
{
|
|
78
|
-
const
|
|
79
|
+
const s = [], c = (() => {
|
|
79
80
|
var r, f, u;
|
|
80
|
-
const
|
|
81
|
-
if (typeof
|
|
82
|
-
return { value:
|
|
83
|
-
if (
|
|
84
|
-
return { value: !1, checkedList:
|
|
85
|
-
if (
|
|
86
|
-
return { value: !0, checkedList:
|
|
87
|
-
if (
|
|
88
|
-
const a = typeof
|
|
81
|
+
const o = (r = e.config.visibleConfig) != null ? r : {};
|
|
82
|
+
if (typeof o == "function")
|
|
83
|
+
return { value: o(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: s, reason: "config function result" };
|
|
84
|
+
if (o.keep === "hidden")
|
|
85
|
+
return { value: !1, checkedList: s, reason: "config.keep is hidden" };
|
|
86
|
+
if (o.keep === "visible")
|
|
87
|
+
return { value: !0, checkedList: s, reason: "config.keep is visible" };
|
|
88
|
+
if (o.visibleFiveMode !== void 0) {
|
|
89
|
+
const a = typeof o.visibleFiveMode == "function" ? o.visibleFiveMode(e) : o.visibleFiveMode;
|
|
89
90
|
let v = !1;
|
|
90
91
|
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)
|
|
91
92
|
return {
|
|
92
93
|
value: !1,
|
|
93
|
-
checkedList:
|
|
94
|
+
checkedList: s,
|
|
94
95
|
reason: "current mode is not included in visibleFiveMode",
|
|
95
|
-
visibleFiveMode:
|
|
96
|
+
visibleFiveMode: o.visibleFiveMode,
|
|
96
97
|
mode: n
|
|
97
98
|
};
|
|
98
99
|
}
|
|
99
|
-
if (
|
|
100
|
-
return { value: !1, checkedList:
|
|
101
|
-
if (b(n) &&
|
|
102
|
-
if (
|
|
100
|
+
if (o.followModelVisibility === !0 && (n === "Floorplan" || n === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
|
|
101
|
+
return { value: !1, checkedList: s, reason: "followModelVisibility check failed" };
|
|
102
|
+
if (b(n) && o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && t !== void 0) {
|
|
103
|
+
if (s.push("visiblePanoIndex"), Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(t))
|
|
103
104
|
return {
|
|
104
105
|
value: !1,
|
|
105
|
-
checkedList:
|
|
106
|
-
reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${
|
|
106
|
+
checkedList: s,
|
|
107
|
+
reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${o.visiblePanoIndex}`
|
|
107
108
|
};
|
|
108
|
-
if (
|
|
109
|
+
if (o.visiblePanoIndex === "current" && t !== ((f = e.fiveState) == null ? void 0 : f.panoIndex))
|
|
109
110
|
return {
|
|
110
111
|
value: !1,
|
|
111
|
-
checkedList:
|
|
112
|
+
checkedList: s,
|
|
112
113
|
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(u = e.fiveState) == null ? void 0 : u.panoIndex}`
|
|
113
114
|
};
|
|
114
115
|
}
|
|
115
|
-
if (b(n) &&
|
|
116
|
+
if (b(n) && o.visibleDistance !== void 0 && (s.push("visibleDistance"), o.visibleDistance !== "unLimited")) {
|
|
116
117
|
const a = this.getDistance(e);
|
|
117
|
-
if (h(a,
|
|
118
|
+
if (h(a, o.visibleDistance) === !1)
|
|
118
119
|
return {
|
|
119
120
|
value: !1,
|
|
120
|
-
checkedList:
|
|
121
|
-
reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${
|
|
121
|
+
checkedList: s,
|
|
122
|
+
reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${o.visibleDistance}`
|
|
122
123
|
};
|
|
123
124
|
}
|
|
124
|
-
if (b(n) &&
|
|
125
|
-
|
|
125
|
+
if (b(n) && o.angleRange && O(e)) {
|
|
126
|
+
s.push("angleRange");
|
|
126
127
|
const a = this.getAngle(e);
|
|
127
|
-
if (h(a,
|
|
128
|
-
return { value: !1, checkedList:
|
|
128
|
+
if (h(a, o.angleRange) === !1)
|
|
129
|
+
return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${o.angleRange}` };
|
|
129
130
|
}
|
|
130
|
-
if (
|
|
131
|
-
if (
|
|
131
|
+
if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
|
|
132
|
+
if (s.push("intersectRaycaster"), t === void 0)
|
|
132
133
|
return {
|
|
133
134
|
value: !1,
|
|
134
|
-
checkedList:
|
|
135
|
+
checkedList: s,
|
|
135
136
|
reason: `intersectRaycaster check failed: panoIndex is ${t}`
|
|
136
137
|
};
|
|
137
138
|
const a = this.getTagEnableByIntersect(e, t);
|
|
138
139
|
if (a.value === !1)
|
|
139
|
-
return Object.assign(a, { checkedList:
|
|
140
|
+
return Object.assign(a, { checkedList: s });
|
|
140
141
|
}
|
|
141
142
|
return {
|
|
142
143
|
value: !0,
|
|
143
|
-
checkedList:
|
|
144
|
+
checkedList: s,
|
|
144
145
|
reason: "all check passed"
|
|
145
146
|
};
|
|
146
147
|
})();
|
|
@@ -171,8 +172,8 @@ class Ge extends q {
|
|
|
171
172
|
return !1;
|
|
172
173
|
})();
|
|
173
174
|
t.unfolded = d;
|
|
174
|
-
const
|
|
175
|
-
return
|
|
175
|
+
const s = this.getUnfoldedByCamera(e);
|
|
176
|
+
return s !== void 0 ? s : t.unfolded;
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
179
|
/**
|
|
@@ -277,8 +278,8 @@ class Ge extends q {
|
|
|
277
278
|
}
|
|
278
279
|
/** 通过射线检测标签可用性 */
|
|
279
280
|
getTagEnableByIntersect(e, i) {
|
|
280
|
-
var
|
|
281
|
-
const l = U(U((
|
|
281
|
+
var o, r, f, u, a, v;
|
|
282
|
+
const l = U(U((o = this.getTagConfig(e).visibleConfig) != null ? o : {}).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
283
|
if (n === void 0)
|
|
283
284
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
284
285
|
const d = X(
|
|
@@ -288,7 +289,7 @@ class Ge extends q {
|
|
|
288
289
|
return m === "center" ? I(e) : m === "corner" ? Z(e) : Array.isArray(m) ? m : [];
|
|
289
290
|
})()
|
|
290
291
|
);
|
|
291
|
-
let
|
|
292
|
+
let s = 0, c = 0;
|
|
292
293
|
for (const m of d) {
|
|
293
294
|
const g = new j.Vector3().subVectors(m, n).normalize();
|
|
294
295
|
T.set(n, g);
|
|
@@ -301,33 +302,33 @@ class Ge extends q {
|
|
|
301
302
|
}).filter(N), [w] = T.intersectObjects(B, !0);
|
|
302
303
|
return w;
|
|
303
304
|
})(), 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 >= F ?
|
|
305
|
+
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 >= F ? s++ : c++;
|
|
305
306
|
const V = (v = l.needPassed) != null ? v : 1;
|
|
306
|
-
if (
|
|
307
|
+
if (s >= V)
|
|
307
308
|
return { value: !0 };
|
|
308
309
|
}
|
|
309
310
|
return c === 0 ? { value: !0 } : {
|
|
310
311
|
value: !1,
|
|
311
312
|
reason: {
|
|
312
313
|
type: "intersectRaycaster check failed",
|
|
313
|
-
passedCount:
|
|
314
|
+
passedCount: s,
|
|
314
315
|
needPassed: l.needPassed
|
|
315
316
|
}
|
|
316
317
|
};
|
|
317
318
|
}
|
|
318
319
|
/** 检测是否匹配当前楼层 */
|
|
319
320
|
getVisibleByFloorIndex(e) {
|
|
320
|
-
var n, d,
|
|
321
|
+
var n, d, s, c, o, r, f;
|
|
321
322
|
let i = 0;
|
|
322
323
|
const l = (n = e.fiveState) == null ? void 0 : n.panoIndex;
|
|
323
324
|
l !== void 0 ? i = (d = this.five.work.observers[l]) == null ? void 0 : d.floorIndex : i = W(
|
|
324
325
|
this.five.work.observers,
|
|
325
|
-
(f = (r = (c = (
|
|
326
|
+
(f = (r = (c = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : c.position) != null ? r : (o = e.mediaPlane) == null ? void 0 : o.position) != null ? f : I(e)
|
|
326
327
|
);
|
|
327
328
|
const t = this.five.model.shownFloor;
|
|
328
329
|
return t === null || t === i;
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
332
|
export {
|
|
332
|
-
|
|
333
|
+
Je as TagComputer
|
|
333
334
|
};
|
|
@@ -70,6 +70,7 @@ 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
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
73
74
|
import "../utils/tag/adaptConfig.js";
|
|
74
75
|
import "../../shared-utils/typescript/entries.js";
|
|
75
76
|
import "../../shared-utils/url/getUrl.js";
|
|
@@ -157,7 +158,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
|
|
|
157
158
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
158
159
|
import "@realsee/five/gltf-loader";
|
|
159
160
|
const B = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map();
|
|
160
|
-
class
|
|
161
|
+
class ui extends O {
|
|
161
162
|
constructor(t) {
|
|
162
163
|
super(t);
|
|
163
164
|
P(this, "group", new R());
|
|
@@ -464,5 +465,5 @@ class hi extends O {
|
|
|
464
465
|
}
|
|
465
466
|
}
|
|
466
467
|
export {
|
|
467
|
-
|
|
468
|
+
ui as TagRender
|
|
468
469
|
};
|
|
@@ -58,7 +58,8 @@ import "../Assets/Icon.js";
|
|
|
58
58
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
59
59
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
60
60
|
import "../../shared-utils/three/getNormal.js";
|
|
61
|
-
|
|
61
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
62
|
+
class si extends oe {
|
|
62
63
|
constructor(e) {
|
|
63
64
|
super(e);
|
|
64
65
|
d(this, "tags", []);
|
|
@@ -324,5 +325,5 @@ class ri extends oe {
|
|
|
324
325
|
}
|
|
325
326
|
}
|
|
326
327
|
export {
|
|
327
|
-
|
|
328
|
+
si as TagUtil
|
|
328
329
|
};
|
|
@@ -85,6 +85,7 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
85
85
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
86
86
|
import "../../shared-utils/three/getNormal.js";
|
|
87
87
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
88
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
88
89
|
import "../utils/tag/adaptConfig.js";
|
|
89
90
|
import "../../shared-utils/typescript/entries.js";
|
|
90
91
|
import "../../shared-utils/url/getUrl.js";
|
|
@@ -166,8 +167,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
166
167
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
167
168
|
import "@realsee/five/gltf-loader";
|
|
168
169
|
import "../../shared-utils/animationFrame/index.js";
|
|
169
|
-
const P = "Dnalogel-PanoTagPlugin",
|
|
170
|
-
class
|
|
170
|
+
const P = "Dnalogel-PanoTagPlugin", Di = (d) => `${P}--${d}`;
|
|
171
|
+
class Pi extends N {
|
|
171
172
|
constructor(e, t) {
|
|
172
173
|
super(e);
|
|
173
174
|
/** state */
|
|
@@ -533,7 +534,7 @@ class Di extends N {
|
|
|
533
534
|
}
|
|
534
535
|
}
|
|
535
536
|
export {
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
537
|
+
Pi as PanoTagPluginController,
|
|
538
|
+
Pi as default,
|
|
539
|
+
Di as pluginFlag
|
|
539
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 Lt } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Nt } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Qt, DimensionType as Rt, PointType as St } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "@realsee/five";
|
|
7
7
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -56,6 +56,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
56
56
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
57
57
|
import "../shared-utils/three/getNormal.js";
|
|
58
58
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
59
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
59
60
|
import "./utils/tag/adaptConfig.js";
|
|
60
61
|
import "../shared-utils/typescript/entries.js";
|
|
61
62
|
import "../shared-utils/url/getUrl.js";
|
|
@@ -140,14 +141,14 @@ import "@realsee/five/gltf-loader";
|
|
|
140
141
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
141
142
|
import "../shared-utils/animationFrame/index.js";
|
|
142
143
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
143
|
-
const
|
|
144
|
+
const It = (o, t) => new r(o, t);
|
|
144
145
|
export {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
Qt as ContentType,
|
|
147
|
+
Rt as DimensionType,
|
|
148
|
+
It as PanoTagPlugin,
|
|
148
149
|
r as PanoTagPluginController,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
St as PointType,
|
|
151
|
+
It as default,
|
|
152
|
+
Nt as defaultGlobalConfig,
|
|
153
|
+
Lt as pluginFlag
|
|
153
154
|
};
|
package/libs/base/BasePlugin.js
CHANGED
package/libs/index.js
CHANGED
|
@@ -281,6 +281,7 @@ import "./shared-utils/three/getPositionsByObjectFit.js";
|
|
|
281
281
|
import "./shared-utils/three/FragmentTransparencyMaterial.js";
|
|
282
282
|
import "./shared-utils/three/getNormal.js";
|
|
283
283
|
import "./shared-utils/five/FiveDomEvents.js";
|
|
284
|
+
import "./shared-utils/five/calculateThreeMouse.js";
|
|
284
285
|
import "./PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
285
286
|
import "./shared-utils/typescript/entries.js";
|
|
286
287
|
import "./shared-utils/url/getUrl.js";
|
|
@@ -408,7 +409,6 @@ import "./shared-utils/three/objects/LineSegments.js";
|
|
|
408
409
|
import "./components/AreaLabel/LabelItem.js";
|
|
409
410
|
import "./components/AreaLabel/Assets/roomLabelBg.js";
|
|
410
411
|
import "./CurrentPanoImagePlugin/Controller.js";
|
|
411
|
-
import "./shared-utils/five/adapt.js";
|
|
412
412
|
import "./shared-utils/math/Interval.js";
|
|
413
413
|
import "./shared-utils/math/Rectangle.js";
|
|
414
414
|
import "./shared-utils/five/index.js";
|