From 7225903fc436c48edc22aff3d64f94d90451dad9 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Mon, 29 Sep 2025 14:25:10 -0600 Subject: [PATCH] Refine SPA shell and query builder UI --- nuxt4-app/app/app.vue | 12 +- nuxt4-app/pages/index.vue | 717 +++++++++++++++++++++++++++++++------- 2 files changed, 590 insertions(+), 139 deletions(-) diff --git a/nuxt4-app/app/app.vue b/nuxt4-app/app/app.vue index f59516e..ead027d 100644 --- a/nuxt4-app/app/app.vue +++ b/nuxt4-app/app/app.vue @@ -1,6 +1,10 @@ diff --git a/nuxt4-app/pages/index.vue b/nuxt4-app/pages/index.vue index 8d2ee7e..5c80d44 100644 --- a/nuxt4-app/pages/index.vue +++ b/nuxt4-app/pages/index.vue @@ -3,120 +3,221 @@ -
- - - +
+
+ + + - - - + + + - - - + + + - - - -
+ + + - + +
+ + + +

{{ queryState.error }}

+

+ Segmento codificado: {{ queryState.encoded }} +

+

+ Se codifica automáticamente en base64-url para construir la ruta /api/data/{{ request.table || ':tabla' }}/{{ + queryState.encoded || ':query' + }}. +

+
+ + + + + + +
+ + Limpiar + + + Ejecutar consulta + +
+
{{ errorMessage }}
-
- +
+
+ + +
+
+
Clave primaria
+
{{ meta.primaryKey }}
+
+
+
Tamaño aprox.
+
{{ formatSize(meta.approxSizeBytes) }}
+
+
+
Creación desde
+
{{ formatDate(meta.createdAtRange?.from) }}
+
+
+
Creación hasta
+
{{ formatDate(meta.createdAtRange?.to) }}
+
+
+ +
+
+ +
+ + +
+
+
Clave primaria
+
{{ activeMetadata.primaryKey }}
+
+
+
Última consulta
+
{{ formatDate(activeMetadata.lastRefreshed) }}
+
+
+
Tamaño aprox.
+
{{ formatSize(activeMetadata.approxSizeBytes) }}
+
+
+
Rango de creación
+
+ {{ formatDate(activeMetadata.createdAtRange?.from) }} — {{ formatDate(activeMetadata.createdAtRange?.to) }} +
+
+
+ +
+ + + +
{{ formatSample(activeMetadata.sampleRow) }}
+
+
+ + -
-
-
Clave primaria
-
{{ activeMetadata.primaryKey }}
-
-
-
Última consulta
-
{{ formatDate(activeMetadata.lastRefreshed) }}
-
-
-
Tamaño aprox.
-
{{ formatSize(activeMetadata.approxSizeBytes) }}
-
-
-
Rango de creación
-
- {{ formatDate(activeMetadata.createdAtRange?.from) }} - — - {{ formatDate(activeMetadata.createdAtRange?.to) }} -
-
-
- - +
{{ formatSample(metadataRecord.metadata) }}
+
- - -
{{ formatSample(activeMetadata.sampleRow) }}
-
-
- - +
+
+ Ejecuta una consulta de datos para ver resultados aquí. +
- No hay datos que coincidan con los filtros actuales. + No se encontraron registros para los criterios seleccionados.
@@ -137,62 +238,356 @@
+ + + +
{{ formatSample(rawResponse) }}
+