@realsee/dnalogel 3.64.22 → 3.64.23-alpha.16
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 +7 -0
- package/dist/ModelMakerPlugin/Controller.d.ts +38 -1
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +5 -0
- package/dist/ModelMakerPlugin/item/boxItem.d.ts +5 -1
- package/dist/ModelMakerPlugin/typings/data.d.ts +2 -0
- package/dist/ModelMakerPlugin/utils/BoxLabelItem.svelte.d.ts +1 -0
- package/dist/Sculpt/Meshes/Prism.d.ts +6 -1
- package/dist/floorplan/typings/floorplanData.d.ts +49 -0
- package/dist/floorplan/typings/floorplanServerData.d.ts +2 -0
- package/dist/index.cjs.js +115 -53
- package/dist/index.js +7674 -7147
- package/dist/index.umd.js +111 -49
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +30 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- 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 +4 -4
- package/docs/classes/PanoTagPluginController.html +34 -34
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +15 -15
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +16 -16
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +10 -7
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +10 -7
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- 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 +3 -3
- package/docs/enums/Rotation.html +3 -3
- 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 +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- 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 +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +4 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- 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 +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +9 -9
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +3 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +10 -10
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -20
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +6 -6
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/IFloorplanArea.html +25 -0
- 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 +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +5 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- 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 +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- 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 +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- 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 +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- 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 +6 -6
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +11 -11
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- 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 +3 -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/ModelMakerPlugin/Controller.d.ts +38 -1
- package/libs/ModelMakerPlugin/Controller.js +401 -136
- package/libs/ModelMakerPlugin/index.js +4 -3
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +5 -0
- package/libs/ModelMakerPlugin/item/baseItem.js +42 -22
- package/libs/ModelMakerPlugin/item/boxItem.d.ts +5 -1
- package/libs/ModelMakerPlugin/item/boxItem.js +36 -13
- package/libs/ModelMakerPlugin/typings/data.d.ts +2 -0
- package/libs/ModelMakerPlugin/utils/BoxLabelItem.js +204 -0
- package/libs/ModelMakerPlugin/utils/BoxLabelItem.svelte.d.ts +1 -0
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +18 -10
- package/libs/Sculpt/Meshes/Prism.d.ts +6 -1
- package/libs/Sculpt/Meshes/Prism.js +37 -30
- package/libs/base/BasePlugin.js +3 -3
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +146 -136
- package/libs/floorplan/Components/SvgImage.js +23 -17
- package/libs/floorplan/typings/floorplanData.d.ts +49 -0
- package/libs/floorplan/typings/floorplanServerData.d.ts +2 -0
- package/libs/floorplan/utils/formatData.js +14 -13
- package/libs/index.js +146 -145
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
- package/package.json +1 -1
package/libs/base/BasePlugin.js
CHANGED
|
@@ -13,7 +13,7 @@ import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
13
13
|
import "../shared-utils/three/core/Sphere.js";
|
|
14
14
|
import "../vendor/animejs/lib/anime.es.js";
|
|
15
15
|
import { FiveUtil as m } from "../shared-utils/Utils/FiveUtil.js";
|
|
16
|
-
import { absoluteUrl as
|
|
16
|
+
import { absoluteUrl as a } from "../shared-utils/url/absoluteUrl.js";
|
|
17
17
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
18
18
|
import "../shared-utils/five/FivePuppet.js";
|
|
19
19
|
let E = class {
|
|
@@ -21,7 +21,7 @@ let E = class {
|
|
|
21
21
|
/**
|
|
22
22
|
* @realsee/dnalogel 版本号
|
|
23
23
|
*/
|
|
24
|
-
i(this, "VERSION", "3.64.
|
|
24
|
+
i(this, "VERSION", "3.64.23-alpha.16");
|
|
25
25
|
i(this, "NAME");
|
|
26
26
|
i(this, "five");
|
|
27
27
|
i(this, "workUtil");
|
|
@@ -52,7 +52,7 @@ let E = class {
|
|
|
52
52
|
* @description: 获取静态资源的url
|
|
53
53
|
*/
|
|
54
54
|
absoluteUrl(t) {
|
|
55
|
-
return
|
|
55
|
+
return a(this.staticPrefix, t);
|
|
56
56
|
}
|
|
57
57
|
onWorkCodeChange() {
|
|
58
58
|
}
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { RoomLabel as
|
|
3
|
-
import { svelteResizeObserver as
|
|
4
|
-
function
|
|
5
|
-
|
|
1
|
+
import { SvelteComponent as w, init as z, safe_not_equal as S, append_styles as q, empty as O, insert as E, transition_in as _, group_outros as V, transition_out as d, check_outros as x, detach as c, element as C, attr as M, action_destroyer as j, listen as B, update_keyed_each as F, outro_and_destroy_block as G, run_all as H, assign as J, create_component as K, mount_component as P, get_spread_update as Q, destroy_component as U } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { RoomLabel as X } from "./RoomLabel.js";
|
|
3
|
+
import { svelteResizeObserver as Y } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
4
|
+
function Z(r) {
|
|
5
|
+
q(r, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function N(r, e, o) {
|
|
8
8
|
const l = r.slice();
|
|
9
|
-
return l[
|
|
9
|
+
return l[17] = e[o], l[19] = o, l;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
let e, o = [], l = /* @__PURE__ */ new Map(),
|
|
11
|
+
function k(r) {
|
|
12
|
+
let e, o = [], l = /* @__PURE__ */ new Map(), n, b, s, i = (
|
|
13
13
|
/*rooms*/
|
|
14
|
-
r[
|
|
14
|
+
r[9]
|
|
15
15
|
);
|
|
16
|
-
const
|
|
16
|
+
const u = (a) => (
|
|
17
17
|
/*room*/
|
|
18
|
-
|
|
18
|
+
a[17].id
|
|
19
19
|
);
|
|
20
|
-
for (let
|
|
21
|
-
let
|
|
22
|
-
l.set(
|
|
20
|
+
for (let a = 0; a < i.length; a += 1) {
|
|
21
|
+
let m = N(r, i, a), f = u(m);
|
|
22
|
+
l.set(f, o[a] = v(f, m));
|
|
23
23
|
}
|
|
24
24
|
return {
|
|
25
25
|
c() {
|
|
26
|
-
e =
|
|
27
|
-
for (let
|
|
28
|
-
o[
|
|
29
|
-
|
|
26
|
+
e = C("div");
|
|
27
|
+
for (let a = 0; a < o.length; a += 1)
|
|
28
|
+
o[a].c();
|
|
29
|
+
M(e, "class", "floorplan-plugin__room-labels svelte-13xux0b");
|
|
30
30
|
},
|
|
31
|
-
m(
|
|
32
|
-
|
|
33
|
-
for (let
|
|
34
|
-
o[
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
m(a, m) {
|
|
32
|
+
E(a, e, m);
|
|
33
|
+
for (let f = 0; f < o.length; f += 1)
|
|
34
|
+
o[f] && o[f].m(e, null);
|
|
35
|
+
n = !0, b || (s = [
|
|
36
|
+
j(Y.call(null, e)),
|
|
37
|
+
B(
|
|
38
38
|
e,
|
|
39
39
|
"clientWidth",
|
|
40
40
|
/*clientWidth_handler*/
|
|
41
|
-
r[
|
|
41
|
+
r[16]
|
|
42
42
|
)
|
|
43
43
|
], b = !0);
|
|
44
44
|
},
|
|
45
|
-
p(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
p(a, m) {
|
|
46
|
+
m & /*pxmm, rooms, hoveredRoom, roomAreaVisibility, roomNameEnable, roomNameOtherTypeEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
|
|
47
|
+
3839 && (i = /*rooms*/
|
|
48
|
+
a[9], V(), o = F(o, m, u, 1, a, i, l, e, G, v, null, N), x());
|
|
49
49
|
},
|
|
50
|
-
i(
|
|
51
|
-
if (!
|
|
52
|
-
for (let
|
|
53
|
-
_(o[
|
|
54
|
-
|
|
50
|
+
i(a) {
|
|
51
|
+
if (!n) {
|
|
52
|
+
for (let m = 0; m < i.length; m += 1)
|
|
53
|
+
_(o[m]);
|
|
54
|
+
n = !0;
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
o(
|
|
58
|
-
for (let
|
|
59
|
-
d(o[
|
|
60
|
-
|
|
57
|
+
o(a) {
|
|
58
|
+
for (let m = 0; m < o.length; m += 1)
|
|
59
|
+
d(o[m]);
|
|
60
|
+
n = !1;
|
|
61
61
|
},
|
|
62
|
-
d(
|
|
63
|
-
|
|
64
|
-
for (let
|
|
65
|
-
o[
|
|
66
|
-
b = !1,
|
|
62
|
+
d(a) {
|
|
63
|
+
a && c(e);
|
|
64
|
+
for (let m = 0; m < o.length; m += 1)
|
|
65
|
+
o[m].d();
|
|
66
|
+
b = !1, H(s);
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
let o, l,
|
|
70
|
+
function v(r, e) {
|
|
71
|
+
let o, l, n;
|
|
72
72
|
const b = [
|
|
73
73
|
{
|
|
74
74
|
pxmm: (
|
|
@@ -77,62 +77,65 @@ function N(r, e) {
|
|
|
77
77
|
),
|
|
78
78
|
room: (
|
|
79
79
|
/*room*/
|
|
80
|
-
e[
|
|
80
|
+
e[17]
|
|
81
81
|
),
|
|
82
82
|
hoveredRoom: (
|
|
83
83
|
/*hoveredRoom*/
|
|
84
|
-
e[
|
|
84
|
+
e[3]
|
|
85
85
|
),
|
|
86
86
|
roomAreaEnable: (
|
|
87
|
-
/*
|
|
88
|
-
e[
|
|
87
|
+
/*roomAreaVisibility*/
|
|
88
|
+
e[11][
|
|
89
|
+
/*index*/
|
|
90
|
+
e[19]
|
|
91
|
+
]
|
|
89
92
|
),
|
|
90
93
|
roomNameEnable: (
|
|
91
94
|
/*roomNameEnable*/
|
|
92
|
-
e[
|
|
95
|
+
e[0]
|
|
93
96
|
),
|
|
94
97
|
roomNameOtherTypeEnable: (
|
|
95
98
|
/*roomNameOtherTypeEnable*/
|
|
96
|
-
e[
|
|
99
|
+
e[1]
|
|
97
100
|
),
|
|
98
101
|
roomDimensionEnable: (
|
|
99
102
|
/*roomDimensionEnable*/
|
|
100
|
-
e[
|
|
103
|
+
e[2]
|
|
101
104
|
),
|
|
102
105
|
getLabelElement: (
|
|
103
106
|
/*getLabelElement*/
|
|
104
|
-
e[
|
|
107
|
+
e[6]
|
|
105
108
|
),
|
|
106
109
|
getRoomAreaText: (
|
|
107
110
|
/*getRoomAreaText*/
|
|
108
|
-
e[
|
|
111
|
+
e[4]
|
|
109
112
|
),
|
|
110
113
|
getRoomDimensionText: (
|
|
111
114
|
/*getRoomDimensionText*/
|
|
112
|
-
e[
|
|
115
|
+
e[5]
|
|
113
116
|
),
|
|
114
117
|
adaptiveRoomLabelVisibleEnable: (
|
|
115
118
|
/*adaptiveRoomLabelVisibleEnable*/
|
|
116
|
-
e[
|
|
119
|
+
e[7]
|
|
117
120
|
)
|
|
118
121
|
}
|
|
119
122
|
];
|
|
120
|
-
let
|
|
121
|
-
for (let
|
|
122
|
-
|
|
123
|
-
return l = new
|
|
123
|
+
let s = {};
|
|
124
|
+
for (let i = 0; i < b.length; i += 1)
|
|
125
|
+
s = J(s, b[i]);
|
|
126
|
+
return l = new X({ props: s }), {
|
|
124
127
|
key: r,
|
|
125
128
|
first: null,
|
|
126
129
|
c() {
|
|
127
|
-
o =
|
|
130
|
+
o = O(), K(l.$$.fragment), this.first = o;
|
|
128
131
|
},
|
|
129
|
-
m(
|
|
130
|
-
|
|
132
|
+
m(i, u) {
|
|
133
|
+
E(i, o, u), P(l, i, u), n = !0;
|
|
131
134
|
},
|
|
132
|
-
p(
|
|
133
|
-
e =
|
|
134
|
-
const
|
|
135
|
-
|
|
135
|
+
p(i, u) {
|
|
136
|
+
e = i;
|
|
137
|
+
const a = u & /*pxmm, rooms, hoveredRoom, roomAreaVisibility, roomNameEnable, roomNameOtherTypeEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
|
|
138
|
+
3839 ? Q(b, [
|
|
136
139
|
{
|
|
137
140
|
pxmm: (
|
|
138
141
|
/*pxmm*/
|
|
@@ -140,146 +143,153 @@ function N(r, e) {
|
|
|
140
143
|
),
|
|
141
144
|
room: (
|
|
142
145
|
/*room*/
|
|
143
|
-
e[
|
|
146
|
+
e[17]
|
|
144
147
|
),
|
|
145
148
|
hoveredRoom: (
|
|
146
149
|
/*hoveredRoom*/
|
|
147
|
-
e[
|
|
150
|
+
e[3]
|
|
148
151
|
),
|
|
149
152
|
roomAreaEnable: (
|
|
150
|
-
/*
|
|
151
|
-
e[
|
|
153
|
+
/*roomAreaVisibility*/
|
|
154
|
+
e[11][
|
|
155
|
+
/*index*/
|
|
156
|
+
e[19]
|
|
157
|
+
]
|
|
152
158
|
),
|
|
153
159
|
roomNameEnable: (
|
|
154
160
|
/*roomNameEnable*/
|
|
155
|
-
e[
|
|
161
|
+
e[0]
|
|
156
162
|
),
|
|
157
163
|
roomNameOtherTypeEnable: (
|
|
158
164
|
/*roomNameOtherTypeEnable*/
|
|
159
|
-
e[
|
|
165
|
+
e[1]
|
|
160
166
|
),
|
|
161
167
|
roomDimensionEnable: (
|
|
162
168
|
/*roomDimensionEnable*/
|
|
163
|
-
e[
|
|
169
|
+
e[2]
|
|
164
170
|
),
|
|
165
171
|
getLabelElement: (
|
|
166
172
|
/*getLabelElement*/
|
|
167
|
-
e[
|
|
173
|
+
e[6]
|
|
168
174
|
),
|
|
169
175
|
getRoomAreaText: (
|
|
170
176
|
/*getRoomAreaText*/
|
|
171
|
-
e[
|
|
177
|
+
e[4]
|
|
172
178
|
),
|
|
173
179
|
getRoomDimensionText: (
|
|
174
180
|
/*getRoomDimensionText*/
|
|
175
|
-
e[
|
|
181
|
+
e[5]
|
|
176
182
|
),
|
|
177
183
|
adaptiveRoomLabelVisibleEnable: (
|
|
178
184
|
/*adaptiveRoomLabelVisibleEnable*/
|
|
179
|
-
e[
|
|
185
|
+
e[7]
|
|
180
186
|
)
|
|
181
187
|
}
|
|
182
188
|
]) : {};
|
|
183
|
-
l.$set(
|
|
189
|
+
l.$set(a);
|
|
184
190
|
},
|
|
185
|
-
i(
|
|
186
|
-
|
|
191
|
+
i(i) {
|
|
192
|
+
n || (_(l.$$.fragment, i), n = !0);
|
|
187
193
|
},
|
|
188
|
-
o(
|
|
189
|
-
d(l.$$.fragment,
|
|
194
|
+
o(i) {
|
|
195
|
+
d(l.$$.fragment, i), n = !1;
|
|
190
196
|
},
|
|
191
|
-
d(
|
|
192
|
-
|
|
197
|
+
d(i) {
|
|
198
|
+
i && c(o), U(l, i);
|
|
193
199
|
}
|
|
194
200
|
};
|
|
195
201
|
}
|
|
196
|
-
function
|
|
202
|
+
function p(r) {
|
|
197
203
|
let e, o, l = (
|
|
198
204
|
/*rooms*/
|
|
199
|
-
r[
|
|
205
|
+
r[9] && k(r)
|
|
200
206
|
);
|
|
201
207
|
return {
|
|
202
208
|
c() {
|
|
203
|
-
l && l.c(), e =
|
|
209
|
+
l && l.c(), e = O();
|
|
204
210
|
},
|
|
205
|
-
m(
|
|
206
|
-
l && l.m(
|
|
211
|
+
m(n, b) {
|
|
212
|
+
l && l.m(n, b), E(n, e, b), o = !0;
|
|
207
213
|
},
|
|
208
|
-
p(
|
|
214
|
+
p(n, [b]) {
|
|
209
215
|
/*rooms*/
|
|
210
|
-
|
|
211
|
-
|
|
216
|
+
n[9] ? l ? (l.p(n, b), b & /*rooms*/
|
|
217
|
+
512 && _(l, 1)) : (l = k(n), l.c(), _(l, 1), l.m(e.parentNode, e)) : l && (V(), d(l, 1, 1, () => {
|
|
212
218
|
l = null;
|
|
213
|
-
}),
|
|
219
|
+
}), x());
|
|
214
220
|
},
|
|
215
|
-
i(
|
|
221
|
+
i(n) {
|
|
216
222
|
o || (_(l), o = !0);
|
|
217
223
|
},
|
|
218
|
-
o(
|
|
224
|
+
o(n) {
|
|
219
225
|
d(l), o = !1;
|
|
220
226
|
},
|
|
221
|
-
d(
|
|
222
|
-
l && l.d(
|
|
227
|
+
d(n) {
|
|
228
|
+
l && l.d(n), n && c(e);
|
|
223
229
|
}
|
|
224
230
|
};
|
|
225
231
|
}
|
|
226
|
-
function
|
|
227
|
-
let l, { floorIndex:
|
|
228
|
-
const
|
|
229
|
-
o(
|
|
232
|
+
function $(r, e, o) {
|
|
233
|
+
let l, n, b, { floorIndex: s } = e, { roomAreaEnable: i } = e, { roomNameEnable: u } = e, { roomNameOtherTypeEnable: a } = e, { roomDimensionEnable: m } = e, { floorplanData: f } = e, { hoveredRoom: R } = e, { getRoomAreaText: y } = e, { getRoomDimensionText: T } = e, { getLabelElement: D } = e, { adaptiveRoomLabelVisibleEnable: L } = e, h = 0, A = 0;
|
|
234
|
+
const I = (t) => {
|
|
235
|
+
o(8, h = t.detail);
|
|
230
236
|
};
|
|
231
|
-
return r.$$set = (
|
|
232
|
-
"floorIndex" in
|
|
237
|
+
return r.$$set = (t) => {
|
|
238
|
+
"floorIndex" in t && o(12, s = t.floorIndex), "roomAreaEnable" in t && o(13, i = t.roomAreaEnable), "roomNameEnable" in t && o(0, u = t.roomNameEnable), "roomNameOtherTypeEnable" in t && o(1, a = t.roomNameOtherTypeEnable), "roomDimensionEnable" in t && o(2, m = t.roomDimensionEnable), "floorplanData" in t && o(14, f = t.floorplanData), "hoveredRoom" in t && o(3, R = t.hoveredRoom), "getRoomAreaText" in t && o(4, y = t.getRoomAreaText), "getRoomDimensionText" in t && o(5, T = t.getRoomDimensionText), "getLabelElement" in t && o(6, D = t.getLabelElement), "adaptiveRoomLabelVisibleEnable" in t && o(7, L = t.adaptiveRoomLabelVisibleEnable);
|
|
233
239
|
}, r.$$.update = () => {
|
|
234
240
|
if (r.$$.dirty & /*floorplanData, floorIndex*/
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
241
|
+
20480 && o(9, l = f.floorDatas[s].rooms), r.$$.dirty & /*floorplanData, floorIndex*/
|
|
242
|
+
20480 && o(15, n = f.areas[s]), r.$$.dirty & /*rooms, roomAreaEnable, areas*/
|
|
243
|
+
41472 && o(11, b = l.map((t, g) => i && !n[g].hideSize)), r.$$.dirty & /*floorplanData, clientWidth*/
|
|
244
|
+
16640) {
|
|
245
|
+
const { max: t, min: g } = f.bounding, W = t.x - g.x;
|
|
246
|
+
o(10, A = h / W);
|
|
239
247
|
}
|
|
240
248
|
}, [
|
|
241
|
-
b,
|
|
242
249
|
u,
|
|
250
|
+
a,
|
|
243
251
|
m,
|
|
244
|
-
f,
|
|
245
|
-
i,
|
|
246
|
-
s,
|
|
247
|
-
c,
|
|
248
252
|
R,
|
|
253
|
+
y,
|
|
249
254
|
T,
|
|
250
|
-
h,
|
|
251
255
|
D,
|
|
256
|
+
L,
|
|
257
|
+
h,
|
|
252
258
|
l,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
259
|
+
A,
|
|
260
|
+
b,
|
|
261
|
+
s,
|
|
262
|
+
i,
|
|
263
|
+
f,
|
|
264
|
+
n,
|
|
265
|
+
I
|
|
256
266
|
];
|
|
257
267
|
}
|
|
258
|
-
class
|
|
268
|
+
class te extends w {
|
|
259
269
|
constructor(e) {
|
|
260
|
-
super(),
|
|
270
|
+
super(), z(
|
|
261
271
|
this,
|
|
262
272
|
e,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
273
|
+
$,
|
|
274
|
+
p,
|
|
275
|
+
S,
|
|
266
276
|
{
|
|
267
277
|
floorIndex: 12,
|
|
268
|
-
roomAreaEnable:
|
|
269
|
-
roomNameEnable:
|
|
270
|
-
roomNameOtherTypeEnable:
|
|
271
|
-
roomDimensionEnable:
|
|
272
|
-
floorplanData:
|
|
273
|
-
hoveredRoom:
|
|
274
|
-
getRoomAreaText:
|
|
275
|
-
getRoomDimensionText:
|
|
276
|
-
getLabelElement:
|
|
277
|
-
adaptiveRoomLabelVisibleEnable:
|
|
278
|
+
roomAreaEnable: 13,
|
|
279
|
+
roomNameEnable: 0,
|
|
280
|
+
roomNameOtherTypeEnable: 1,
|
|
281
|
+
roomDimensionEnable: 2,
|
|
282
|
+
floorplanData: 14,
|
|
283
|
+
hoveredRoom: 3,
|
|
284
|
+
getRoomAreaText: 4,
|
|
285
|
+
getRoomDimensionText: 5,
|
|
286
|
+
getLabelElement: 6,
|
|
287
|
+
adaptiveRoomLabelVisibleEnable: 7
|
|
278
288
|
},
|
|
279
|
-
|
|
289
|
+
Z
|
|
280
290
|
);
|
|
281
291
|
}
|
|
282
292
|
}
|
|
283
293
|
export {
|
|
284
|
-
|
|
294
|
+
te as RoomLabels
|
|
285
295
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
1
|
+
import { SvelteComponent as g, init as p, safe_not_equal as r, append_styles as c, element as u, space as m, attr as v, insert as _, append as d, noop as o, detach as y, HtmlTag as i } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
function h(n) {
|
|
3
3
|
c(n, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
4
4
|
}
|
|
5
5
|
function b(n) {
|
|
6
|
-
let e,
|
|
6
|
+
let e, s, f, l;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
e = u("div"),
|
|
9
|
+
e = u("div"), s = new i(!1), f = m(), l = new i(!1), s.a = f, l.a = null, v(e, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
10
10
|
},
|
|
11
|
-
m(t,
|
|
12
|
-
|
|
11
|
+
m(t, a) {
|
|
12
|
+
_(t, e, a), s.m(
|
|
13
13
|
/*svgStyle*/
|
|
14
14
|
n[1],
|
|
15
15
|
e
|
|
16
|
-
),
|
|
16
|
+
), d(e, f), l.m(
|
|
17
17
|
/*content*/
|
|
18
18
|
n[0],
|
|
19
19
|
e
|
|
20
20
|
);
|
|
21
21
|
},
|
|
22
|
-
p(t, [
|
|
23
|
-
|
|
24
|
-
1 &&
|
|
22
|
+
p(t, [a]) {
|
|
23
|
+
a & /*content*/
|
|
24
|
+
1 && l.p(
|
|
25
25
|
/*content*/
|
|
26
26
|
t[0]
|
|
27
27
|
);
|
|
@@ -33,9 +33,9 @@ function b(n) {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
let { content:
|
|
38
|
-
const
|
|
36
|
+
function k(n, e, s) {
|
|
37
|
+
let { content: f } = e;
|
|
38
|
+
const l = `
|
|
39
39
|
<style>
|
|
40
40
|
svg [type='lineGroup'] path {
|
|
41
41
|
fill: #ffffff;
|
|
@@ -43,17 +43,23 @@ function w(n, e, a) {
|
|
|
43
43
|
}
|
|
44
44
|
svg [type='lineItemGroup'] g g g g {
|
|
45
45
|
stroke: #ffffff;
|
|
46
|
+
}
|
|
47
|
+
svg defs g g g {
|
|
48
|
+
stroke: #ffffff;
|
|
49
|
+
}
|
|
50
|
+
svg [type='areaGroup'] path {
|
|
51
|
+
fill: none;
|
|
46
52
|
}</style>
|
|
47
53
|
`;
|
|
48
54
|
return n.$$set = (t) => {
|
|
49
|
-
"content" in t &&
|
|
50
|
-
}, [
|
|
55
|
+
"content" in t && s(0, f = t.content);
|
|
56
|
+
}, [f, l];
|
|
51
57
|
}
|
|
52
|
-
class
|
|
58
|
+
class G extends g {
|
|
53
59
|
constructor(e) {
|
|
54
|
-
super(),
|
|
60
|
+
super(), p(this, e, k, b, r, { content: 0 }, h);
|
|
55
61
|
}
|
|
56
62
|
}
|
|
57
63
|
export {
|
|
58
|
-
|
|
64
|
+
G as SvgImage
|
|
59
65
|
};
|
|
@@ -100,6 +100,53 @@ export interface FloorplanFloorData {
|
|
|
100
100
|
rules: FloorplanRuleLabels;
|
|
101
101
|
items?: any[];
|
|
102
102
|
}
|
|
103
|
+
interface IAreas {
|
|
104
|
+
id: string;
|
|
105
|
+
direction: string;
|
|
106
|
+
directionCode: string;
|
|
107
|
+
roomType: string;
|
|
108
|
+
sharedLineItems: string[];
|
|
109
|
+
sharedLines: string[];
|
|
110
|
+
towardsRad: number;
|
|
111
|
+
type: number;
|
|
112
|
+
}
|
|
113
|
+
export interface IFloorplanArea {
|
|
114
|
+
attachments: {
|
|
115
|
+
areas: IAreas[];
|
|
116
|
+
lineItems: {
|
|
117
|
+
direction: string;
|
|
118
|
+
directionCode: string;
|
|
119
|
+
edge: boolean;
|
|
120
|
+
id: string;
|
|
121
|
+
is: string;
|
|
122
|
+
length: number;
|
|
123
|
+
towardsRad: number;
|
|
124
|
+
}[];
|
|
125
|
+
};
|
|
126
|
+
points: string[];
|
|
127
|
+
roomName: string;
|
|
128
|
+
roomType: string;
|
|
129
|
+
roomTypeName: number;
|
|
130
|
+
typeName: string;
|
|
131
|
+
type: number;
|
|
132
|
+
id: string;
|
|
133
|
+
empty: boolean;
|
|
134
|
+
roomTypeLabelMod: boolean;
|
|
135
|
+
labelX: number;
|
|
136
|
+
labelY: number;
|
|
137
|
+
hideName: boolean;
|
|
138
|
+
size: number;
|
|
139
|
+
customizedName: string;
|
|
140
|
+
displayName: string;
|
|
141
|
+
floorType: number;
|
|
142
|
+
hideSize: boolean;
|
|
143
|
+
nameIndex: string;
|
|
144
|
+
simpleLabelMod: false;
|
|
145
|
+
sizeWithoutLine: number;
|
|
146
|
+
subLabelX: number;
|
|
147
|
+
subLabelY: number;
|
|
148
|
+
subType: number;
|
|
149
|
+
}
|
|
103
150
|
/** 对 observer 做一些样式上的计算
|
|
104
151
|
* @description 每一个 floorplanObserver 对应一个 observer
|
|
105
152
|
* @description floorplanObserver 和 observer 在自身数组中的索引坐标应该是相同的
|
|
@@ -117,6 +164,7 @@ export interface FloorplanData {
|
|
|
117
164
|
entrance: FloorplanEntrance | null;
|
|
118
165
|
bounding: FloorplanBounding;
|
|
119
166
|
observers: FloorplanObserver[];
|
|
167
|
+
areas: IFloorplanArea[][];
|
|
120
168
|
}
|
|
121
169
|
/** 能够映射到雷达图上的三维物体 */
|
|
122
170
|
export interface FloorplanExtraObject3D {
|
|
@@ -146,3 +194,4 @@ export interface FloorplanExtraObject {
|
|
|
146
194
|
/** 入户门在户型图上相对坐标 */
|
|
147
195
|
positionInImage: FloorplanImagePosition;
|
|
148
196
|
}
|
|
197
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IFloorplanArea } from "./floorplanData";
|
|
1
2
|
/** 房屋数据映射表 */
|
|
2
3
|
export declare const ROOM_FETILE_TYPE_MAP: ({
|
|
3
4
|
type: number;
|
|
@@ -144,6 +145,7 @@ export interface FloorplanServerComputedData {
|
|
|
144
145
|
bounding: FloorplanServerBounding;
|
|
145
146
|
observers: FloorplanServerObserver[];
|
|
146
147
|
doors: FloorplanServerDoorItem[];
|
|
148
|
+
areas: IFloorplanArea[][];
|
|
147
149
|
}
|
|
148
150
|
/** 原始输入的户型图数据 */
|
|
149
151
|
export interface FloorplanServerData {
|