Conectar: Configuración and Avanzado tabs, rows instead of JSON, field titles as keys, captions that fit their nodes

This commit is contained in:
Roberto Treviño
2026-11-29 15:24:24 -06:00
parent b48c025400
commit bb506c3926
8 changed files with 498 additions and 61 deletions
+20 -1
View File
@@ -128,6 +128,25 @@
}
</mat-form-field>
}
@case ('columns') {
<mat-form-field appearance="outline" class="full">
<mat-label>{{ f.label }}</mat-label>
<mat-select
multiple
[ngModel]="listed(name)"
(ngModelChange)="set(name, $event.length ? $event : null)"
[attr.data-field]="name"
placeholder="Todas"
>
@for (c of columnOptions(name); track c) {
<mat-option [value]="c">{{ c }}</mat-option>
}
</mat-select>
<mat-hint>{{
columnOptions(name).length ? f.help : 'Pulse «Probar conexión» para ver las columnas.'
}}</mat-hint>
</mat-form-field>
}
@case ('folder') {
<div class="picker">
<mat-form-field appearance="outline" class="grow">
@@ -319,7 +338,7 @@
</p>
@if (t.detail) {
<details>
<summary>Lo que respondió el sistema</summary>
<summary>Respuesta de la fuente</summary>
<pre>{{ t.detail }}</pre>
</details>
}