Ressourcen: Dachtypen-Tab (Schicht-Editor wie Wand/Decke)

Dachaufbauten sind jetzt im Ressourcen-Manager anleg-/editier-/löschbar
(RoofStylesTab auf dem LayeredStylesTab-Rumpf, Ressource roofTypes):
Schichtliste mit Bauteil/Dicke/Fugen-Linienstil, Löschen geschützt solange
ein Dach den Typ referenziert. Host-/App-Handler (patch/add/deleteRoofType)
+ i18n de/en. Vervollständigt die Dach-Schichtlogik (3a986ec) um die UI.
This commit is contained in:
2026-07-10 18:35:34 +02:00
parent b029ce0139
commit 83abc1d87b
6 changed files with 106 additions and 0 deletions
+5
View File
@@ -17,6 +17,7 @@ import type { DisplayMode } from "./types";
import type {
AttributeSource,
CeilingType,
RoofType,
Component,
ContextObject,
DrawingLevel,
@@ -132,6 +133,10 @@ export interface PanelHostValue {
onPatchCeilingType: (id: string, patch: Partial<CeilingType>) => void;
onAddCeilingType: () => void;
onDeleteCeilingType: (id: string) => void;
/** Dachtypen (Dachaufbauten): immutable Änderung/Anlage/Löschung. */
onPatchRoofType: (id: string, patch: Partial<RoofType>) => void;
onAddRoofType: () => void;
onDeleteRoofType: (id: string) => void;
/** Import fertiger (id-loser) Linienstile/Schraffuren (.lin/.pat). */
onImportLineStyles: (styles: Omit<LineStyle, "id">[]) => void;
onImportHatches: (hatches: Omit<HatchStyle, "id">[]) => void;