Conectar dialog by kind of source; plain-language canvas; login page and guard; loading indicators as the old app; survival curves of her clinical scenarios in the CaMa record
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
</span>
|
||||
@if (pipelineId()) {
|
||||
@for (k of kinds; track k[0]) {
|
||||
<button mat-stroked-button (click)="add(k[0])"><mat-icon>add</mat-icon>{{ k[1] }}</button>
|
||||
<button mat-stroked-button (click)="add(k[0])" [matTooltip]="help[k[0]]">
|
||||
<mat-icon>add</mat-icon>{{ k[1] }}
|
||||
</button>
|
||||
}
|
||||
<span class="spacer"></span>
|
||||
<button mat-stroked-button (click)="save()">Guardar</button>
|
||||
@@ -70,6 +72,7 @@
|
||||
<mat-icon>delete</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
<p class="help">{{ help[d.kind ?? 'source'] }}</p>
|
||||
<mat-form-field appearance="outline" subscriptSizing="dynamic" class="full">
|
||||
<mat-label>Id</mat-label>
|
||||
<input matInput [value]="d.id" (change)="rename($any($event.target).value)" />
|
||||
@@ -86,12 +89,35 @@
|
||||
} @else if (d.kind !== 'source') {
|
||||
<p class="muted">Una flecha desde otro nodo le da su entrada.</p>
|
||||
}
|
||||
<formly-form
|
||||
[form]="form"
|
||||
[fields]="fields()"
|
||||
[model]="model"
|
||||
(modelChange)="edited($event)"
|
||||
/>
|
||||
@if (guided(d); as g) {
|
||||
<div class="source-summary">
|
||||
<p>
|
||||
<mat-icon>check_circle</mat-icon>
|
||||
{{ d.label || d.id }}
|
||||
</p>
|
||||
<button mat-flat-button (click)="connectSource(d.id)">
|
||||
<mat-icon>edit</mat-icon> Editar conexión
|
||||
</button>
|
||||
</div>
|
||||
<mat-slide-toggle [checked]="advanced()" (change)="advanced.set($event.checked)">
|
||||
Avanzado (para personal técnico)
|
||||
</mat-slide-toggle>
|
||||
} @else if (d.kind === 'source') {
|
||||
<button mat-stroked-button (click)="connectSource(d.id)">
|
||||
<mat-icon>cable</mat-icon> Conectar con ayuda
|
||||
</button>
|
||||
}
|
||||
@if (!guided(d) || advanced()) {
|
||||
@if (guided(d)) {
|
||||
<p class="muted">Si cambia algo aquí, la fuente deja de editarse con ayuda.</p>
|
||||
}
|
||||
<formly-form
|
||||
[form]="form"
|
||||
[fields]="fields()"
|
||||
[model]="model"
|
||||
(modelChange)="edited($event)"
|
||||
/>
|
||||
}
|
||||
@if (conceptMap(d); as cm) {
|
||||
<app-concept-map-editor [id]="cm" />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user