@realsee/dnalogel 2.27.4 → 2.28.0-dev.1
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/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -2
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -2
- package/dist/base/BasePluginWithData.d.ts +1 -1
- package/dist/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +114 -0
- package/dist/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +23 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Controller.d.ts +40 -0
- package/dist/floorplan/FloorplanRoomsPlugin/index.d.ts +6 -0
- package/dist/floorplan/FloorplanRoomsPlugin/typing.d.ts +60 -0
- package/dist/floorplan/index.d.ts +1 -0
- package/dist/index.cjs.js +67 -67
- package/dist/index.d.ts +0 -1
- package/dist/index.js +7269 -6976
- package/dist/index.umd.js +60 -60
- package/dist/shared-utils/index.d.ts +0 -1
- package/dist/shared-utils/math/planimetry.d.ts +1 -1
- package/dist/shared-utils/three/index.d.ts +0 -2
- package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
- 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/CSS3DRender.html +770 -0
- package/docs/classes/CruisePluginController.html +669 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +488 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +789 -0
- package/docs/classes/Magnifier.html +477 -0
- package/docs/classes/ModelRoomLabelController.html +395 -0
- package/docs/classes/Object3DHelperController.html +637 -0
- package/docs/classes/PaintBrush.html +499 -0
- package/docs/classes/PanoMeasurePluginLine.html +519 -0
- package/docs/classes/PanoMeasurePluginModel.html +568 -0
- package/docs/classes/PanoMeasurePluginPoint.html +359 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +564 -0
- package/docs/classes/PanoTagPluginController.html +1087 -0
- package/docs/classes/Util.BetterTween.html +409 -0
- package/docs/classes/Util.Interval.html +425 -0
- package/docs/classes/Util.Magnifier.html +496 -0
- package/docs/classes/Util.PointDomHelper.html +400 -0
- package/docs/classes/Util.PointHelper.html +391 -0
- package/docs/classes/Util.PointSelectorHelper.html +447 -0
- package/docs/classes/Util.Rectangle.html +448 -0
- package/docs/enums/CameraMovementEffect.html +307 -0
- package/docs/enums/ContentType.html +443 -0
- package/docs/enums/DIRECTION.html +317 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +317 -0
- package/docs/enums/DimensionType.html +307 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +310 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +317 -0
- package/docs/enums/PaintBrushTypeEnum.html +310 -0
- package/docs/enums/PointType.html +307 -0
- package/docs/enums/Rotation.html +314 -0
- package/docs/functions/CSS3DRenderPlugin.html +285 -0
- package/docs/functions/CameraMovementPlugin.html +290 -0
- package/docs/functions/CruisePlugin.html +287 -0
- package/docs/functions/FloorplanRoomsPlugin.html +285 -0
- package/docs/functions/GuideLinePlugin.html +287 -0
- package/docs/functions/ItemLabelPlugin.html +287 -0
- package/docs/functions/MapviewFloorplanPlugin.html +287 -0
- package/docs/functions/ModelChassisCompassPlugin.html +290 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +290 -0
- package/docs/functions/ModelFloorplanPlugin.html +287 -0
- package/docs/functions/ModelItemLabelPlugin.html +287 -0
- package/docs/functions/ModelRoomLabelPlugin.html +285 -0
- package/docs/functions/ModelTVVideoPlugin.html +287 -0
- package/docs/functions/ModelViewPlugin.html +290 -0
- package/docs/functions/Object3DHelperPlugin.html +285 -0
- package/docs/functions/PanoCompassPlugin.html +287 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +291 -0
- package/docs/functions/PanoDoorLabelPlugin.html +287 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +287 -0
- package/docs/functions/PanoMeasurePlugin.html +287 -0
- package/docs/functions/PanoRulerPlugin.html +290 -0
- package/docs/functions/PanoRulerProPlugin.html +290 -0
- package/docs/functions/PanoSpatialTagPlugin.html +290 -0
- package/docs/functions/PanoTagPlugin.html +292 -0
- package/docs/functions/PanoVideoPlugin.html +296 -0
- package/docs/functions/PipelinePlugin.html +285 -0
- package/docs/functions/TopviewFloorplanPlugin.html +287 -0
- package/docs/functions/Util.absoluteUrl.html +319 -0
- package/docs/functions/Util.getCoordsFromClient.html +321 -0
- package/docs/functions/Util.getCoordsFromElement.html +321 -0
- package/docs/functions/Util.getFrameTime.html +313 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +321 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +321 -0
- package/docs/functions/Util.isAbsoluteURL.html +314 -0
- package/docs/functions/Util.isModelLike.html +314 -0
- package/docs/functions/Util.isNil.html +322 -0
- package/docs/functions/Util.isPanoramaLike.html +314 -0
- package/docs/functions/Util.nextFrame.html +327 -0
- package/docs/functions/Util.notNil.html +322 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +343 -0
- package/docs/functions/Util.tweenProgress.html +316 -0
- package/docs/functions/Util.uuid.html +312 -0
- package/docs/functions/pluginFlag.html +285 -0
- package/docs/index.html +351 -0
- package/docs/interfaces/AddTagConfig.html +300 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +446 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +322 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +355 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +356 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +358 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +693 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +382 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +418 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +408 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +348 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +316 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +405 -0
- package/docs/interfaces/EventMap.html +539 -0
- package/docs/interfaces/FloorplanBounding.html +329 -0
- package/docs/interfaces/FloorplanData.html +332 -0
- package/docs/interfaces/FloorplanEntrance.html +357 -0
- package/docs/interfaces/FloorplanExtraObject.html +347 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +336 -0
- package/docs/interfaces/FloorplanFloorData.html +325 -0
- package/docs/interfaces/FloorplanImagePosition.html +311 -0
- package/docs/interfaces/FloorplanObserver.html +329 -0
- package/docs/interfaces/FloorplanOutlineItem.html +325 -0
- package/docs/interfaces/FloorplanPosition.html +311 -0
- package/docs/interfaces/FloorplanRoomItem.html +376 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +317 -0
- package/docs/interfaces/FloorplanServerBounding.html +329 -0
- package/docs/interfaces/FloorplanServerComputedData.html +328 -0
- package/docs/interfaces/FloorplanServerData.html +311 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +328 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +314 -0
- package/docs/interfaces/FloorplanServerEntrance.html +357 -0
- package/docs/interfaces/FloorplanServerFloorData.html +325 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +311 -0
- package/docs/interfaces/FloorplanServerObserver.html +329 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +325 -0
- package/docs/interfaces/FloorplanServerPosition.html +311 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +388 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +317 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +320 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +358 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +522 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +353 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +344 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +411 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +343 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +468 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +340 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +468 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +305 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +326 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +351 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +367 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +349 -0
- package/docs/interfaces/HelperOffset.html +329 -0
- package/docs/interfaces/ImagePlaneGroup.html +303 -0
- package/docs/interfaces/ItemLabelPluginData.html +300 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +385 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +321 -0
- package/docs/interfaces/MinMax.html +307 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +307 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +343 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +307 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +314 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +351 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +300 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +385 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +307 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +300 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +321 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +345 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +300 -0
- package/docs/interfaces/ModelViewPluginExportType.html +413 -0
- package/docs/interfaces/Object3DHelperState.html +314 -0
- package/docs/interfaces/ObjectHelperControllers.html +321 -0
- package/docs/interfaces/PaintBrushAction.html +360 -0
- package/docs/interfaces/PaintBrushConfigs.html +358 -0
- package/docs/interfaces/PaintBrushState.html +342 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +422 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +279 -0
- package/docs/interfaces/PanoMeasureParameterType.html +446 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +314 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +311 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +307 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +317 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +374 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +323 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +314 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +350 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +320 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +307 -0
- package/docs/interfaces/PanoRulerProPluginState.html +314 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +293 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +282 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +350 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +332 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +428 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +328 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +349 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +335 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +328 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +320 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +338 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +311 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +417 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +311 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +346 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +365 -0
- package/docs/interfaces/Point.html +314 -0
- package/docs/interfaces/Room.html +321 -0
- package/docs/interfaces/RoomInfo.html +307 -0
- package/docs/interfaces/RoomLabel.html +383 -0
- package/docs/interfaces/RoomRules.html +282 -0
- package/docs/interfaces/Rooms.html +282 -0
- package/docs/interfaces/Scissor.html +341 -0
- package/docs/interfaces/State.html +328 -0
- package/docs/interfaces/TagCacheInterface.html +352 -0
- package/docs/interfaces/TagConfig.html +542 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +303 -0
- package/docs/interfaces/TagIconUrl.html +360 -0
- package/docs/interfaces/TagObjectGroup.html +303 -0
- package/docs/interfaces/TagStyle.html +313 -0
- package/docs/interfaces/Tags.html +543 -0
- package/docs/interfaces/TemporaryState.html +300 -0
- package/docs/interfaces/Util.MagnifierParameter.html +384 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +343 -0
- package/docs/interfaces/Util.PointIntersection.html +358 -0
- package/docs/modules/CruisePluginTypes.html +325 -0
- package/docs/modules/GuideLineItem.html +286 -0
- package/docs/modules/GuideLineModeItem.html +291 -0
- package/docs/modules/GuideLinePluginType.html +345 -0
- package/docs/modules/PanoVideoPluginType.html +298 -0
- package/docs/modules/Util.html +340 -0
- package/docs/modules.html +534 -0
- package/docs/types/ArrayPosition.html +276 -0
- package/docs/types/AudioAppearance.html +276 -0
- package/docs/types/AudioTagTypeConfigKey.html +276 -0
- package/docs/types/CSS3DRenderExportType.html +276 -0
- package/docs/types/CSS3DRenderPluginExportType.html +276 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +276 -0
- package/docs/types/ClassFunctionParameters.html +283 -0
- package/docs/types/Color.html +276 -0
- package/docs/types/ContentTypeConfigKey.html +276 -0
- package/docs/types/ContentTypeConfigKeySplit.html +276 -0
- package/docs/types/ContentTypeMap.html +276 -0
- package/docs/types/Create3DDomContainerReturnType.html +276 -0
- package/docs/types/Create3DElementReturnType.html +276 -0
- package/docs/types/CruisePluginExportType.html +276 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +315 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +292 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +288 -0
- package/docs/types/DeprecatedTagProperty.html +291 -0
- package/docs/types/Direction-1.html +276 -0
- package/docs/types/Direction4.html +276 -0
- package/docs/types/ElementRenderer.html +300 -0
- package/docs/types/FloorplanRoomsPluginParameterType.html +276 -0
- package/docs/types/FloorplanRoomsPluginReturnType.html +276 -0
- package/docs/types/FloorplanRuleLabels.html +279 -0
- package/docs/types/FloorplanServerRuleLabels.html +276 -0
- package/docs/types/GuideLinePluginExportType.html +276 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +348 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +369 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +302 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +305 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +305 -0
- package/docs/types/GuideLinePluginType.PathItem.html +305 -0
- package/docs/types/GuideLinePluginType.PluginData.html +314 -0
- package/docs/types/HelperEventMap.html +514 -0
- package/docs/types/LoadTagConfig.html +276 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +276 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +276 -0
- package/docs/types/MediaData.html +292 -0
- package/docs/types/MediaStore.html +281 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +283 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +276 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +276 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +276 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +276 -0
- package/docs/types/MoveArgs.html +286 -0
- package/docs/types/MoveOpts.html +284 -0
- package/docs/types/Object3DHelperEventMap.html +369 -0
- package/docs/types/ObjectFit.html +276 -0
- package/docs/types/PaintBrushEventMap.html +307 -0
- package/docs/types/PanoCompassPluginData.html +276 -0
- package/docs/types/PanoCompassPluginExportType.html +276 -0
- package/docs/types/PanoCompassPluginParameterType.html +276 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +276 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +276 -0
- package/docs/types/PanoIndex.html +276 -0
- package/docs/types/PanoMeasurePluginEvent.html +276 -0
- package/docs/types/PanoMeasureReturnType.html +276 -0
- package/docs/types/PanoSpatialTagPluginId.html +276 -0
- package/docs/types/PanoTagPluginExportInterface.html +276 -0
- package/docs/types/PanoTagPluginParamsInterface.html +276 -0
- package/docs/types/PanoVideoPluginParameterType.html +276 -0
- package/docs/types/PanoVideoPluginReturnType.html +276 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +284 -0
- package/docs/types/PipelinePluginParameterType.html +276 -0
- package/docs/types/PipelinePluginReturnType.html +276 -0
- package/docs/types/PlaneTag.html +284 -0
- package/docs/types/Point2DTag.html +284 -0
- package/docs/types/Point3DTag.html +284 -0
- package/docs/types/PointTag.html +281 -0
- package/docs/types/PointTagInstance.html +281 -0
- package/docs/types/Position.html +276 -0
- package/docs/types/RotateArgs.html +288 -0
- package/docs/types/RotateOpts.html +284 -0
- package/docs/types/RuleLabelsKey.html +276 -0
- package/docs/types/RuleLabelsValue.html +276 -0
- package/docs/types/StickType.html +276 -0
- package/docs/types/Tag.html +342 -0
- package/docs/types/Tag2D.html +284 -0
- package/docs/types/Tag3D.html +284 -0
- package/docs/types/TagConfigByKey.html +281 -0
- package/docs/types/TagContentType.html +276 -0
- package/docs/types/TagDimensionType.html +278 -0
- package/docs/types/TagElement.html +286 -0
- package/docs/types/TagEvents.html +329 -0
- package/docs/types/TagGLTFObject.html +299 -0
- package/docs/types/TagHooks.html +276 -0
- package/docs/types/TagId.html +276 -0
- package/docs/types/TagInstance.html +348 -0
- package/docs/types/TagPointType.html +279 -0
- package/docs/types/TagRendererMap.html +281 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +276 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +276 -0
- package/docs/types/WorkCode.html +276 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +286 -0
- package/docs/variables/PLUGIN.html +276 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +279 -0
- package/docs/variables/ROOM_TYPE_MAP.html +286 -0
- package/docs/variables/defaultGlobalConfig.html +276 -0
- package/docs/variables/itemLabelPluginServerParams.html +283 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +283 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +283 -0
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +39 -42
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +13 -13
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -19
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -2
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +10 -10
- package/libs/base/BasePlugin.js +1 -1
- package/libs/base/BasePluginWithData.d.ts +1 -1
- package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +114 -0
- package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.js +51 -0
- package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +23 -0
- package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.js +25 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.js +188 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.js +94 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.js +111 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js +191 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.js +237 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Controller.d.ts +40 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Controller.js +207 -0
- package/libs/floorplan/FloorplanRoomsPlugin/index.d.ts +6 -0
- package/libs/floorplan/FloorplanRoomsPlugin/index.js +43 -0
- package/libs/floorplan/FloorplanRoomsPlugin/typing.d.ts +60 -0
- package/libs/floorplan/index.d.ts +1 -0
- package/libs/index.d.ts +0 -1
- package/libs/index.js +122 -120
- package/libs/shared-utils/device.js +1 -0
- package/libs/shared-utils/index.d.ts +0 -1
- package/libs/shared-utils/index.js +21 -27
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/planimetry.d.ts +1 -1
- package/libs/shared-utils/math/planimetry.js +29 -36
- package/libs/shared-utils/three/index.d.ts +0 -2
- package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
- package/libs/shared-utils/three/loadVideoTexture.js +6 -6
- package/libs/vendor/svelte/internal/index.js +85 -79
- package/package.json +2 -2
- package/dist/AreaMakerPlugin/Controller.d.ts +0 -94
- package/dist/AreaMakerPlugin/index.d.ts +0 -4
- package/dist/AreaMakerPlugin/typing.d.ts +0 -148
- package/dist/AreaMakerPlugin/utils/Item.d.ts +0 -114
- package/dist/components/AreaLabel/Assets/roomLabelBg.d.ts +0 -1
- package/dist/shared-utils/three/core/Object3D.d.ts +0 -8
- package/dist/shared-utils/three/objects/LineSegments.d.ts +0 -9
- package/libs/AreaMakerPlugin/Controller.d.ts +0 -94
- package/libs/AreaMakerPlugin/Controller.js +0 -336
- package/libs/AreaMakerPlugin/index.d.ts +0 -4
- package/libs/AreaMakerPlugin/index.js +0 -37
- package/libs/AreaMakerPlugin/typing.d.ts +0 -148
- package/libs/AreaMakerPlugin/utils/Item.d.ts +0 -114
- package/libs/AreaMakerPlugin/utils/Item.js +0 -263
- package/libs/components/AreaLabel/Assets/roomLabelBg.d.ts +0 -1
- package/libs/components/AreaLabel/Assets/roomLabelBg.js +0 -4
- package/libs/components/AreaLabel/LabelItem.js +0 -125
- package/libs/shared-utils/three/core/Object3D.d.ts +0 -8
- package/libs/shared-utils/three/core/Object3D.js +0 -22
- package/libs/shared-utils/three/objects/LineSegments.d.ts +0 -9
- package/libs/shared-utils/three/objects/LineSegments.js +0 -9
- /package/dist/{components/AreaLabel/LabelItem.svelte.d.ts → floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts} +0 -0
- /package/{libs/components/AreaLabel/LabelItem.svelte.d.ts → dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts} +0 -0
- /package/libs/{AreaMakerPlugin → floorplan/FloorplanRoomsPlugin}/typing.js +0 -0
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import type * as BasePlugin from '../base/BasePluginWithData';
|
|
2
|
-
import type * as THREE from 'three';
|
|
3
|
-
import type { AreaMakerItem } from './utils/Item';
|
|
4
|
-
export type { Controller as AreaMakerController } from './Controller';
|
|
5
|
-
export type { AreaMakerItem };
|
|
6
|
-
/** 插件初始化参数 */
|
|
7
|
-
export interface Params {
|
|
8
|
-
config?: Partial<Config>;
|
|
9
|
-
initialState?: Partial<State>;
|
|
10
|
-
}
|
|
11
|
-
/** 插件状态 */
|
|
12
|
-
export interface State extends BasePlugin.State {
|
|
13
|
-
/** 插件是否启用 */
|
|
14
|
-
enabled: boolean;
|
|
15
|
-
/** 插件整体是否可见 */
|
|
16
|
-
visible: boolean;
|
|
17
|
-
}
|
|
18
|
-
/** 插件配置 */
|
|
19
|
-
export interface Config {
|
|
20
|
-
/** 标注模型是否开启深度检测,此配置仅对模型生效,不会影响标签的展示效果。
|
|
21
|
-
* @default true
|
|
22
|
-
* @description 关闭后,标注模型不会被其他模型遮挡
|
|
23
|
-
*/
|
|
24
|
-
modelDepthTest: boolean;
|
|
25
|
-
}
|
|
26
|
-
/** 插件事件 */
|
|
27
|
-
export interface EventMap extends BasePlugin.EventMap<State, ServerData> {
|
|
28
|
-
/** visible 从 false 到 true 的回调
|
|
29
|
-
* @param event.userAction 是否是用户操作
|
|
30
|
-
*/
|
|
31
|
-
show: (event: {
|
|
32
|
-
userAction: boolean;
|
|
33
|
-
}) => void;
|
|
34
|
-
/** visible 从 true 到 false 的回调
|
|
35
|
-
* @param event.userAction 是否是用户操作
|
|
36
|
-
*/
|
|
37
|
-
hide: (event: {
|
|
38
|
-
userAction: boolean;
|
|
39
|
-
}) => void;
|
|
40
|
-
/** enabled 从 false 到 true 的回调
|
|
41
|
-
* @param event.userAction 是否是用户操作
|
|
42
|
-
*/
|
|
43
|
-
enable: (event: {
|
|
44
|
-
userAction: boolean;
|
|
45
|
-
}) => void;
|
|
46
|
-
/** enabled 从 true 到 false 的回调
|
|
47
|
-
* @param event.userAction 是否是用户操作
|
|
48
|
-
*/
|
|
49
|
-
disable: (event: {
|
|
50
|
-
userAction: boolean;
|
|
51
|
-
}) => void;
|
|
52
|
-
/** config 变更的回调
|
|
53
|
-
* @param event.prevConfig 变更前的 config
|
|
54
|
-
* @param event.config 变更后的 config
|
|
55
|
-
* @param event.userAction 是否是用户操作
|
|
56
|
-
*/
|
|
57
|
-
configChange: (event: {
|
|
58
|
-
prevConfig: Config;
|
|
59
|
-
config: Config;
|
|
60
|
-
userAction: boolean;
|
|
61
|
-
}) => void;
|
|
62
|
-
/** 插件内容点击的回调
|
|
63
|
-
* @param event.target 点击的标注实例
|
|
64
|
-
* @param event.intersectObjects 射线与标注模型的交点集合
|
|
65
|
-
* @param event.wantsFiveTapGestureParams Five wantsFiveTapGesture 的回调参数
|
|
66
|
-
* @returns <boolean> | <void> 返回 false 会阻止 Five wantsFiveTapGesture 的回调,其余 return 值会被忽略
|
|
67
|
-
*/
|
|
68
|
-
wantsTap: (event: {
|
|
69
|
-
target: AreaMakerItem;
|
|
70
|
-
intersectObjects: THREE.Intersection[];
|
|
71
|
-
}) => boolean | void;
|
|
72
|
-
}
|
|
73
|
-
/** 标注实例事件 */
|
|
74
|
-
export type AreaMakerItemEventMap = {
|
|
75
|
-
/** 标注标签点击的回调
|
|
76
|
-
* @param event.target 点击的标注实例
|
|
77
|
-
* @param event.nativeEvent 点击事件的的原始 MouseEvent
|
|
78
|
-
*/
|
|
79
|
-
tagClick: (event: {
|
|
80
|
-
target: AreaMakerItem;
|
|
81
|
-
nativeEvent: MouseEvent;
|
|
82
|
-
}) => void;
|
|
83
|
-
};
|
|
84
|
-
/** 动画相关的配置 */
|
|
85
|
-
export interface AnimeOptions {
|
|
86
|
-
/** 动画时长,单位是毫秒 */
|
|
87
|
-
duration?: number;
|
|
88
|
-
}
|
|
89
|
-
export interface ShowHideOptions extends BasePlugin.BaseOptions {
|
|
90
|
-
userAction: boolean;
|
|
91
|
-
}
|
|
92
|
-
/** 第一版数据
|
|
93
|
-
* @description 为什么会存在两种数据?
|
|
94
|
-
* 目前数据是线上已经存在的,这一版数据目前存在以下问题:
|
|
95
|
-
* 1. 无法描述弧线。
|
|
96
|
-
* 2. 数据结构不够清晰,数据存在一定产品逻辑上的抽象,比如说标注的高度,是由楼层高度和人工设置的高度修正组成的。
|
|
97
|
-
*/
|
|
98
|
-
export interface ServerDataV1 {
|
|
99
|
-
list: ServerAreaMakerItemV1[];
|
|
100
|
-
}
|
|
101
|
-
/** 第二版数据 */
|
|
102
|
-
export interface ServerDataV2 {
|
|
103
|
-
list: ServerAreaMakerItem[];
|
|
104
|
-
}
|
|
105
|
-
/** load 的数据 */
|
|
106
|
-
export type ServerData = ServerDataV1 | ServerDataV2;
|
|
107
|
-
/** 插件使用的数据 */
|
|
108
|
-
export type PluginData = ServerDataV2;
|
|
109
|
-
export interface ServerAreaMakerItem {
|
|
110
|
-
id: number | string;
|
|
111
|
-
/** 标注名称 */
|
|
112
|
-
name?: string;
|
|
113
|
-
/** 标注所在楼层 */
|
|
114
|
-
floor_index: number;
|
|
115
|
-
/** 标注物体 */
|
|
116
|
-
object_data: {
|
|
117
|
-
/** 标注底面形状,THREE.Shape().toJSON() 的结果 */
|
|
118
|
-
shape: Record<string, any>;
|
|
119
|
-
/** 标注底面 y 坐标 */
|
|
120
|
-
bottom_y: number;
|
|
121
|
-
/** 标注高度,指标注顶部距离底部的距离。只能为正值,单位是米 */
|
|
122
|
-
height: number;
|
|
123
|
-
/** 标注颜色
|
|
124
|
-
* @example "#ffffff"
|
|
125
|
-
*/
|
|
126
|
-
color?: string;
|
|
127
|
-
/** 标注透明度 */
|
|
128
|
-
opacity?: number;
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
export interface ServerAreaMakerItemV1 {
|
|
132
|
-
id: number;
|
|
133
|
-
name: string;
|
|
134
|
-
object_data: {
|
|
135
|
-
/** 绘制平面的三维世界坐标点集合 */
|
|
136
|
-
points: number[][];
|
|
137
|
-
/** 楼层索引 */
|
|
138
|
-
floorIndex: number;
|
|
139
|
-
/** 楼层高度 */
|
|
140
|
-
height: number;
|
|
141
|
-
/** 人工设置的y坐标方向偏移 */
|
|
142
|
-
fixedY: number;
|
|
143
|
-
/** 人工设置的高度修正 */
|
|
144
|
-
fixedHeight: number;
|
|
145
|
-
color: string;
|
|
146
|
-
opacity?: number;
|
|
147
|
-
};
|
|
148
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
import { Object3D } from '../../shared-utils';
|
|
3
|
-
import { LineSegments } from '../../shared-utils';
|
|
4
|
-
import type { Controller } from '../Controller';
|
|
5
|
-
import type * as PluginType from '../typing';
|
|
6
|
-
import LabelItem from '../../components/AreaLabel/LabelItem.svelte';
|
|
7
|
-
import { Subscribe } from '../../shared-utils/Subscribe';
|
|
8
|
-
declare class AreaMakerModelGroup extends Object3D {
|
|
9
|
-
private areaMakerItem;
|
|
10
|
-
constructor(areaMakerItem: AreaMakerItem);
|
|
11
|
-
raycast(raycaster: THREE.Raycaster, intersects: THREE.Intersection[]): void;
|
|
12
|
-
}
|
|
13
|
-
export declare class AreaMakerItem {
|
|
14
|
-
id: string | number;
|
|
15
|
-
/** 标注名称 */
|
|
16
|
-
name: string;
|
|
17
|
-
/** 标注几何体 */
|
|
18
|
-
makerObject: THREE.Mesh<THREE.ExtrudeBufferGeometry, THREE.MeshBasicMaterial>;
|
|
19
|
-
/** 标注几何体的边框 */
|
|
20
|
-
outline: LineSegments<THREE.EdgesGeometry, THREE.LineBasicMaterial>;
|
|
21
|
-
/** 标注底面 Y 坐标 */
|
|
22
|
-
bottomY: PluginType.ServerAreaMakerItem['object_data']['bottom_y'];
|
|
23
|
-
/** 标注透明度 */
|
|
24
|
-
opacity: PluginType.ServerAreaMakerItem['object_data']['opacity'];
|
|
25
|
-
/** 标注高度 */
|
|
26
|
-
height: PluginType.ServerAreaMakerItem['object_data']['height'];
|
|
27
|
-
/** 标注所在楼层 */
|
|
28
|
-
floorIndex: PluginType.ServerAreaMakerItem['floor_index'];
|
|
29
|
-
/** 标注底面形状 */
|
|
30
|
-
shape: THREE.Shape;
|
|
31
|
-
/** 是否被挂载 */
|
|
32
|
-
mounted: boolean;
|
|
33
|
-
/** 查询问题使用的调试对象 */
|
|
34
|
-
checkMsg: {
|
|
35
|
-
/** 当标注没有展示时,可以通过这个字段查看原因 */
|
|
36
|
-
checkVisibleMsg: string;
|
|
37
|
-
/** 当标注标签没有展示时,可以通过这个字段查看原因 */
|
|
38
|
-
checkTagVisibleMsg: string;
|
|
39
|
-
};
|
|
40
|
-
/** 模型容器 */
|
|
41
|
-
modelGroup: AreaMakerModelGroup;
|
|
42
|
-
/** 标注是否可见 */
|
|
43
|
-
visible: boolean;
|
|
44
|
-
/** 标注标签实例 */
|
|
45
|
-
tagApp: LabelItem | null;
|
|
46
|
-
/** 标注标签是否可见 */
|
|
47
|
-
tagVisible: boolean;
|
|
48
|
-
/** 标注标签的世界坐标 */
|
|
49
|
-
tagPosition: THREE.Vector3;
|
|
50
|
-
/** 标注标签的 NDC 坐标 */
|
|
51
|
-
tagNDCPosition: THREE.Vector3;
|
|
52
|
-
/** 标注标签的 transform */
|
|
53
|
-
tagTransform: {
|
|
54
|
-
left: number;
|
|
55
|
-
top: number;
|
|
56
|
-
};
|
|
57
|
-
/** 标注标签的显示层级 */
|
|
58
|
-
tagZIndex: number;
|
|
59
|
-
hooks: Subscribe<PluginType.AreaMakerItemEventMap>;
|
|
60
|
-
/** Plugin 实例 */
|
|
61
|
-
private plugin;
|
|
62
|
-
/** 标注透明度动画 */
|
|
63
|
-
private opacityAnime?;
|
|
64
|
-
constructor(plugin: Controller, data: PluginType.ServerAreaMakerItem);
|
|
65
|
-
/** 挂载标注 */
|
|
66
|
-
mount(): void;
|
|
67
|
-
/** 卸载标注 */
|
|
68
|
-
unmount(): void;
|
|
69
|
-
/** 更改标注透明度
|
|
70
|
-
* @param opacity 标注透明度,范围:0-1
|
|
71
|
-
*/
|
|
72
|
-
setOpacity(opacity: number): void;
|
|
73
|
-
/** 更改标注颜色
|
|
74
|
-
* @param color 标注颜色,支持 hex
|
|
75
|
-
* @example setColor('#FF0000')
|
|
76
|
-
*/
|
|
77
|
-
setColor(color: string): void;
|
|
78
|
-
/** 更改标注高度
|
|
79
|
-
* @param height 标注高度,单位:米
|
|
80
|
-
*/
|
|
81
|
-
setHeight(height: number): void;
|
|
82
|
-
/** 更改标注标签的显示层级
|
|
83
|
-
* @description 为什么需要这个方法
|
|
84
|
-
* 在相机朝向或位置发生变化时,各个标签所在的坐标与相机的远近关系发生了变化,所以标签的层级也会有变化。
|
|
85
|
-
* 比如:
|
|
86
|
-
* - 相机 -> 标签 A -> 标签 B: 标签 A 在标签 B 的前面
|
|
87
|
-
* - 标签 A <- 标签 B <- 相机: 标签 A 在标签 B 的后面
|
|
88
|
-
* 但是当前元素是无法感知到这种变化的,所以需要通过父元素调用这个方法来更新标签的层级。
|
|
89
|
-
*/
|
|
90
|
-
setTagZIndex(zIndex: number): void;
|
|
91
|
-
/** 显示标注 */
|
|
92
|
-
/** 隐藏标注 */
|
|
93
|
-
/** 透明度动画 */
|
|
94
|
-
private doOpacityAnime;
|
|
95
|
-
/** 插件 Config 变化时更新自身 depthTest */
|
|
96
|
-
private onPluginConfigChange;
|
|
97
|
-
/** 更新标注可见性 */
|
|
98
|
-
private updateVisible;
|
|
99
|
-
/** 检测标注是否可见 */
|
|
100
|
-
private checkVisible;
|
|
101
|
-
/** 更新标注标签 */
|
|
102
|
-
private updateTag;
|
|
103
|
-
/** 更新标注标签的 NDC Position */
|
|
104
|
-
private updateTagNDCPosition;
|
|
105
|
-
/** 更新标注标签的 transform */
|
|
106
|
-
private updateTagDomTransform;
|
|
107
|
-
/** 更新标注标签可见性 */
|
|
108
|
-
private updateTagVisible;
|
|
109
|
-
/** 检测标注标签是否可见 */
|
|
110
|
-
private checkTagVisible;
|
|
111
|
-
/** 相机位姿发生变化时,更新标签 */
|
|
112
|
-
private onFiveCameraUpdate;
|
|
113
|
-
}
|
|
114
|
-
export {};
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
var f = Object.defineProperty;
|
|
2
|
-
var d = (n, t, e) => t in n ? f(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
|
-
var i = (n, t, e) => (d(n, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import * as a from "three";
|
|
5
|
-
import "hammerjs";
|
|
6
|
-
import "@realsee/five";
|
|
7
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
8
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
9
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
|
-
import { Object3D as b } from "../../shared-utils/three/core/Object3D.js";
|
|
11
|
-
import { LineSegments as k } from "../../shared-utils/three/objects/LineSegments.js";
|
|
12
|
-
import { BetterTween as y } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
13
|
-
import { LabelItem as O } from "../../components/AreaLabel/LabelItem.js";
|
|
14
|
-
import { getCenterPointOfPoints as T } from "../../shared-utils/math/planimetry.js";
|
|
15
|
-
import { Subscribe as C } from "../../shared-utils/Subscribe.js";
|
|
16
|
-
import "../../shared-utils/positionToVector3.js";
|
|
17
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
18
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
19
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
20
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
21
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
22
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
23
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
24
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
25
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
26
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
27
|
-
import "../../shared-utils/animationFrame/index.js";
|
|
28
|
-
import "../../vendor/svelte/internal/index.js";
|
|
29
|
-
import "../../components/AreaLabel/Assets/roomLabelBg.js";
|
|
30
|
-
class M extends b {
|
|
31
|
-
constructor(e) {
|
|
32
|
-
super();
|
|
33
|
-
i(this, "areaMakerItem");
|
|
34
|
-
this.areaMakerItem = e;
|
|
35
|
-
}
|
|
36
|
-
raycast(e, s) {
|
|
37
|
-
this.areaMakerItem.makerObject.raycast(e, s);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
class q {
|
|
41
|
-
constructor(t, e) {
|
|
42
|
-
i(this, "id");
|
|
43
|
-
/** 标注名称 */
|
|
44
|
-
i(this, "name", "");
|
|
45
|
-
/** 标注几何体 */
|
|
46
|
-
i(this, "makerObject");
|
|
47
|
-
/** 标注几何体的边框 */
|
|
48
|
-
i(this, "outline");
|
|
49
|
-
/** 标注底面 Y 坐标 */
|
|
50
|
-
i(this, "bottomY");
|
|
51
|
-
/** 标注透明度 */
|
|
52
|
-
i(this, "opacity");
|
|
53
|
-
/** 标注高度 */
|
|
54
|
-
i(this, "height");
|
|
55
|
-
/** 标注所在楼层 */
|
|
56
|
-
i(this, "floorIndex");
|
|
57
|
-
/** 标注底面形状 */
|
|
58
|
-
i(this, "shape");
|
|
59
|
-
/** 是否被挂载 */
|
|
60
|
-
i(this, "mounted", !1);
|
|
61
|
-
/** 查询问题使用的调试对象 */
|
|
62
|
-
i(this, "checkMsg", {
|
|
63
|
-
/** 当标注没有展示时,可以通过这个字段查看原因 */
|
|
64
|
-
checkVisibleMsg: "",
|
|
65
|
-
/** 当标注标签没有展示时,可以通过这个字段查看原因 */
|
|
66
|
-
checkTagVisibleMsg: ""
|
|
67
|
-
});
|
|
68
|
-
/** 模型容器 */
|
|
69
|
-
i(this, "modelGroup");
|
|
70
|
-
/** 标注是否可见 */
|
|
71
|
-
i(this, "visible", !1);
|
|
72
|
-
// ==================== 标签相关 ====================
|
|
73
|
-
/** 标注标签实例 */
|
|
74
|
-
i(this, "tagApp");
|
|
75
|
-
/** 标注标签是否可见 */
|
|
76
|
-
i(this, "tagVisible", !1);
|
|
77
|
-
/** 标注标签的世界坐标 */
|
|
78
|
-
i(this, "tagPosition", new a.Vector3());
|
|
79
|
-
/** 标注标签的 NDC 坐标 */
|
|
80
|
-
i(this, "tagNDCPosition", new a.Vector3());
|
|
81
|
-
/** 标注标签的 transform */
|
|
82
|
-
i(this, "tagTransform", { left: 0, top: 0 });
|
|
83
|
-
/** 标注标签的显示层级 */
|
|
84
|
-
i(this, "tagZIndex", 0);
|
|
85
|
-
i(this, "hooks", new C());
|
|
86
|
-
/** Plugin 实例 */
|
|
87
|
-
i(this, "plugin");
|
|
88
|
-
/** 标注透明度动画 */
|
|
89
|
-
i(this, "opacityAnime");
|
|
90
|
-
/** 显示标注 */
|
|
91
|
-
// public show() {
|
|
92
|
-
// return this.doOpacityAnime({
|
|
93
|
-
// duration: 500,
|
|
94
|
-
// makerObjectOpacity: [this.makerObject.material.opacity, this.opacity],
|
|
95
|
-
// outlineOpacity: [this.outline.material.opacity, 1],
|
|
96
|
-
// ...options,
|
|
97
|
-
// })
|
|
98
|
-
// }
|
|
99
|
-
/** 隐藏标注 */
|
|
100
|
-
// public hide() {
|
|
101
|
-
// return this.doOpacityAnime({
|
|
102
|
-
// duration: 500,
|
|
103
|
-
// makerObjectOpacity: [this.makerObject.material.opacity, 0],
|
|
104
|
-
// outlineOpacity: [this.outline.material.opacity, 0],
|
|
105
|
-
// ...options,
|
|
106
|
-
// })
|
|
107
|
-
// }
|
|
108
|
-
/** 透明度动画 */
|
|
109
|
-
i(this, "doOpacityAnime", (t) => {
|
|
110
|
-
var h;
|
|
111
|
-
(h = this.opacityAnime) == null || h.dispose();
|
|
112
|
-
const e = t.duration, [s, o] = t.makerObjectOpacity, [r, l] = t.outlineOpacity;
|
|
113
|
-
if (e === 0) {
|
|
114
|
-
this.makerObject.material.opacity = o, this.outline.material.opacity = l;
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
return new Promise((p) => {
|
|
118
|
-
this.opacityAnime = new y({ makerObjectOpacity: s, outlineOpacity: r }).to({
|
|
119
|
-
makerObjectOpacity: o,
|
|
120
|
-
outlineOpacity: l
|
|
121
|
-
}).onUpdate(({ makerObjectOpacity: c, outlineOpacity: m }) => {
|
|
122
|
-
this.makerObject.material.opacity = c, this.outline.material.opacity = m, this.plugin.five.needsRender = !0;
|
|
123
|
-
}).onComplete(() => p(!0)).onDispose(() => {
|
|
124
|
-
this.makerObject.material.opacity = o, this.outline.material.opacity = l, this.plugin.five.needsRender = !0, p(!1);
|
|
125
|
-
}).play();
|
|
126
|
-
});
|
|
127
|
-
});
|
|
128
|
-
/** 插件 Config 变化时更新自身 depthTest */
|
|
129
|
-
i(this, "onPluginConfigChange", (t) => {
|
|
130
|
-
this.makerObject.material.depthTest = t.config.modelDepthTest, this.outline.material.depthTest = t.config.modelDepthTest, this.plugin.five.needsRender = !0;
|
|
131
|
-
});
|
|
132
|
-
/** 更新标注可见性 */
|
|
133
|
-
i(this, "updateVisible", () => {
|
|
134
|
-
const { result: t, msg: e } = this.checkVisible();
|
|
135
|
-
this.checkMsg.checkVisibleMsg = e, this.visible !== t && (this.visible = t, this.modelGroup.visible = t, this.plugin.five.needsRender = !0);
|
|
136
|
-
});
|
|
137
|
-
/** 检测标注是否可见 */
|
|
138
|
-
i(this, "checkVisible", () => {
|
|
139
|
-
if (!this.plugin.state.visible)
|
|
140
|
-
return { result: !1, msg: "插件不可见" };
|
|
141
|
-
const e = this.plugin.five.model.shownFloor;
|
|
142
|
-
return e === null || e === this.floorIndex ? { result: !0, msg: "" } : { result: !1, msg: `模型高亮楼层不符合展示条件, 当前高亮楼层为:${e}` };
|
|
143
|
-
});
|
|
144
|
-
/** 更新标注标签 */
|
|
145
|
-
i(this, "updateTag", () => {
|
|
146
|
-
this.tagApp && (this.updateTagNDCPosition(), this.updateTagDomTransform(), this.updateTagVisible());
|
|
147
|
-
});
|
|
148
|
-
/** 更新标注标签的 NDC Position */
|
|
149
|
-
i(this, "updateTagNDCPosition", () => {
|
|
150
|
-
const e = this.tagPosition.clone().project(this.plugin.five.camera);
|
|
151
|
-
this.tagNDCPosition.copy(e);
|
|
152
|
-
});
|
|
153
|
-
/** 更新标注标签的 transform */
|
|
154
|
-
i(this, "updateTagDomTransform", () => {
|
|
155
|
-
var o;
|
|
156
|
-
const t = this.tagNDCPosition, e = Math.round((t.x + 1) / 2 * this.plugin.tagDomContainer.clientWidth), s = Math.round((-t.y + 1) / 2 * this.plugin.tagDomContainer.clientHeight);
|
|
157
|
-
this.tagTransform.left === e && this.tagTransform.top === s || (this.tagTransform = { left: e, top: s }, (o = this.tagApp) == null || o.$set({ transform: `translate(${e}px, ${s}px)` }));
|
|
158
|
-
});
|
|
159
|
-
/** 更新标注标签可见性 */
|
|
160
|
-
i(this, "updateTagVisible", () => {
|
|
161
|
-
var s;
|
|
162
|
-
const { result: t, msg: e } = this.checkTagVisible();
|
|
163
|
-
this.checkMsg.checkTagVisibleMsg = e, this.tagVisible !== t && (this.tagVisible = t, (s = this.tagApp) == null || s.$set({ visible: t }));
|
|
164
|
-
});
|
|
165
|
-
/** 检测标注标签是否可见 */
|
|
166
|
-
i(this, "checkTagVisible", () => {
|
|
167
|
-
if (!this.visible)
|
|
168
|
-
return { result: !1, msg: "标注整体不可见" };
|
|
169
|
-
const e = this.plugin.five, s = new a.Raycaster(), o = e.camera.position.clone();
|
|
170
|
-
s.set(o.clone(), this.tagPosition.clone().sub(o).normalize());
|
|
171
|
-
const [r] = e.model.intersectRaycaster(s), l = this.tagPosition.distanceTo(e.camera.position);
|
|
172
|
-
if (r && r.distance + 0.1 < l)
|
|
173
|
-
return { result: !1, msg: "标注标签被 Five 模型遮挡" };
|
|
174
|
-
const h = this.tagNDCPosition;
|
|
175
|
-
return Math.abs(h.x) > 1.2 || Math.abs(h.y) > 1.2 || Math.abs(h.z) > 1 ? { result: !1, msg: "标注标签不在屏幕内" } : { result: !0, msg: "" };
|
|
176
|
-
});
|
|
177
|
-
/** 相机位姿发生变化时,更新标签 */
|
|
178
|
-
i(this, "onFiveCameraUpdate", () => {
|
|
179
|
-
this.tagApp && this.visible && (this.updateTagNDCPosition(), this.updateTagDomTransform(), this.updateTagVisible());
|
|
180
|
-
});
|
|
181
|
-
var p, c, m;
|
|
182
|
-
const s = e.object_data, o = s.bottom_y, r = s.height, l = new a.Color((p = s.color) != null ? p : "#FFFFFF"), h = (c = s.opacity) != null ? c : 0.4;
|
|
183
|
-
this.id = e.id, this.name = (m = e.name) != null ? m : "", this.plugin = t, this.height = r, this.bottomY = o, this.opacity = h, this.shape = new a.Shape().fromJSON(s.shape), this.floorIndex = e.floor_index, this.makerObject = new a.Mesh(u(this.shape, r), v(l, h)), g(this.makerObject, o), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new k(
|
|
184
|
-
new a.EdgesGeometry(this.makerObject.geometry),
|
|
185
|
-
new a.LineBasicMaterial({ color: l, transparent: !0 })
|
|
186
|
-
), g(this.outline, o), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(r), this.modelGroup = new M(this);
|
|
187
|
-
}
|
|
188
|
-
/** 挂载标注 */
|
|
189
|
-
mount() {
|
|
190
|
-
if (this.mounted = !0, this.updateVisible(), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.modelGroup.add(this.makerObject, this.outline), !!this.name) {
|
|
191
|
-
const e = this.plugin.tagDomContainer, s = {
|
|
192
|
-
content: this.name,
|
|
193
|
-
visible: this.tagVisible,
|
|
194
|
-
transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
|
|
195
|
-
onClick: (o) => this.hooks.emit("tagClick", { target: this, nativeEvent: o })
|
|
196
|
-
};
|
|
197
|
-
this.tagApp = new O({ target: e, props: s }), this.updateTag();
|
|
198
|
-
}
|
|
199
|
-
this.plugin.five.needsRender = !0, this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.hooks.on("stateChange", this.updateVisible), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate);
|
|
200
|
-
}
|
|
201
|
-
/** 卸载标注 */
|
|
202
|
-
unmount() {
|
|
203
|
-
var t;
|
|
204
|
-
this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (t = this.tagApp) == null || t.$destroy(), this.tagApp = null, this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.hooks.off("stateChange", this.updateVisible), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate);
|
|
205
|
-
}
|
|
206
|
-
/** 更改标注透明度
|
|
207
|
-
* @param opacity 标注透明度,范围:0-1
|
|
208
|
-
*/
|
|
209
|
-
setOpacity(t) {
|
|
210
|
-
var e;
|
|
211
|
-
this.opacity = t, (e = this.opacityAnime) == null || e.dispose(), this.makerObject.material.opacity = t, this.plugin.five.needsRender = !0;
|
|
212
|
-
}
|
|
213
|
-
/** 更改标注颜色
|
|
214
|
-
* @param color 标注颜色,支持 hex
|
|
215
|
-
* @example setColor('#FF0000')
|
|
216
|
-
*/
|
|
217
|
-
setColor(t) {
|
|
218
|
-
const e = new a.Color(t);
|
|
219
|
-
this.makerObject.material.color = e, this.outline.material.color = e, this.plugin.five.needsRender = !0;
|
|
220
|
-
}
|
|
221
|
-
/** 更改标注高度
|
|
222
|
-
* @param height 标注高度,单位:米
|
|
223
|
-
*/
|
|
224
|
-
setHeight(t) {
|
|
225
|
-
if (t <= 0)
|
|
226
|
-
throw new Error("高度必须大于 0");
|
|
227
|
-
this.height = t, this.makerObject.geometry = u(this.shape, t), this.outline.geometry = new a.EdgesGeometry(this.makerObject.geometry);
|
|
228
|
-
const e = this.shape.extractPoints(10).shape.slice(0, -1), s = T(e), o = new a.Vector3(s.x, s.y, t);
|
|
229
|
-
g(o, this.bottomY), this.tagPosition.copy(o), this.updateTag(), this.plugin.five.needsRender = !0;
|
|
230
|
-
}
|
|
231
|
-
/** 更改标注标签的显示层级
|
|
232
|
-
* @description 为什么需要这个方法
|
|
233
|
-
* 在相机朝向或位置发生变化时,各个标签所在的坐标与相机的远近关系发生了变化,所以标签的层级也会有变化。
|
|
234
|
-
* 比如:
|
|
235
|
-
* - 相机 -> 标签 A -> 标签 B: 标签 A 在标签 B 的前面
|
|
236
|
-
* - 标签 A <- 标签 B <- 相机: 标签 A 在标签 B 的后面
|
|
237
|
-
* 但是当前元素是无法感知到这种变化的,所以需要通过父元素调用这个方法来更新标签的层级。
|
|
238
|
-
*/
|
|
239
|
-
setTagZIndex(t) {
|
|
240
|
-
var e;
|
|
241
|
-
this.tagZIndex !== t && ((e = this.tagApp) == null || e.$set({ zIndex: t }));
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
function u(n, t) {
|
|
245
|
-
return new a.ExtrudeBufferGeometry(n, {
|
|
246
|
-
depth: t,
|
|
247
|
-
bevelEnabled: !1
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
function v(n, t) {
|
|
251
|
-
return new a.MeshBasicMaterial({
|
|
252
|
-
color: n,
|
|
253
|
-
opacity: t,
|
|
254
|
-
transparent: !0
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
function g(n, t) {
|
|
258
|
-
const e = new a.Matrix4(), s = new a.Matrix4().makeRotationX(Math.PI / 2), o = new a.Matrix4().makeTranslation(0, 0, -t), r = new a.Matrix4().makeScale(1, 1, -1);
|
|
259
|
-
e.multiply(s), e.multiply(o), e.multiply(r), n.applyMatrix4(e);
|
|
260
|
-
}
|
|
261
|
-
export {
|
|
262
|
-
q as AreaMakerItem
|
|
263
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ROOM_LABEL_BG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAYAAACZ1L+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAPAAAAABU0H2EAAARRElEQVR4Ad2czY9cRZbFq1yFoQGDNCzwuAENohl54dkgdrNh34tZ8GciFi31nwEsmAEhhAWD1GMJCZgx5sMfUHN+J+NE3XfrZWWVcVVLHVLmuXG/74148V5m2bm/N8bR0dH+Bx988Po333zzbz///PONg4ODa+I9I9y/cuXKgV77h4eH+1KH3hP/yv7+vuBAsG+5UCIpCkMzDQ962Eu80Q1P/KmHT82v8IocZFL4pslDvL3fNARHoPI2wtbrV1jBIf9N8SEZ0UUP2wFHv2ocSc/2ouEz8PVooJXQ0/j10aNHoH2Idj4PHz4k1n29/k+5/u3ll1/+r7fffvtLzfGzd8ibjK6+9957f5ajf1XzH9y7d+8Xjf9FRs1SdvNBBg2SDQ1xh9ALH4yN0M2BNZrKwtFc9Fmkquuma5HJBzvLiIONBnx40B7QIzTdxCcNwj3dYlEoUmabAU+UFZDpxah22Ng2NjQXH0LrwccGwyEzXfWhWQwSYQHYuFevXj14/vnn37h79+7Nr7766gup/FX5PnAj33///f/46aef3vj444/vfPbZZz9IYGMcnDbkhEYQL001Hfsu775i+7j6LID6cDQWYo8mabGMxOr+e/ye3y7989p3/9jfvHnz2q1bt25oMb549913/3Lwzjvv/Mu3337775988smdzz///AcVQ+IecsAOp8OOHRpkiJniWQnrBJmwc7EF8atxBA2ihx/obf7Qqa+un+aDI0f7k08nU+PLj3PBR+qpcvFdd3BNP7YgI7mnHqHzBRndv1hH33///QNtlAcvvfTSq999992dQzFu/vjjj/c//fTTu1z+unT2wDFoHN13QbVg5CQS3tBfQGwHoo+chltPto4FMsR3nKCZ7a3KyDM+UO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