@realsee/dnalogel 2.30.3 → 3.0.0-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/Controller.d.ts +3 -2
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +5 -7
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +6 -12
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +5 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +12 -6
- package/dist/PanoTagPlugin/controller/index.d.ts +2 -6
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +3 -2
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +66 -20
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +7 -2
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +8 -3
- package/dist/PanoTagPlugin/utils/index.d.ts +0 -2
- package/dist/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -0
- package/dist/floorplan/utils/correctFiveState.d.ts +1 -1
- package/dist/index.cjs.js +61 -61
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5316 -5318
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -3
- package/dist/shared-utils/five/adapt.d.ts +9 -0
- package/dist/shared-utils/five/fiveModelLoad.d.ts +9 -0
- package/dist/shared-utils/getPxmm.d.ts +1 -1
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/nearlyEqual.d.ts +7 -0
- package/dist/shared-utils/three/getNormal.d.ts +2 -0
- package/dist/shared-utils/typescript/entries.d.ts +2 -0
- package/dist/shared-utils/url/getUrl.d.ts +4 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +120 -0
- package/docs/assets/main.js +58 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1367 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +725 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +678 -0
- package/docs/classes/CSS3DRender.html +773 -0
- package/docs/classes/CruisePluginController.html +672 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +491 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +792 -0
- package/docs/classes/Magnifier.html +480 -0
- package/docs/classes/ModelRoomLabelController.html +398 -0
- package/docs/classes/Object3DHelperController.html +640 -0
- package/docs/classes/PaintBrush.html +502 -0
- package/docs/classes/PanoMeasurePluginLine.html +522 -0
- package/docs/classes/PanoMeasurePluginModel.html +571 -0
- package/docs/classes/PanoMeasurePluginPoint.html +362 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +567 -0
- package/docs/classes/PanoTagPluginController.html +1050 -0
- package/docs/classes/Util.BetterTween.html +416 -0
- package/docs/classes/Util.Interval.html +432 -0
- package/docs/classes/Util.LineSegments.html +384 -0
- package/docs/classes/Util.Magnifier.html +503 -0
- package/docs/classes/Util.Object3D.html +406 -0
- package/docs/classes/Util.PointDomHelper.html +407 -0
- package/docs/classes/Util.PointHelper.html +398 -0
- package/docs/classes/Util.PointSelectorHelper.html +454 -0
- package/docs/classes/Util.Rectangle.html +455 -0
- package/docs/enums/CameraMovementEffect.html +310 -0
- package/docs/enums/ContentType.html +446 -0
- package/docs/enums/DIRECTION.html +320 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +320 -0
- package/docs/enums/DimensionType.html +310 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +313 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +320 -0
- package/docs/enums/PaintBrushTypeEnum.html +313 -0
- package/docs/enums/PointType.html +310 -0
- package/docs/enums/Rotation.html +317 -0
- package/docs/functions/AreaMakerPlugin.html +290 -0
- package/docs/functions/CSS3DRenderPlugin.html +288 -0
- package/docs/functions/CameraMovementPlugin.html +293 -0
- package/docs/functions/CruisePlugin.html +290 -0
- package/docs/functions/CurrentPanoImagePlugin.html +290 -0
- package/docs/functions/GuideLinePlugin.html +290 -0
- package/docs/functions/ItemLabelPlugin.html +290 -0
- package/docs/functions/MapviewFloorplanPlugin.html +290 -0
- package/docs/functions/ModelChassisCompassPlugin.html +293 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +293 -0
- package/docs/functions/ModelFloorplanPlugin.html +290 -0
- package/docs/functions/ModelItemLabelPlugin.html +290 -0
- package/docs/functions/ModelRoomLabelPlugin.html +288 -0
- package/docs/functions/ModelTVVideoPlugin.html +290 -0
- package/docs/functions/ModelViewPlugin.html +293 -0
- package/docs/functions/Object3DHelperPlugin.html +288 -0
- package/docs/functions/PanoCompassPlugin.html +290 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +294 -0
- package/docs/functions/PanoDoorLabelPlugin.html +290 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +290 -0
- package/docs/functions/PanoMeasurePlugin.html +290 -0
- package/docs/functions/PanoRulerPlugin.html +293 -0
- package/docs/functions/PanoRulerProPlugin.html +293 -0
- package/docs/functions/PanoSpatialTagPlugin.html +293 -0
- package/docs/functions/PanoTagPlugin.html +295 -0
- package/docs/functions/PanoVideoPlugin.html +299 -0
- package/docs/functions/PipelinePlugin.html +288 -0
- package/docs/functions/TopviewFloorplanPlugin.html +290 -0
- package/docs/functions/Util.absoluteUrl.html +326 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +329 -0
- package/docs/functions/Util.equal.html +338 -0
- package/docs/functions/Util.getCoordsFromClient.html +328 -0
- package/docs/functions/Util.getCoordsFromElement.html +328 -0
- package/docs/functions/Util.getFrameTime.html +320 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +328 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +328 -0
- package/docs/functions/Util.isAbsoluteURL.html +321 -0
- package/docs/functions/Util.isModelLike.html +321 -0
- package/docs/functions/Util.isNil.html +329 -0
- package/docs/functions/Util.isPanoramaLike.html +321 -0
- package/docs/functions/Util.nextFrame.html +334 -0
- package/docs/functions/Util.notNil.html +329 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +350 -0
- package/docs/functions/Util.tweenProgress.html +323 -0
- package/docs/functions/Util.uuid.html +319 -0
- package/docs/functions/pluginFlag.html +288 -0
- package/docs/index.html +354 -0
- package/docs/interfaces/AddTagConfig.html +303 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +329 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +334 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +620 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +333 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +383 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +368 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +333 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +326 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +325 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +354 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +449 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +325 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +358 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +359 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +361 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +696 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +385 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +421 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +411 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +351 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +319 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +408 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +382 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +521 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +323 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +315 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +337 -0
- package/docs/interfaces/EventMap.html +542 -0
- package/docs/interfaces/FloorplanBounding.html +332 -0
- package/docs/interfaces/FloorplanData.html +335 -0
- package/docs/interfaces/FloorplanEntrance.html +360 -0
- package/docs/interfaces/FloorplanExtraObject.html +350 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +339 -0
- package/docs/interfaces/FloorplanFloorData.html +328 -0
- package/docs/interfaces/FloorplanImagePosition.html +314 -0
- package/docs/interfaces/FloorplanObserver.html +332 -0
- package/docs/interfaces/FloorplanOutlineItem.html +328 -0
- package/docs/interfaces/FloorplanPosition.html +314 -0
- package/docs/interfaces/FloorplanRoomItem.html +379 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +320 -0
- package/docs/interfaces/FloorplanServerBounding.html +332 -0
- package/docs/interfaces/FloorplanServerComputedData.html +331 -0
- package/docs/interfaces/FloorplanServerData.html +314 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +331 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +317 -0
- package/docs/interfaces/FloorplanServerEntrance.html +360 -0
- package/docs/interfaces/FloorplanServerFloorData.html +328 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +314 -0
- package/docs/interfaces/FloorplanServerObserver.html +332 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +328 -0
- package/docs/interfaces/FloorplanServerPosition.html +314 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +391 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +320 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +323 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +361 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +525 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +356 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +347 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +414 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +346 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +471 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +343 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +471 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +308 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +329 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +354 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +370 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +352 -0
- package/docs/interfaces/HelperOffset.html +332 -0
- package/docs/interfaces/ImagePlaneGroup.html +306 -0
- package/docs/interfaces/ItemLabelPluginData.html +303 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +388 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +324 -0
- package/docs/interfaces/MinMax.html +310 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +310 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +346 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +310 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +317 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +354 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +303 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +388 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +310 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +303 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +324 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +348 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +303 -0
- package/docs/interfaces/ModelViewPluginExportType.html +416 -0
- package/docs/interfaces/Object3DHelperState.html +317 -0
- package/docs/interfaces/ObjectHelperControllers.html +324 -0
- package/docs/interfaces/PaintBrushAction.html +363 -0
- package/docs/interfaces/PaintBrushConfigs.html +361 -0
- package/docs/interfaces/PaintBrushState.html +345 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +425 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +282 -0
- package/docs/interfaces/PanoMeasureParameterType.html +449 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +317 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +314 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +310 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +320 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +377 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +326 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +317 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +353 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +323 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +310 -0
- package/docs/interfaces/PanoRulerProPluginState.html +317 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +296 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +285 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +353 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +335 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +431 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +331 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +352 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +338 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +331 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +323 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +341 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +314 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +420 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +314 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +349 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +368 -0
- package/docs/interfaces/Point.html +317 -0
- package/docs/interfaces/Room.html +324 -0
- package/docs/interfaces/RoomInfo.html +310 -0
- package/docs/interfaces/RoomLabel.html +386 -0
- package/docs/interfaces/RoomRules.html +285 -0
- package/docs/interfaces/Rooms.html +285 -0
- package/docs/interfaces/Scissor.html +344 -0
- package/docs/interfaces/State.html +331 -0
- package/docs/interfaces/TagCacheInterface.html +362 -0
- package/docs/interfaces/TagConfig.html +565 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +306 -0
- package/docs/interfaces/TagIconUrl.html +363 -0
- package/docs/interfaces/TagObjectGroup.html +306 -0
- package/docs/interfaces/TagStyle.html +316 -0
- package/docs/interfaces/Tags.html +2688 -0
- package/docs/interfaces/TemporaryState.html +303 -0
- package/docs/interfaces/Util.MagnifierParameter.html +391 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +350 -0
- package/docs/interfaces/Util.PointIntersection.html +365 -0
- package/docs/modules/AreaMakerPluginType.html +323 -0
- package/docs/modules/CruisePluginTypes.html +328 -0
- package/docs/modules/CurrentPanoImagePluginType.html +297 -0
- package/docs/modules/GuideLineItem.html +289 -0
- package/docs/modules/GuideLineModeItem.html +294 -0
- package/docs/modules/GuideLinePluginType.html +348 -0
- package/docs/modules/PanoVideoPluginType.html +301 -0
- package/docs/modules/Util.html +351 -0
- package/docs/modules.html +540 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +331 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +301 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +301 -0
- package/docs/types/ArrayPosition.html +279 -0
- package/docs/types/AudioAppearance.html +279 -0
- package/docs/types/AudioTagTypeConfigKey.html +279 -0
- package/docs/types/CSS3DRenderExportType.html +279 -0
- package/docs/types/CSS3DRenderPluginExportType.html +279 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +279 -0
- package/docs/types/ClassFunctionParameters.html +286 -0
- package/docs/types/Color.html +279 -0
- package/docs/types/ContentTypeConfigKey.html +279 -0
- package/docs/types/ContentTypeConfigKeySplit.html +279 -0
- package/docs/types/ContentTypeMap.html +279 -0
- package/docs/types/Create3DDomContainerReturnType.html +279 -0
- package/docs/types/Create3DElementReturnType.html +279 -0
- package/docs/types/CruisePluginExportType.html +279 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +318 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +295 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +279 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +291 -0
- package/docs/types/DeprecatedTagProperty.html +294 -0
- package/docs/types/Direction-1.html +279 -0
- package/docs/types/Direction4.html +279 -0
- package/docs/types/ElementRenderer.html +303 -0
- package/docs/types/FloorplanRuleLabels.html +282 -0
- package/docs/types/FloorplanServerRuleLabels.html +279 -0
- package/docs/types/GuideLinePluginExportType.html +279 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +351 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +372 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +305 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +308 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +308 -0
- package/docs/types/GuideLinePluginType.PathItem.html +308 -0
- package/docs/types/GuideLinePluginType.PluginData.html +317 -0
- package/docs/types/HelperEventMap.html +517 -0
- package/docs/types/LoadTagConfig.html +279 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +279 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +279 -0
- package/docs/types/MediaData.html +295 -0
- package/docs/types/MediaStore.html +284 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +286 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +279 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +279 -0
- package/docs/types/ModelId.html +279 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +279 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +279 -0
- package/docs/types/MoveArgs.html +289 -0
- package/docs/types/MoveOpts.html +287 -0
- package/docs/types/Object3DHelperEventMap.html +372 -0
- package/docs/types/ObjectFit.html +279 -0
- package/docs/types/PaintBrushEventMap.html +310 -0
- package/docs/types/PanoCompassPluginData.html +279 -0
- package/docs/types/PanoCompassPluginExportType.html +279 -0
- package/docs/types/PanoCompassPluginParameterType.html +279 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +279 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +279 -0
- package/docs/types/PanoIndex.html +279 -0
- package/docs/types/PanoMeasurePluginEvent.html +279 -0
- package/docs/types/PanoMeasureReturnType.html +279 -0
- package/docs/types/PanoSpatialTagPluginId.html +279 -0
- package/docs/types/PanoTagPluginExportInterface.html +279 -0
- package/docs/types/PanoTagPluginParamsInterface.html +279 -0
- package/docs/types/PanoVideoPluginParameterType.html +279 -0
- package/docs/types/PanoVideoPluginReturnType.html +279 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +287 -0
- package/docs/types/PipelinePluginParameterType.html +279 -0
- package/docs/types/PipelinePluginReturnType.html +279 -0
- package/docs/types/PlaneTag.html +287 -0
- package/docs/types/Point2DTag.html +287 -0
- package/docs/types/Point3DTag.html +287 -0
- package/docs/types/PointTag.html +284 -0
- package/docs/types/PointTagInstance.html +284 -0
- package/docs/types/Position.html +279 -0
- package/docs/types/RotateArgs.html +291 -0
- package/docs/types/RotateOpts.html +287 -0
- package/docs/types/RuleLabelsKey.html +279 -0
- package/docs/types/RuleLabelsValue.html +279 -0
- package/docs/types/StickType.html +279 -0
- package/docs/types/Tag.html +345 -0
- package/docs/types/Tag2D.html +287 -0
- package/docs/types/Tag3D.html +287 -0
- package/docs/types/TagConfigByKey.html +284 -0
- package/docs/types/TagContentType.html +279 -0
- package/docs/types/TagDimensionType.html +281 -0
- package/docs/types/TagElement.html +289 -0
- package/docs/types/TagEvents.html +332 -0
- package/docs/types/TagGLTFObject.html +302 -0
- package/docs/types/TagHooks.html +279 -0
- package/docs/types/TagId.html +279 -0
- package/docs/types/TagInstance.html +353 -0
- package/docs/types/TagPointType.html +282 -0
- package/docs/types/TagRendererMap.html +284 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +279 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +279 -0
- package/docs/types/WorkCode.html +279 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +289 -0
- package/docs/variables/PLUGIN.html +279 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +282 -0
- package/docs/variables/ROOM_TYPE_MAP.html +289 -0
- package/docs/variables/defaultGlobalConfig.html +279 -0
- package/docs/variables/itemLabelPluginServerParams.html +286 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +286 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +286 -0
- package/libs/AreaMakerPlugin/Controller.js +5 -3
- package/libs/AreaMakerPlugin/index.js +5 -3
- package/libs/AreaMakerPlugin/utils/Item.js +9 -7
- package/libs/CSS3DRenderPlugin/Controller.d.ts +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +9 -6
- package/libs/CSS3DRenderPlugin/index.js +8 -6
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +23 -22
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +5 -7
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +43 -53
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +70 -66
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +11 -10
- package/libs/CruisePlugin/Controller.js +42 -38
- package/libs/CruisePlugin/index.js +13 -9
- package/libs/CurrentPanoImagePlugin/Controller.js +27 -22
- package/libs/CurrentPanoImagePlugin/index.js +7 -4
- package/libs/GuideLinePlugin/Controller.js +29 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +10 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +10 -6
- package/libs/GuideLinePlugin/index.js +15 -11
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -4
- package/libs/ModelTVVideoPlugin/index.js +5 -3
- package/libs/Object3DHelperPlugin/Controller.js +5 -3
- package/libs/Object3DHelperPlugin/index.js +8 -6
- package/libs/PanoCompassPlugin/Controller.js +5 -3
- package/libs/PanoCompassPlugin/index.js +6 -4
- package/libs/PanoDoorLabelPlugin/BaseController.js +9 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -3
- package/libs/PanoDoorLabelPlugin/index.js +6 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +55 -53
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +5 -3
- package/libs/PanoMeasurePlugin/Model/area.js +4 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +25 -23
- package/libs/PanoMeasurePlugin/index.js +16 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +14 -12
- package/libs/PanoSpatialTagPlugin/Plugin.js +12 -22
- package/libs/PanoSpatialTagPlugin/index.js +3 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +206 -205
- package/libs/PanoTagPlugin/Components/TagContainer.js +12 -11
- package/libs/PanoTagPlugin/Components/TagItem.js +129 -128
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +17 -15
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +6 -12
- package/libs/PanoTagPlugin/controller/TagComputer.js +172 -201
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +5 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +143 -120
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +12 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +186 -153
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -6
- package/libs/PanoTagPlugin/controller/index.js +145 -151
- package/libs/PanoTagPlugin/index.js +21 -16
- package/libs/PanoTagPlugin/tag.config.js +11 -3
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +3 -2
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +66 -20
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +7 -2
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +8 -3
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
- package/libs/PanoTagPlugin/utils/index.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/index.js +23 -31
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +97 -99
- package/libs/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +7 -0
- package/libs/PanoVideoPlugin/Controller.js +5 -3
- package/libs/PanoVideoPlugin/VideoMeshController.js +4 -2
- package/libs/PanoVideoPlugin/index.js +8 -6
- package/libs/PipelinePlugin/Controller.js +5 -3
- package/libs/PipelinePlugin/index.js +6 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -12
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +2 -0
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -5
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -31
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/index.js +1 -0
- package/libs/floorplan/utils/correctFiveState.d.ts +1 -1
- package/libs/floorplan/utils/correctFiveState.js +30 -29
- package/libs/index.d.ts +1 -0
- package/libs/index.js +125 -120
- package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -3
- package/libs/shared-utils/five/FiveDomEvents.js +50 -56
- package/libs/shared-utils/five/adapt.d.ts +9 -0
- package/libs/shared-utils/five/adapt.js +16 -0
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/five/fiveModelLoad.d.ts +9 -0
- package/libs/shared-utils/five/fiveModelLoad.js +29 -0
- package/libs/shared-utils/five/mode.js +5 -5
- package/libs/shared-utils/getPxmm.d.ts +1 -1
- package/libs/shared-utils/getPxmm.js +1 -3
- package/libs/shared-utils/index.d.ts +1 -1
- package/libs/shared-utils/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/nearlyEqual.d.ts +7 -0
- package/libs/shared-utils/nearlyEqual.js +9 -3
- package/libs/shared-utils/three/getNormal.d.ts +2 -0
- package/libs/shared-utils/three/getNormal.js +10 -0
- package/libs/shared-utils/typescript/entries.d.ts +2 -0
- package/libs/shared-utils/typescript/entries.js +6 -0
- package/libs/shared-utils/url/getUrl.d.ts +4 -0
- package/libs/shared-utils/url/getUrl.js +7 -0
- package/package.json +2 -6
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +0 -16
- /package/dist/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.js → url/absoluteUrl.js} +0 -0
|
@@ -2,30 +2,30 @@ var w = Object.defineProperty, A = Object.defineProperties;
|
|
|
2
2
|
var E = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var u = Object.getOwnPropertySymbols;
|
|
4
4
|
var C = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var m = (h, n, t) => n in h ? w(h, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[n] = t, p = (h, n) => {
|
|
6
6
|
for (var t in n || (n = {}))
|
|
7
|
-
C.call(n, t) &&
|
|
7
|
+
C.call(n, t) && m(h, t, n[t]);
|
|
8
8
|
if (u)
|
|
9
9
|
for (var t of u(n))
|
|
10
|
-
x.call(n, t) &&
|
|
10
|
+
x.call(n, t) && m(h, t, n[t]);
|
|
11
11
|
return h;
|
|
12
|
-
},
|
|
13
|
-
var i = (h, n, t) => (
|
|
12
|
+
}, f = (h, n) => A(h, E(n));
|
|
13
|
+
var i = (h, n, t) => (m(h, typeof n != "symbol" ? n + "" : n, t), t);
|
|
14
14
|
var c = (h, n, t) => new Promise((e, o) => {
|
|
15
15
|
var s = (d) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
r(t.next(d));
|
|
18
18
|
} catch (l) {
|
|
19
19
|
o(l);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, a = (d) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
r(t.throw(d));
|
|
24
24
|
} catch (l) {
|
|
25
25
|
o(l);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, r = (d) => d.done ? e(d.value) : Promise.resolve(d.value).then(s, a);
|
|
28
|
+
r((t = t.apply(h, n)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as S from "three";
|
|
31
31
|
import { equal as F } from "../../shared-utils/equal.js";
|
|
@@ -76,18 +76,20 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
76
76
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
77
77
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
78
78
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
79
|
+
import "../../shared-utils/util.js";
|
|
79
80
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
80
81
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
81
82
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
82
83
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
83
84
|
import "../../shared-utils/three/centerPoint.js";
|
|
85
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
84
86
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
85
87
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
86
88
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
87
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
89
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
88
90
|
import "../../shared-utils/nearlyEqual.js";
|
|
89
91
|
import "../../shared-utils/to.js";
|
|
90
|
-
class
|
|
92
|
+
class Wt extends T {
|
|
91
93
|
constructor(t, e) {
|
|
92
94
|
super(t);
|
|
93
95
|
// =============== public properties =================
|
|
@@ -117,7 +119,7 @@ class Nt extends T {
|
|
|
117
119
|
i(this, "updateSize", () => {
|
|
118
120
|
if (!this.data || !this.container || !this.wrapper || this.five.getCurrentState().mode !== "Topview")
|
|
119
121
|
return;
|
|
120
|
-
const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y,
|
|
122
|
+
const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y, a = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = P(this.five, this.wrapper, this.floorIndex, a), d = Math.ceil(o * r), l = Math.ceil(s * r);
|
|
121
123
|
this.size.width === d && this.size.height === l || (this.container.style.width = d + "px", this.container.style.height = l + "px", this.size = { width: d, height: l });
|
|
122
124
|
});
|
|
123
125
|
/** 销毁插件 */
|
|
@@ -197,13 +199,13 @@ class Nt extends T {
|
|
|
197
199
|
attachedTo: L.BOUNDING_CENTER,
|
|
198
200
|
getLabelElement: void 0,
|
|
199
201
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
200
|
-
getRoomAreaText: (
|
|
201
|
-
getRuleDistanceText: (
|
|
202
|
-
}, s = e ? _(e, ["selector", "scale"]) : {},
|
|
202
|
+
getRoomAreaText: (r) => (r / 1e6).toFixed(1) + "㎡",
|
|
203
|
+
getRuleDistanceText: (r) => r.toString()
|
|
204
|
+
}, s = e ? _(e, ["selector", "scale"]) : {}, a = p(p({}, o), s);
|
|
203
205
|
this.state = {
|
|
204
206
|
enabled: !0,
|
|
205
207
|
visible: !1,
|
|
206
|
-
config:
|
|
208
|
+
config: a
|
|
207
209
|
}, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
208
210
|
}
|
|
209
211
|
load(t, e, o = !0) {
|
|
@@ -211,20 +213,20 @@ class Nt extends T {
|
|
|
211
213
|
function s(b) {
|
|
212
214
|
return Object.prototype.hasOwnProperty.apply(b, ["version"]);
|
|
213
215
|
}
|
|
214
|
-
const
|
|
215
|
-
|
|
216
|
-
const
|
|
216
|
+
const a = t;
|
|
217
|
+
a && !a.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
218
|
+
const r = JSON.parse(JSON.stringify(t)), d = s(r) ? r.data : r, l = this.data;
|
|
217
219
|
this.data = yield v(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), e && this.updateState(e, o), this.render();
|
|
218
220
|
});
|
|
219
221
|
}
|
|
220
222
|
/** 更新户型图位置 */
|
|
221
223
|
updatePosition() {
|
|
222
|
-
var
|
|
223
|
-
const t = D(this.five, this.floorIndex, this.state.config.attachedTo), e = (
|
|
224
|
+
var r;
|
|
225
|
+
const t = D(this.five, this.floorIndex, this.state.config.attachedTo), e = (r = this.five.model) == null ? void 0 : r.bounding.getCenter(new S.Vector3()).setY(t);
|
|
224
226
|
if (!e)
|
|
225
227
|
return;
|
|
226
|
-
const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2,
|
|
227
|
-
this.container.style.left = s * 100 + "%", this.container.style.top =
|
|
228
|
+
const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2, a = -(o.y - 1) / 2;
|
|
229
|
+
this.container.style.left = s * 100 + "%", this.container.style.top = a * 100 + "%";
|
|
228
230
|
}
|
|
229
231
|
/** 把插件的渲染DOM插入到对应的容器中去 */
|
|
230
232
|
appendTo(t) {
|
|
@@ -263,12 +265,12 @@ class Nt extends T {
|
|
|
263
265
|
setState(t, e = {}) {
|
|
264
266
|
const o = this.state, s = e.userAction !== void 0 ? e.userAction : !0;
|
|
265
267
|
if (this.updateState(t, s), t.enabled !== void 0 && o.enabled !== t.enabled) {
|
|
266
|
-
const
|
|
267
|
-
t.enabled ? this._enable(
|
|
268
|
+
const a = { userAction: s };
|
|
269
|
+
t.enabled ? this._enable(a) : this._disable(a);
|
|
268
270
|
}
|
|
269
271
|
if (t.visible !== void 0 && o.visible !== t.visible) {
|
|
270
|
-
const
|
|
271
|
-
t.visible ? this._show(
|
|
272
|
+
const a = { userAction: s };
|
|
273
|
+
t.visible ? this._show(a) : this._hide(a);
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
276
|
changeConfigs(t, e = !0) {
|
|
@@ -306,7 +308,7 @@ class Nt extends T {
|
|
|
306
308
|
}
|
|
307
309
|
updateState(t, e) {
|
|
308
310
|
const o = this.state, s = t.config ? p(p({}, o.config), t.config) : o.config;
|
|
309
|
-
this.state =
|
|
311
|
+
this.state = f(p(p({}, this.state), t), { config: s }), !F(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: e });
|
|
310
312
|
}
|
|
311
313
|
addEventListener() {
|
|
312
314
|
if (!this.state.enabled || this.hasAddedEventListener)
|
|
@@ -336,7 +338,7 @@ class Nt extends T {
|
|
|
336
338
|
render(t) {
|
|
337
339
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
|
|
338
340
|
return;
|
|
339
|
-
const e =
|
|
341
|
+
const e = f(p({}, this.state.config), {
|
|
340
342
|
visible: this.state.visible,
|
|
341
343
|
duration: t != null ? t : 0,
|
|
342
344
|
panoIndex: this.panoIndex,
|
|
@@ -351,5 +353,5 @@ class Nt extends T {
|
|
|
351
353
|
}
|
|
352
354
|
}
|
|
353
355
|
export {
|
|
354
|
-
|
|
356
|
+
Wt as Controller
|
|
355
357
|
};
|
|
@@ -45,22 +45,24 @@ import "../../shared-utils/positionToVector3.js";
|
|
|
45
45
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
46
46
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
48
|
+
import "../../shared-utils/util.js";
|
|
48
49
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
49
50
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
50
51
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
51
52
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
52
53
|
import "../../shared-utils/three/centerPoint.js";
|
|
54
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
53
55
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
54
56
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
55
57
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
56
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
58
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
57
59
|
import "../../shared-utils/five/changeMode.js";
|
|
58
60
|
import "../../shared-utils/nearlyEqual.js";
|
|
59
61
|
import "../../shared-utils/to.js";
|
|
60
62
|
import "../../shared-utils/getPxmm.js";
|
|
61
63
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
62
|
-
const
|
|
64
|
+
const so = (o, r) => new t(o, r);
|
|
63
65
|
export {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
so as TopviewFloorplanPlugin,
|
|
67
|
+
so as default
|
|
66
68
|
};
|
package/libs/floorplan/index.js
CHANGED
|
@@ -1,54 +1,55 @@
|
|
|
1
|
-
var c = (e,
|
|
2
|
-
var i = (
|
|
1
|
+
var c = (e, t, o) => new Promise((m, n) => {
|
|
2
|
+
var i = (r) => {
|
|
3
3
|
try {
|
|
4
|
-
u(o.next(
|
|
4
|
+
u(o.next(r));
|
|
5
5
|
} catch (f) {
|
|
6
|
-
|
|
6
|
+
n(f);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, a = (r) => {
|
|
9
9
|
try {
|
|
10
|
-
u(o.throw(
|
|
10
|
+
u(o.throw(r));
|
|
11
11
|
} catch (f) {
|
|
12
|
-
|
|
12
|
+
n(f);
|
|
13
13
|
}
|
|
14
|
-
}, u = (
|
|
15
|
-
u((o = o.apply(e,
|
|
14
|
+
}, u = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(i, a);
|
|
15
|
+
u((o = o.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
17
|
import { to as l } from "../../shared-utils/to.js";
|
|
18
|
-
import { FloorplanErrorType as
|
|
18
|
+
import { FloorplanErrorType as p } from "./constant.js";
|
|
19
19
|
import { nearlyEqual as s } from "../../shared-utils/nearlyEqual.js";
|
|
20
|
-
import { changeMode as
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
import { changeMode as M } from "../../shared-utils/five/changeMode.js";
|
|
21
|
+
import { omit as g } from "../../shared-utils/filter.js";
|
|
22
|
+
function h(e, t) {
|
|
23
|
+
if (e.currentMode !== t.mode)
|
|
23
24
|
return !1;
|
|
24
|
-
const { latitude: o, longitude:
|
|
25
|
-
return !(!s(o,
|
|
25
|
+
const { latitude: o, longitude: m, fov: n, offset: i } = t, { latitude: a, longitude: u, offset: r } = e.getCurrentState(), f = e.camera.fov;
|
|
26
|
+
return !(!s(o, a, 2) || !s(m, u, 2) || i !== void 0 && i.distanceTo(r) > 0.01 || n !== f);
|
|
26
27
|
}
|
|
27
|
-
function
|
|
28
|
+
function b(e, t, o = !0) {
|
|
28
29
|
return c(this, null, function* () {
|
|
29
|
-
if (
|
|
30
|
+
if (h(e, t) === !0)
|
|
30
31
|
return;
|
|
31
|
-
const
|
|
32
|
-
if (
|
|
33
|
-
const [
|
|
34
|
-
if (
|
|
35
|
-
throw
|
|
32
|
+
const n = e.getCurrentState();
|
|
33
|
+
if (n.mode !== t.mode) {
|
|
34
|
+
const [d] = yield l(M(e, [t.mode, t, void 0, o]));
|
|
35
|
+
if (d)
|
|
36
|
+
throw d;
|
|
36
37
|
return;
|
|
37
38
|
}
|
|
38
|
-
const { latitude: i, longitude:
|
|
39
|
+
const { latitude: i, longitude: a, fov: u } = n, r = Math.min(
|
|
39
40
|
1e3,
|
|
40
41
|
Math.max(
|
|
41
42
|
200,
|
|
42
43
|
Math.abs(i - Math.PI / 2) * 1e3,
|
|
43
|
-
(
|
|
44
|
-
Math.abs(u -
|
|
44
|
+
(a > Math.PI ? 2 * Math.PI - a : a) * 500,
|
|
45
|
+
typeof t.fov == "number" ? Math.abs(u - t.fov) * 10 : 1 / 0
|
|
45
46
|
)
|
|
46
|
-
), [f] = yield l(e.updateCamera(
|
|
47
|
+
), [f] = yield l(e.updateCamera(g(t, ["mode"]), r, o));
|
|
47
48
|
if (f)
|
|
48
|
-
throw new Error(
|
|
49
|
+
throw new Error(p.UpdateCameraError);
|
|
49
50
|
});
|
|
50
51
|
}
|
|
51
52
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
h as checkShowState,
|
|
54
|
+
b as correctFiveState
|
|
54
55
|
};
|
package/libs/index.d.ts
CHANGED
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 jp } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as kp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as zp } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as Kp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Wp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Zp, modelRoomLabelPluginServerParams as oe } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as te } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as me } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as ee } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as le } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Pe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as fe, ROOM_FETILE_TYPE_MAP as xe, ROOM_TYPE_MAP as ge } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as de } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Te } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Ce } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Ee, Rotation as Ie } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Oe } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as Ae } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as De } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as be } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as Ye } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as ce } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Ne } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as we } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as He } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as je } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as ke } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as ze } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Ke } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as We } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as Ze } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as rn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as mn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as en } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { index as ln } from "./shared-utils/index.js";
|
|
38
|
+
import { CSS3DRender as Pn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
|
+
import { Model as fn } from "./PanoMeasurePlugin/Model/index.js";
|
|
40
|
+
import { default as gn } from "./PanoMeasurePlugin/Model/point.js";
|
|
41
|
+
import { default as dn } from "./PanoMeasurePlugin/Model/line.js";
|
|
42
|
+
import { Polyline as Tn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
43
|
+
import { default as Cn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
44
|
+
import { DISPLAY_STRATEGY_TYPE as En } from "./ModelItemLabelPlugin/typings.js";
|
|
45
|
+
import { ModelItemLabelPlugin as Rn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
46
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as yn } from "./ItemLabelPlugin/typings.js";
|
|
47
|
+
import { Plugin as Sn } from "./ItemLabelPlugin/Plugin.js";
|
|
48
|
+
import { GuideLineItem$1 as Gn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
49
|
+
import { GuideLineModeItem$1 as Fn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
50
|
+
import { default as vn } from "./CruisePlugin/Controller.js";
|
|
51
|
+
import { typing as Vn } from "./CruisePlugin/typing/index.js";
|
|
52
|
+
import { default as hn, pluginFlag as wn } from "./PanoTagPlugin/controller/index.js";
|
|
53
|
+
import { defaultGlobalConfig as Hn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
54
|
+
import { ContentType as jn, DimensionType as $n, PointType as kn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
55
|
+
import { Object3DHelperController as zn, PLUGIN as Jn } from "./Object3DHelperPlugin/Controller.js";
|
|
56
|
+
import { typings as Qn } 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";
|
|
@@ -67,17 +67,19 @@ import "./CSS3DRenderPlugin/Controller.js";
|
|
|
67
67
|
import "./CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
68
68
|
import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
69
69
|
import "hammerjs";
|
|
70
|
-
import "./shared-utils/absoluteUrl.js";
|
|
70
|
+
import "./shared-utils/url/absoluteUrl.js";
|
|
71
71
|
import "./shared-utils/positionToVector3.js";
|
|
72
72
|
import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
73
73
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
74
74
|
import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
75
|
+
import "./shared-utils/util.js";
|
|
75
76
|
import "./CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
76
77
|
import "./CSS3DRenderPlugin/utils/even.js";
|
|
77
78
|
import "./shared-utils/Subscribe.js";
|
|
78
79
|
import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
79
80
|
import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
80
81
|
import "./shared-utils/three/centerPoint.js";
|
|
82
|
+
import "./shared-utils/three/getObjectVisible.js";
|
|
81
83
|
import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
82
84
|
import "./CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
83
85
|
import "./shared-utils/createLine/index.js";
|
|
@@ -256,7 +258,6 @@ import "./vendor/gl-vec2/dot.js";
|
|
|
256
258
|
import "./shared-utils/five/mode.js";
|
|
257
259
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
258
260
|
import "./PanoTagPlugin/utils/tag/tagCheck.js";
|
|
259
|
-
import "./PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
260
261
|
import "./PanoTagPlugin/utils/debounce.js";
|
|
261
262
|
import "./PanoTagPlugin/utils/throttle.js";
|
|
262
263
|
import "./PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -278,10 +279,12 @@ import "./shared-utils/math/pointIsRectangle.js";
|
|
|
278
279
|
import "./shared-utils/three/loadVideoTexture.js";
|
|
279
280
|
import "./shared-utils/three/getPositionsByObjectFit.js";
|
|
280
281
|
import "./shared-utils/three/FragmentTransparencyMaterial.js";
|
|
282
|
+
import "./shared-utils/three/getNormal.js";
|
|
281
283
|
import "./shared-utils/five/FiveDomEvents.js";
|
|
282
|
-
import "./
|
|
284
|
+
import "./PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
285
|
+
import "./shared-utils/typescript/entries.js";
|
|
286
|
+
import "./shared-utils/url/getUrl.js";
|
|
283
287
|
import "./shared-utils/five/getFloorIndex.js";
|
|
284
|
-
import "./shared-utils/util.js";
|
|
285
288
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
286
289
|
import "./PanoTagPlugin/Components/TagItem.js";
|
|
287
290
|
import "./PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -349,6 +352,7 @@ import "./PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
|
349
352
|
import "./PanoTagPlugin/Components/Common/TagPoint.js";
|
|
350
353
|
import "./shared-utils/three/GLTFLoader.js";
|
|
351
354
|
import "@realsee/five/gltf-loader";
|
|
355
|
+
import "./shared-utils/five/fiveModelLoad.js";
|
|
352
356
|
import "./GuideLinePlugin/Components/Tag.js";
|
|
353
357
|
import "./GuideLinePlugin/utils/index.js";
|
|
354
358
|
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
@@ -404,6 +408,7 @@ import "./shared-utils/three/objects/LineSegments.js";
|
|
|
404
408
|
import "./components/AreaLabel/LabelItem.js";
|
|
405
409
|
import "./components/AreaLabel/Assets/roomLabelBg.js";
|
|
406
410
|
import "./CurrentPanoImagePlugin/Controller.js";
|
|
411
|
+
import "./shared-utils/five/adapt.js";
|
|
407
412
|
import "./shared-utils/math/Interval.js";
|
|
408
413
|
import "./shared-utils/math/Rectangle.js";
|
|
409
414
|
import "./shared-utils/five/index.js";
|
|
@@ -412,66 +417,66 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
412
417
|
r();
|
|
413
418
|
o();
|
|
414
419
|
export {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
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
|
-
|
|
420
|
+
mn as AreaMakerPlugin,
|
|
421
|
+
Pn as CSS3DRender,
|
|
422
|
+
Kp as CSS3DRenderPlugin,
|
|
423
|
+
Ee as CameraMovementEffect,
|
|
424
|
+
Ce as CameraMovementPlugin,
|
|
425
|
+
jn as ContentType,
|
|
426
|
+
ze as CruisePlugin,
|
|
427
|
+
vn as CruisePluginController,
|
|
428
|
+
Vn as CruisePluginTypes,
|
|
429
|
+
en as CurrentPanoImagePlugin,
|
|
430
|
+
we as DIRECTION,
|
|
431
|
+
En as DISPLAY_STRATEGY_TYPE,
|
|
432
|
+
$n as DimensionType,
|
|
433
|
+
te as FLOOR_PLAN_ATTACHED_TO,
|
|
434
|
+
fe as FLOOR_TYPE_MAP,
|
|
435
|
+
Gn as GuideLineItem,
|
|
436
|
+
Fn as GuideLineModeItem,
|
|
437
|
+
ke as GuideLinePlugin,
|
|
438
|
+
yn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
439
|
+
Sn as ItemLabelPlugin,
|
|
440
|
+
Cn as Magnifier,
|
|
441
|
+
ee as MapviewFloorplanPlugin,
|
|
442
|
+
de as ModelChassisCompassPlugin,
|
|
443
|
+
Te as ModelEntryDoorGuidePlugin,
|
|
444
|
+
me as ModelFloorplanPlugin,
|
|
445
|
+
Rn as ModelItemLabelPlugin,
|
|
446
|
+
Zp as ModelRoomLabelPlugin,
|
|
447
|
+
Ne as ModelTVVideoPlugin,
|
|
448
|
+
zp as ModelViewPlugin,
|
|
449
|
+
zn as Object3DHelperController,
|
|
450
|
+
We as Object3DHelperPlugin,
|
|
451
|
+
Jn as PLUGIN,
|
|
452
|
+
jp as PaintBrush,
|
|
453
|
+
kp as PaintBrushTypeEnum,
|
|
454
|
+
De as PanoCompassPlugin,
|
|
455
|
+
Wp as PanoCursorRaycasterPlugin,
|
|
456
|
+
je as PanoDoorLabelPlugin,
|
|
457
|
+
Pe as PanoFloorplanRadarPlugin,
|
|
458
|
+
be as PanoMeasurePlugin,
|
|
459
|
+
dn as PanoMeasurePluginLine,
|
|
460
|
+
fn as PanoMeasurePluginModel,
|
|
461
|
+
gn as PanoMeasurePluginPoint,
|
|
462
|
+
Tn as PanoMeasurePluginPolyline,
|
|
463
|
+
Oe as PanoRulerPlugin,
|
|
464
|
+
Ae as PanoRulerProPlugin,
|
|
465
|
+
Ye as PanoSpatialTagPlugin,
|
|
466
|
+
Ke as PanoTagPlugin,
|
|
467
|
+
hn as PanoTagPluginController,
|
|
468
|
+
Ze as PanoVideoPlugin,
|
|
469
|
+
Qn as PanoVideoPluginType,
|
|
470
|
+
rn as PipelinePlugin,
|
|
471
|
+
kn as PointType,
|
|
472
|
+
xe as ROOM_FETILE_TYPE_MAP,
|
|
473
|
+
ge as ROOM_TYPE_MAP,
|
|
474
|
+
Ie as Rotation,
|
|
475
|
+
le as TopviewFloorplanPlugin,
|
|
476
|
+
ln as Util,
|
|
477
|
+
Hn as defaultGlobalConfig,
|
|
478
|
+
He as itemLabelPluginServerParams,
|
|
479
|
+
ce as modelItemLabelPluginServerParams,
|
|
480
|
+
oe as modelRoomLabelPluginServerParams,
|
|
481
|
+
wn as pluginFlag
|
|
477
482
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* 3. 基于第二点,废弃了之前使用浏览器原生事件监听点击的方式,改为使用 wantsTapGesture 的方式
|
|
7
7
|
* 4. 重构之后只会在 wantsTapGesture 事件触发的时候做射线检测
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
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,7 +35,6 @@ type Object3DWithEvent = THREE.Object3D & {
|
|
|
35
35
|
export declare class FiveDomEvents {
|
|
36
36
|
private five;
|
|
37
37
|
private boundObject;
|
|
38
|
-
private extraObjects;
|
|
39
38
|
constructor(five: Five);
|
|
40
39
|
/**
|
|
41
40
|
* @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
|
|
@@ -56,6 +55,5 @@ export declare class FiveDomEvents {
|
|
|
56
55
|
private handleWantsTapGesture;
|
|
57
56
|
private objectIsBound;
|
|
58
57
|
private notify;
|
|
59
|
-
private updateFiveMeshes;
|
|
60
58
|
}
|
|
61
59
|
export {};
|