@realsee/dnalogel 3.67.2 → 3.67.3-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/AreaMakerPlugin/utils/Item.d.ts +9 -0
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +8 -0
- package/dist/Sculpt/index.d.ts +43 -9
- package/dist/Sculpt/utils/Modules/Global.d.ts +3 -1
- package/dist/index.cjs.js +82 -82
- package/dist/index.js +9508 -8983
- package/dist/index.umd.js +75 -75
- package/dist/shared-utils/fontSize.d.ts +185 -0
- package/dist/shared-utils/px2rem.d.ts +1 -0
- package/dist/shared-utils/three/Magnifier.d.ts +4 -0
- 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 +28 -28
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.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 +20 -19
- 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.LegacyPointHelper.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 +7 -3
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.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/SculptPluginForFive.html +2 -0
- 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.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- 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 +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- 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.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.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/ModelMakerPluginType.TrianglesItemObjectData.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/SculptConfig.html +14 -0
- 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/TagState.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.LegacyMouseGroupParameter.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 +4 -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 +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- 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/TagPlacement.html +2 -2
- 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/AreaMakerPlugin/Controller.js +4 -2
- package/libs/AreaMakerPlugin/index.js +4 -2
- package/libs/AreaMakerPlugin/utils/Item.d.ts +9 -0
- package/libs/AreaMakerPlugin/utils/Item.js +52 -36
- package/libs/CruisePlugin/Move.js +4 -2
- package/libs/CruisePlugin/Work.js +4 -2
- package/libs/CruisePlugin/index.js +8 -6
- package/libs/GuideLinePlugin/Components/Tag.js +227 -97
- package/libs/GuideLinePlugin/Controller.js +6 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +4 -2
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +69 -55
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +8 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.js +4 -2
- package/libs/GuideLinePlugin/index.js +8 -6
- package/libs/ModelMakerPlugin/Controller.js +4 -2
- package/libs/ModelMakerPlugin/index.js +4 -2
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +27 -19
- package/libs/ModelRoomLabelPlugin/Controller.js +8 -6
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +93 -38
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +127 -113
- package/libs/ModelRoomLabelPlugin/index.js +6 -4
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +384 -384
- package/libs/Sculpt/index.d.ts +43 -9
- package/libs/Sculpt/index.js +91 -81
- package/libs/Sculpt/utils/Modules/Global.d.ts +3 -1
- package/libs/Sculpt/utils/Modules/Global.js +42 -23
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +157 -100
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +248 -209
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +116 -101
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -3
- package/libs/index.js +146 -143
- package/libs/shared-utils/fontSize.d.ts +185 -0
- package/libs/shared-utils/fontSize.js +105 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/px2rem.d.ts +1 -0
- package/libs/shared-utils/px2rem.js +6 -0
- package/libs/shared-utils/three/Magnifier.d.ts +4 -0
- package/libs/shared-utils/three/Magnifier.js +140 -65
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +12 -12
- package/package.json +2 -2
|
@@ -1,111 +1,118 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { svelteResizeObserver as
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponent as ke, init as He, safe_not_equal as Ne, append_styles as Ae, element as R, attr as w, set_style as u, insert as h, action_destroyer as me, listen as D, noop as te, detach as y, run_all as ae, empty as se, space as ne, append as S, text as q, set_data as F, HtmlTag as De } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { svelteResizeObserver as ce } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
3
|
+
import { FONT_SIZE_MAP as Se } from "../../../shared-utils/fontSize.js";
|
|
4
|
+
import { px2rem as le } from "../../../shared-utils/px2rem.js";
|
|
5
|
+
function Ve(i) {
|
|
6
|
+
Ae(i, "svelte-9vzn2f", ".floorplan-plugin__room-label-item.svelte-9vzn2f{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-part1.svelte-9vzn2f{display:flex;flex-flow:column;align-items:center;color:#fff;white-space:nowrap}.floorplan-plugin__room-area.svelte-9vzn2f{opacity:0.6;line-height:1.25;margin-top:0.125rem}");
|
|
5
7
|
}
|
|
6
|
-
function
|
|
7
|
-
let e,
|
|
8
|
+
function Ie(i) {
|
|
9
|
+
let e, t = (
|
|
8
10
|
/*userConfigElement*/
|
|
9
|
-
|
|
10
|
-
),
|
|
11
|
+
i[18].outerHTML + ""
|
|
12
|
+
), l;
|
|
11
13
|
return {
|
|
12
14
|
c() {
|
|
13
|
-
e = new
|
|
15
|
+
e = new De(!1), l = se(), e.a = l;
|
|
14
16
|
},
|
|
15
|
-
m(n,
|
|
16
|
-
e.m(
|
|
17
|
+
m(n, m) {
|
|
18
|
+
e.m(t, n, m), h(n, l, m);
|
|
17
19
|
},
|
|
18
|
-
p(n,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
n[
|
|
20
|
+
p(n, m) {
|
|
21
|
+
m[0] & /*userConfigElement*/
|
|
22
|
+
262144 && t !== (t = /*userConfigElement*/
|
|
23
|
+
n[18].outerHTML + "") && e.p(t);
|
|
22
24
|
},
|
|
23
25
|
d(n) {
|
|
24
|
-
n && y(
|
|
26
|
+
n && y(l), n && e.d();
|
|
25
27
|
}
|
|
26
28
|
};
|
|
27
29
|
}
|
|
28
|
-
function
|
|
29
|
-
let e,
|
|
30
|
+
function Pe(i) {
|
|
31
|
+
let e, t, l, n, m, s, r = (
|
|
30
32
|
/*roomNameEnable*/
|
|
31
|
-
|
|
33
|
+
i[1] && oe(i)
|
|
32
34
|
), f = (
|
|
33
35
|
/*roomAreaEnable*/
|
|
34
|
-
|
|
36
|
+
i[0] && re(i)
|
|
35
37
|
), c = (
|
|
36
38
|
/*roomDimensionEnable*/
|
|
37
|
-
|
|
39
|
+
i[3] && fe(i)
|
|
38
40
|
);
|
|
39
41
|
return {
|
|
40
42
|
c() {
|
|
41
|
-
e = R("div"),
|
|
43
|
+
e = R("div"), r && r.c(), t = ne(), f && f.c(), l = ne(), c && c.c(), n = se(), w(e, "class", "floorplan-plugin__room-part1 svelte-9vzn2f"), u(
|
|
42
44
|
e,
|
|
43
45
|
"opacity",
|
|
44
46
|
/*level1_labelVisible*/
|
|
45
|
-
|
|
47
|
+
i[14] ? "1" : "0"
|
|
46
48
|
);
|
|
47
49
|
},
|
|
48
|
-
m(
|
|
49
|
-
h(
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
m(a, b) {
|
|
51
|
+
h(a, e, b), r && r.m(e, null), S(e, t), f && f.m(e, null), h(a, l, b), c && c.m(a, b), h(a, n, b), m || (s = [
|
|
52
|
+
me(ce.call(null, e)),
|
|
53
|
+
D(
|
|
52
54
|
e,
|
|
53
55
|
"clientWidth",
|
|
54
56
|
/*clientWidth_handler*/
|
|
55
|
-
|
|
57
|
+
i[35]
|
|
56
58
|
),
|
|
57
|
-
|
|
59
|
+
D(
|
|
58
60
|
e,
|
|
59
61
|
"clientHeight",
|
|
60
62
|
/*clientHeight_handler*/
|
|
61
|
-
|
|
63
|
+
i[36]
|
|
62
64
|
)
|
|
63
|
-
],
|
|
65
|
+
], m = !0);
|
|
64
66
|
},
|
|
65
|
-
p(
|
|
67
|
+
p(a, b) {
|
|
66
68
|
/*roomNameEnable*/
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
a[1] ? r ? r.p(a, b) : (r = oe(a), r.c(), r.m(e, t)) : r && (r.d(1), r = null), /*roomAreaEnable*/
|
|
70
|
+
a[0] ? f ? f.p(a, b) : (f = re(a), f.c(), f.m(e, null)) : f && (f.d(1), f = null), b[0] & /*level1_labelVisible*/
|
|
71
|
+
16384 && u(
|
|
70
72
|
e,
|
|
71
73
|
"opacity",
|
|
72
74
|
/*level1_labelVisible*/
|
|
73
|
-
|
|
75
|
+
a[14] ? "1" : "0"
|
|
74
76
|
), /*roomDimensionEnable*/
|
|
75
|
-
|
|
77
|
+
a[3] ? c ? c.p(a, b) : (c = fe(a), c.c(), c.m(n.parentNode, n)) : c && (c.d(1), c = null);
|
|
76
78
|
},
|
|
77
|
-
d(
|
|
78
|
-
|
|
79
|
+
d(a) {
|
|
80
|
+
a && y(e), r && r.d(), f && f.d(), a && y(l), c && c.d(a), a && y(n), m = !1, ae(s);
|
|
79
81
|
}
|
|
80
82
|
};
|
|
81
83
|
}
|
|
82
|
-
function
|
|
83
|
-
let e,
|
|
84
|
+
function oe(i) {
|
|
85
|
+
let e, t = (
|
|
84
86
|
/*roomNameOtherTypeEnable*/
|
|
85
|
-
(
|
|
87
|
+
(i[2] ? (
|
|
86
88
|
/*room*/
|
|
87
|
-
|
|
89
|
+
i[4].name
|
|
88
90
|
) : (
|
|
89
91
|
/*room*/
|
|
90
|
-
|
|
92
|
+
i[4].roomType === "100900000012" ? (
|
|
91
93
|
/*room*/
|
|
92
|
-
|
|
94
|
+
i[4].customizedName
|
|
93
95
|
) : (
|
|
94
96
|
/*room*/
|
|
95
|
-
|
|
97
|
+
i[4].name
|
|
96
98
|
)
|
|
97
99
|
)) + ""
|
|
98
|
-
),
|
|
100
|
+
), l;
|
|
99
101
|
return {
|
|
100
102
|
c() {
|
|
101
|
-
e = R("span"),
|
|
103
|
+
e = R("span"), l = q(t), w(e, "class", "floorplan-plugin__room-name"), u(
|
|
104
|
+
e,
|
|
105
|
+
"font-size",
|
|
106
|
+
/*nameSize*/
|
|
107
|
+
i[11]
|
|
108
|
+
);
|
|
102
109
|
},
|
|
103
|
-
m(n,
|
|
104
|
-
h(n, e,
|
|
110
|
+
m(n, m) {
|
|
111
|
+
h(n, e, m), S(e, l);
|
|
105
112
|
},
|
|
106
|
-
p(n,
|
|
107
|
-
|
|
108
|
-
20 &&
|
|
113
|
+
p(n, m) {
|
|
114
|
+
m[0] & /*roomNameOtherTypeEnable, room*/
|
|
115
|
+
20 && t !== (t = /*roomNameOtherTypeEnable*/
|
|
109
116
|
(n[2] ? (
|
|
110
117
|
/*room*/
|
|
111
118
|
n[4].name
|
|
@@ -118,277 +125,308 @@ function ie(t) {
|
|
|
118
125
|
/*room*/
|
|
119
126
|
n[4].name
|
|
120
127
|
)
|
|
121
|
-
)) + "") && F(
|
|
128
|
+
)) + "") && F(l, t), m[0] & /*nameSize*/
|
|
129
|
+
2048 && u(
|
|
130
|
+
e,
|
|
131
|
+
"font-size",
|
|
132
|
+
/*nameSize*/
|
|
133
|
+
n[11]
|
|
134
|
+
);
|
|
122
135
|
},
|
|
123
136
|
d(n) {
|
|
124
137
|
n && y(e);
|
|
125
138
|
}
|
|
126
139
|
};
|
|
127
140
|
}
|
|
128
|
-
function
|
|
129
|
-
let e,
|
|
141
|
+
function re(i) {
|
|
142
|
+
let e, t;
|
|
130
143
|
return {
|
|
131
144
|
c() {
|
|
132
|
-
e = R("span"),
|
|
145
|
+
e = R("span"), t = q(
|
|
133
146
|
/*roomAreaSize*/
|
|
134
|
-
|
|
135
|
-
),
|
|
147
|
+
i[17]
|
|
148
|
+
), w(e, "class", "floorplan-plugin__room-area svelte-9vzn2f"), u(
|
|
136
149
|
e,
|
|
137
150
|
"font-size",
|
|
138
|
-
/*
|
|
139
|
-
|
|
151
|
+
/*areaSize*/
|
|
152
|
+
i[10]
|
|
140
153
|
);
|
|
141
154
|
},
|
|
142
|
-
m(
|
|
143
|
-
h(
|
|
155
|
+
m(l, n) {
|
|
156
|
+
h(l, e, n), S(e, t);
|
|
144
157
|
},
|
|
145
|
-
p(
|
|
158
|
+
p(l, n) {
|
|
146
159
|
n[0] & /*roomAreaSize*/
|
|
147
|
-
|
|
148
|
-
|
|
160
|
+
131072 && F(
|
|
161
|
+
t,
|
|
149
162
|
/*roomAreaSize*/
|
|
150
|
-
|
|
163
|
+
l[17]
|
|
164
|
+
), n[0] & /*areaSize*/
|
|
165
|
+
1024 && u(
|
|
166
|
+
e,
|
|
167
|
+
"font-size",
|
|
168
|
+
/*areaSize*/
|
|
169
|
+
l[10]
|
|
151
170
|
);
|
|
152
171
|
},
|
|
153
|
-
d(
|
|
154
|
-
|
|
172
|
+
d(l) {
|
|
173
|
+
l && y(e);
|
|
155
174
|
}
|
|
156
175
|
};
|
|
157
176
|
}
|
|
158
|
-
function
|
|
159
|
-
let e,
|
|
177
|
+
function fe(i) {
|
|
178
|
+
let e, t;
|
|
160
179
|
return {
|
|
161
180
|
c() {
|
|
162
|
-
e = R("span"),
|
|
181
|
+
e = R("span"), t = q(
|
|
163
182
|
/*roomDimension*/
|
|
164
|
-
|
|
165
|
-
),
|
|
183
|
+
i[16]
|
|
184
|
+
), w(e, "class", "floorplan-plugin__room-size"), u(
|
|
166
185
|
e,
|
|
167
186
|
"font-size",
|
|
168
|
-
/*
|
|
169
|
-
|
|
170
|
-
),
|
|
187
|
+
/*areaSize*/
|
|
188
|
+
i[10]
|
|
189
|
+
), u(
|
|
171
190
|
e,
|
|
172
191
|
"opacity",
|
|
173
192
|
/*level2_labelVisible*/
|
|
174
|
-
|
|
193
|
+
i[13] ? "0.6" : "0"
|
|
175
194
|
);
|
|
176
195
|
},
|
|
177
|
-
m(
|
|
178
|
-
h(
|
|
196
|
+
m(l, n) {
|
|
197
|
+
h(l, e, n), S(e, t);
|
|
179
198
|
},
|
|
180
|
-
p(
|
|
199
|
+
p(l, n) {
|
|
181
200
|
n[0] & /*roomDimension*/
|
|
182
|
-
|
|
183
|
-
|
|
201
|
+
65536 && F(
|
|
202
|
+
t,
|
|
184
203
|
/*roomDimension*/
|
|
185
|
-
|
|
204
|
+
l[16]
|
|
205
|
+
), n[0] & /*areaSize*/
|
|
206
|
+
1024 && u(
|
|
207
|
+
e,
|
|
208
|
+
"font-size",
|
|
209
|
+
/*areaSize*/
|
|
210
|
+
l[10]
|
|
186
211
|
), n[0] & /*level2_labelVisible*/
|
|
187
|
-
|
|
212
|
+
8192 && u(
|
|
188
213
|
e,
|
|
189
214
|
"opacity",
|
|
190
215
|
/*level2_labelVisible*/
|
|
191
|
-
|
|
216
|
+
l[13] ? "0.6" : "0"
|
|
192
217
|
);
|
|
193
218
|
},
|
|
194
|
-
d(
|
|
195
|
-
|
|
219
|
+
d(l) {
|
|
220
|
+
l && y(e);
|
|
196
221
|
}
|
|
197
222
|
};
|
|
198
223
|
}
|
|
199
|
-
function
|
|
200
|
-
let e,
|
|
201
|
-
function n(
|
|
224
|
+
function We(i) {
|
|
225
|
+
let e, t, l;
|
|
226
|
+
function n(r, f) {
|
|
202
227
|
if (
|
|
203
228
|
/*getLabelElement*/
|
|
204
|
-
|
|
229
|
+
r[5] === void 0
|
|
205
230
|
)
|
|
206
|
-
return
|
|
231
|
+
return Pe;
|
|
207
232
|
if (
|
|
208
233
|
/*userConfigElement*/
|
|
209
|
-
|
|
234
|
+
r[18]
|
|
210
235
|
)
|
|
211
|
-
return
|
|
236
|
+
return Ie;
|
|
212
237
|
}
|
|
213
|
-
let
|
|
238
|
+
let m = n(i), s = m && m(i);
|
|
214
239
|
return {
|
|
215
240
|
c() {
|
|
216
|
-
e = R("div"), s && s.c(),
|
|
241
|
+
e = R("div"), s && s.c(), w(e, "class", "floorplan-plugin__room-label-item svelte-9vzn2f"), u(
|
|
217
242
|
e,
|
|
218
243
|
"left",
|
|
219
244
|
/*left*/
|
|
220
|
-
|
|
221
|
-
),
|
|
245
|
+
i[19]
|
|
246
|
+
), u(
|
|
222
247
|
e,
|
|
223
248
|
"top",
|
|
224
249
|
/*top*/
|
|
225
|
-
|
|
226
|
-
),
|
|
250
|
+
i[20]
|
|
251
|
+
), u(
|
|
227
252
|
e,
|
|
228
253
|
"font-size",
|
|
229
|
-
/*
|
|
230
|
-
|
|
231
|
-
),
|
|
254
|
+
/*nameSize*/
|
|
255
|
+
i[11]
|
|
256
|
+
), u(
|
|
232
257
|
e,
|
|
233
258
|
"opacity",
|
|
234
259
|
/*level0_labelVisible*/
|
|
235
|
-
|
|
236
|
-
),
|
|
260
|
+
i[15] ? "1" : "0"
|
|
261
|
+
), u(
|
|
237
262
|
e,
|
|
238
263
|
"transform",
|
|
239
264
|
/*transformInner*/
|
|
240
|
-
|
|
265
|
+
i[12] ? "translate(-50%, calc(-50% + 6px))" : "translate(-50%, -50%)"
|
|
241
266
|
);
|
|
242
267
|
},
|
|
243
|
-
m(
|
|
244
|
-
h(
|
|
245
|
-
|
|
246
|
-
|
|
268
|
+
m(r, f) {
|
|
269
|
+
h(r, e, f), s && s.m(e, null), t || (l = [
|
|
270
|
+
me(ce.call(null, e)),
|
|
271
|
+
D(
|
|
247
272
|
e,
|
|
248
273
|
"clientWidth",
|
|
249
274
|
/*clientWidth_handler_1*/
|
|
250
|
-
|
|
275
|
+
i[37]
|
|
251
276
|
),
|
|
252
|
-
|
|
277
|
+
D(
|
|
253
278
|
e,
|
|
254
279
|
"clientHeight",
|
|
255
280
|
/*clientHeight_handler_1*/
|
|
256
|
-
|
|
281
|
+
i[38]
|
|
257
282
|
)
|
|
258
|
-
],
|
|
283
|
+
], t = !0);
|
|
259
284
|
},
|
|
260
|
-
p(
|
|
261
|
-
|
|
262
|
-
|
|
285
|
+
p(r, f) {
|
|
286
|
+
m === (m = n(r)) && s ? s.p(r, f) : (s && s.d(1), s = m && m(r), s && (s.c(), s.m(e, null))), f[0] & /*nameSize*/
|
|
287
|
+
2048 && u(
|
|
288
|
+
e,
|
|
289
|
+
"font-size",
|
|
290
|
+
/*nameSize*/
|
|
291
|
+
r[11]
|
|
292
|
+
), f[0] & /*level0_labelVisible*/
|
|
293
|
+
32768 && u(
|
|
263
294
|
e,
|
|
264
295
|
"opacity",
|
|
265
296
|
/*level0_labelVisible*/
|
|
266
|
-
|
|
297
|
+
r[15] ? "1" : "0"
|
|
267
298
|
), f[0] & /*transformInner*/
|
|
268
|
-
|
|
299
|
+
4096 && u(
|
|
269
300
|
e,
|
|
270
301
|
"transform",
|
|
271
302
|
/*transformInner*/
|
|
272
|
-
|
|
303
|
+
r[12] ? "translate(-50%, calc(-50% + 6px))" : "translate(-50%, -50%)"
|
|
273
304
|
);
|
|
274
305
|
},
|
|
275
|
-
i:
|
|
276
|
-
o:
|
|
277
|
-
d(
|
|
278
|
-
|
|
306
|
+
i: te,
|
|
307
|
+
o: te,
|
|
308
|
+
d(r) {
|
|
309
|
+
r && y(e), s && s.d(), t = !1, ae(l);
|
|
279
310
|
}
|
|
280
311
|
};
|
|
281
312
|
}
|
|
282
|
-
function
|
|
283
|
-
const
|
|
313
|
+
function Oe(i, e) {
|
|
314
|
+
const t = i[0], l = i[1];
|
|
284
315
|
let n = !1;
|
|
285
|
-
for (let
|
|
286
|
-
const
|
|
287
|
-
f >
|
|
316
|
+
for (let m = 0, s = e.length - 1; m < e.length; s = m++) {
|
|
317
|
+
const r = e[m][0], f = e[m][1], c = e[s][0], a = e[s][1];
|
|
318
|
+
f > l != a > l && t < (c - r) * (l - f) / (a - f) + r && (n = !n);
|
|
288
319
|
}
|
|
289
320
|
return n;
|
|
290
321
|
}
|
|
291
|
-
function
|
|
292
|
-
let
|
|
293
|
-
function
|
|
294
|
-
if (
|
|
322
|
+
function ve(i, e, t) {
|
|
323
|
+
let l, n, m, s, r, f, c, a, b, p, U, X, Y, Z, B, G, { pxmm: T } = e, { roomAreaEnable: J } = e, { roomNameEnable: K } = e, { roomNameOtherTypeEnable: Q } = e, { roomDimensionEnable: x } = e, { room: _ } = e, { hoveredRoom: V } = e, { getRoomAreaText: I } = e, { getRoomDimensionText: P } = e, { getLabelElement: z } = e, { adaptiveRoomLabelVisibleEnable: L } = e, { fontSize: W } = e;
|
|
324
|
+
function $(o, d) {
|
|
325
|
+
if (d.width === 0 || d.height === 0)
|
|
295
326
|
return () => !1;
|
|
296
|
-
const
|
|
327
|
+
const ge = o.path.map(({ x: ie, y: g }) => [ie, g]), pe = o.roomLabel.position, { x: ze, y: Ee } = pe, { width: Re, height: we } = d, k = Re / 2, H = we / 2;
|
|
297
328
|
return function(g) {
|
|
298
|
-
const
|
|
329
|
+
const N = ze * g, A = Ee * g, Te = ge.map(([M, Le]) => [M * g, Le * g]);
|
|
299
330
|
return [
|
|
300
|
-
[
|
|
301
|
-
[
|
|
302
|
-
[
|
|
303
|
-
[
|
|
304
|
-
].every((
|
|
331
|
+
[N + k, A - H],
|
|
332
|
+
[N - k, A - H],
|
|
333
|
+
[N - k, A + H],
|
|
334
|
+
[N + k, A + H]
|
|
335
|
+
].every((M) => Oe(M, Te));
|
|
305
336
|
};
|
|
306
337
|
}
|
|
307
|
-
const
|
|
308
|
-
let
|
|
309
|
-
V.subscribe(function(
|
|
310
|
-
|
|
338
|
+
const ee = _.roomLabel, ue = ee.positionInImage.x * 100 + "%", be = ee.positionInImage.y * 100 + "%";
|
|
339
|
+
let O = 0, v = 0, C = 0, j = 0, E = !1;
|
|
340
|
+
V.subscribe(function(d) {
|
|
341
|
+
t(27, E = !!d && d.id === _.id);
|
|
311
342
|
});
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
}, de = (
|
|
315
|
-
|
|
316
|
-
},
|
|
317
|
-
|
|
318
|
-
},
|
|
319
|
-
|
|
343
|
+
const _e = (o) => {
|
|
344
|
+
t(8, C = o.detail);
|
|
345
|
+
}, de = (o) => {
|
|
346
|
+
t(9, j = o.detail);
|
|
347
|
+
}, he = (o) => {
|
|
348
|
+
t(6, O = o.detail);
|
|
349
|
+
}, ye = (o) => {
|
|
350
|
+
t(7, v = o.detail);
|
|
320
351
|
};
|
|
321
|
-
return
|
|
322
|
-
"pxmm" in
|
|
323
|
-
},
|
|
324
|
-
var
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
352
|
+
return i.$$set = (o) => {
|
|
353
|
+
"pxmm" in o && t(21, T = o.pxmm), "roomAreaEnable" in o && t(0, J = o.roomAreaEnable), "roomNameEnable" in o && t(1, K = o.roomNameEnable), "roomNameOtherTypeEnable" in o && t(2, Q = o.roomNameOtherTypeEnable), "roomDimensionEnable" in o && t(3, x = o.roomDimensionEnable), "room" in o && t(4, _ = o.room), "hoveredRoom" in o && t(22, V = o.hoveredRoom), "getRoomAreaText" in o && t(23, I = o.getRoomAreaText), "getRoomDimensionText" in o && t(24, P = o.getRoomDimensionText), "getLabelElement" in o && t(5, z = o.getLabelElement), "adaptiveRoomLabelVisibleEnable" in o && t(25, L = o.adaptiveRoomLabelVisibleEnable), "fontSize" in o && t(26, W = o.fontSize);
|
|
354
|
+
}, i.$$.update = () => {
|
|
355
|
+
var o, d;
|
|
356
|
+
i.$$.dirty[0] & /*fontSize*/
|
|
357
|
+
67108864 && t(28, l = Se[W]), i.$$.dirty[0] & /*getLabelElement, room*/
|
|
358
|
+
48 && t(18, n = z == null ? void 0 : z(_)), i.$$.dirty[0] & /*room, getRoomAreaText*/
|
|
359
|
+
8388624 && t(17, m = _.size ? I(_.size) : ""), i.$$.dirty[0] & /*room, getRoomDimensionText*/
|
|
360
|
+
16777232 && t(16, s = _ != null && _.dimension ? P((o = _.dimension) == null ? void 0 : o.width, (d = _.dimension) == null ? void 0 : d.height) : ""), i.$$.dirty[0] & /*clientWidth, clientHeight*/
|
|
361
|
+
768 && t(34, r = { width: C, height: j }), i.$$.dirty[0] & /*room*/
|
|
362
|
+
16 | i.$$.dirty[1] & /*labelElementSize*/
|
|
363
|
+
8 && t(33, f = r ? $(_, r) : void 0), i.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, pxmm*/
|
|
364
|
+
35651584 | i.$$.dirty[1] & /*isLabelInRoom*/
|
|
365
|
+
4 && t(30, c = L ? !!(f != null && f(T)) : !0), i.$$.dirty[0] & /*wrapperClientWidth, wrapperClientHeight*/
|
|
366
|
+
192 && t(32, a = {
|
|
367
|
+
width: O,
|
|
368
|
+
height: v
|
|
369
|
+
}), i.$$.dirty[0] & /*room*/
|
|
370
|
+
16 | i.$$.dirty[1] & /*wrapperLabelElementSize*/
|
|
371
|
+
2 && t(31, b = a ? $(_, a) : void 0), i.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, pxmm*/
|
|
372
|
+
35651584 | i.$$.dirty[1] & /*isAllLabelInRoom*/
|
|
373
|
+
1 && t(29, p = L ? !!(b != null && b(T)) : !0), i.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
|
|
374
|
+
1744830464 && t(15, U = p || c || E), i.$$.dirty[0] & /*mainLabelVisible, isHovered*/
|
|
375
|
+
1207959552 && t(14, X = c || E), i.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
|
|
376
|
+
671088640 && t(13, Y = p || E), i.$$.dirty[0] & /*mainLabelVisible, wrapperLabelVisible*/
|
|
377
|
+
1610612736 && t(12, Z = c && !p), i.$$.dirty[0] & /*fontConfig*/
|
|
378
|
+
268435456 && t(11, B = le((l == null ? void 0 : l.name) || 12)), i.$$.dirty[0] & /*fontConfig*/
|
|
379
|
+
268435456 && t(10, G = le((l == null ? void 0 : l.area) || 10));
|
|
344
380
|
}, [
|
|
345
|
-
Y,
|
|
346
|
-
B,
|
|
347
|
-
G,
|
|
348
381
|
J,
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
382
|
+
K,
|
|
383
|
+
Q,
|
|
384
|
+
x,
|
|
385
|
+
_,
|
|
386
|
+
z,
|
|
354
387
|
O,
|
|
388
|
+
v,
|
|
389
|
+
C,
|
|
390
|
+
j,
|
|
391
|
+
G,
|
|
392
|
+
B,
|
|
393
|
+
Z,
|
|
394
|
+
Y,
|
|
355
395
|
X,
|
|
356
396
|
U,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
a,
|
|
397
|
+
s,
|
|
398
|
+
m,
|
|
360
399
|
n,
|
|
361
|
-
r,
|
|
362
|
-
ae,
|
|
363
|
-
se,
|
|
364
|
-
ce,
|
|
365
400
|
ue,
|
|
366
|
-
|
|
401
|
+
be,
|
|
402
|
+
T,
|
|
367
403
|
V,
|
|
404
|
+
I,
|
|
405
|
+
P,
|
|
406
|
+
L,
|
|
368
407
|
W,
|
|
369
|
-
A,
|
|
370
|
-
T,
|
|
371
408
|
E,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
m,
|
|
409
|
+
l,
|
|
410
|
+
p,
|
|
375
411
|
c,
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
412
|
+
b,
|
|
413
|
+
a,
|
|
414
|
+
f,
|
|
415
|
+
r,
|
|
380
416
|
_e,
|
|
381
|
-
|
|
417
|
+
de,
|
|
418
|
+
he,
|
|
419
|
+
ye
|
|
382
420
|
];
|
|
383
421
|
}
|
|
384
|
-
class
|
|
422
|
+
class Ue extends ke {
|
|
385
423
|
constructor(e) {
|
|
386
424
|
super(), He(
|
|
387
425
|
this,
|
|
388
426
|
e,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
427
|
+
ve,
|
|
428
|
+
We,
|
|
429
|
+
Ne,
|
|
392
430
|
{
|
|
393
431
|
pxmm: 21,
|
|
394
432
|
roomAreaEnable: 0,
|
|
@@ -400,13 +438,14 @@ class je extends Le {
|
|
|
400
438
|
getRoomAreaText: 23,
|
|
401
439
|
getRoomDimensionText: 24,
|
|
402
440
|
getLabelElement: 5,
|
|
403
|
-
adaptiveRoomLabelVisibleEnable: 25
|
|
441
|
+
adaptiveRoomLabelVisibleEnable: 25,
|
|
442
|
+
fontSize: 26
|
|
404
443
|
},
|
|
405
|
-
|
|
444
|
+
Ve,
|
|
406
445
|
[-1, -1]
|
|
407
446
|
);
|
|
408
447
|
}
|
|
409
448
|
}
|
|
410
449
|
export {
|
|
411
|
-
|
|
450
|
+
Ue as RoomLabel
|
|
412
451
|
};
|