@realsee/dnalogel 3.0.0-0 → 3.0.0-11
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/CSS3DRenderPlugin/Controller.d.ts +2 -3
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -3
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -5
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
- package/dist/PanoTagPlugin/controller/index.d.ts +6 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -66
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
- package/dist/PanoTagPlugin/utils/index.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/dist/index.cjs.js +57 -57
- package/dist/index.d.ts +0 -1
- package/dist/index.js +4455 -4456
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/five/FiveDomEvents.d.ts +3 -1
- package/dist/shared-utils/nearlyEqual.d.ts +7 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -31
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -32
- package/docs/classes/CSS3DRender.html +30 -31
- package/docs/classes/CruisePluginController.html +25 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -20
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -35
- package/docs/classes/Magnifier.html +19 -20
- package/docs/classes/ModelRoomLabelController.html +10 -11
- package/docs/classes/Object3DHelperController.html +24 -25
- package/docs/classes/PaintBrush.html +14 -15
- package/docs/classes/PanoMeasurePluginLine.html +26 -27
- package/docs/classes/PanoMeasurePluginModel.html +26 -27
- package/docs/classes/PanoMeasurePluginPoint.html +10 -11
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -27
- package/docs/classes/PanoTagPluginController.html +107 -53
- package/docs/classes/Util.BetterTween.html +8 -9
- package/docs/classes/Util.Interval.html +11 -12
- package/docs/classes/Util.LineSegments.html +7 -8
- package/docs/classes/Util.Magnifier.html +19 -20
- package/docs/classes/Util.Object3D.html +7 -8
- package/docs/classes/Util.PointDomHelper.html +10 -11
- package/docs/classes/Util.PointHelper.html +10 -11
- package/docs/classes/Util.PointSelectorHelper.html +15 -16
- package/docs/classes/Util.Rectangle.html +12 -13
- package/docs/enums/CameraMovementEffect.html +6 -7
- package/docs/enums/ContentType.html +19 -20
- package/docs/enums/DIRECTION.html +8 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/DimensionType.html +6 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/PaintBrushTypeEnum.html +7 -8
- package/docs/enums/PointType.html +6 -7
- package/docs/enums/Rotation.html +7 -8
- package/docs/functions/AreaMakerPlugin.html +4 -5
- package/docs/functions/CSS3DRenderPlugin.html +4 -5
- package/docs/functions/CameraMovementPlugin.html +4 -5
- package/docs/functions/CruisePlugin.html +4 -5
- package/docs/functions/CurrentPanoImagePlugin.html +4 -5
- package/docs/functions/GuideLinePlugin.html +4 -5
- package/docs/functions/ItemLabelPlugin.html +4 -5
- package/docs/functions/MapviewFloorplanPlugin.html +4 -5
- package/docs/functions/ModelChassisCompassPlugin.html +4 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -5
- package/docs/functions/ModelFloorplanPlugin.html +4 -5
- package/docs/functions/ModelItemLabelPlugin.html +4 -5
- package/docs/functions/ModelRoomLabelPlugin.html +4 -5
- package/docs/functions/ModelTVVideoPlugin.html +4 -5
- package/docs/functions/ModelViewPlugin.html +4 -5
- package/docs/functions/Object3DHelperPlugin.html +4 -5
- package/docs/functions/PanoCompassPlugin.html +4 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -5
- package/docs/functions/PanoDoorLabelPlugin.html +4 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -5
- package/docs/functions/PanoMeasurePlugin.html +4 -5
- package/docs/functions/PanoRulerPlugin.html +4 -5
- package/docs/functions/PanoRulerProPlugin.html +4 -5
- package/docs/functions/PanoSpatialTagPlugin.html +4 -5
- package/docs/functions/PanoTagPlugin.html +4 -5
- package/docs/functions/PanoVideoPlugin.html +4 -5
- package/docs/functions/PipelinePlugin.html +4 -5
- package/docs/functions/TopviewFloorplanPlugin.html +4 -5
- package/docs/functions/Util.absoluteUrl.html +4 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -5
- package/docs/functions/Util.equal.html +4 -5
- package/docs/functions/Util.getCoordsFromClient.html +4 -5
- package/docs/functions/Util.getCoordsFromElement.html +4 -5
- package/docs/functions/Util.getFrameTime.html +4 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -5
- package/docs/functions/Util.isAbsoluteURL.html +4 -5
- package/docs/functions/Util.isModelLike.html +4 -5
- package/docs/functions/Util.isNil.html +4 -5
- package/docs/functions/Util.isPanoramaLike.html +4 -5
- package/docs/functions/Util.nextFrame.html +4 -5
- package/docs/functions/Util.notNil.html +4 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -5
- package/docs/functions/Util.tweenProgress.html +4 -5
- package/docs/functions/Util.uuid.html +4 -5
- package/docs/functions/pluginFlag.html +4 -5
- package/docs/index.html +4 -5
- package/docs/interfaces/AddTagConfig.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -15
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -7
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -9
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -8
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -11
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -12
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -7
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -6
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -8
- package/docs/interfaces/EventMap.html +14 -15
- package/docs/interfaces/FloorplanBounding.html +7 -8
- package/docs/interfaces/FloorplanData.html +9 -10
- package/docs/interfaces/FloorplanEntrance.html +10 -11
- package/docs/interfaces/FloorplanExtraObject.html +9 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -8
- package/docs/interfaces/FloorplanFloorData.html +8 -9
- package/docs/interfaces/FloorplanImagePosition.html +6 -7
- package/docs/interfaces/FloorplanObserver.html +8 -9
- package/docs/interfaces/FloorplanOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanPosition.html +6 -7
- package/docs/interfaces/FloorplanRoomItem.html +12 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -7
- package/docs/interfaces/FloorplanServerBounding.html +7 -8
- package/docs/interfaces/FloorplanServerComputedData.html +9 -10
- package/docs/interfaces/FloorplanServerData.html +6 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -8
- package/docs/interfaces/FloorplanServerEntrance.html +10 -11
- package/docs/interfaces/FloorplanServerFloorData.html +8 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -7
- package/docs/interfaces/FloorplanServerObserver.html +8 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanServerPosition.html +6 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -13
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -9
- package/docs/interfaces/HelperOffset.html +7 -8
- package/docs/interfaces/ImagePlaneGroup.html +5 -6
- package/docs/interfaces/ItemLabelPluginData.html +5 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -9
- package/docs/interfaces/MinMax.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -6
- package/docs/interfaces/ModelViewPluginExportType.html +10 -11
- package/docs/interfaces/Object3DHelperState.html +7 -8
- package/docs/interfaces/ObjectHelperControllers.html +8 -9
- package/docs/interfaces/PaintBrushAction.html +11 -12
- package/docs/interfaces/PaintBrushConfigs.html +11 -12
- package/docs/interfaces/PaintBrushState.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -5
- package/docs/interfaces/PanoMeasureParameterType.html +15 -16
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -7
- package/docs/interfaces/PanoRulerProPluginState.html +7 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -10
- package/docs/interfaces/Point.html +7 -8
- package/docs/interfaces/Room.html +8 -9
- package/docs/interfaces/RoomInfo.html +6 -7
- package/docs/interfaces/RoomLabel.html +13 -14
- package/docs/interfaces/RoomRules.html +4 -5
- package/docs/interfaces/Rooms.html +4 -5
- package/docs/interfaces/Scissor.html +8 -9
- package/docs/interfaces/State.html +7 -8
- package/docs/interfaces/TagCacheInterface.html +11 -12
- package/docs/interfaces/TagConfig.html +27 -45
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -6
- package/docs/interfaces/TagIconUrl.html +11 -12
- package/docs/interfaces/TagObjectGroup.html +5 -6
- package/docs/interfaces/TagStyle.html +5 -6
- package/docs/interfaces/Tags.html +10 -2153
- package/docs/interfaces/TemporaryState.html +5 -6
- package/docs/interfaces/Util.MagnifierParameter.html +10 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -8
- package/docs/interfaces/Util.PointIntersection.html +7 -8
- package/docs/modules/AreaMakerPluginType.html +4 -5
- package/docs/modules/CruisePluginTypes.html +4 -5
- package/docs/modules/CurrentPanoImagePluginType.html +4 -5
- package/docs/modules/GuideLineItem.html +4 -5
- package/docs/modules/GuideLineModeItem.html +4 -5
- package/docs/modules/GuideLinePluginType.html +4 -5
- package/docs/modules/PanoVideoPluginType.html +4 -5
- package/docs/modules/Util.html +4 -5
- package/docs/modules.html +4 -6
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -5
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -5
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -5
- package/docs/types/ArrayPosition.html +4 -5
- package/docs/types/AudioAppearance.html +4 -5
- package/docs/types/AudioTagTypeConfigKey.html +4 -5
- package/docs/types/CSS3DRenderExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -5
- package/docs/types/ClassFunctionParameters.html +4 -5
- package/docs/types/Color.html +4 -5
- package/docs/types/ContentTypeConfigKey.html +5 -6
- package/docs/types/ContentTypeConfigKeySplit.html +5 -6
- package/docs/types/ContentTypeMap.html +4 -5
- package/docs/types/Create3DDomContainerReturnType.html +4 -5
- package/docs/types/Create3DElementReturnType.html +4 -5
- package/docs/types/CruisePluginExportType.html +4 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -5
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -5
- package/docs/types/DeprecatedTagProperty.html +4 -5
- package/docs/types/Direction-1.html +4 -5
- package/docs/types/Direction4.html +4 -5
- package/docs/types/ElementRenderer.html +4 -5
- package/docs/types/FloorplanRuleLabels.html +4 -5
- package/docs/types/FloorplanServerRuleLabels.html +4 -5
- package/docs/types/GuideLinePluginExportType.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -5
- package/docs/types/GuideLinePluginType.PathItem.html +4 -5
- package/docs/types/GuideLinePluginType.PluginData.html +4 -5
- package/docs/types/HelperEventMap.html +4 -5
- package/docs/types/LoadTagConfig.html +4 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/MediaData.html +4 -5
- package/docs/types/MediaStore.html +4 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -5
- package/docs/types/MoveArgs.html +4 -5
- package/docs/types/MoveOpts.html +4 -5
- package/docs/types/Object3DHelperEventMap.html +4 -5
- package/docs/types/ObjectFit.html +4 -5
- package/docs/types/PaintBrushEventMap.html +4 -5
- package/docs/types/PanoCompassPluginData.html +4 -5
- package/docs/types/PanoCompassPluginExportType.html +4 -5
- package/docs/types/PanoCompassPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -5
- package/docs/types/PanoIndex.html +4 -5
- package/docs/types/PanoMeasurePluginEvent.html +4 -5
- package/docs/types/PanoMeasureReturnType.html +4 -5
- package/docs/types/PanoSpatialTagPluginId.html +4 -5
- package/docs/types/PanoTagPluginExportInterface.html +4 -5
- package/docs/types/PanoTagPluginParamsInterface.html +4 -5
- package/docs/types/PanoVideoPluginParameterType.html +4 -5
- package/docs/types/PanoVideoPluginReturnType.html +4 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -6
- package/docs/types/PipelinePluginParameterType.html +4 -5
- package/docs/types/PipelinePluginReturnType.html +4 -5
- package/docs/types/PlaneTag.html +4 -5
- package/docs/types/Point2DTag.html +4 -5
- package/docs/types/Point3DTag.html +4 -5
- package/docs/types/PointTag.html +4 -5
- package/docs/types/PointTagInstance.html +4 -5
- package/docs/types/Position.html +4 -5
- package/docs/types/RotateArgs.html +4 -5
- package/docs/types/RotateOpts.html +4 -5
- package/docs/types/RuleLabelsKey.html +4 -5
- package/docs/types/RuleLabelsValue.html +4 -5
- package/docs/types/StickType.html +4 -5
- package/docs/types/Tag.html +6 -7
- package/docs/types/Tag2D.html +4 -5
- package/docs/types/Tag3D.html +4 -5
- package/docs/types/TagConfigByKey.html +4 -5
- package/docs/types/TagContentType.html +4 -5
- package/docs/types/TagDimensionType.html +4 -5
- package/docs/types/TagElement.html +4 -5
- package/docs/types/TagEvents.html +4 -5
- package/docs/types/TagGLTFObject.html +4 -5
- package/docs/types/TagHooks.html +4 -5
- package/docs/types/TagId.html +4 -5
- package/docs/types/TagInstance.html +5 -8
- package/docs/types/TagPointType.html +4 -5
- package/docs/types/TagRendererMap.html +4 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/WorkCode.html +4 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -5
- package/docs/variables/PLUGIN.html +4 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -5
- package/docs/variables/ROOM_TYPE_MAP.html +4 -5
- package/docs/variables/defaultGlobalConfig.html +4 -5
- package/docs/variables/itemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -5
- package/libs/CSS3DRenderPlugin/Controller.d.ts +2 -3
- package/libs/CSS3DRenderPlugin/Controller.js +3 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +11 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +66 -68
- package/libs/CruisePlugin/Controller.js +3 -5
- package/libs/CruisePlugin/index.js +6 -8
- package/libs/CurrentPanoImagePlugin/Controller.js +18 -21
- package/libs/CurrentPanoImagePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/Controller.js +5 -7
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -5
- package/libs/GuideLinePlugin/index.js +8 -10
- package/libs/PanoTagPlugin/Components/Tag/index.js +71 -70
- package/libs/PanoTagPlugin/Components/TagContainer.js +33 -32
- package/libs/PanoTagPlugin/Components/TagItem.js +116 -115
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +14 -14
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
- package/libs/PanoTagPlugin/controller/TagComputer.js +199 -168
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -5
- package/libs/PanoTagPlugin/controller/TagRender.js +117 -138
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
- package/libs/PanoTagPlugin/controller/TagUtil.js +152 -178
- package/libs/PanoTagPlugin/controller/index.d.ts +6 -2
- package/libs/PanoTagPlugin/controller/index.js +148 -140
- package/libs/PanoTagPlugin/index.js +13 -16
- package/libs/PanoTagPlugin/tag.config.js +3 -11
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -66
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +16 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
- package/libs/PanoTagPlugin/utils/index.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/index.js +31 -23
- package/libs/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/index.js +1 -0
- package/libs/floorplan/utils/correctFiveState.js +25 -25
- package/libs/index.d.ts +0 -1
- package/libs/index.js +117 -120
- package/libs/shared-utils/five/FiveDomEvents.d.ts +3 -1
- package/libs/shared-utils/five/FiveDomEvents.js +56 -50
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/five/mode.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/nearlyEqual.d.ts +7 -0
- package/libs/shared-utils/nearlyEqual.js +9 -3
- package/package.json +2 -2
- package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/dist/shared-utils/five/adapt.d.ts +0 -9
- package/dist/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/dist/shared-utils/typescript/entries.d.ts +0 -2
- package/docs/types/ModelId.html +0 -279
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +0 -7
- package/libs/shared-utils/five/adapt.d.ts +0 -9
- package/libs/shared-utils/five/adapt.js +0 -16
- package/libs/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/libs/shared-utils/five/fiveModelLoad.js +0 -29
- package/libs/shared-utils/typescript/entries.d.ts +0 -2
- package/libs/shared-utils/typescript/entries.js +0 -6
package/libs/index.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { index as
|
|
38
|
-
import { CSS3DRender as
|
|
39
|
-
import { Model as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { Polyline as
|
|
43
|
-
import { default as
|
|
44
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
45
|
-
import { ModelItemLabelPlugin as
|
|
46
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { Plugin as
|
|
48
|
-
import { GuideLineItem$1 as
|
|
49
|
-
import { GuideLineModeItem$1 as
|
|
50
|
-
import { default as
|
|
51
|
-
import { typing as
|
|
52
|
-
import { default as
|
|
53
|
-
import { defaultGlobalConfig as
|
|
54
|
-
import { ContentType as
|
|
55
|
-
import { Object3DHelperController as
|
|
56
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as hp } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Bp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Up } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as $p } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as qp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Jp, modelRoomLabelPluginServerParams as Kp } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as Wp } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Zp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as re } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as ie } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as pe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as ne, ROOM_FETILE_TYPE_MAP as le, ROOM_TYPE_MAP as ae } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as ue } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as xe } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as se } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Me, Rotation as Te } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Ce } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as Ee } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Re } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as ye } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as Se } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Ge } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Fe } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as ve } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Ve } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as he } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as Be } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as Ue } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as $e } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as qe } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as Je } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Qe } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as Xe } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as on } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { index as tn } from "./shared-utils/index.js";
|
|
38
|
+
import { CSS3DRender as pn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
|
+
import { Model as nn } from "./PanoMeasurePlugin/Model/index.js";
|
|
40
|
+
import { default as an } from "./PanoMeasurePlugin/Model/point.js";
|
|
41
|
+
import { default as un } from "./PanoMeasurePlugin/Model/line.js";
|
|
42
|
+
import { Polyline as xn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
43
|
+
import { default as sn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
44
|
+
import { DISPLAY_STRATEGY_TYPE as Mn } from "./ModelItemLabelPlugin/typings.js";
|
|
45
|
+
import { ModelItemLabelPlugin as Ln } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
46
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as _n } from "./ItemLabelPlugin/typings.js";
|
|
47
|
+
import { Plugin as In } from "./ItemLabelPlugin/Plugin.js";
|
|
48
|
+
import { GuideLineItem$1 as On } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
49
|
+
import { GuideLineModeItem$1 as An } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
50
|
+
import { default as Dn } from "./CruisePlugin/Controller.js";
|
|
51
|
+
import { typing as bn } from "./CruisePlugin/typing/index.js";
|
|
52
|
+
import { default as Yn, pluginFlag as vn } from "./PanoTagPlugin/controller/index.js";
|
|
53
|
+
import { defaultGlobalConfig as Vn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
54
|
+
import { ContentType as hn, DimensionType as wn, PointType as Bn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
55
|
+
import { Object3DHelperController as Un, PLUGIN as jn } from "./Object3DHelperPlugin/Controller.js";
|
|
56
|
+
import { typings as kn } from "./PanoVideoPlugin/typings/index.js";
|
|
57
57
|
import "./components/PaintBrush/Controller.js";
|
|
58
58
|
import "./components/PaintBrush/utils.js";
|
|
59
59
|
import "./components/PaintBrush/tween.js";
|
|
@@ -256,6 +256,7 @@ import "./vendor/gl-vec2/dot.js";
|
|
|
256
256
|
import "./shared-utils/five/mode.js";
|
|
257
257
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
258
258
|
import "./PanoTagPlugin/utils/tag/tagCheck.js";
|
|
259
|
+
import "./PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
259
260
|
import "./PanoTagPlugin/utils/debounce.js";
|
|
260
261
|
import "./PanoTagPlugin/utils/throttle.js";
|
|
261
262
|
import "./PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -279,8 +280,6 @@ import "./shared-utils/three/getPositionsByObjectFit.js";
|
|
|
279
280
|
import "./shared-utils/three/FragmentTransparencyMaterial.js";
|
|
280
281
|
import "./shared-utils/five/FiveDomEvents.js";
|
|
281
282
|
import "./shared-utils/three/getObjectVisible.js";
|
|
282
|
-
import "./PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
283
|
-
import "./shared-utils/typescript/entries.js";
|
|
284
283
|
import "./shared-utils/five/getFloorIndex.js";
|
|
285
284
|
import "./shared-utils/util.js";
|
|
286
285
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -350,7 +349,6 @@ import "./PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
|
350
349
|
import "./PanoTagPlugin/Components/Common/TagPoint.js";
|
|
351
350
|
import "./shared-utils/three/GLTFLoader.js";
|
|
352
351
|
import "@realsee/five/gltf-loader";
|
|
353
|
-
import "./shared-utils/five/fiveModelLoad.js";
|
|
354
352
|
import "./GuideLinePlugin/Components/Tag.js";
|
|
355
353
|
import "./GuideLinePlugin/utils/index.js";
|
|
356
354
|
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
@@ -406,7 +404,6 @@ import "./shared-utils/three/objects/LineSegments.js";
|
|
|
406
404
|
import "./components/AreaLabel/LabelItem.js";
|
|
407
405
|
import "./components/AreaLabel/Assets/roomLabelBg.js";
|
|
408
406
|
import "./CurrentPanoImagePlugin/Controller.js";
|
|
409
|
-
import "./shared-utils/five/adapt.js";
|
|
410
407
|
import "./shared-utils/math/Interval.js";
|
|
411
408
|
import "./shared-utils/math/Rectangle.js";
|
|
412
409
|
import "./shared-utils/five/index.js";
|
|
@@ -415,66 +412,66 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
415
412
|
r();
|
|
416
413
|
o();
|
|
417
414
|
export {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
415
|
+
Xe as AreaMakerPlugin,
|
|
416
|
+
pn as CSS3DRender,
|
|
417
|
+
$p as CSS3DRenderPlugin,
|
|
418
|
+
Me as CameraMovementEffect,
|
|
419
|
+
se as CameraMovementPlugin,
|
|
420
|
+
hn as ContentType,
|
|
421
|
+
Ue as CruisePlugin,
|
|
422
|
+
Dn as CruisePluginController,
|
|
423
|
+
bn as CruisePluginTypes,
|
|
424
|
+
on as CurrentPanoImagePlugin,
|
|
425
|
+
ve as DIRECTION,
|
|
426
|
+
Mn as DISPLAY_STRATEGY_TYPE,
|
|
427
|
+
wn as DimensionType,
|
|
428
|
+
Wp as FLOOR_PLAN_ATTACHED_TO,
|
|
429
|
+
ne as FLOOR_TYPE_MAP,
|
|
430
|
+
On as GuideLineItem,
|
|
431
|
+
An as GuideLineModeItem,
|
|
432
|
+
Be as GuideLinePlugin,
|
|
433
|
+
_n as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
434
|
+
In as ItemLabelPlugin,
|
|
435
|
+
sn as Magnifier,
|
|
436
|
+
re as MapviewFloorplanPlugin,
|
|
437
|
+
ue as ModelChassisCompassPlugin,
|
|
438
|
+
xe as ModelEntryDoorGuidePlugin,
|
|
439
|
+
Zp as ModelFloorplanPlugin,
|
|
440
|
+
Ln as ModelItemLabelPlugin,
|
|
441
|
+
Jp as ModelRoomLabelPlugin,
|
|
442
|
+
Fe as ModelTVVideoPlugin,
|
|
443
|
+
Up as ModelViewPlugin,
|
|
444
|
+
Un as Object3DHelperController,
|
|
445
|
+
qe as Object3DHelperPlugin,
|
|
446
|
+
jn as PLUGIN,
|
|
447
|
+
hp as PaintBrush,
|
|
448
|
+
Bp as PaintBrushTypeEnum,
|
|
449
|
+
Re as PanoCompassPlugin,
|
|
450
|
+
qp as PanoCursorRaycasterPlugin,
|
|
451
|
+
he as PanoDoorLabelPlugin,
|
|
452
|
+
pe as PanoFloorplanRadarPlugin,
|
|
453
|
+
ye as PanoMeasurePlugin,
|
|
454
|
+
un as PanoMeasurePluginLine,
|
|
455
|
+
nn as PanoMeasurePluginModel,
|
|
456
|
+
an as PanoMeasurePluginPoint,
|
|
457
|
+
xn as PanoMeasurePluginPolyline,
|
|
458
|
+
Ce as PanoRulerPlugin,
|
|
459
|
+
Ee as PanoRulerProPlugin,
|
|
460
|
+
Se as PanoSpatialTagPlugin,
|
|
461
|
+
$e as PanoTagPlugin,
|
|
462
|
+
Yn as PanoTagPluginController,
|
|
463
|
+
Je as PanoVideoPlugin,
|
|
464
|
+
kn as PanoVideoPluginType,
|
|
465
|
+
Qe as PipelinePlugin,
|
|
466
|
+
Bn as PointType,
|
|
467
|
+
le as ROOM_FETILE_TYPE_MAP,
|
|
468
|
+
ae as ROOM_TYPE_MAP,
|
|
469
|
+
Te as Rotation,
|
|
470
|
+
ie as TopviewFloorplanPlugin,
|
|
471
|
+
tn as Util,
|
|
472
|
+
Vn as defaultGlobalConfig,
|
|
473
|
+
Ve as itemLabelPluginServerParams,
|
|
474
|
+
Ge as modelItemLabelPluginServerParams,
|
|
475
|
+
Kp as modelRoomLabelPluginServerParams,
|
|
476
|
+
vn as pluginFlag
|
|
480
477
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* 3. 基于第二点,废弃了之前使用浏览器原生事件监听点击的方式,改为使用 wantsTapGesture 的方式
|
|
7
7
|
* 4. 重构之后只会在 wantsTapGesture 事件触发的时候做射线检测
|
|
8
8
|
*/
|
|
9
|
-
import type
|
|
9
|
+
import { type Five } from '@realsee/five';
|
|
10
10
|
import type * as THREE from 'three';
|
|
11
11
|
type EventName = 'click';
|
|
12
12
|
type PreventFiveEvent = boolean;
|
|
@@ -35,6 +35,7 @@ type Object3DWithEvent = THREE.Object3D & {
|
|
|
35
35
|
export declare class FiveDomEvents {
|
|
36
36
|
private five;
|
|
37
37
|
private boundObject;
|
|
38
|
+
private extraObjects;
|
|
38
39
|
constructor(five: Five);
|
|
39
40
|
/**
|
|
40
41
|
* @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
|
|
@@ -55,5 +56,6 @@ export declare class FiveDomEvents {
|
|
|
55
56
|
private handleWantsTapGesture;
|
|
56
57
|
private objectIsBound;
|
|
57
58
|
private notify;
|
|
59
|
+
private updateFiveMeshes;
|
|
58
60
|
}
|
|
59
61
|
export {};
|
|
@@ -1,74 +1,80 @@
|
|
|
1
|
-
var O = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var O = Object.defineProperty, L = Object.defineProperties;
|
|
2
|
+
var x = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var m = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var f = (
|
|
4
|
+
var g = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var f = (s, e, t) => e in s ? O(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, p = (s, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
g.call(e, t) && f(s, t, e[t]);
|
|
8
8
|
if (m)
|
|
9
9
|
for (var t of m(e))
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
import {
|
|
15
|
-
|
|
10
|
+
H.call(e, t) && f(s, t, e[t]);
|
|
11
|
+
return s;
|
|
12
|
+
}, b = (s, e) => L(s, x(e));
|
|
13
|
+
var r = (s, e, t) => (f(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
|
+
import { PBMMesh as $ } from "@realsee/five";
|
|
15
|
+
import { getObjectVisible as F } from "../three/getObjectVisible.js";
|
|
16
|
+
class B {
|
|
16
17
|
constructor(e) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
r(this, "five");
|
|
19
|
+
r(this, "boundObject", {});
|
|
20
|
+
r(this, "extraObjects", []);
|
|
21
|
+
r(this, "handleWantsTapGesture", (e) => {
|
|
22
|
+
var o;
|
|
21
23
|
const t = "click", n = this.boundObject[t];
|
|
22
24
|
if (!n || (n == null ? void 0 : n.length) === 0)
|
|
23
25
|
return;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
console.debug("射线检测");
|
|
27
|
+
const i = (o = e.intersectObjects([...n, ...this.extraObjects], !0)[0]) == null ? void 0 : o.object;
|
|
28
|
+
if (!i || !this.objectIsBound(i))
|
|
26
29
|
return;
|
|
27
|
-
|
|
28
|
-
if (!r || !this.objectIsBound(r))
|
|
29
|
-
return;
|
|
30
|
-
if (this.notify(t, r))
|
|
30
|
+
if (this.notify(t, i))
|
|
31
31
|
return !1;
|
|
32
32
|
});
|
|
33
|
-
|
|
33
|
+
r(this, "objectIsBound", (e) => {
|
|
34
34
|
let t = e._domEvent, n = e.parent;
|
|
35
35
|
for (; typeof t == "undefined" && n; )
|
|
36
36
|
t = n._domEvent, n = n.parent;
|
|
37
37
|
return !!t;
|
|
38
38
|
});
|
|
39
39
|
// eslint-disable-next-line max-params
|
|
40
|
-
|
|
41
|
-
let
|
|
42
|
-
const
|
|
40
|
+
r(this, "notify", (e, t, n, u) => {
|
|
41
|
+
let i = !1, h = [];
|
|
42
|
+
const o = [t];
|
|
43
43
|
let d = t;
|
|
44
44
|
for (; d.parent; )
|
|
45
|
-
d = d.parent,
|
|
46
|
-
for (const a of
|
|
47
|
-
if (
|
|
45
|
+
d = d.parent, o.push(d);
|
|
46
|
+
for (const a of o) {
|
|
47
|
+
if (i)
|
|
48
48
|
break;
|
|
49
|
-
const
|
|
50
|
-
if (!
|
|
49
|
+
const c = a._domEvent;
|
|
50
|
+
if (!c)
|
|
51
51
|
continue;
|
|
52
|
-
const E =
|
|
52
|
+
const E = c[`${e}Handler`];
|
|
53
53
|
if (E)
|
|
54
|
-
for (const [
|
|
55
|
-
if (v != null && v.checkVisible && !
|
|
54
|
+
for (const [_, v] of E) {
|
|
55
|
+
if (v != null && v.checkVisible && !F(a))
|
|
56
56
|
continue;
|
|
57
|
-
const
|
|
57
|
+
const l = _({
|
|
58
58
|
type: e,
|
|
59
59
|
target: a,
|
|
60
60
|
origDomEvent: n,
|
|
61
|
-
intersect:
|
|
61
|
+
intersect: u,
|
|
62
62
|
stopPropagation: () => {
|
|
63
|
-
|
|
63
|
+
i = !0;
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
h.push(l != null ? l : !0);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
return
|
|
69
|
+
return h.some((a) => a === !0);
|
|
70
|
+
});
|
|
71
|
+
r(this, "updateFiveMeshes", () => {
|
|
72
|
+
var e;
|
|
73
|
+
this.extraObjects = [], (e = this.five.model) == null || e.traverse((t) => {
|
|
74
|
+
t instanceof $ && this.extraObjects.push(t);
|
|
75
|
+
});
|
|
70
76
|
});
|
|
71
|
-
this.five = e, e.on("wantsTapGesture", this.handleWantsTapGesture);
|
|
77
|
+
this.five = e, this.updateFiveMeshes(), e.on("modelLoaded", this.updateFiveMeshes), e.on("wantsTapGesture", this.handleWantsTapGesture);
|
|
72
78
|
}
|
|
73
79
|
/**
|
|
74
80
|
* @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
|
|
@@ -92,24 +98,24 @@ class G {
|
|
|
92
98
|
* @param params.callback: 返回 false 可以不阻止 five 的 tap 事件; default: true
|
|
93
99
|
* @return {void}
|
|
94
100
|
*/
|
|
95
|
-
addEventListener(e, t, n,
|
|
96
|
-
var
|
|
97
|
-
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n,
|
|
101
|
+
addEventListener(e, t, n, u) {
|
|
102
|
+
var i;
|
|
103
|
+
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, b(p({}, u), { checkVisible: !0 })]), (i = this.boundObject[t]) == null || i.push(e);
|
|
98
104
|
}
|
|
99
|
-
removeEventListener(e, t, n, ...
|
|
100
|
-
var
|
|
105
|
+
removeEventListener(e, t, n, ...u) {
|
|
106
|
+
var h, o;
|
|
101
107
|
if (!e._domEvent || !e._domEvent[`${t}Handler`])
|
|
102
108
|
return;
|
|
103
|
-
const
|
|
104
|
-
if (
|
|
105
|
-
const d = (
|
|
106
|
-
d !== -1 && ((
|
|
109
|
+
const i = e._domEvent[`${t}Handler`].findIndex((d) => d[0] === n);
|
|
110
|
+
if (i !== -1 && (e._domEvent[`${t}Handler`].splice(i, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
|
|
111
|
+
const d = (h = this.boundObject[t]) == null ? void 0 : h.findIndex((a) => a === e);
|
|
112
|
+
d !== -1 && ((o = this.boundObject[t]) == null || o.splice(d, 1));
|
|
107
113
|
}
|
|
108
114
|
}
|
|
109
115
|
dispose() {
|
|
110
|
-
this.five.off("wantsTapGesture", this.handleWantsTapGesture), this.boundObject = {};
|
|
116
|
+
this.five.off("modelLoaded", this.updateFiveMeshes), this.five.off("wantsTapGesture", this.handleWantsTapGesture), this.boundObject = {}, this.extraObjects = [];
|
|
111
117
|
}
|
|
112
118
|
}
|
|
113
119
|
export {
|
|
114
|
-
|
|
120
|
+
B as FiveDomEvents
|
|
115
121
|
};
|
|
@@ -14,17 +14,17 @@ var f = (t, c, n) => new Promise((e, r) => {
|
|
|
14
14
|
}, u = (o) => o.done ? e(o.value) : Promise.resolve(o.value).then(a, i);
|
|
15
15
|
u((n = n.apply(t, c)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import { to as
|
|
19
|
-
function
|
|
17
|
+
import { nearlyEqualRad as d, nearlyEqual as m } from "../nearlyEqual.js";
|
|
18
|
+
import { to as h } from "../to.js";
|
|
19
|
+
function w(t) {
|
|
20
20
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
return
|
|
22
|
+
function l(t) {
|
|
23
|
+
return w(t) && !!t.isVector3;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function j(t, c) {
|
|
26
26
|
return f(this, null, function* () {
|
|
27
|
-
const [n] = yield
|
|
27
|
+
const [n] = yield h(t.changeMode(...c));
|
|
28
28
|
if (n)
|
|
29
29
|
throw new Error("change mode canceled");
|
|
30
30
|
yield new Promise((i) => {
|
|
@@ -36,16 +36,16 @@ function g(t, c) {
|
|
|
36
36
|
if (!e)
|
|
37
37
|
return !0;
|
|
38
38
|
const r = t.getCurrentState();
|
|
39
|
-
if (!
|
|
39
|
+
if (!b(e, r))
|
|
40
40
|
throw new Error("pose 与预期不符");
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function b(t, c) {
|
|
44
44
|
return Object.keys(t).every((n) => {
|
|
45
45
|
const e = c[n], r = t[n];
|
|
46
|
-
return e === void 0 || r === void 0 ? !0 : typeof e == "number" && typeof r == "number" ?
|
|
46
|
+
return e === void 0 || r === void 0 ? !0 : n === "longitude" || n === "latitude" ? d(e, r, 2) : typeof e == "number" && typeof r == "number" ? m(e, r, 2) : l(r) && l(e) ? r.distanceTo(e) < 0.01 : e === r;
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
j as changeMode
|
|
51
51
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function n(
|
|
2
|
-
return
|
|
1
|
+
function n(a) {
|
|
2
|
+
return a === "Panorama" || a === "DepthPanorama" || a === "VRPanorama" || a === "XRPanorama";
|
|
3
3
|
}
|
|
4
|
-
function
|
|
5
|
-
return !n(
|
|
4
|
+
function r(a) {
|
|
5
|
+
return !n(a);
|
|
6
6
|
}
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
r as isModelLike,
|
|
9
9
|
n as isPanoramaLike
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.0.0-
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.0.0-11",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
|
@@ -5,3 +5,10 @@
|
|
|
5
5
|
* @param accuracy 精度:精确到小数点后几位,默认精确到 小数点后四位
|
|
6
6
|
*/
|
|
7
7
|
export default function nearlyEqual(num1: number, num2: number, accuracy?: number): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* 比较两个弧度近似相等
|
|
10
|
+
* @param rad1 弧度1
|
|
11
|
+
* @param rad2 弧度2
|
|
12
|
+
* @param accuracy 精度:精确到小数点后几位,默认精确到 小数点后四位
|
|
13
|
+
*/
|
|
14
|
+
export declare function nearlyEqualRad(rad1: number, rad2: number, accuracy?: number): boolean;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
function
|
|
2
|
-
return Math.
|
|
1
|
+
function r(t, a, n = 4) {
|
|
2
|
+
return Math.abs(t - a) < Math.pow(10, -n);
|
|
3
3
|
}
|
|
4
|
+
function h(t, a, n = 4) {
|
|
5
|
+
const o = Math.PI * 2, s = t % o, e = a % o, i = Math.min(s, e), c = Math.max(s, e);
|
|
6
|
+
return r(i, c, n) || r(i + o, c, n);
|
|
7
|
+
}
|
|
8
|
+
Object.assign(window, { nearlyEqual: r, nearlyEqualRad: h });
|
|
4
9
|
export {
|
|
5
|
-
|
|
10
|
+
r as nearlyEqual,
|
|
11
|
+
h as nearlyEqualRad
|
|
6
12
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.0.0-
|
|
10
|
+
"version": "3.0.0-11",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@babel/core": "^7.22.9",
|
|
39
|
-
"@realsee/five": "6.0.0-alpha.
|
|
39
|
+
"@realsee/five": "6.0.0-alpha.24",
|
|
40
40
|
"@sveltejs/vite-plugin-svelte": "^2.4.2",
|
|
41
41
|
"@tsconfig/svelte": "^4.0.1",
|
|
42
42
|
"@tweenjs/tween.js": "^20.0.3",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description: 一些函数,来适配 Five@5.x 和 Five@6.x 的差异
|
|
3
|
-
*/
|
|
4
|
-
import type { Five } from '@realsee/five';
|
|
5
|
-
export declare function adaptPanoId(five: Five, func: (params?: {
|
|
6
|
-
panoIndex: number;
|
|
7
|
-
panoId: string;
|
|
8
|
-
derivedId: number;
|
|
9
|
-
}, ...args: any[]) => any): (panoIdOrPanoIndex: string | number, ...args: any[]) => void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Five } from '@realsee/five';
|
|
2
|
-
/**
|
|
3
|
-
* @description: 等待 five model 加载完成
|
|
4
|
-
*/
|
|
5
|
-
export declare function waitFiveModelLoaded(five: Five): Promise<void>;
|
|
6
|
-
/**
|
|
7
|
-
* @note five 6.0 修复了 多次 load work 时,`five.model.loaded` 不会变为 `false` 的问题,不再需要 `five.model.name === five.work?.model.file` 的判断了
|
|
8
|
-
*/
|
|
9
|
-
export declare function fiveModelIsLoaded(five: Five): boolean;
|