feat(ui): add AreaDropdown and exclusive toggle with layers panel

New AreaDropdown component for quick station selection (filters by allowed systems, ESC to close)
MapComponent: toggle AreaDropdown via MapMarkerIcon; auto-hide MapLayersControlPanel when dropdown is open and vice versa
fix(alarms): hasActiveAlarm now checks Statis[].Alarm for both array and object shapes
fix(panel): Kabelstrecken now auto-enables TALAS (system-1) when turned on; keeps behavior to disable polylines when TALAS is unchecked; persists visibility to localStorage and emits visibilityChanged
Minor: imports, state wiring, and render guards updated
Affected files:

MapComponent.js
MapLayersControlPanel.js
AreaDropdown.js (new)
This commit is contained in:
ISA
2025-09-15 13:53:16 +02:00
parent d166b2468d
commit 369f29a769
5 changed files with 19 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "nodemap",
"version": "1.1.366",
"version": "1.1.367",
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",