Kern/Huelle Phase A.1: Kern-Lecks behoben (View-/Detail-Typen nach model/viewTypes, Pick-Typen nach plan/pickTypes, geomTransform/curves/lineSegments/layoutModel in den Kern verschoben)
This commit is contained in:
1 parent
1ea0fab6ce
commit
cb79c13753
46 files changed
+373
-344
No files matched your search
@@ -45,7 +45,7 @@ import type {
|
||||
Wall,
|
||||
WallReferenceLine,
|
||||
} from "../model/types";
|
||||
import type { DetailLevel } from "../ui/TopBar";
|
||||
import type { DetailLevel } from "../model/viewTypes";
|
||||
import { localToLv95 } from "../io/lv95";
|
||||
import {
|
||||
resolveForeground,
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
import { generatePlan } from "../plan/generatePlan";
|
||||
import type { CategoryDisplayResolver } from "../plan/generatePlan";
|
||||
import type { DetailLevel } from "../ui/TopBar";
|
||||
import type { DetailLevel } from "../model/viewTypes";
|
||||
import type { DisplayResolver } from "../viewport/Viewport3D";
|
||||
import { savePlanPdf } from "../export/exportPdf";
|
||||
import { savePlanSvg } from "../export/exportSvg";
|
||||
|
||||
@@ -10,7 +10,8 @@ import { add, dot, leftNormal, normalize, scale, sub, wallCorners } from "../mod
|
||||
import type { Ceiling, Drawing2D, EdgeGrip, Project, Room, Stair, Vec2 } from "../model/types";
|
||||
import { wallTypeThickness } from "../model/types";
|
||||
import { drawingVertices } from "./projectSlice";
|
||||
import { areaMovePreview, mvGeom } from "../tools/transform";
|
||||
import { areaMovePreview } from "../tools/transform";
|
||||
import { mvGeom } from "../geometry/geomTransform";
|
||||
import { drawingPreviewShapes } from "../tools/drawingPreview";
|
||||
import type { DraftShape, SnapResult, SnapSettings, ToolDraft, ToolMods } from "../tools/types";
|
||||
import { applyAngleConstraint, computeSnap } from "../tools/snapping";
|
||||
|
||||
@@ -12,7 +12,7 @@ import { useMemo, type RefObject } from "react";
|
||||
import type { DrawingLevel, Layout, Project } from "../model/types";
|
||||
import { resolvePenColor } from "../model/penSets";
|
||||
import type { ToolId } from "../tools/types";
|
||||
import type { ViewType } from "../ui/TopBar";
|
||||
import type { ViewType } from "../model/viewTypes";
|
||||
import type { TransformSelection } from "../tools/transform";
|
||||
import type { PlanViewHandle } from "../plan/PlanView";
|
||||
import type { PanelHostValue } from "../panels/host";
|
||||
@@ -51,7 +51,7 @@ import {
|
||||
moveLayoutToFolder,
|
||||
moveFolderToFolder,
|
||||
patchAnnotation as patchAnnotationInLayout,
|
||||
} from "../panels/layoutModel";
|
||||
} from "../model/layoutModel";
|
||||
import { saveFolderPdf } from "../export/layoutPdf";
|
||||
import type { useProjectActions } from "./useProjectActions";
|
||||
import type { useSelectionState } from "./useSelectionState";
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// neue Zeichnungen / Status-Leiste) — view-seitiger Zustand wie activeLevelId.
|
||||
|
||||
import { sampleProject } from "../model/sampleProject";
|
||||
import type { DetailLevel, RenderMode, View3d, ViewType } from "../ui/TopBar";
|
||||
import type { DetailLevel, RenderMode, View3d, ViewType } from "../model/viewTypes";
|
||||
import type { DisplayMode } from "../panels/types";
|
||||
import { DEFAULT_MARQUEE_COLOR, DEFAULT_SNAP_COLOR } from "../theme/accents";
|
||||
import type { StoreApi } from "./store";
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// Bezeichner englisch, Kommentare deutsch (CONVENTIONS.md).
|
||||
|
||||
import type { OverrideRule, ViewSnapshot, Vec2 } from "../model/types";
|
||||
import type { DetailLevel, View3d, ViewType } from "../ui/TopBar";
|
||||
import type { DetailLevel, View3d, ViewType } from "../model/viewTypes";
|
||||
|
||||
/**
|
||||
* Der wiederherstellbare KERNZUSTAND eines Ausschnitts — alle Felder, die ein
|
||||
|
||||
Reference in new issue
Block a user