@realsee/dnalogel 3.69.11 → 3.70.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -4
- package/components/index.js +3 -3
- package/dist/PanoTagPlugin/Components/Common/Icon/animationUtils.d.ts +9 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +23 -2
- package/dist/floorplan/Assets/camera.d.ts +0 -1
- package/dist/floorplan/index.d.ts +0 -1
- package/dist/index.cjs.js +97 -83
- package/dist/index.js +11433 -13195
- package/dist/index.umd.js +86 -72
- package/dist/shared-utils/three/getIntersect.d.ts +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- 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 +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +3 -3
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.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 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.blinkWithPreset.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.cleanup.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.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.replaceStaticPrefix.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 +3 -3
- 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 +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconAnimationConfig.html +7 -0
- package/docs/interfaces/TagIconUrl.html +14 -12
- 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 +3 -3
- 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.ObjectInitialState.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 +3 -5
- 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/MeasureEndReason.html +1 -1
- package/docs/types/MeasurePluginConfig.html +2 -2
- 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 +3 -3
- 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/Util.SupportedTarget.html +2 -2
- package/docs/types/Util.Target.html +2 -2
- package/docs/types/Util.ThreeObject.html +2 -2
- 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.ANIME_PRESETS.html +2 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
- 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/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +538 -282
- package/libs/PanoTagPlugin/Components/Common/Icon/animationUtils.d.ts +9 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/animationUtils.js +128 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -8
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +23 -22
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +23 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Assets/camera.d.ts +0 -1
- package/libs/floorplan/Assets/camera.js +2 -3
- package/libs/floorplan/index.d.ts +0 -1
- package/libs/index.js +147 -157
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/getIntersect.d.ts +1 -1
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +4 -4
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
- package/package.json +1 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/Camera.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/FloorplanCompass.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/Main.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/ObserverDots.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/RoomLabelItem.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/RoomLabels.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Controller.d.ts +0 -52
- package/dist/floorplan/FloorplanGuidePlugin/index.d.ts +0 -7
- package/dist/floorplan/FloorplanGuidePlugin/typing.d.ts +0 -172
- package/docs/functions/FloorplanGuidePlugin.html +0 -1
- package/docs/types/FloorplanGuidePluginParameterType.html +0 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/Camera.js +0 -155
- package/libs/floorplan/FloorplanGuidePlugin/Components/Camera.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/CurrentFloor.js +0 -272
- package/libs/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/ExtraObjects.js +0 -94
- package/libs/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/FloorplanCompass.js +0 -110
- package/libs/floorplan/FloorplanGuidePlugin/Components/FloorplanCompass.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/Main.js +0 -659
- package/libs/floorplan/FloorplanGuidePlugin/Components/Main.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/ObserverDots.js +0 -153
- package/libs/floorplan/FloorplanGuidePlugin/Components/ObserverDots.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/RoomLabelItem.js +0 -261
- package/libs/floorplan/FloorplanGuidePlugin/Components/RoomLabelItem.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/RoomLabels.js +0 -290
- package/libs/floorplan/FloorplanGuidePlugin/Components/RoomLabels.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Controller.d.ts +0 -52
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +0 -336
- package/libs/floorplan/FloorplanGuidePlugin/index.d.ts +0 -7
- package/libs/floorplan/FloorplanGuidePlugin/index.js +0 -100
- package/libs/floorplan/FloorplanGuidePlugin/typing.d.ts +0 -172
- package/libs/floorplan/FloorplanGuidePlugin/typing.js +0 -1
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as I, init as k, safe_not_equal as D, append_styles as x, element as g, attr as v, insert as b, update_keyed_each as y, noop as u, detach as p, set_style as a, destroy_block as q } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
function z(r) {
|
|
3
|
-
x(r, "svelte-6v429q", ".floorplan-guide-plugin__observer-dots.svelte-6v429q{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:10}.floorplan-guide-plugin__observer-dot.svelte-6v429q{position:absolute;background:#7dacff80;border:0.0375rem solid #96cfff;border-radius:50%;pointer-events:none;transform:translate(-50%, -50%);transition:opacity 0.8s ease-in-out}");
|
|
4
|
-
}
|
|
5
|
-
function h(r, t, e) {
|
|
6
|
-
const i = r.slice();
|
|
7
|
-
return i[6] = t[e], i;
|
|
8
|
-
}
|
|
9
|
-
function _(r, t) {
|
|
10
|
-
let e;
|
|
11
|
-
return {
|
|
12
|
-
key: r,
|
|
13
|
-
first: null,
|
|
14
|
-
c() {
|
|
15
|
-
e = g("div"), v(e, "class", "floorplan-guide-plugin__observer-dot svelte-6v429q"), a(
|
|
16
|
-
e,
|
|
17
|
-
"left",
|
|
18
|
-
/*observer*/
|
|
19
|
-
t[6].positionInImage.x * /*contentWidth*/
|
|
20
|
-
t[0] + "px"
|
|
21
|
-
), a(
|
|
22
|
-
e,
|
|
23
|
-
"top",
|
|
24
|
-
/*observer*/
|
|
25
|
-
t[6].positionInImage.y * /*contentHeight*/
|
|
26
|
-
t[1] + "px"
|
|
27
|
-
), a(
|
|
28
|
-
e,
|
|
29
|
-
"width",
|
|
30
|
-
/*observerDotSize*/
|
|
31
|
-
t[2] + "px"
|
|
32
|
-
), a(
|
|
33
|
-
e,
|
|
34
|
-
"height",
|
|
35
|
-
/*observerDotSize*/
|
|
36
|
-
t[2] + "px"
|
|
37
|
-
), this.first = e;
|
|
38
|
-
},
|
|
39
|
-
m(i, n) {
|
|
40
|
-
b(i, e, n);
|
|
41
|
-
},
|
|
42
|
-
p(i, n) {
|
|
43
|
-
t = i, n & /*currentFloorObservers, contentWidth*/
|
|
44
|
-
9 && a(
|
|
45
|
-
e,
|
|
46
|
-
"left",
|
|
47
|
-
/*observer*/
|
|
48
|
-
t[6].positionInImage.x * /*contentWidth*/
|
|
49
|
-
t[0] + "px"
|
|
50
|
-
), n & /*currentFloorObservers, contentHeight*/
|
|
51
|
-
10 && a(
|
|
52
|
-
e,
|
|
53
|
-
"top",
|
|
54
|
-
/*observer*/
|
|
55
|
-
t[6].positionInImage.y * /*contentHeight*/
|
|
56
|
-
t[1] + "px"
|
|
57
|
-
), n & /*observerDotSize*/
|
|
58
|
-
4 && a(
|
|
59
|
-
e,
|
|
60
|
-
"width",
|
|
61
|
-
/*observerDotSize*/
|
|
62
|
-
t[2] + "px"
|
|
63
|
-
), n & /*observerDotSize*/
|
|
64
|
-
4 && a(
|
|
65
|
-
e,
|
|
66
|
-
"height",
|
|
67
|
-
/*observerDotSize*/
|
|
68
|
-
t[2] + "px"
|
|
69
|
-
);
|
|
70
|
-
},
|
|
71
|
-
d(i) {
|
|
72
|
-
i && p(e);
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
function S(r) {
|
|
77
|
-
let t, e = [], i = /* @__PURE__ */ new Map(), n = (
|
|
78
|
-
/*currentFloorObservers*/
|
|
79
|
-
r[3]
|
|
80
|
-
);
|
|
81
|
-
const d = (o) => (
|
|
82
|
-
/*observer*/
|
|
83
|
-
o[6].index
|
|
84
|
-
);
|
|
85
|
-
for (let o = 0; o < n.length; o += 1) {
|
|
86
|
-
let l = h(r, n, o), f = d(l);
|
|
87
|
-
i.set(f, e[o] = _(f, l));
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
c() {
|
|
91
|
-
t = g("div");
|
|
92
|
-
for (let o = 0; o < e.length; o += 1)
|
|
93
|
-
e[o].c();
|
|
94
|
-
v(t, "class", "floorplan-guide-plugin__observer-dots svelte-6v429q");
|
|
95
|
-
},
|
|
96
|
-
m(o, l) {
|
|
97
|
-
b(o, t, l);
|
|
98
|
-
for (let f = 0; f < e.length; f += 1)
|
|
99
|
-
e[f] && e[f].m(t, null);
|
|
100
|
-
},
|
|
101
|
-
p(o, [l]) {
|
|
102
|
-
l & /*currentFloorObservers, contentWidth, contentHeight, observerDotSize*/
|
|
103
|
-
15 && (n = /*currentFloorObservers*/
|
|
104
|
-
o[3], e = y(e, l, d, 1, o, n, i, t, q, _, null, h));
|
|
105
|
-
},
|
|
106
|
-
i: u,
|
|
107
|
-
o: u,
|
|
108
|
-
d(o) {
|
|
109
|
-
o && p(t);
|
|
110
|
-
for (let l = 0; l < e.length; l += 1)
|
|
111
|
-
e[l].d();
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
function w(r, t, e) {
|
|
116
|
-
let i, { floorplanData: n } = t, { floorIndex: d } = t, { contentWidth: o } = t, { contentHeight: l } = t, { observerDotSize: f = 12 } = t;
|
|
117
|
-
return r.$$set = (s) => {
|
|
118
|
-
"floorplanData" in s && e(4, n = s.floorplanData), "floorIndex" in s && e(5, d = s.floorIndex), "contentWidth" in s && e(0, o = s.contentWidth), "contentHeight" in s && e(1, l = s.contentHeight), "observerDotSize" in s && e(2, f = s.observerDotSize);
|
|
119
|
-
}, r.$$.update = () => {
|
|
120
|
-
var s, c;
|
|
121
|
-
r.$$.dirty & /*floorplanData, floorIndex*/
|
|
122
|
-
48 && e(3, i = (c = (s = n.observers) == null ? void 0 : s.filter((m) => m.floorIndex === d)) != null ? c : []);
|
|
123
|
-
}, [
|
|
124
|
-
o,
|
|
125
|
-
l,
|
|
126
|
-
f,
|
|
127
|
-
i,
|
|
128
|
-
n,
|
|
129
|
-
d
|
|
130
|
-
];
|
|
131
|
-
}
|
|
132
|
-
class W extends I {
|
|
133
|
-
constructor(t) {
|
|
134
|
-
super(), k(
|
|
135
|
-
this,
|
|
136
|
-
t,
|
|
137
|
-
w,
|
|
138
|
-
S,
|
|
139
|
-
D,
|
|
140
|
-
{
|
|
141
|
-
floorplanData: 4,
|
|
142
|
-
floorIndex: 5,
|
|
143
|
-
contentWidth: 0,
|
|
144
|
-
contentHeight: 1,
|
|
145
|
-
observerDotSize: 2
|
|
146
|
-
},
|
|
147
|
-
z
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
export {
|
|
152
|
-
W as default
|
|
153
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as M, init as P, safe_not_equal as D, append_styles as O, element as g, attr as u, toggle_class as _, set_style as b, insert as c, listen as s, action_destroyer as j, noop as H, detach as d, run_all as B, createEventDispatcher as G, space as J, append as F, empty as K, text as S, set_data as I, HtmlTag as Q } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import { svelteResizeObserver as U } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
3
|
-
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
4
|
-
function X(n) {
|
|
5
|
-
O(n, "svelte-qulme3", ".floorplan-guide-plugin__room-label.svelte-qulme3{position:absolute;display:flex;flex-direction:column;align-items:center;transform:translate(-50%, -50%);color:#fff;text-shadow:0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.8);line-height:1.2;white-space:nowrap;pointer-events:auto;cursor:pointer;transition:opacity 300ms;opacity:1}.floorplan-guide-plugin__room-label--hidden.svelte-qulme3{opacity:0}.floorplan-guide-plugin__room-label--hovered.svelte-qulme3{opacity:1 !important}.floorplan-guide-plugin__room-content.svelte-qulme3{display:flex;flex-direction:column;align-items:center}.floorplan-guide-plugin__room-name.svelte-qulme3{font-family:PingFangSC-Regular;font-weight:400;font-size:0.875rem;color:#FFFFFF;margin-bottom:0.125rem}.floorplan-guide-plugin__room-area.svelte-qulme3{opacity:0.6;font-family:PingFangSC-Regular;font-weight:400;font-size:0.75rem;color:#FFFFFF;text-align:center}");
|
|
6
|
-
}
|
|
7
|
-
function Y(n) {
|
|
8
|
-
let e, o, t = (
|
|
9
|
-
/*roomNameEnable*/
|
|
10
|
-
n[2] && z(n)
|
|
11
|
-
), l = (
|
|
12
|
-
/*roomAreaEnable*/
|
|
13
|
-
n[3] && /*roomAreaSize*/
|
|
14
|
-
n[4] && A(n)
|
|
15
|
-
);
|
|
16
|
-
return {
|
|
17
|
-
c() {
|
|
18
|
-
e = g("div"), t && t.c(), o = J(), l && l.c(), u(e, "class", "floorplan-guide-plugin__room-content svelte-qulme3");
|
|
19
|
-
},
|
|
20
|
-
m(i, r) {
|
|
21
|
-
c(i, e, r), t && t.m(e, null), F(e, o), l && l.m(e, null);
|
|
22
|
-
},
|
|
23
|
-
p(i, r) {
|
|
24
|
-
/*roomNameEnable*/
|
|
25
|
-
i[2] ? t ? t.p(i, r) : (t = z(i), t.c(), t.m(e, o)) : t && (t.d(1), t = null), /*roomAreaEnable*/
|
|
26
|
-
i[3] && /*roomAreaSize*/
|
|
27
|
-
i[4] ? l ? l.p(i, r) : (l = A(i), l.c(), l.m(e, null)) : l && (l.d(1), l = null);
|
|
28
|
-
},
|
|
29
|
-
d(i) {
|
|
30
|
-
i && d(e), t && t.d(), l && l.d();
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
function Z(n) {
|
|
35
|
-
let e, o = (
|
|
36
|
-
/*userConfigElement*/
|
|
37
|
-
n[5].outerHTML + ""
|
|
38
|
-
), t;
|
|
39
|
-
return {
|
|
40
|
-
c() {
|
|
41
|
-
e = new Q(!1), t = K(), e.a = t;
|
|
42
|
-
},
|
|
43
|
-
m(l, i) {
|
|
44
|
-
e.m(o, l, i), c(l, t, i);
|
|
45
|
-
},
|
|
46
|
-
p(l, i) {
|
|
47
|
-
i & /*userConfigElement*/
|
|
48
|
-
32 && o !== (o = /*userConfigElement*/
|
|
49
|
-
l[5].outerHTML + "") && e.p(o);
|
|
50
|
-
},
|
|
51
|
-
d(l) {
|
|
52
|
-
l && d(t), l && e.d();
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function z(n) {
|
|
57
|
-
let e, o = (
|
|
58
|
-
/*room*/
|
|
59
|
-
n[0].name + ""
|
|
60
|
-
), t;
|
|
61
|
-
return {
|
|
62
|
-
c() {
|
|
63
|
-
e = g("span"), t = S(o), u(e, "class", "floorplan-guide-plugin__room-name svelte-qulme3");
|
|
64
|
-
},
|
|
65
|
-
m(l, i) {
|
|
66
|
-
c(l, e, i), F(e, t);
|
|
67
|
-
},
|
|
68
|
-
p(l, i) {
|
|
69
|
-
i & /*room*/
|
|
70
|
-
1 && o !== (o = /*room*/
|
|
71
|
-
l[0].name + "") && I(t, o);
|
|
72
|
-
},
|
|
73
|
-
d(l) {
|
|
74
|
-
l && d(e);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
function A(n) {
|
|
79
|
-
let e, o;
|
|
80
|
-
return {
|
|
81
|
-
c() {
|
|
82
|
-
e = g("span"), o = S(
|
|
83
|
-
/*roomAreaSize*/
|
|
84
|
-
n[4]
|
|
85
|
-
), u(e, "class", "floorplan-guide-plugin__room-area svelte-qulme3");
|
|
86
|
-
},
|
|
87
|
-
m(t, l) {
|
|
88
|
-
c(t, e, l), F(e, o);
|
|
89
|
-
},
|
|
90
|
-
p(t, l) {
|
|
91
|
-
l & /*roomAreaSize*/
|
|
92
|
-
16 && I(
|
|
93
|
-
o,
|
|
94
|
-
/*roomAreaSize*/
|
|
95
|
-
t[4]
|
|
96
|
-
);
|
|
97
|
-
},
|
|
98
|
-
d(t) {
|
|
99
|
-
t && d(e);
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
function x(n) {
|
|
104
|
-
let e, o, t;
|
|
105
|
-
function l(m, f) {
|
|
106
|
-
return (
|
|
107
|
-
/*userConfigElement*/
|
|
108
|
-
m[5] ? Z : Y
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
let i = l(n), r = i(n);
|
|
112
|
-
return {
|
|
113
|
-
c() {
|
|
114
|
-
e = g("div"), r.c(), u(e, "class", "floorplan-guide-plugin__room-label svelte-qulme3"), u(e, "role", "button"), u(e, "tabindex", "0"), _(
|
|
115
|
-
e,
|
|
116
|
-
"floorplan-guide-plugin__room-label--hovered",
|
|
117
|
-
/*isHovered*/
|
|
118
|
-
n[1]
|
|
119
|
-
), _(e, "floorplan-guide-plugin__room-label--hidden", !/*labelVisible*/
|
|
120
|
-
n[10]), b(
|
|
121
|
-
e,
|
|
122
|
-
"left",
|
|
123
|
-
/*left*/
|
|
124
|
-
n[6]
|
|
125
|
-
), b(
|
|
126
|
-
e,
|
|
127
|
-
"top",
|
|
128
|
-
/*top*/
|
|
129
|
-
n[7]
|
|
130
|
-
);
|
|
131
|
-
},
|
|
132
|
-
m(m, f) {
|
|
133
|
-
c(m, e, f), r.m(e, null), o || (t = [
|
|
134
|
-
s(
|
|
135
|
-
e,
|
|
136
|
-
"mouseenter",
|
|
137
|
-
/*mouseenter_handler*/
|
|
138
|
-
n[17]
|
|
139
|
-
),
|
|
140
|
-
s(
|
|
141
|
-
e,
|
|
142
|
-
"mouseleave",
|
|
143
|
-
/*mouseleave_handler*/
|
|
144
|
-
n[18]
|
|
145
|
-
),
|
|
146
|
-
s(e, "keydown", $),
|
|
147
|
-
j(U.call(null, e)),
|
|
148
|
-
s(
|
|
149
|
-
e,
|
|
150
|
-
"clientWidth",
|
|
151
|
-
/*clientWidth_handler*/
|
|
152
|
-
n[19]
|
|
153
|
-
),
|
|
154
|
-
s(
|
|
155
|
-
e,
|
|
156
|
-
"clientHeight",
|
|
157
|
-
/*clientHeight_handler*/
|
|
158
|
-
n[20]
|
|
159
|
-
)
|
|
160
|
-
], o = !0);
|
|
161
|
-
},
|
|
162
|
-
p(m, [f]) {
|
|
163
|
-
i === (i = l(m)) && r ? r.p(m, f) : (r.d(1), r = i(m), r && (r.c(), r.m(e, null))), f & /*isHovered*/
|
|
164
|
-
2 && _(
|
|
165
|
-
e,
|
|
166
|
-
"floorplan-guide-plugin__room-label--hovered",
|
|
167
|
-
/*isHovered*/
|
|
168
|
-
m[1]
|
|
169
|
-
), f & /*labelVisible*/
|
|
170
|
-
1024 && _(e, "floorplan-guide-plugin__room-label--hidden", !/*labelVisible*/
|
|
171
|
-
m[10]), f & /*left*/
|
|
172
|
-
64 && b(
|
|
173
|
-
e,
|
|
174
|
-
"left",
|
|
175
|
-
/*left*/
|
|
176
|
-
m[6]
|
|
177
|
-
), f & /*top*/
|
|
178
|
-
128 && b(
|
|
179
|
-
e,
|
|
180
|
-
"top",
|
|
181
|
-
/*top*/
|
|
182
|
-
m[7]
|
|
183
|
-
);
|
|
184
|
-
},
|
|
185
|
-
i: H,
|
|
186
|
-
o: H,
|
|
187
|
-
d(m) {
|
|
188
|
-
m && d(e), r.d(), o = !1, B(t);
|
|
189
|
-
}
|
|
190
|
-
};
|
|
191
|
-
}
|
|
192
|
-
const $ = () => {
|
|
193
|
-
};
|
|
194
|
-
function ee(n, e, o) {
|
|
195
|
-
let t, l, i, { room: r } = e, { isHovered: m } = e, { roomNameEnable: f } = e, { roomAreaEnable: R } = e, { roomAreaSize: q } = e, { userConfigElement: C } = e, { adaptiveRoomLabelVisibleEnable: h } = e, { pxmm: p } = e, { left: L } = e, { top: w } = e, { createLabelInRoomChecker: v } = e;
|
|
196
|
-
const E = G();
|
|
197
|
-
let k = 0, y = 0;
|
|
198
|
-
const V = () => E("mouseenter"), N = () => E("mouseleave"), T = (a) => {
|
|
199
|
-
o(8, k = a.detail);
|
|
200
|
-
}, W = (a) => {
|
|
201
|
-
o(9, y = a.detail);
|
|
202
|
-
};
|
|
203
|
-
return n.$$set = (a) => {
|
|
204
|
-
"room" in a && o(0, r = a.room), "isHovered" in a && o(1, m = a.isHovered), "roomNameEnable" in a && o(2, f = a.roomNameEnable), "roomAreaEnable" in a && o(3, R = a.roomAreaEnable), "roomAreaSize" in a && o(4, q = a.roomAreaSize), "userConfigElement" in a && o(5, C = a.userConfigElement), "adaptiveRoomLabelVisibleEnable" in a && o(12, h = a.adaptiveRoomLabelVisibleEnable), "pxmm" in a && o(13, p = a.pxmm), "left" in a && o(6, L = a.left), "top" in a && o(7, w = a.top), "createLabelInRoomChecker" in a && o(14, v = a.createLabelInRoomChecker);
|
|
205
|
-
}, n.$$.update = () => {
|
|
206
|
-
n.$$.dirty & /*labelWidth, labelHeight*/
|
|
207
|
-
768 && o(16, t = { width: k, height: y }), n.$$.dirty & /*labelElementSize, createLabelInRoomChecker, room*/
|
|
208
|
-
81921 && o(15, l = t ? v(r, t) : void 0), n.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHovered, isLabelInRoomChecker, pxmm*/
|
|
209
|
-
45058 && o(10, i = h ? m || (l ? l(p) : !0) : !0);
|
|
210
|
-
}, [
|
|
211
|
-
r,
|
|
212
|
-
m,
|
|
213
|
-
f,
|
|
214
|
-
R,
|
|
215
|
-
q,
|
|
216
|
-
C,
|
|
217
|
-
L,
|
|
218
|
-
w,
|
|
219
|
-
k,
|
|
220
|
-
y,
|
|
221
|
-
i,
|
|
222
|
-
E,
|
|
223
|
-
h,
|
|
224
|
-
p,
|
|
225
|
-
v,
|
|
226
|
-
l,
|
|
227
|
-
t,
|
|
228
|
-
V,
|
|
229
|
-
N,
|
|
230
|
-
T,
|
|
231
|
-
W
|
|
232
|
-
];
|
|
233
|
-
}
|
|
234
|
-
class ne extends M {
|
|
235
|
-
constructor(e) {
|
|
236
|
-
super(), P(
|
|
237
|
-
this,
|
|
238
|
-
e,
|
|
239
|
-
ee,
|
|
240
|
-
x,
|
|
241
|
-
D,
|
|
242
|
-
{
|
|
243
|
-
room: 0,
|
|
244
|
-
isHovered: 1,
|
|
245
|
-
roomNameEnable: 2,
|
|
246
|
-
roomAreaEnable: 3,
|
|
247
|
-
roomAreaSize: 4,
|
|
248
|
-
userConfigElement: 5,
|
|
249
|
-
adaptiveRoomLabelVisibleEnable: 12,
|
|
250
|
-
pxmm: 13,
|
|
251
|
-
left: 6,
|
|
252
|
-
top: 7,
|
|
253
|
-
createLabelInRoomChecker: 14
|
|
254
|
-
},
|
|
255
|
-
X
|
|
256
|
-
);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
export {
|
|
260
|
-
ne as default
|
|
261
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as P, init as V, safe_not_equal as w, append_styles as D, element as O, attr as W, insert as y, action_destroyer as j, listen as H, update_keyed_each as M, check_outros as q, transition_in as A, transition_out as N, detach as v, run_all as S, empty as X, create_component as Y, mount_component as B, destroy_component as F, group_outros as G, outro_and_destroy_block as J } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import { svelteResizeObserver as K } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
3
|
-
import Q from "./RoomLabelItem.js";
|
|
4
|
-
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
5
|
-
function U(s) {
|
|
6
|
-
D(s, "svelte-k2rax0", ".floorplan-guide-plugin__room-labels.svelte-k2rax0{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:15}");
|
|
7
|
-
}
|
|
8
|
-
function I(s, e, o) {
|
|
9
|
-
const a = s.slice();
|
|
10
|
-
return a[17] = e[o], a;
|
|
11
|
-
}
|
|
12
|
-
function k(s, e) {
|
|
13
|
-
let o, a, f;
|
|
14
|
-
function b() {
|
|
15
|
-
return (
|
|
16
|
-
/*mouseenter_handler*/
|
|
17
|
-
e[15](
|
|
18
|
-
/*room*/
|
|
19
|
-
e[17]
|
|
20
|
-
)
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
return a = new Q({
|
|
24
|
-
props: {
|
|
25
|
-
room: (
|
|
26
|
-
/*room*/
|
|
27
|
-
e[17]
|
|
28
|
-
),
|
|
29
|
-
isHovered: (
|
|
30
|
-
/*hoveredRoomId*/
|
|
31
|
-
e[7] === /*room*/
|
|
32
|
-
e[17].id
|
|
33
|
-
),
|
|
34
|
-
roomNameEnable: (
|
|
35
|
-
/*roomNameEnable*/
|
|
36
|
-
e[0]
|
|
37
|
-
),
|
|
38
|
-
roomAreaEnable: (
|
|
39
|
-
/*roomAreaEnable*/
|
|
40
|
-
e[1]
|
|
41
|
-
),
|
|
42
|
-
roomAreaSize: (
|
|
43
|
-
/*room*/
|
|
44
|
-
e[17].size ? (
|
|
45
|
-
/*getRoomAreaText*/
|
|
46
|
-
e[3](
|
|
47
|
-
/*room*/
|
|
48
|
-
e[17].size
|
|
49
|
-
)
|
|
50
|
-
) : ""
|
|
51
|
-
),
|
|
52
|
-
userConfigElement: (
|
|
53
|
-
/*getLabelElement*/
|
|
54
|
-
e[4] ? (
|
|
55
|
-
/*getLabelElement*/
|
|
56
|
-
e[4](
|
|
57
|
-
/*room*/
|
|
58
|
-
e[17]
|
|
59
|
-
)
|
|
60
|
-
) : null
|
|
61
|
-
),
|
|
62
|
-
adaptiveRoomLabelVisibleEnable: (
|
|
63
|
-
/*adaptiveRoomLabelVisibleEnable*/
|
|
64
|
-
e[2]
|
|
65
|
-
),
|
|
66
|
-
pxmm: (
|
|
67
|
-
/*pxmm*/
|
|
68
|
-
e[6]
|
|
69
|
-
),
|
|
70
|
-
left: (
|
|
71
|
-
/*room*/
|
|
72
|
-
e[17].roomLabel.positionInImage.x * 100 + "%"
|
|
73
|
-
),
|
|
74
|
-
top: (
|
|
75
|
-
/*room*/
|
|
76
|
-
e[17].roomLabel.positionInImage.y * 100 + "%"
|
|
77
|
-
),
|
|
78
|
-
createLabelInRoomChecker: $
|
|
79
|
-
}
|
|
80
|
-
}), a.$on("mouseenter", b), a.$on(
|
|
81
|
-
"mouseleave",
|
|
82
|
-
/*handleMouseLeave*/
|
|
83
|
-
e[10]
|
|
84
|
-
), {
|
|
85
|
-
key: s,
|
|
86
|
-
first: null,
|
|
87
|
-
c() {
|
|
88
|
-
o = X(), Y(a.$$.fragment), this.first = o;
|
|
89
|
-
},
|
|
90
|
-
m(m, l) {
|
|
91
|
-
y(m, o, l), B(a, m, l), f = !0;
|
|
92
|
-
},
|
|
93
|
-
p(m, l) {
|
|
94
|
-
e = m;
|
|
95
|
-
const i = {};
|
|
96
|
-
l & /*rooms*/
|
|
97
|
-
256 && (i.room = /*room*/
|
|
98
|
-
e[17]), l & /*hoveredRoomId, rooms*/
|
|
99
|
-
384 && (i.isHovered = /*hoveredRoomId*/
|
|
100
|
-
e[7] === /*room*/
|
|
101
|
-
e[17].id), l & /*roomNameEnable*/
|
|
102
|
-
1 && (i.roomNameEnable = /*roomNameEnable*/
|
|
103
|
-
e[0]), l & /*roomAreaEnable*/
|
|
104
|
-
2 && (i.roomAreaEnable = /*roomAreaEnable*/
|
|
105
|
-
e[1]), l & /*rooms, getRoomAreaText*/
|
|
106
|
-
264 && (i.roomAreaSize = /*room*/
|
|
107
|
-
e[17].size ? (
|
|
108
|
-
/*getRoomAreaText*/
|
|
109
|
-
e[3](
|
|
110
|
-
/*room*/
|
|
111
|
-
e[17].size
|
|
112
|
-
)
|
|
113
|
-
) : ""), l & /*getLabelElement, rooms*/
|
|
114
|
-
272 && (i.userConfigElement = /*getLabelElement*/
|
|
115
|
-
e[4] ? (
|
|
116
|
-
/*getLabelElement*/
|
|
117
|
-
e[4](
|
|
118
|
-
/*room*/
|
|
119
|
-
e[17]
|
|
120
|
-
)
|
|
121
|
-
) : null), l & /*adaptiveRoomLabelVisibleEnable*/
|
|
122
|
-
4 && (i.adaptiveRoomLabelVisibleEnable = /*adaptiveRoomLabelVisibleEnable*/
|
|
123
|
-
e[2]), l & /*pxmm*/
|
|
124
|
-
64 && (i.pxmm = /*pxmm*/
|
|
125
|
-
e[6]), l & /*rooms*/
|
|
126
|
-
256 && (i.left = /*room*/
|
|
127
|
-
e[17].roomLabel.positionInImage.x * 100 + "%"), l & /*rooms*/
|
|
128
|
-
256 && (i.top = /*room*/
|
|
129
|
-
e[17].roomLabel.positionInImage.y * 100 + "%"), a.$set(i);
|
|
130
|
-
},
|
|
131
|
-
i(m) {
|
|
132
|
-
f || (A(a.$$.fragment, m), f = !0);
|
|
133
|
-
},
|
|
134
|
-
o(m) {
|
|
135
|
-
N(a.$$.fragment, m), f = !1;
|
|
136
|
-
},
|
|
137
|
-
d(m) {
|
|
138
|
-
m && v(o), F(a, m);
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
function Z(s) {
|
|
143
|
-
let e, o = [], a = /* @__PURE__ */ new Map(), f, b, m, l = (
|
|
144
|
-
/*rooms*/
|
|
145
|
-
s[8]
|
|
146
|
-
);
|
|
147
|
-
const i = (t) => (
|
|
148
|
-
/*room*/
|
|
149
|
-
t[17].id
|
|
150
|
-
);
|
|
151
|
-
for (let t = 0; t < l.length; t += 1) {
|
|
152
|
-
let n = I(s, l, t), u = i(n);
|
|
153
|
-
a.set(u, o[t] = k(u, n));
|
|
154
|
-
}
|
|
155
|
-
return {
|
|
156
|
-
c() {
|
|
157
|
-
e = O("div");
|
|
158
|
-
for (let t = 0; t < o.length; t += 1)
|
|
159
|
-
o[t].c();
|
|
160
|
-
W(e, "class", "floorplan-guide-plugin__room-labels svelte-k2rax0");
|
|
161
|
-
},
|
|
162
|
-
m(t, n) {
|
|
163
|
-
y(t, e, n);
|
|
164
|
-
for (let u = 0; u < o.length; u += 1)
|
|
165
|
-
o[u] && o[u].m(e, null);
|
|
166
|
-
f = !0, b || (m = [
|
|
167
|
-
j(K.call(null, e)),
|
|
168
|
-
H(
|
|
169
|
-
e,
|
|
170
|
-
"clientWidth",
|
|
171
|
-
/*clientWidth_handler*/
|
|
172
|
-
s[16]
|
|
173
|
-
)
|
|
174
|
-
], b = !0);
|
|
175
|
-
},
|
|
176
|
-
p(t, [n]) {
|
|
177
|
-
n & /*rooms, hoveredRoomId, roomNameEnable, roomAreaEnable, getRoomAreaText, getLabelElement, adaptiveRoomLabelVisibleEnable, pxmm, createLabelInRoomChecker, handleMouseEnter, handleMouseLeave*/
|
|
178
|
-
2015 && (l = /*rooms*/
|
|
179
|
-
t[8], G(), o = M(o, n, i, 1, t, l, a, e, J, k, null, I), q());
|
|
180
|
-
},
|
|
181
|
-
i(t) {
|
|
182
|
-
if (!f) {
|
|
183
|
-
for (let n = 0; n < l.length; n += 1)
|
|
184
|
-
A(o[n]);
|
|
185
|
-
f = !0;
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
o(t) {
|
|
189
|
-
for (let n = 0; n < o.length; n += 1)
|
|
190
|
-
N(o[n]);
|
|
191
|
-
f = !1;
|
|
192
|
-
},
|
|
193
|
-
d(t) {
|
|
194
|
-
t && v(e);
|
|
195
|
-
for (let n = 0; n < o.length; n += 1)
|
|
196
|
-
o[n].d();
|
|
197
|
-
b = !1, S(m);
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
function x(s, e) {
|
|
202
|
-
const o = s[0], a = s[1];
|
|
203
|
-
let f = !1;
|
|
204
|
-
for (let b = 0, m = e.length - 1; b < e.length; m = b++) {
|
|
205
|
-
const l = e[b][0], i = e[b][1], t = e[m][0], n = e[m][1];
|
|
206
|
-
i > a != n > a && o < (t - l) * (a - i) / (n - i) + l && (f = !f);
|
|
207
|
-
}
|
|
208
|
-
return f;
|
|
209
|
-
}
|
|
210
|
-
function $(s, e) {
|
|
211
|
-
if (e.width === 0 || e.height === 0)
|
|
212
|
-
return () => !1;
|
|
213
|
-
const o = s.path.map(({ x: n, y: u }) => [n, u]), a = s.roomLabel.position, { x: f, y: b } = a, { width: m, height: l } = e, i = m / 2, t = l / 2;
|
|
214
|
-
return function(u) {
|
|
215
|
-
const h = f * u, c = b * u, _ = o.map(([d, E]) => [d * u, E * u]);
|
|
216
|
-
return [
|
|
217
|
-
[h + i, c - t],
|
|
218
|
-
[h - i, c - t],
|
|
219
|
-
[h - i, c + t],
|
|
220
|
-
[h + i, c + t]
|
|
221
|
-
].every((d) => x(d, _));
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
function ee(s, e, o) {
|
|
225
|
-
let a, f, { floorplanData: b } = e, { floorIndex: m } = e, { roomNameEnable: l = !0 } = e, { roomNameOtherTypeEnable: i = !0 } = e, { roomAreaEnable: t = !0 } = e, { adaptiveRoomLabelVisibleEnable: n = !0 } = e, { getRoomAreaText: u } = e, { getLabelElement: h } = e, c = 0, _ = 0, g = null;
|
|
226
|
-
function d(r) {
|
|
227
|
-
o(7, g = r.id);
|
|
228
|
-
}
|
|
229
|
-
function E() {
|
|
230
|
-
o(7, g = null);
|
|
231
|
-
}
|
|
232
|
-
const T = (r) => d(r), p = (r) => {
|
|
233
|
-
o(5, c = r.detail);
|
|
234
|
-
};
|
|
235
|
-
return s.$$set = (r) => {
|
|
236
|
-
"floorplanData" in r && o(11, b = r.floorplanData), "floorIndex" in r && o(12, m = r.floorIndex), "roomNameEnable" in r && o(0, l = r.roomNameEnable), "roomNameOtherTypeEnable" in r && o(13, i = r.roomNameOtherTypeEnable), "roomAreaEnable" in r && o(1, t = r.roomAreaEnable), "adaptiveRoomLabelVisibleEnable" in r && o(2, n = r.adaptiveRoomLabelVisibleEnable), "getRoomAreaText" in r && o(3, u = r.getRoomAreaText), "getLabelElement" in r && o(4, h = r.getLabelElement);
|
|
237
|
-
}, s.$$.update = () => {
|
|
238
|
-
var r, R;
|
|
239
|
-
if (s.$$.dirty & /*floorplanData, floorIndex*/
|
|
240
|
-
6144 && o(14, a = (R = (r = b.floorDatas[m]) == null ? void 0 : r.rooms) != null ? R : []), s.$$.dirty & /*roomNameOtherTypeEnable, allRooms*/
|
|
241
|
-
24576 && o(8, f = i ? a : a.filter((L) => L.roomType !== "100900000012")), s.$$.dirty & /*floorplanData, clientWidth*/
|
|
242
|
-
2080) {
|
|
243
|
-
const { max: L, min: z } = b.bounding, C = L.x - z.x;
|
|
244
|
-
o(6, _ = c / C);
|
|
245
|
-
}
|
|
246
|
-
}, [
|
|
247
|
-
l,
|
|
248
|
-
t,
|
|
249
|
-
n,
|
|
250
|
-
u,
|
|
251
|
-
h,
|
|
252
|
-
c,
|
|
253
|
-
_,
|
|
254
|
-
g,
|
|
255
|
-
f,
|
|
256
|
-
d,
|
|
257
|
-
E,
|
|
258
|
-
b,
|
|
259
|
-
m,
|
|
260
|
-
i,
|
|
261
|
-
a,
|
|
262
|
-
T,
|
|
263
|
-
p
|
|
264
|
-
];
|
|
265
|
-
}
|
|
266
|
-
class ie extends P {
|
|
267
|
-
constructor(e) {
|
|
268
|
-
super(), V(
|
|
269
|
-
this,
|
|
270
|
-
e,
|
|
271
|
-
ee,
|
|
272
|
-
Z,
|
|
273
|
-
w,
|
|
274
|
-
{
|
|
275
|
-
floorplanData: 11,
|
|
276
|
-
floorIndex: 12,
|
|
277
|
-
roomNameEnable: 0,
|
|
278
|
-
roomNameOtherTypeEnable: 13,
|
|
279
|
-
roomAreaEnable: 1,
|
|
280
|
-
adaptiveRoomLabelVisibleEnable: 2,
|
|
281
|
-
getRoomAreaText: 3,
|
|
282
|
-
getLabelElement: 4
|
|
283
|
-
},
|
|
284
|
-
U
|
|
285
|
-
);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
export {
|
|
289
|
-
ie as default
|
|
290
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|