0.30.1: Wandliste in der Position bearbeitbar, Fassade aus der Wandliste
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-10-22 13:02:17 +00:00
parent 177c9643c5
commit 8d0f88a9fa
6 changed files with 29 additions and 8 deletions

View File

@@ -114,7 +114,7 @@ export interface BlattOptionen {
/** Präfix der data-k-Schlüssel, z. B. „blatt:<id>:“ */
k: string;
frei: boolean;
/** inline: in der Position (Listen nur lesen); gross: Mengenblatt; vorlage: Vorlagen-Editor mit Spalten */
/** inline: in der Position; gross: Mengenblatt; vorlage: Vorlagen-Editor mit Spalten */
modus: "inline" | "gross" | "vorlage";
einheit?: string | null;
}
@@ -151,7 +151,8 @@ function werteTabelle(b: Blatt, a: Auswertung, o: BlattOptionen, nur?: "eingabe"
function listeHtml(b: Blatt, a: Auswertung, o: BlattOptionen, li: number): string {
const l = b.listen[li]!;
const lesen = o.modus === "inline";
// Henning, 22.10.2026: Wandmaße auch direkt in der Position ändern, wie in den anderen Tabellen
const lesen = !o.frei;
const kopf = l.spalten.map((s) => `<th class="${s.art === "text" ? "" : "zahl"}">${esc(s.bez || s.kz)}${s.einheit ? ` <small>[${esc(s.einheit)}]</small>` : ""}</th>`).join("");
const zeilen = l.zeilen.map((z, zi) => `<tr>${l.spalten.map((s) => {
const sch = `l:${li}:${zi}:${s.kz}`, f = a.fehler[sch];

View File

@@ -1034,6 +1034,10 @@ table.am-t td.zahl { padding-top: 9px; }
table.am-t tr.summe td { font-weight: 700; background: var(--titel-bg); padding-top: 6px; }
table.am-t input, table.am-t select { padding: 4px 7px; font-size: 13px; min-height: 30px; }
table.am-t tr.aus td { opacity: .55; }
/* Wandliste: Kennung schmal, Bezeichnung bekommt den Platz */
table.am-t input[data-k$=".Kennung"] { width: 3.2em; text-align: center; }
table.am-t input[data-k$=".Bezeichnung"] { min-width: 11em; }
table.am-t input.am-eingabe.zahl { min-width: 5.5em; }
table.am-t tr.aus td:nth-last-child(2) { opacity: 1; }
table.am-aufmass td:first-child { width: 40%; }
table.kosten-tabelle tr.kz-subunternehmer td:first-child { box-shadow: inset 3px 0 0 var(--art-sub); }