From b90eb83acb503a088914e673296831d7460ab76e Mon Sep 17 00:00:00 2001 From: Hanzo_dev <2002samudiojohan@gmail.com> Date: Fri, 27 Feb 2026 10:57:42 -0500 Subject: [PATCH] =?UTF-8?q?feat(UI):=20actualizaci=C3=B3n=20de=20colores?= =?UTF-8?q?=20de=20ruta=20a=20amarillo=20y=20fix=20navegaci=C3=B3n=20trans?= =?UTF-8?q?porte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/split.py | 149 +++ .../src/composables/useDirectionsRoute.ts | 16 +- frontend/src/composables/useFlujoPrincipal.ts | 203 ++++ frontend/src/composables/useGoogleMaps.ts | 39 +- frontend/src/composables/useMapState.ts | 116 +++ frontend/src/composables/useParadaCercana.ts | 12 +- frontend/src/router/index.ts | 35 +- frontend/src/views/MapView.vue | 178 +--- frontend/src/views/TransporteLayout.vue | 121 +++ .../ShuttleDetalle.vue} | 16 +- .../TaxisLocales.vue} | 170 +--- .../src/views/transporte/ViajesTuristicos.vue | 901 ++++++++++++++++++ 12 files changed, 1624 insertions(+), 332 deletions(-) create mode 100644 frontend/split.py create mode 100644 frontend/src/composables/useFlujoPrincipal.ts create mode 100644 frontend/src/composables/useMapState.ts create mode 100644 frontend/src/views/TransporteLayout.vue rename frontend/src/views/{ShuttleDetalleView.vue => transporte/ShuttleDetalle.vue} (94%) rename frontend/src/views/{TaxiView.vue => transporte/TaxisLocales.vue} (77%) create mode 100644 frontend/src/views/transporte/ViajesTuristicos.vue diff --git a/frontend/split.py b/frontend/split.py new file mode 100644 index 0000000..f09162b --- /dev/null +++ b/frontend/split.py @@ -0,0 +1,149 @@ +import re + +with open('src/views/TaxiView.vue', 'r', encoding='utf-8') as f: + text = f.read() + +# Just extract the content using regex +template_match = re.search(r'\s*(.*?)', template_content, re.DOTALL) + tab2_match = re.search(r'(.*?)\s*$', template_content, re.DOTALL) + + if tab1_match and tab2_match: + tab1_code = tab1_match.group(1) + tab2_code = tab2_match.group(1) + + # Clean up the `