feat: implementar modal gestión capas y limpieza de stubs duplicados

This commit is contained in:
2026-05-08 09:01:00 +02:00
parent 199fb487c2
commit 7461bd9124
11 changed files with 121 additions and 705 deletions
+11
View File
@@ -16,6 +16,7 @@ class ProjectMap extends Component
public Project $project;
public $phases;
public $activeLayers = [];
public $showLayerModal = false;
// Editor properties
public $selectedFeature = null; // será instancia de Feature
@@ -57,6 +58,16 @@ class ProjectMap extends Component
$this->dispatch('layersUpdated', $this->activeLayers);
}
public function openLayerModal()
{
$this->showLayerModal = true;
}
public function closeLayerModal()
{
$this->showLayerModal = false;
}
/**
* Actualizar el progreso de un Feature y recalcular el progreso de la fase.
*/