@realsee/dnalogel 3.64.19 → 3.64.21-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/CHANGELOG.md +10 -2
- package/dist/floorplan/Components/RoomMaterials/RoomTriangle.svelte.d.ts +1 -0
- package/dist/floorplan/typings/floorplanData.d.ts +2 -0
- package/dist/index.cjs.js +60 -60
- package/dist/index.js +5222 -5019
- package/dist/index.umd.js +50 -50
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +19 -19
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +5 -5
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +28 -28
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/Components/CurrentFloor.js +38 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +246 -155
- package/libs/floorplan/Components/RoomMaterials/RoomTriangle.js +103 -0
- package/libs/floorplan/Components/RoomMaterials/RoomTriangle.svelte.d.ts +1 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -4
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/typings/floorplanData.d.ts +2 -0
- package/libs/floorplan/utils/formatData.js +17 -18
- package/libs/index.js +146 -145
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,225 +1,316 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
import { SvelteComponent as
|
|
14
|
-
import { formatFloorplanPoint as
|
|
15
|
-
import { RoomMaterial_0 as
|
|
16
|
-
import { RoomMaterial_1 as
|
|
17
|
-
import { RoomMaterial_2 as
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
var T = Object.defineProperty, S = Object.defineProperties;
|
|
2
|
+
var q = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var D = Object.getOwnPropertySymbols;
|
|
4
|
+
var C = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var E = (i, e, n) => e in i ? T(i, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[e] = n, B = (i, e) => {
|
|
6
|
+
for (var n in e || (e = {}))
|
|
7
|
+
C.call(e, n) && E(i, n, e[n]);
|
|
8
|
+
if (D)
|
|
9
|
+
for (var n of D(e))
|
|
10
|
+
F.call(e, n) && E(i, n, e[n]);
|
|
11
|
+
return i;
|
|
12
|
+
}, R = (i, e) => S(i, q(e));
|
|
13
|
+
import { SvelteComponent as H, init as N, safe_not_equal as P, append_styles as W, element as j, attr as h, insert as d, transition_in as _, group_outros as $, check_outros as A, transition_out as g, detach as p, destroy_each as G, svg_element as M, space as J, empty as K, create_component as v, mount_component as y, destroy_component as k } from "../../../vendor/svelte/internal/index.js";
|
|
14
|
+
import { formatFloorplanPoint as O } from "../../utils/formatPosition.js";
|
|
15
|
+
import { RoomMaterial_0 as Q } from "./RoomMaterial_0.js";
|
|
16
|
+
import { RoomMaterial_1 as U } from "./RoomMaterial_1.js";
|
|
17
|
+
import { RoomMaterial_2 as V } from "./RoomMaterial_2.js";
|
|
18
|
+
import { RoomTriangle as X } from "./RoomTriangle.js";
|
|
19
|
+
function Y(i) {
|
|
20
|
+
W(i, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
|
|
20
21
|
}
|
|
21
|
-
function
|
|
22
|
-
const
|
|
23
|
-
return
|
|
22
|
+
function z(i, e, n) {
|
|
23
|
+
const o = i.slice();
|
|
24
|
+
return o[8] = e[n], o;
|
|
24
25
|
}
|
|
25
|
-
function
|
|
26
|
-
let e,
|
|
27
|
-
return e = new
|
|
26
|
+
function Z(i) {
|
|
27
|
+
let e, n;
|
|
28
|
+
return e = new U({ props: { path: (
|
|
28
29
|
/*room*/
|
|
29
|
-
|
|
30
|
+
i[8].path
|
|
30
31
|
) } }), {
|
|
31
32
|
c() {
|
|
32
|
-
|
|
33
|
+
v(e.$$.fragment);
|
|
33
34
|
},
|
|
34
|
-
m(
|
|
35
|
-
|
|
35
|
+
m(o, t) {
|
|
36
|
+
y(e, o, t), n = !0;
|
|
36
37
|
},
|
|
37
|
-
p(
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
p(o, t) {
|
|
39
|
+
const r = {};
|
|
40
|
+
t & /*rooms*/
|
|
41
|
+
2 && (r.path = /*room*/
|
|
42
|
+
o[8].path), e.$set(r);
|
|
42
43
|
},
|
|
43
|
-
i(
|
|
44
|
-
|
|
44
|
+
i(o) {
|
|
45
|
+
n || (_(e.$$.fragment, o), n = !0);
|
|
45
46
|
},
|
|
46
|
-
o(
|
|
47
|
-
|
|
47
|
+
o(o) {
|
|
48
|
+
g(e.$$.fragment, o), n = !1;
|
|
48
49
|
},
|
|
49
|
-
d(
|
|
50
|
-
|
|
50
|
+
d(o) {
|
|
51
|
+
k(e, o);
|
|
51
52
|
}
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
-
let e,
|
|
56
|
-
return e = new
|
|
55
|
+
function x(i) {
|
|
56
|
+
let e, n;
|
|
57
|
+
return e = new V({ props: { path: (
|
|
57
58
|
/*room*/
|
|
58
|
-
|
|
59
|
+
i[8].path
|
|
59
60
|
) } }), {
|
|
60
61
|
c() {
|
|
61
|
-
|
|
62
|
+
v(e.$$.fragment);
|
|
62
63
|
},
|
|
63
|
-
m(
|
|
64
|
-
|
|
64
|
+
m(o, t) {
|
|
65
|
+
y(e, o, t), n = !0;
|
|
65
66
|
},
|
|
66
|
-
p(
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
p(o, t) {
|
|
68
|
+
const r = {};
|
|
69
|
+
t & /*rooms*/
|
|
70
|
+
2 && (r.path = /*room*/
|
|
71
|
+
o[8].path), e.$set(r);
|
|
71
72
|
},
|
|
72
|
-
i(
|
|
73
|
-
|
|
73
|
+
i(o) {
|
|
74
|
+
n || (_(e.$$.fragment, o), n = !0);
|
|
74
75
|
},
|
|
75
|
-
o(
|
|
76
|
-
|
|
76
|
+
o(o) {
|
|
77
|
+
g(e.$$.fragment, o), n = !1;
|
|
77
78
|
},
|
|
78
|
-
d(
|
|
79
|
-
|
|
79
|
+
d(o) {
|
|
80
|
+
k(e, o);
|
|
80
81
|
}
|
|
81
82
|
};
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
-
let e,
|
|
85
|
-
return e = new
|
|
84
|
+
function ee(i) {
|
|
85
|
+
let e, n;
|
|
86
|
+
return e = new Q({ props: { path: (
|
|
86
87
|
/*room*/
|
|
87
|
-
|
|
88
|
+
i[8].path
|
|
88
89
|
) } }), {
|
|
89
90
|
c() {
|
|
90
|
-
|
|
91
|
+
v(e.$$.fragment);
|
|
91
92
|
},
|
|
92
|
-
m(
|
|
93
|
-
|
|
93
|
+
m(o, t) {
|
|
94
|
+
y(e, o, t), n = !0;
|
|
94
95
|
},
|
|
95
|
-
p(
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
96
|
+
p(o, t) {
|
|
97
|
+
const r = {};
|
|
98
|
+
t & /*rooms*/
|
|
99
|
+
2 && (r.path = /*room*/
|
|
100
|
+
o[8].path), e.$set(r);
|
|
100
101
|
},
|
|
101
|
-
i(
|
|
102
|
-
|
|
102
|
+
i(o) {
|
|
103
|
+
n || (_(e.$$.fragment, o), n = !0);
|
|
103
104
|
},
|
|
104
|
-
o(
|
|
105
|
-
|
|
105
|
+
o(o) {
|
|
106
|
+
g(e.$$.fragment, o), n = !1;
|
|
106
107
|
},
|
|
107
|
-
d(
|
|
108
|
-
|
|
108
|
+
d(o) {
|
|
109
|
+
k(e, o);
|
|
109
110
|
}
|
|
110
111
|
};
|
|
111
112
|
}
|
|
112
|
-
function
|
|
113
|
-
let e, o, t
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
function I(i) {
|
|
114
|
+
let e, n, o, t;
|
|
115
|
+
return n = new X({
|
|
116
|
+
props: { dimension: (
|
|
117
|
+
/*room*/
|
|
118
|
+
i[8].dimension
|
|
119
|
+
) }
|
|
120
|
+
}), {
|
|
121
|
+
c() {
|
|
122
|
+
e = M("svg"), v(n.$$.fragment), h(e, "width", "100%"), h(e, "height", "100%"), h(e, "viewBox", o = `${/*floorplanData*/
|
|
123
|
+
i[0].bounding.min.x} ${/*floorplanData*/
|
|
124
|
+
i[0].bounding.min.y} ${/*boundingWidth*/
|
|
125
|
+
i[2]} ${/*boundingHeight*/
|
|
126
|
+
i[3]}`), h(e, "class", "svelte-1dykexu");
|
|
127
|
+
},
|
|
128
|
+
m(r, l) {
|
|
129
|
+
d(r, e, l), y(n, e, null), t = !0;
|
|
130
|
+
},
|
|
131
|
+
p(r, l) {
|
|
132
|
+
const m = {};
|
|
133
|
+
l & /*rooms*/
|
|
134
|
+
2 && (m.dimension = /*room*/
|
|
135
|
+
r[8].dimension), n.$set(m), (!t || l & /*floorplanData*/
|
|
136
|
+
1 && o !== (o = `${/*floorplanData*/
|
|
137
|
+
r[0].bounding.min.x} ${/*floorplanData*/
|
|
138
|
+
r[0].bounding.min.y} ${/*boundingWidth*/
|
|
139
|
+
r[2]} ${/*boundingHeight*/
|
|
140
|
+
r[3]}`)) && h(e, "viewBox", o);
|
|
141
|
+
},
|
|
142
|
+
i(r) {
|
|
143
|
+
t || (_(n.$$.fragment, r), t = !0);
|
|
144
|
+
},
|
|
145
|
+
o(r) {
|
|
146
|
+
g(n.$$.fragment, r), t = !1;
|
|
147
|
+
},
|
|
148
|
+
d(r) {
|
|
149
|
+
r && p(e), k(n);
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function L(i) {
|
|
154
|
+
let e, n, o, t, r = (
|
|
155
|
+
/*allowShowArrow*/
|
|
156
|
+
i[4] && /*room*/
|
|
157
|
+
i[8].dimension && Array.isArray(
|
|
158
|
+
/*room*/
|
|
159
|
+
i[8].dimension.vertical
|
|
160
|
+
) && /*room*/
|
|
161
|
+
i[8].dimension.vertical.length > 0 && Array.isArray(
|
|
162
|
+
/*room*/
|
|
163
|
+
i[8].dimension.horizontal
|
|
164
|
+
) && /*room*/
|
|
165
|
+
i[8].dimension.horizontal.length > 0
|
|
166
|
+
), l, m;
|
|
167
|
+
const f = [ee, x, Z], u = [];
|
|
168
|
+
function b(s, c) {
|
|
116
169
|
return (
|
|
117
170
|
/*room*/
|
|
118
|
-
|
|
171
|
+
s[8].floorType === 1 ? 0 : (
|
|
119
172
|
/*room*/
|
|
120
|
-
|
|
173
|
+
s[8].floorType === 0 ? 1 : 2
|
|
121
174
|
)
|
|
122
175
|
);
|
|
123
176
|
}
|
|
124
|
-
|
|
177
|
+
n = b(i), o = u[n] = f[n](i);
|
|
178
|
+
let a = r && I(i);
|
|
179
|
+
return {
|
|
125
180
|
c() {
|
|
126
|
-
e =
|
|
127
|
-
|
|
128
|
-
|
|
181
|
+
e = M("svg"), o.c(), t = J(), a && a.c(), l = K(), h(e, "width", "100%"), h(e, "height", "100%"), h(e, "viewBox", `0 0 ${/*boundingWidth*/
|
|
182
|
+
i[2]} ${/*boundingHeight*/
|
|
183
|
+
i[3]}`), h(e, "class", "svelte-1dykexu");
|
|
129
184
|
},
|
|
130
|
-
m(
|
|
131
|
-
|
|
185
|
+
m(s, c) {
|
|
186
|
+
d(s, e, c), u[n].m(e, null), d(s, t, c), a && a.m(s, c), d(s, l, c), m = !0;
|
|
132
187
|
},
|
|
133
|
-
p(
|
|
134
|
-
let
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}),
|
|
188
|
+
p(s, c) {
|
|
189
|
+
let w = n;
|
|
190
|
+
n = b(s), n === w ? u[n].p(s, c) : ($(), g(u[w], 1, 1, () => {
|
|
191
|
+
u[w] = null;
|
|
192
|
+
}), A(), o = u[n], o ? o.p(s, c) : (o = u[n] = f[n](s), o.c()), _(o, 1), o.m(e, null)), c & /*rooms*/
|
|
193
|
+
2 && (r = /*allowShowArrow*/
|
|
194
|
+
s[4] && /*room*/
|
|
195
|
+
s[8].dimension && Array.isArray(
|
|
196
|
+
/*room*/
|
|
197
|
+
s[8].dimension.vertical
|
|
198
|
+
) && /*room*/
|
|
199
|
+
s[8].dimension.vertical.length > 0 && Array.isArray(
|
|
200
|
+
/*room*/
|
|
201
|
+
s[8].dimension.horizontal
|
|
202
|
+
) && /*room*/
|
|
203
|
+
s[8].dimension.horizontal.length > 0), r ? a ? (a.p(s, c), c & /*rooms*/
|
|
204
|
+
2 && _(a, 1)) : (a = I(s), a.c(), _(a, 1), a.m(l.parentNode, l)) : a && ($(), g(a, 1, 1, () => {
|
|
205
|
+
a = null;
|
|
206
|
+
}), A());
|
|
138
207
|
},
|
|
139
|
-
i(
|
|
140
|
-
|
|
208
|
+
i(s) {
|
|
209
|
+
m || (_(o), _(a), m = !0);
|
|
141
210
|
},
|
|
142
|
-
o(
|
|
143
|
-
|
|
211
|
+
o(s) {
|
|
212
|
+
g(o), g(a), m = !1;
|
|
144
213
|
},
|
|
145
|
-
d(
|
|
146
|
-
|
|
214
|
+
d(s) {
|
|
215
|
+
s && p(e), u[n].d(), s && p(t), a && a.d(s), s && p(l);
|
|
147
216
|
}
|
|
148
217
|
};
|
|
149
218
|
}
|
|
150
|
-
function
|
|
151
|
-
let e,
|
|
219
|
+
function oe(i) {
|
|
220
|
+
let e, n, o = (
|
|
152
221
|
/*rooms*/
|
|
153
|
-
|
|
154
|
-
),
|
|
155
|
-
for (let
|
|
156
|
-
|
|
157
|
-
const
|
|
158
|
-
|
|
222
|
+
i[1]
|
|
223
|
+
), t = [];
|
|
224
|
+
for (let l = 0; l < o.length; l += 1)
|
|
225
|
+
t[l] = L(z(i, o, l));
|
|
226
|
+
const r = (l) => g(t[l], 1, 1, () => {
|
|
227
|
+
t[l] = null;
|
|
159
228
|
});
|
|
160
229
|
return {
|
|
161
230
|
c() {
|
|
162
|
-
e =
|
|
163
|
-
for (let
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
},
|
|
167
|
-
m(
|
|
168
|
-
|
|
169
|
-
for (let
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
},
|
|
173
|
-
p(
|
|
174
|
-
if (
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
let
|
|
179
|
-
for (
|
|
180
|
-
const
|
|
181
|
-
|
|
231
|
+
e = j("div");
|
|
232
|
+
for (let l = 0; l < t.length; l += 1)
|
|
233
|
+
t[l].c();
|
|
234
|
+
h(e, "class", "floorplan-plugin__room-material svelte-1dykexu");
|
|
235
|
+
},
|
|
236
|
+
m(l, m) {
|
|
237
|
+
d(l, e, m);
|
|
238
|
+
for (let f = 0; f < t.length; f += 1)
|
|
239
|
+
t[f] && t[f].m(e, null);
|
|
240
|
+
n = !0;
|
|
241
|
+
},
|
|
242
|
+
p(l, [m]) {
|
|
243
|
+
if (m & /*floorplanData, boundingWidth, boundingHeight, rooms, allowShowArrow, Array*/
|
|
244
|
+
31) {
|
|
245
|
+
o = /*rooms*/
|
|
246
|
+
l[1];
|
|
247
|
+
let f;
|
|
248
|
+
for (f = 0; f < o.length; f += 1) {
|
|
249
|
+
const u = z(l, o, f);
|
|
250
|
+
t[f] ? (t[f].p(u, m), _(t[f], 1)) : (t[f] = L(u), t[f].c(), _(t[f], 1), t[f].m(e, null));
|
|
182
251
|
}
|
|
183
|
-
for (
|
|
184
|
-
|
|
185
|
-
|
|
252
|
+
for ($(), f = o.length; f < t.length; f += 1)
|
|
253
|
+
r(f);
|
|
254
|
+
A();
|
|
186
255
|
}
|
|
187
256
|
},
|
|
188
|
-
i(
|
|
189
|
-
if (!
|
|
190
|
-
for (let
|
|
191
|
-
|
|
192
|
-
|
|
257
|
+
i(l) {
|
|
258
|
+
if (!n) {
|
|
259
|
+
for (let m = 0; m < o.length; m += 1)
|
|
260
|
+
_(t[m]);
|
|
261
|
+
n = !0;
|
|
193
262
|
}
|
|
194
263
|
},
|
|
195
|
-
o(
|
|
196
|
-
|
|
197
|
-
for (let
|
|
198
|
-
|
|
199
|
-
|
|
264
|
+
o(l) {
|
|
265
|
+
t = t.filter(Boolean);
|
|
266
|
+
for (let m = 0; m < t.length; m += 1)
|
|
267
|
+
g(t[m]);
|
|
268
|
+
n = !1;
|
|
200
269
|
},
|
|
201
|
-
d(
|
|
202
|
-
|
|
270
|
+
d(l) {
|
|
271
|
+
l && p(e), G(t, l);
|
|
203
272
|
}
|
|
204
273
|
};
|
|
205
274
|
}
|
|
206
|
-
function
|
|
207
|
-
let t, { floorIndex:
|
|
208
|
-
const
|
|
209
|
-
return
|
|
210
|
-
"
|
|
211
|
-
},
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
path:
|
|
275
|
+
function ne(i, e, n) {
|
|
276
|
+
let o, { roomLabelsEnable: t } = e, { roomDimensionEnable: r } = e, { floorIndex: l } = e, { floorplanData: m } = e;
|
|
277
|
+
const f = m.bounding.max.x - m.bounding.min.x, u = m.bounding.max.y - m.bounding.min.y, b = t && r;
|
|
278
|
+
return i.$$set = (a) => {
|
|
279
|
+
"roomLabelsEnable" in a && n(5, t = a.roomLabelsEnable), "roomDimensionEnable" in a && n(6, r = a.roomDimensionEnable), "floorIndex" in a && n(7, l = a.floorIndex), "floorplanData" in a && n(0, m = a.floorplanData);
|
|
280
|
+
}, i.$$.update = () => {
|
|
281
|
+
i.$$.dirty & /*floorplanData, floorIndex*/
|
|
282
|
+
129 && n(1, o = m.floorDatas[l].rooms.map((a) => R(B({}, a), {
|
|
283
|
+
path: a.path.map((s) => O(s, m.bounding))
|
|
215
284
|
})));
|
|
216
|
-
}, [
|
|
285
|
+
}, [
|
|
286
|
+
m,
|
|
287
|
+
o,
|
|
288
|
+
f,
|
|
289
|
+
u,
|
|
290
|
+
b,
|
|
291
|
+
t,
|
|
292
|
+
r,
|
|
293
|
+
l
|
|
294
|
+
];
|
|
217
295
|
}
|
|
218
|
-
class
|
|
296
|
+
class fe extends H {
|
|
219
297
|
constructor(e) {
|
|
220
|
-
super(),
|
|
298
|
+
super(), N(
|
|
299
|
+
this,
|
|
300
|
+
e,
|
|
301
|
+
ne,
|
|
302
|
+
oe,
|
|
303
|
+
P,
|
|
304
|
+
{
|
|
305
|
+
roomLabelsEnable: 5,
|
|
306
|
+
roomDimensionEnable: 6,
|
|
307
|
+
floorIndex: 7,
|
|
308
|
+
floorplanData: 0
|
|
309
|
+
},
|
|
310
|
+
Y
|
|
311
|
+
);
|
|
221
312
|
}
|
|
222
313
|
}
|
|
223
314
|
export {
|
|
224
|
-
|
|
315
|
+
fe as RoomMaterial
|
|
225
316
|
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { SvelteComponent as d, init as m, safe_not_equal as v, svg_element as u, attr as n, insert as z, noop as l, detach as f } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { pathD as r } from "../../utils/formatPosition.js";
|
|
3
|
+
function g(i) {
|
|
4
|
+
let e;
|
|
5
|
+
return {
|
|
6
|
+
c() {
|
|
7
|
+
e = u("path"), n(
|
|
8
|
+
e,
|
|
9
|
+
"d",
|
|
10
|
+
/*mergedPath*/
|
|
11
|
+
i[0]
|
|
12
|
+
), n(e, "fill", "#969696"), n(e, "stroke", "#969696"), n(e, "stroke-width", "1"), n(e, "fill-rule", "evenodd");
|
|
13
|
+
},
|
|
14
|
+
m(o, t) {
|
|
15
|
+
z(o, e, t);
|
|
16
|
+
},
|
|
17
|
+
p: l,
|
|
18
|
+
i: l,
|
|
19
|
+
o: l,
|
|
20
|
+
d(o) {
|
|
21
|
+
o && f(e);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function p(i, e, o) {
|
|
26
|
+
let { dimension: t } = e;
|
|
27
|
+
const x = r(
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
x: t.vertical[1].x,
|
|
31
|
+
y: t.vertical[1].y - 53
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
x: t.vertical[1].x - 60,
|
|
35
|
+
y: t.vertical[1].y - 124
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
x: t.vertical[1].x + 60,
|
|
39
|
+
y: t.vertical[1].y - 124
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
{ needZ: !0 }
|
|
43
|
+
), y = r(
|
|
44
|
+
[
|
|
45
|
+
{
|
|
46
|
+
x: t.vertical[0].x,
|
|
47
|
+
y: t.vertical[0].y + 53
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
x: t.vertical[0].x - 60,
|
|
51
|
+
y: t.vertical[0].y + 124
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
x: t.vertical[0].x + 60,
|
|
55
|
+
y: t.vertical[0].y + 124
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
{ needZ: !0 }
|
|
59
|
+
), s = r(
|
|
60
|
+
[
|
|
61
|
+
{
|
|
62
|
+
x: t.horizontal[0].x + 53,
|
|
63
|
+
y: t.horizontal[0].y
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
x: t.horizontal[0].x + 124,
|
|
67
|
+
y: t.horizontal[0].y + 60
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
x: t.horizontal[0].x + 124,
|
|
71
|
+
y: t.horizontal[0].y - 60
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
{ needZ: !0 }
|
|
75
|
+
), h = r(
|
|
76
|
+
[
|
|
77
|
+
{
|
|
78
|
+
x: t.horizontal[1].x - 53,
|
|
79
|
+
y: t.horizontal[1].y
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
x: t.horizontal[1].x - 124,
|
|
83
|
+
y: t.horizontal[1].y + 60
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
x: t.horizontal[1].x - 124,
|
|
87
|
+
y: t.horizontal[1].y - 60
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
{ needZ: !0 }
|
|
91
|
+
), a = `${x} ${y} ${s} ${h}`;
|
|
92
|
+
return console.log("绘制三角形:", a), i.$$set = (c) => {
|
|
93
|
+
"dimension" in c && o(1, t = c.dimension);
|
|
94
|
+
}, [a, t];
|
|
95
|
+
}
|
|
96
|
+
class _ extends d {
|
|
97
|
+
constructor(e) {
|
|
98
|
+
super(), m(this, e, p, g, v, { dimension: 1 });
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
_ as RoomTriangle
|
|
103
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -76,6 +76,7 @@ import "../utils/formatPosition.js";
|
|
|
76
76
|
import "../Components/RoomMaterials/RoomMaterial_0.js";
|
|
77
77
|
import "../Components/RoomMaterials/RoomMaterial_1.js";
|
|
78
78
|
import "../Components/RoomMaterials/RoomMaterial_2.js";
|
|
79
|
+
import "../Components/RoomMaterials/RoomTriangle.js";
|
|
79
80
|
import "../Components/RoomHighlight/RoomHighlight.js";
|
|
80
81
|
import "../Components/RoomHighlight/Room.js";
|
|
81
82
|
import "../Components/MissingFloor.js";
|
|
@@ -144,7 +145,7 @@ function Z(l) {
|
|
|
144
145
|
const { latitude: h, longitude: t } = l, e = Math.abs(h - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
145
146
|
return e && i;
|
|
146
147
|
}
|
|
147
|
-
class
|
|
148
|
+
class Qe extends G {
|
|
148
149
|
constructor(t, e) {
|
|
149
150
|
var n, d;
|
|
150
151
|
super(t);
|
|
@@ -378,7 +379,7 @@ class Ke extends G {
|
|
|
378
379
|
getRoomDimensionText: (p, u) => (p / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
379
380
|
getRuleDistanceText: (p) => p.toString()
|
|
380
381
|
}, s = e ? F(e, ["selector", "scale"]) : {}, a = m(m({}, i.missingFloorConfig), s.missingFloorConfig), r = g(m(m({}, i), s), { missingFloorConfig: a });
|
|
381
|
-
this.state = { enabled: !0, visible: !1, config: r }, this.initContainer(), Y(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener()
|
|
382
|
+
this.state = { enabled: !0, visible: !1, config: r }, this.initContainer(), Y(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
382
383
|
}
|
|
383
384
|
load(t, e, i = !0) {
|
|
384
385
|
return f(this, null, function* () {
|
|
@@ -388,7 +389,7 @@ class Ke extends G {
|
|
|
388
389
|
const a = t;
|
|
389
390
|
a && q(a.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
390
391
|
const r = JSON.parse(JSON.stringify(t)), n = s(r) ? r.data : r, d = this.data;
|
|
391
|
-
this.data = yield A(n),
|
|
392
|
+
this.data = yield A(n), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, d), e && this.updateState(e, i), this.render();
|
|
392
393
|
});
|
|
393
394
|
}
|
|
394
395
|
loadItems(t) {
|
|
@@ -503,5 +504,5 @@ class Ke extends G {
|
|
|
503
504
|
}
|
|
504
505
|
}
|
|
505
506
|
export {
|
|
506
|
-
|
|
507
|
+
Qe as Controller
|
|
507
508
|
};
|
|
@@ -26,6 +26,7 @@ import "../utils/formatPosition.js";
|
|
|
26
26
|
import "../Components/RoomMaterials/RoomMaterial_0.js";
|
|
27
27
|
import "../Components/RoomMaterials/RoomMaterial_1.js";
|
|
28
28
|
import "../Components/RoomMaterials/RoomMaterial_2.js";
|
|
29
|
+
import "../Components/RoomMaterials/RoomTriangle.js";
|
|
29
30
|
import "../Components/RoomHighlight/RoomHighlight.js";
|
|
30
31
|
import "../Components/RoomHighlight/Room.js";
|
|
31
32
|
import "../Components/MissingFloor.js";
|
|
@@ -107,8 +108,8 @@ import "../utils/constant.js";
|
|
|
107
108
|
import "../../shared-utils/nearlyEqual.js";
|
|
108
109
|
import "../../shared-utils/five/changeMode.js";
|
|
109
110
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
110
|
-
const
|
|
111
|
+
const er = (o, r) => new t(o, r);
|
|
111
112
|
export {
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
er as MapviewFloorplanPlugin,
|
|
114
|
+
er as default
|
|
114
115
|
};
|
|
@@ -74,6 +74,7 @@ import "../utils/formatPosition.js";
|
|
|
74
74
|
import "../Components/RoomMaterials/RoomMaterial_0.js";
|
|
75
75
|
import "../Components/RoomMaterials/RoomMaterial_1.js";
|
|
76
76
|
import "../Components/RoomMaterials/RoomMaterial_2.js";
|
|
77
|
+
import "../Components/RoomMaterials/RoomTriangle.js";
|
|
77
78
|
import "../Components/RoomHighlight/RoomHighlight.js";
|
|
78
79
|
import "../Components/RoomHighlight/Room.js";
|
|
79
80
|
import "../Components/MissingFloor.js";
|
|
@@ -142,7 +143,7 @@ function z(d) {
|
|
|
142
143
|
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);
|
|
143
144
|
return e && i;
|
|
144
145
|
}
|
|
145
|
-
class
|
|
146
|
+
class Ue extends T {
|
|
146
147
|
constructor(t, e) {
|
|
147
148
|
var a, p, c;
|
|
148
149
|
super(t);
|
|
@@ -476,5 +477,5 @@ class Ne extends T {
|
|
|
476
477
|
}
|
|
477
478
|
}
|
|
478
479
|
export {
|
|
479
|
-
|
|
480
|
+
Ue as Controller
|
|
480
481
|
};
|