@realsee/dnalogel 3.19.1 → 3.19.2-dev.4
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/floorplan/typings/floorplanData.d.ts +7 -0
- package/dist/floorplan/typings/floorplanServerData.d.ts +7 -0
- package/dist/floorplan/typings/index.d.ts +9 -0
- package/dist/index.cjs.js +60 -60
- package/dist/index.js +5458 -5270
- package/dist/index.umd.js +52 -52
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/Magnifier.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +28 -5
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +28 -5
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/AudioTagTypeConfigKey.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +208 -188
- package/libs/floorplan/Components/Main.js +158 -138
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +277 -156
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +143 -123
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -39
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +28 -26
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +24 -22
- package/libs/floorplan/typings/floorplanData.d.ts +7 -0
- package/libs/floorplan/typings/floorplanServerData.d.ts +7 -0
- package/libs/floorplan/typings/index.d.ts +9 -0
- package/libs/floorplan/utils/formatData.js +8 -7
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var C = Object.defineProperty, S = Object.defineProperties;
|
|
2
|
+
var E = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var w = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var v = (d, s, t) => s in d ?
|
|
4
|
+
var P = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var v = (d, s, t) => s in d ? C(d, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[s] = t, l = (d, s) => {
|
|
6
6
|
for (var t in s || (s = {}))
|
|
7
|
-
|
|
7
|
+
P.call(s, t) && v(d, t, s[t]);
|
|
8
8
|
if (w)
|
|
9
9
|
for (var t of w(s))
|
|
10
|
-
|
|
10
|
+
x.call(s, t) && v(d, t, s[t]);
|
|
11
11
|
return d;
|
|
12
|
-
}, g = (d, s) =>
|
|
12
|
+
}, g = (d, s) => S(d, E(s));
|
|
13
13
|
var o = (d, s, t) => (v(d, typeof s != "symbol" ? s + "" : s, t), t);
|
|
14
14
|
var c = (d, s, t) => new Promise((e, i) => {
|
|
15
15
|
var n = (a) => {
|
|
@@ -29,16 +29,16 @@ var c = (d, s, t) => new Promise((e, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
import { to as I } from "../../shared-utils/to.js";
|
|
31
31
|
import { equal as M } from "../../shared-utils/equal.js";
|
|
32
|
-
import { Main as
|
|
32
|
+
import { Main as y } from "../Components/Main.js";
|
|
33
33
|
import { formatData as b } from "../utils/formatData.js";
|
|
34
|
-
import { CAMERA_IMAGE as
|
|
35
|
-
import { omit as
|
|
36
|
-
import { getPxmm as
|
|
34
|
+
import { CAMERA_IMAGE as _ } from "../Assets/camera.js";
|
|
35
|
+
import { omit as L } from "../../shared-utils/filter.js";
|
|
36
|
+
import { getPxmm as D } from "../../shared-utils/getPxmm.js";
|
|
37
37
|
import { FLOOR_PLAN_ATTACHED_TO as O } from "../constant.js";
|
|
38
|
-
import { Controller as
|
|
39
|
-
import { correctFiveState as
|
|
38
|
+
import { Controller as T } from "../../base/BasePluginWithData.js";
|
|
39
|
+
import { correctFiveState as k } from "../utils/correctFiveState.js";
|
|
40
40
|
import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
|
-
import { FIVE_CAMERA_DEFAULT_FOV as
|
|
41
|
+
import { FIVE_CAMERA_DEFAULT_FOV as R, FloorplanErrorType as p, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
|
|
42
42
|
import "../../shared-utils/isTruelyObject.js";
|
|
43
43
|
import "../../vendor/svelte/internal/index.js";
|
|
44
44
|
import "../../vendor/svelte/transition/index.js";
|
|
@@ -92,15 +92,15 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
92
92
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
93
93
|
import "../../shared-utils/nearlyEqual.js";
|
|
94
94
|
import "../../shared-utils/five/changeMode.js";
|
|
95
|
-
function
|
|
95
|
+
function G(d) {
|
|
96
96
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
97
97
|
return e || i;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function W(d) {
|
|
100
100
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
101
101
|
return e && i;
|
|
102
102
|
}
|
|
103
|
-
class
|
|
103
|
+
class Yt extends T {
|
|
104
104
|
constructor(t, e) {
|
|
105
105
|
var a, f, m;
|
|
106
106
|
super(t);
|
|
@@ -165,7 +165,7 @@ class Xt extends D {
|
|
|
165
165
|
o(this, "updateSize", () => {
|
|
166
166
|
if (!this.data || !this.container || !this.wrapper)
|
|
167
167
|
return !1;
|
|
168
|
-
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, n = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r =
|
|
168
|
+
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, n = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = D(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * r), f = Math.ceil(n * r);
|
|
169
169
|
return this.size.width === a && this.size.height === f || (this.container.style.width = a + "px", this.container.style.height = f + "px", this.size = { width: a, height: f }), !0;
|
|
170
170
|
});
|
|
171
171
|
o(this, "highlight", (t) => {
|
|
@@ -205,7 +205,7 @@ class Xt extends D {
|
|
|
205
205
|
this.showRejection = (u) => {
|
|
206
206
|
r = !0, a = u;
|
|
207
207
|
};
|
|
208
|
-
const [f] = yield I(
|
|
208
|
+
const [f] = yield I(k(this.five, this.showState, i.userAction));
|
|
209
209
|
if (f)
|
|
210
210
|
throw f;
|
|
211
211
|
if (r)
|
|
@@ -259,7 +259,7 @@ class Xt extends D {
|
|
|
259
259
|
if (!e || this.state.config.autoShowEnable === !1 || this.isHiddenByHideFunc)
|
|
260
260
|
return;
|
|
261
261
|
const i = this.five.getCurrentState();
|
|
262
|
-
i.mode === "Floorplan" && (this.state.visible ||
|
|
262
|
+
i.mode === "Floorplan" && (this.state.visible || W(i) && (this.updateState({ visible: !0 }, !0), this._show({ isAutoShow: !0 })));
|
|
263
263
|
});
|
|
264
264
|
/** panoIndex 改变时,更新 floorIndex */
|
|
265
265
|
o(this, "onFivePanoArrived", (t) => {
|
|
@@ -271,7 +271,7 @@ class Xt extends D {
|
|
|
271
271
|
if (!this.state.visible || this.showPromise)
|
|
272
272
|
return;
|
|
273
273
|
const i = this.five.getCurrentState();
|
|
274
|
-
|
|
274
|
+
G(i) && (this.updateState({ visible: !1 }, e), this._hide({ userAction: e, isAutoHide: !0 }));
|
|
275
275
|
});
|
|
276
276
|
/** 在户型图展示时阻止多指操作, 阻止鼠标放大 */
|
|
277
277
|
o(this, "onFiveWantsGesture", (t, e) => {
|
|
@@ -304,7 +304,7 @@ class Xt extends D {
|
|
|
304
304
|
mode: "Floorplan",
|
|
305
305
|
longitude: 0,
|
|
306
306
|
latitude: Math.PI / 2,
|
|
307
|
-
fov:
|
|
307
|
+
fov: R / ((a = e == null ? void 0 : e.scale) != null ? a : 1)
|
|
308
308
|
}, this.defaultMissingFloorConfig = {
|
|
309
309
|
imageURL: this.staticPrefix + "/release/web/saas/missing-floorplan.e274c596.png",
|
|
310
310
|
imageWidth: 200,
|
|
@@ -324,15 +324,17 @@ class Xt extends D {
|
|
|
324
324
|
roomLabelsEnable: !0,
|
|
325
325
|
roomAreaEnable: !0,
|
|
326
326
|
roomNameEnable: !0,
|
|
327
|
+
roomDimensionEnable: !0,
|
|
327
328
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
328
|
-
cameraImageUrl:
|
|
329
|
+
cameraImageUrl: _,
|
|
329
330
|
attachedTo: O.BOUNDING_CENTER,
|
|
330
331
|
getLabelElement: void 0,
|
|
331
332
|
missingFloorConfig: l(l({}, this.defaultMissingFloorConfig), e.missingFloorConfig),
|
|
332
333
|
i18n: (u) => u,
|
|
333
334
|
getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
|
|
335
|
+
getRoomDimensionText: (u, A) => (u / 1e3).toFixed(1) + "m x " + (A / 1e3).toFixed(1) + "m",
|
|
334
336
|
getRuleDistanceText: (u) => u.toString()
|
|
335
|
-
}, n = e ?
|
|
337
|
+
}, n = e ? L(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), r = g(l(l({}, i), n), { missingFloorConfig: h });
|
|
336
338
|
this.state = { enabled: !0, visible: !1, config: r }, this.initContainer(), t.once("dispose", this.dispose), this.addEventListener();
|
|
337
339
|
}
|
|
338
340
|
load(t, e, i = !0) {
|
|
@@ -425,9 +427,9 @@ class Xt extends D {
|
|
|
425
427
|
});
|
|
426
428
|
if (this.app)
|
|
427
429
|
return this.app.$set(e);
|
|
428
|
-
this.app = new
|
|
430
|
+
this.app = new y({ target: this.container, intro: !0, props: e });
|
|
429
431
|
}
|
|
430
432
|
}
|
|
431
433
|
export {
|
|
432
|
-
|
|
434
|
+
Yt as Controller
|
|
433
435
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var C = Object.defineProperty, F = Object.defineProperties;
|
|
2
|
+
var E = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var g = Object.getOwnPropertySymbols;
|
|
4
|
-
var A = Object.prototype.hasOwnProperty,
|
|
5
|
-
var u = (d, n, t) => n in d ?
|
|
4
|
+
var A = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var u = (d, n, t) => n in d ? C(d, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[n] = t, l = (d, n) => {
|
|
6
6
|
for (var t in n || (n = {}))
|
|
7
7
|
A.call(n, t) && u(d, t, n[t]);
|
|
8
8
|
if (g)
|
|
9
9
|
for (var t of g(n))
|
|
10
|
-
|
|
10
|
+
x.call(n, t) && u(d, t, n[t]);
|
|
11
11
|
return d;
|
|
12
|
-
}, m = (d, n) =>
|
|
12
|
+
}, m = (d, n) => F(d, E(n));
|
|
13
13
|
var o = (d, n, t) => (u(d, typeof n != "symbol" ? n + "" : n, t), t);
|
|
14
14
|
var f = (d, n, t) => new Promise((e, i) => {
|
|
15
15
|
var s = (h) => {
|
|
@@ -27,16 +27,16 @@ var f = (d, n, t) => new Promise((e, i) => {
|
|
|
27
27
|
}, a = (h) => h.done ? e(h.value) : Promise.resolve(h.value).then(s, r);
|
|
28
28
|
a((t = t.apply(d, n)).next());
|
|
29
29
|
});
|
|
30
|
-
import * as
|
|
31
|
-
import { equal as
|
|
32
|
-
import { Main as
|
|
30
|
+
import * as S from "three";
|
|
31
|
+
import { equal as y } from "../../shared-utils/equal.js";
|
|
32
|
+
import { Main as I } from "../Components/Main.js";
|
|
33
33
|
import { formatData as v } from "../utils/formatData.js";
|
|
34
|
-
import { CAMERA_IMAGE as
|
|
35
|
-
import { omit as
|
|
34
|
+
import { CAMERA_IMAGE as L } from "../Assets/camera.js";
|
|
35
|
+
import { omit as T } from "../../shared-utils/filter.js";
|
|
36
36
|
import { FLOOR_PLAN_ATTACHED_TO as _ } from "../constant.js";
|
|
37
37
|
import { Controller as M } from "../../base/BasePluginWithData.js";
|
|
38
|
-
import { changeMode as
|
|
39
|
-
import { getPxmm as
|
|
38
|
+
import { changeMode as P } from "../../shared-utils/five/changeMode.js";
|
|
39
|
+
import { getPxmm as D, getAttachedY as O } from "../../shared-utils/getPxmm.js";
|
|
40
40
|
import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
41
41
|
import "../../shared-utils/isTruelyObject.js";
|
|
42
42
|
import "../../vendor/svelte/internal/index.js";
|
|
@@ -90,7 +90,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
90
90
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
91
91
|
import "../../shared-utils/nearlyEqual.js";
|
|
92
92
|
import "../../shared-utils/to.js";
|
|
93
|
-
class
|
|
93
|
+
class $t extends M {
|
|
94
94
|
constructor(t, e) {
|
|
95
95
|
var h, c;
|
|
96
96
|
super(t);
|
|
@@ -122,7 +122,7 @@ class Bt extends M {
|
|
|
122
122
|
o(this, "updateSize", () => {
|
|
123
123
|
if (!this.data || !this.container || !this.wrapper || this.five.getCurrentState().mode !== "Topview")
|
|
124
124
|
return !1;
|
|
125
|
-
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a =
|
|
125
|
+
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = D(this.five, this.wrapper, this.floorIndex, r), h = Math.ceil(i * a), c = Math.ceil(s * a);
|
|
126
126
|
return this.size.width === h && this.size.height === c || (this.container.style.width = h + "px", this.container.style.height = c + "px", this.size = { width: h, height: c }), !0;
|
|
127
127
|
});
|
|
128
128
|
/** 销毁插件 */
|
|
@@ -204,15 +204,17 @@ class Bt extends M {
|
|
|
204
204
|
roomLabelsEnable: !0,
|
|
205
205
|
roomAreaEnable: !0,
|
|
206
206
|
roomNameEnable: !0,
|
|
207
|
-
|
|
207
|
+
roomDimensionEnable: !0,
|
|
208
|
+
cameraImageUrl: L,
|
|
208
209
|
attachedTo: _.BOUNDING_CENTER,
|
|
209
210
|
getLabelElement: void 0,
|
|
210
211
|
missingFloorConfig: l(l({}, this.defaultMissingFloorConfig), e.missingFloorConfig),
|
|
211
212
|
i18n: (p) => p,
|
|
212
213
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
213
214
|
getRoomAreaText: (p) => (p / 1e6).toFixed(1) + "㎡",
|
|
215
|
+
getRoomDimensionText: (p, w) => (p / 1e3).toFixed(1) + "m x " + (w / 1e3).toFixed(1) + "m",
|
|
214
216
|
getRuleDistanceText: (p) => p.toString()
|
|
215
|
-
}, s = e ?
|
|
217
|
+
}, s = e ? T(e, ["selector", "scale"]) : {}, r = l(l({}, i.missingFloorConfig), s.missingFloorConfig), a = m(l(l({}, i), s), { missingFloorConfig: r });
|
|
216
218
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
217
219
|
}
|
|
218
220
|
load(t, e, i = !0) {
|
|
@@ -229,7 +231,7 @@ class Bt extends M {
|
|
|
229
231
|
/** 更新户型图位置 */
|
|
230
232
|
updatePosition() {
|
|
231
233
|
var a;
|
|
232
|
-
const t =
|
|
234
|
+
const t = O(this.five, this.floorIndex, this.state.config.attachedTo), e = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new S.Vector3()).setY(t);
|
|
233
235
|
if (!e)
|
|
234
236
|
return;
|
|
235
237
|
const i = e.clone().project(this.five.camera), s = (i.x + 1) / 2, r = -(i.y - 1) / 2;
|
|
@@ -294,7 +296,7 @@ class Bt extends M {
|
|
|
294
296
|
return;
|
|
295
297
|
this.isHiddenByHideFunc = !1;
|
|
296
298
|
const { userAction: e } = t;
|
|
297
|
-
this.hooks.emit("show", { userAction: e, auto: !1 }), this.five.getCurrentState().mode !== "Topview" && (yield
|
|
299
|
+
this.hooks.emit("show", { userAction: e, auto: !1 }), this.five.getCurrentState().mode !== "Topview" && (yield P(this.five, ["Topview", void 0, void 0, e])), this.five.model.show(this.floorIndex), this.updatePosition(), this.updateSize();
|
|
298
300
|
const i = 500, s = this.state.config.modelOpacity;
|
|
299
301
|
b(this.five, s, i), this.hooks.emit("showAnimationEnded", { userAction: e, auto: !1 }), this.render();
|
|
300
302
|
});
|
|
@@ -316,7 +318,7 @@ class Bt extends M {
|
|
|
316
318
|
updateState(t, e) {
|
|
317
319
|
var a;
|
|
318
320
|
const i = this.state, s = (a = t.config) != null && a.missingFloorConfig ? l(l({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, r = t.config ? m(l(l({}, i.config), t.config), { missingFloorConfig: s }) : i.config;
|
|
319
|
-
this.state = m(l(l({}, this.state), t), { config: r }), !
|
|
321
|
+
this.state = m(l(l({}, this.state), t), { config: r }), !y(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
|
|
320
322
|
}
|
|
321
323
|
addEventListener() {
|
|
322
324
|
if (!this.state.enabled || this.hasAddedEventListener)
|
|
@@ -357,9 +359,9 @@ class Bt extends M {
|
|
|
357
359
|
});
|
|
358
360
|
if (this.app)
|
|
359
361
|
return this.app.$set(e);
|
|
360
|
-
this.app = new
|
|
362
|
+
this.app = new I({ target: this.container, intro: !0, props: e });
|
|
361
363
|
}
|
|
362
364
|
}
|
|
363
365
|
export {
|
|
364
|
-
|
|
366
|
+
$t as Controller
|
|
365
367
|
};
|
|
@@ -77,6 +77,13 @@ export interface FloorplanRoomItem {
|
|
|
77
77
|
roomLabel: FloorplanRoomLabelItem;
|
|
78
78
|
/** 当前房间里的 observer 索引 */
|
|
79
79
|
observerIndexs: number[];
|
|
80
|
+
/** 当前房间的尺寸 */
|
|
81
|
+
dimension?: {
|
|
82
|
+
/** 房间宽度 */
|
|
83
|
+
width: number;
|
|
84
|
+
/** 房间高度 */
|
|
85
|
+
height: number;
|
|
86
|
+
};
|
|
80
87
|
}
|
|
81
88
|
/** 户型图标尺 */
|
|
82
89
|
export type FloorplanRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanPosition[][]>;
|
|
@@ -99,6 +99,13 @@ export interface FloorplanServerRoomItem {
|
|
|
99
99
|
room_label: FloorplanServerRoomLabelItem;
|
|
100
100
|
/** 当前房间里的 observer 索引 */
|
|
101
101
|
observer_indexs: number[];
|
|
102
|
+
/** 当前房间的尺寸 */
|
|
103
|
+
dimension?: {
|
|
104
|
+
/** 房间宽度 */
|
|
105
|
+
width: number;
|
|
106
|
+
/** 房间高度 */
|
|
107
|
+
height: number;
|
|
108
|
+
};
|
|
102
109
|
}
|
|
103
110
|
export type FloorplanServerRuleLabels = Record<'top' | 'right' | 'bottom' | 'left', FloorplanServerPosition[][]>;
|
|
104
111
|
/** 当前楼层的数据 */
|
|
@@ -41,6 +41,8 @@ export interface Config {
|
|
|
41
41
|
roomAreaEnable: boolean;
|
|
42
42
|
/** 分间名称是否展示 */
|
|
43
43
|
roomNameEnable: boolean;
|
|
44
|
+
/** 分间尺寸(长 x 宽)是否展示 */
|
|
45
|
+
roomDimensionEnable: boolean;
|
|
44
46
|
/** 是否支持房屋标签自适应展示,默认为 true
|
|
45
47
|
* @description
|
|
46
48
|
* * 标签边框超过房间边框时,自动隐藏;不超过时自动展示。
|
|
@@ -65,6 +67,13 @@ export interface Config {
|
|
|
65
67
|
* @param area 分间原始面积,单位是 mm²
|
|
66
68
|
*/
|
|
67
69
|
getRoomAreaText: (areaSize: number) => string;
|
|
70
|
+
/**
|
|
71
|
+
* 自定义分间尺寸文本
|
|
72
|
+
* @param width 分间原始宽度,单位是 mm
|
|
73
|
+
* @param height 分间原始高度,单位是 mm
|
|
74
|
+
* @returns
|
|
75
|
+
*/
|
|
76
|
+
getRoomDimensionText: (width: number, height: number) => string;
|
|
68
77
|
/** 自定义标尺距离文本
|
|
69
78
|
* @param distance 原始标尺距离,单位是 mm
|
|
70
79
|
*/
|
|
@@ -15,8 +15,8 @@ var c = (o, e, r) => new Promise((l, n) => {
|
|
|
15
15
|
s((r = r.apply(o, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { FLOORPLAN_EXTRA_OBJECT_IMAGE as f } from "../Assets/floorplanExtraObject.js";
|
|
18
|
-
import { getFloorIndexFromModelPosition as
|
|
19
|
-
function
|
|
18
|
+
import { getFloorIndexFromModelPosition as u, modelPosition2FloorplanPosition as a, floorplanPosition2ImagePosition as _ } from "./formatPosition.js";
|
|
19
|
+
function g(o) {
|
|
20
20
|
return c(this, null, function* () {
|
|
21
21
|
const e = new Headers({ "Content-Type": "text/plain" }), r = function(n) {
|
|
22
22
|
return c(this, null, function* () {
|
|
@@ -35,8 +35,8 @@ function I(o) {
|
|
|
35
35
|
return yield Promise.all(o.map(r));
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
|
|
38
|
+
function I(o) {
|
|
39
|
+
const e = {
|
|
40
40
|
id: o.id,
|
|
41
41
|
size: o.size,
|
|
42
42
|
name: o.name,
|
|
@@ -49,12 +49,13 @@ function g(o) {
|
|
|
49
49
|
},
|
|
50
50
|
observerIndexs: o.observer_indexs
|
|
51
51
|
};
|
|
52
|
+
return o.dimension && Object.assign(e, { dimension: o.dimension }), e;
|
|
52
53
|
}
|
|
53
54
|
function x(o) {
|
|
54
55
|
return {
|
|
55
56
|
floorName: o.floor_name,
|
|
56
57
|
floorIndex: o.floor_index,
|
|
57
|
-
rooms: o.rooms.map(
|
|
58
|
+
rooms: o.rooms.map(I),
|
|
58
59
|
rules: o.rules
|
|
59
60
|
};
|
|
60
61
|
}
|
|
@@ -78,7 +79,7 @@ function v(o) {
|
|
|
78
79
|
}
|
|
79
80
|
function P(o) {
|
|
80
81
|
return c(this, null, function* () {
|
|
81
|
-
const e = yield
|
|
82
|
+
const e = yield g(o.outlines), r = o.computed_data.bounding, l = o.computed_data.floor_datas.map(x), n = o.computed_data.entrance ? v(o.computed_data.entrance) : null;
|
|
82
83
|
return {
|
|
83
84
|
outlines: e,
|
|
84
85
|
entrance: n,
|
|
@@ -94,7 +95,7 @@ function y(o, e, r) {
|
|
|
94
95
|
url: f,
|
|
95
96
|
width: 45,
|
|
96
97
|
height: 48
|
|
97
|
-
}, s =
|
|
98
|
+
}, s = u(i, e), t = a(i, r), p = _(t, r);
|
|
98
99
|
return { floorIndex: s, icon: m, id: n.id, position: t, positionInImage: p };
|
|
99
100
|
});
|
|
100
101
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.19.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.19.2-dev.4",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|