@realsee/dnalogel 3.67.1 → 3.67.3
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 +8 -0
- package/dist/AreaMakerPlugin/utils/Item.d.ts +9 -0
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +8 -0
- package/dist/index.cjs.js +87 -87
- package/dist/index.js +12235 -11804
- 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/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 +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 +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.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/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/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 +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +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 +468 -468
- 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 +147 -145
- 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/package.json +1 -1
|
@@ -1,69 +1,104 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
1
|
+
import { SvelteComponent as j, init as S, safe_not_equal as w, append_styles as k, element as g, text as L, space as y, attr as c, set_style as r, toggle_class as z, insert as I, append as u, listen as O, set_data as P, noop as v, detach as A } from "../vendor/svelte/internal/index.js";
|
|
2
2
|
import { ROOM_LABEL_BG as B } from "./Assets/roomLabelBg.js";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { FONT_SIZE_MAP as E } from "../shared-utils/fontSize.js";
|
|
4
|
+
import { px2rem as b } from "../shared-utils/px2rem.js";
|
|
5
|
+
function H(t) {
|
|
6
|
+
k(t, "svelte-ndtj2n", ".room-label-item.svelte-ndtj2n{position:absolute;font-size:0.5rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.room-label-item__text.svelte-ndtj2n{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;min-width:2rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-ndtj2n{position:absolute;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-ndtj2n{font-size:0.625rem}");
|
|
5
7
|
}
|
|
6
|
-
function
|
|
7
|
-
let
|
|
8
|
+
function M(t) {
|
|
9
|
+
let n, e, i = (
|
|
8
10
|
/*roomLabel*/
|
|
9
11
|
t[0].name + ""
|
|
10
|
-
),
|
|
12
|
+
), f, s, m, d, p;
|
|
11
13
|
return {
|
|
12
14
|
c() {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
n = g("div"), e = g("span"), f = L(i), s = y(), m = g("div"), c(e, "class", "room-label-item__text svelte-ndtj2n"), r(e, "background-image", "url(" + B + ")"), z(
|
|
16
|
+
e,
|
|
15
17
|
"wide",
|
|
16
18
|
/*roomLabel*/
|
|
17
19
|
t[0].name.length > 3
|
|
18
|
-
),
|
|
20
|
+
), r(
|
|
19
21
|
e,
|
|
22
|
+
"font-size",
|
|
23
|
+
/*nameSize*/
|
|
24
|
+
t[3]
|
|
25
|
+
), r(
|
|
26
|
+
e,
|
|
27
|
+
"padding",
|
|
28
|
+
/*paddingStyle*/
|
|
29
|
+
t[2]
|
|
30
|
+
), c(m, "class", "room-label-item__bar svelte-ndtj2n"), r(
|
|
31
|
+
m,
|
|
32
|
+
"top",
|
|
33
|
+
/*barTopPosition*/
|
|
34
|
+
t[1]
|
|
35
|
+
), c(n, "class", "room-label-item svelte-ndtj2n"), r(
|
|
36
|
+
n,
|
|
20
37
|
"z-index",
|
|
21
38
|
/*roomLabel*/
|
|
22
39
|
t[0].zIndex
|
|
23
40
|
), r(
|
|
24
|
-
|
|
41
|
+
n,
|
|
25
42
|
"transform",
|
|
26
43
|
/*roomLabel*/
|
|
27
44
|
t[0].transform
|
|
28
45
|
), r(
|
|
29
|
-
|
|
46
|
+
n,
|
|
30
47
|
"opacity",
|
|
31
48
|
/*roomLabel*/
|
|
32
49
|
t[0].visible ? 1 : 0
|
|
33
50
|
);
|
|
34
51
|
},
|
|
35
|
-
m(o,
|
|
36
|
-
|
|
37
|
-
|
|
52
|
+
m(o, a) {
|
|
53
|
+
I(o, n, a), u(n, e), u(e, f), u(n, s), u(n, m), d || (p = O(
|
|
54
|
+
e,
|
|
38
55
|
"click",
|
|
39
56
|
/*onClick*/
|
|
40
|
-
t[
|
|
41
|
-
),
|
|
57
|
+
t[4]
|
|
58
|
+
), d = !0);
|
|
42
59
|
},
|
|
43
|
-
p(o, [
|
|
44
|
-
|
|
60
|
+
p(o, [a]) {
|
|
61
|
+
a & /*roomLabel*/
|
|
45
62
|
1 && i !== (i = /*roomLabel*/
|
|
46
|
-
o[0].name + "") &&
|
|
47
|
-
1 &&
|
|
48
|
-
|
|
63
|
+
o[0].name + "") && P(f, i), a & /*roomLabel*/
|
|
64
|
+
1 && z(
|
|
65
|
+
e,
|
|
49
66
|
"wide",
|
|
50
67
|
/*roomLabel*/
|
|
51
68
|
o[0].name.length > 3
|
|
52
|
-
),
|
|
53
|
-
|
|
69
|
+
), a & /*nameSize*/
|
|
70
|
+
8 && r(
|
|
71
|
+
e,
|
|
72
|
+
"font-size",
|
|
73
|
+
/*nameSize*/
|
|
74
|
+
o[3]
|
|
75
|
+
), a & /*paddingStyle*/
|
|
76
|
+
4 && r(
|
|
54
77
|
e,
|
|
78
|
+
"padding",
|
|
79
|
+
/*paddingStyle*/
|
|
80
|
+
o[2]
|
|
81
|
+
), a & /*barTopPosition*/
|
|
82
|
+
2 && r(
|
|
83
|
+
m,
|
|
84
|
+
"top",
|
|
85
|
+
/*barTopPosition*/
|
|
86
|
+
o[1]
|
|
87
|
+
), a & /*roomLabel*/
|
|
88
|
+
1 && r(
|
|
89
|
+
n,
|
|
55
90
|
"z-index",
|
|
56
91
|
/*roomLabel*/
|
|
57
92
|
o[0].zIndex
|
|
58
|
-
),
|
|
93
|
+
), a & /*roomLabel*/
|
|
59
94
|
1 && r(
|
|
60
|
-
|
|
95
|
+
n,
|
|
61
96
|
"transform",
|
|
62
97
|
/*roomLabel*/
|
|
63
98
|
o[0].transform
|
|
64
|
-
),
|
|
99
|
+
), a & /*roomLabel*/
|
|
65
100
|
1 && r(
|
|
66
|
-
|
|
101
|
+
n,
|
|
67
102
|
"opacity",
|
|
68
103
|
/*roomLabel*/
|
|
69
104
|
o[0].visible ? 1 : 0
|
|
@@ -72,28 +107,48 @@ function O(t) {
|
|
|
72
107
|
i: v,
|
|
73
108
|
o: v,
|
|
74
109
|
d(o) {
|
|
75
|
-
o &&
|
|
110
|
+
o && A(n), d = !1, p();
|
|
76
111
|
}
|
|
77
112
|
};
|
|
78
113
|
}
|
|
79
|
-
function R(t,
|
|
80
|
-
let { five:
|
|
81
|
-
function
|
|
82
|
-
|
|
114
|
+
function R(t, n, e) {
|
|
115
|
+
let i, f, s, m, d, p, { five: o } = n, { roomLabel: a } = n, { fontSize: _ = "md" } = n;
|
|
116
|
+
function h() {
|
|
117
|
+
o.setState({
|
|
83
118
|
panoIndex: a.panoIndex,
|
|
84
119
|
mode: "Panorama",
|
|
85
120
|
longitude: a.longitude
|
|
86
121
|
});
|
|
87
122
|
}
|
|
88
123
|
return t.$$set = (l) => {
|
|
89
|
-
"five" in l &&
|
|
90
|
-
},
|
|
124
|
+
"five" in l && e(5, o = l.five), "roomLabel" in l && e(0, a = l.roomLabel), "fontSize" in l && e(6, _ = l.fontSize);
|
|
125
|
+
}, t.$$.update = () => {
|
|
126
|
+
var l;
|
|
127
|
+
t.$$.dirty & /*fontSize*/
|
|
128
|
+
64 && e(9, i = E[_]), t.$$.dirty & /*fontConfig*/
|
|
129
|
+
512 && e(3, f = b((i == null ? void 0 : i.name) || 12)), t.$$.dirty & /*fontConfig*/
|
|
130
|
+
512 && e(8, s = ((l = i == null ? void 0 : i.padding) == null ? void 0 : l.room) || [6, 5]), t.$$.dirty & /*padding*/
|
|
131
|
+
256 && e(2, m = `${b(s[1])} ${b(s[0])}`), t.$$.dirty & /*fontConfig, padding*/
|
|
132
|
+
768 && e(7, d = ((i == null ? void 0 : i.lineHeight) || 14) + s[1] * 2), t.$$.dirty & /*textHeight*/
|
|
133
|
+
128 && e(1, p = b(-(64 - d)));
|
|
134
|
+
}, [
|
|
135
|
+
a,
|
|
136
|
+
p,
|
|
137
|
+
m,
|
|
138
|
+
f,
|
|
139
|
+
h,
|
|
140
|
+
o,
|
|
141
|
+
_,
|
|
142
|
+
d,
|
|
143
|
+
s,
|
|
144
|
+
i
|
|
145
|
+
];
|
|
91
146
|
}
|
|
92
|
-
class
|
|
93
|
-
constructor(
|
|
94
|
-
super(),
|
|
147
|
+
class N extends j {
|
|
148
|
+
constructor(n) {
|
|
149
|
+
super(), S(this, n, R, M, w, { five: 5, roomLabel: 0, fontSize: 6 }, H);
|
|
95
150
|
}
|
|
96
151
|
}
|
|
97
152
|
export {
|
|
98
|
-
|
|
153
|
+
N as default
|
|
99
154
|
};
|
|
@@ -1,203 +1,217 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var A = Object.defineProperty, B = Object.defineProperties;
|
|
2
|
+
var E = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var R = Object.getOwnPropertySymbols;
|
|
4
|
+
var J = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var x = (o, t, e) => t in o ? A(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, C = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
J.call(t, e) && x(o, e, t[e]);
|
|
8
|
+
if (R)
|
|
9
|
+
for (var e of R(t))
|
|
10
|
+
K.call(t, e) && x(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, D = (o, t) =>
|
|
13
|
-
import { SvelteComponent as
|
|
14
|
-
import { Raycaster as
|
|
15
|
-
import
|
|
16
|
-
import { svelteResizeObserver as
|
|
12
|
+
}, D = (o, t) => B(o, E(t));
|
|
13
|
+
import { SvelteComponent as N, init as Q, safe_not_equal as X, append_styles as Y, element as Z, attr as $, insert as T, action_destroyer as ee, listen as U, update_keyed_each as te, check_outros as oe, transition_in as W, transition_out as j, detach as V, run_all as ne, afterUpdate as re, onDestroy as ie, globals as se, empty as le, create_component as ce, mount_component as ae, destroy_component as fe, group_outros as me, outro_and_destroy_block as ue } from "../vendor/svelte/internal/index.js";
|
|
14
|
+
import { Raycaster as pe, Vector3 as w } from "three";
|
|
15
|
+
import de from "./RoomLabelItem.js";
|
|
16
|
+
import { svelteResizeObserver as he } from "../shared-utils/svelte/resizeObserver.js";
|
|
17
|
+
import { getGlobalResponsiveFontSize as _e, getCurrentFontSize as be } from "../shared-utils/fontSize.js";
|
|
17
18
|
import "./Assets/roomLabelBg.js";
|
|
19
|
+
import "../shared-utils/px2rem.js";
|
|
18
20
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
19
|
-
const { Map:
|
|
20
|
-
function
|
|
21
|
-
|
|
21
|
+
const { Map: ge } = se;
|
|
22
|
+
function ye(o) {
|
|
23
|
+
Y(o, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
22
24
|
}
|
|
23
|
-
function
|
|
25
|
+
function H(o, t, e) {
|
|
24
26
|
const c = o.slice();
|
|
25
|
-
return c[
|
|
27
|
+
return c[15] = t[e], c;
|
|
26
28
|
}
|
|
27
|
-
function
|
|
28
|
-
let e, c,
|
|
29
|
-
return c = new
|
|
29
|
+
function O(o, t) {
|
|
30
|
+
let e, c, l;
|
|
31
|
+
return c = new de({
|
|
30
32
|
props: {
|
|
31
33
|
roomLabel: (
|
|
32
34
|
/*roomLabelItem*/
|
|
33
|
-
t[
|
|
35
|
+
t[15]
|
|
34
36
|
),
|
|
35
37
|
five: (
|
|
36
38
|
/*five*/
|
|
37
39
|
t[1]
|
|
40
|
+
),
|
|
41
|
+
fontSize: (
|
|
42
|
+
/*fontSize*/
|
|
43
|
+
t[4]
|
|
38
44
|
)
|
|
39
45
|
}
|
|
40
46
|
}), {
|
|
41
47
|
key: o,
|
|
42
48
|
first: null,
|
|
43
49
|
c() {
|
|
44
|
-
e =
|
|
50
|
+
e = le(), ce(c.$$.fragment), this.first = e;
|
|
45
51
|
},
|
|
46
|
-
m(n,
|
|
47
|
-
|
|
52
|
+
m(n, f) {
|
|
53
|
+
T(n, e, f), ae(c, n, f), l = !0;
|
|
48
54
|
},
|
|
49
|
-
p(n,
|
|
55
|
+
p(n, f) {
|
|
50
56
|
t = n;
|
|
51
57
|
const a = {};
|
|
52
|
-
|
|
58
|
+
f & /*roomLabels*/
|
|
53
59
|
1 && (a.roomLabel = /*roomLabelItem*/
|
|
54
|
-
t[
|
|
60
|
+
t[15]), f & /*five*/
|
|
55
61
|
2 && (a.five = /*five*/
|
|
56
|
-
t[1]),
|
|
62
|
+
t[1]), f & /*fontSize*/
|
|
63
|
+
16 && (a.fontSize = /*fontSize*/
|
|
64
|
+
t[4]), c.$set(a);
|
|
57
65
|
},
|
|
58
66
|
i(n) {
|
|
59
|
-
|
|
67
|
+
l || (W(c.$$.fragment, n), l = !0);
|
|
60
68
|
},
|
|
61
69
|
o(n) {
|
|
62
|
-
|
|
70
|
+
j(c.$$.fragment, n), l = !1;
|
|
63
71
|
},
|
|
64
72
|
d(n) {
|
|
65
|
-
n && V(e),
|
|
73
|
+
n && V(e), fe(c, n);
|
|
66
74
|
}
|
|
67
75
|
};
|
|
68
76
|
}
|
|
69
|
-
function
|
|
70
|
-
let t, e = [], c = new
|
|
77
|
+
function ze(o) {
|
|
78
|
+
let t, e = [], c = new ge(), l, n, f, a = (
|
|
71
79
|
/*roomLabels*/
|
|
72
80
|
o[0]
|
|
73
81
|
);
|
|
74
|
-
const
|
|
82
|
+
const u = (r) => (
|
|
75
83
|
/*roomLabelItem*/
|
|
76
|
-
|
|
84
|
+
r[15].id
|
|
77
85
|
);
|
|
78
|
-
for (let
|
|
79
|
-
let s =
|
|
80
|
-
c.set(
|
|
86
|
+
for (let r = 0; r < a.length; r += 1) {
|
|
87
|
+
let s = H(o, a, r), p = u(s);
|
|
88
|
+
c.set(p, e[r] = O(p, s));
|
|
81
89
|
}
|
|
82
90
|
return {
|
|
83
91
|
c() {
|
|
84
|
-
t =
|
|
85
|
-
for (let
|
|
86
|
-
e[
|
|
87
|
-
|
|
92
|
+
t = Z("div");
|
|
93
|
+
for (let r = 0; r < e.length; r += 1)
|
|
94
|
+
e[r].c();
|
|
95
|
+
$(t, "class", "room-labels-container svelte-9eg4zi");
|
|
88
96
|
},
|
|
89
|
-
m(
|
|
90
|
-
|
|
91
|
-
for (let
|
|
92
|
-
e[
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
97
|
+
m(r, s) {
|
|
98
|
+
T(r, t, s);
|
|
99
|
+
for (let p = 0; p < e.length; p += 1)
|
|
100
|
+
e[p] && e[p].m(t, null);
|
|
101
|
+
l = !0, n || (f = [
|
|
102
|
+
ee(he.call(null, t)),
|
|
103
|
+
U(
|
|
96
104
|
t,
|
|
97
105
|
"clientWidth",
|
|
98
106
|
/*clientWidth_handler*/
|
|
99
|
-
o[
|
|
107
|
+
o[7]
|
|
100
108
|
),
|
|
101
|
-
|
|
109
|
+
U(
|
|
102
110
|
t,
|
|
103
111
|
"clientHeight",
|
|
104
112
|
/*clientHeight_handler*/
|
|
105
|
-
o[
|
|
113
|
+
o[8]
|
|
106
114
|
)
|
|
107
115
|
], n = !0);
|
|
108
116
|
},
|
|
109
|
-
p(
|
|
110
|
-
s & /*roomLabels, five*/
|
|
111
|
-
|
|
112
|
-
|
|
117
|
+
p(r, [s]) {
|
|
118
|
+
s & /*roomLabels, five, fontSize*/
|
|
119
|
+
19 && (a = /*roomLabels*/
|
|
120
|
+
r[0], me(), e = te(e, s, u, 1, r, a, c, t, ue, O, null, H), oe());
|
|
113
121
|
},
|
|
114
|
-
i(
|
|
115
|
-
if (!
|
|
122
|
+
i(r) {
|
|
123
|
+
if (!l) {
|
|
116
124
|
for (let s = 0; s < a.length; s += 1)
|
|
117
|
-
|
|
118
|
-
|
|
125
|
+
W(e[s]);
|
|
126
|
+
l = !0;
|
|
119
127
|
}
|
|
120
128
|
},
|
|
121
|
-
o(
|
|
129
|
+
o(r) {
|
|
122
130
|
for (let s = 0; s < e.length; s += 1)
|
|
123
|
-
|
|
124
|
-
|
|
131
|
+
j(e[s]);
|
|
132
|
+
l = !1;
|
|
125
133
|
},
|
|
126
|
-
d(
|
|
127
|
-
|
|
134
|
+
d(r) {
|
|
135
|
+
r && V(t);
|
|
128
136
|
for (let s = 0; s < e.length; s += 1)
|
|
129
137
|
e[s].d();
|
|
130
|
-
n = !1,
|
|
138
|
+
n = !1, ne(f);
|
|
131
139
|
}
|
|
132
140
|
};
|
|
133
141
|
}
|
|
134
|
-
function
|
|
135
|
-
var
|
|
136
|
-
let c, { five:
|
|
137
|
-
|
|
138
|
-
|
|
142
|
+
function Le(o, t, e) {
|
|
143
|
+
var S;
|
|
144
|
+
let c, { five: l } = t, { roomLabels: n } = t, f, a, u = (S = l.model.shownFloor) != null ? S : null;
|
|
145
|
+
const r = _e();
|
|
146
|
+
let s = be();
|
|
147
|
+
typeof r == "object" && "subscribe" in r && r.subscribe((i) => {
|
|
148
|
+
e(4, s = i);
|
|
149
|
+
});
|
|
150
|
+
function p(i) {
|
|
151
|
+
if (!(u === null || i.floorIndex === u))
|
|
139
152
|
return !1;
|
|
140
|
-
const _ = new
|
|
141
|
-
_.set(
|
|
142
|
-
const [h] =
|
|
143
|
-
return !(h && h.distance + 1 <
|
|
153
|
+
const _ = new pe(), d = l.camera.position.clone(), g = new w(i.position.x, i.position.y, i.position.z), m = g.distanceTo(d);
|
|
154
|
+
_.set(d.clone(), g.clone().sub(d).normalize());
|
|
155
|
+
const [h] = l.model.intersectRaycaster(_);
|
|
156
|
+
return !(h && h.distance + 1 < m);
|
|
144
157
|
}
|
|
145
|
-
function
|
|
146
|
-
const
|
|
147
|
-
return `translate(${
|
|
158
|
+
function q(i, b) {
|
|
159
|
+
const d = new w(i.position.x, i.position.y, i.position.z).clone().project(l.camera), g = Math.ceil((d.x + 1) / 2 * b.x), m = Math.ceil((-d.y + 1) / 2 * b.y);
|
|
160
|
+
return `translate(${g}px, ${m}px)`;
|
|
148
161
|
}
|
|
149
|
-
function
|
|
150
|
-
const { rendererSize:
|
|
151
|
-
function
|
|
152
|
-
const h = _.get(
|
|
162
|
+
function z(i) {
|
|
163
|
+
const { rendererSize: b } = i, _ = /* @__PURE__ */ new Map();
|
|
164
|
+
function d(m) {
|
|
165
|
+
const h = _.get(m.id);
|
|
153
166
|
if (h)
|
|
154
167
|
return h;
|
|
155
|
-
const { x: L, y: v, z: k } =
|
|
156
|
-
return _.set(
|
|
168
|
+
const { x: L, y: v, z: k } = m.position, y = new w(L, v, k).clone().distanceTo(l.camera.position);
|
|
169
|
+
return _.set(m.id, y), y;
|
|
157
170
|
}
|
|
158
|
-
return n.map((
|
|
159
|
-
const h =
|
|
160
|
-
return D(C({},
|
|
171
|
+
return n.map((m) => {
|
|
172
|
+
const h = p(m), L = h ? q(m, b) : m.transform, v = d(m), y = n.filter((M) => M.visible && d(M) < v).length * 10;
|
|
173
|
+
return D(C({}, m), { visible: h, transform: L, zIndex: y });
|
|
161
174
|
});
|
|
162
175
|
}
|
|
163
|
-
function
|
|
164
|
-
e(0, n =
|
|
176
|
+
function F() {
|
|
177
|
+
e(0, n = z({ rendererSize: c, shownFloor: u }));
|
|
165
178
|
}
|
|
166
|
-
function
|
|
167
|
-
e(
|
|
179
|
+
function I(i) {
|
|
180
|
+
e(5, u = i);
|
|
168
181
|
}
|
|
169
|
-
|
|
170
|
-
e(0, n =
|
|
171
|
-
}),
|
|
172
|
-
|
|
182
|
+
l.on("cameraUpdate", F), l.on("modelShownFloorChange", I), re(() => {
|
|
183
|
+
e(0, n = z({ rendererSize: c, shownFloor: u }));
|
|
184
|
+
}), ie(() => {
|
|
185
|
+
l.off("cameraUpdate", F), l.off("modelShownFloorChange", I);
|
|
173
186
|
});
|
|
174
|
-
const
|
|
175
|
-
e(2,
|
|
176
|
-
},
|
|
177
|
-
e(3, a =
|
|
187
|
+
const G = (i) => {
|
|
188
|
+
e(2, f = i.detail);
|
|
189
|
+
}, P = (i) => {
|
|
190
|
+
e(3, a = i.detail);
|
|
178
191
|
};
|
|
179
|
-
return o.$$set = (
|
|
180
|
-
"five" in
|
|
192
|
+
return o.$$set = (i) => {
|
|
193
|
+
"five" in i && e(1, l = i.five), "roomLabels" in i && e(0, n = i.roomLabels);
|
|
181
194
|
}, o.$$.update = () => {
|
|
182
195
|
o.$$.dirty & /*containerWidth, containerHeight*/
|
|
183
|
-
12 && e(
|
|
184
|
-
|
|
196
|
+
12 && e(6, c = { x: f, y: a }), o.$$.dirty & /*rendererSize, shownFloor*/
|
|
197
|
+
96 && e(0, n = z({ rendererSize: c, shownFloor: u }));
|
|
185
198
|
}, [
|
|
186
199
|
n,
|
|
187
|
-
|
|
188
|
-
|
|
200
|
+
l,
|
|
201
|
+
f,
|
|
189
202
|
a,
|
|
190
|
-
|
|
203
|
+
s,
|
|
204
|
+
u,
|
|
191
205
|
c,
|
|
192
|
-
|
|
193
|
-
|
|
206
|
+
G,
|
|
207
|
+
P
|
|
194
208
|
];
|
|
195
209
|
}
|
|
196
|
-
class
|
|
210
|
+
class Ce extends N {
|
|
197
211
|
constructor(t) {
|
|
198
|
-
super(),
|
|
212
|
+
super(), Q(this, t, Le, ze, X, { five: 1, roomLabels: 0 }, ye);
|
|
199
213
|
}
|
|
200
214
|
}
|
|
201
215
|
export {
|
|
202
|
-
|
|
216
|
+
Ce as default
|
|
203
217
|
};
|
|
@@ -4,15 +4,17 @@ import "../vendor/svelte/internal/index.js";
|
|
|
4
4
|
import "three";
|
|
5
5
|
import "./RoomLabelItem.js";
|
|
6
6
|
import "./Assets/roomLabelBg.js";
|
|
7
|
+
import "../shared-utils/fontSize.js";
|
|
8
|
+
import "../shared-utils/px2rem.js";
|
|
7
9
|
import "../shared-utils/svelte/resizeObserver.js";
|
|
8
10
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
9
11
|
import "./utils/parseData.js";
|
|
10
|
-
const
|
|
12
|
+
const b = (o) => new r(o), L = {
|
|
11
13
|
name: "ModelRoomLabelPlugin",
|
|
12
14
|
version: 0
|
|
13
15
|
};
|
|
14
16
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
b as ModelRoomLabelPlugin,
|
|
18
|
+
b as default,
|
|
19
|
+
L as modelRoomLabelPluginServerParams
|
|
18
20
|
};
|