feat(b06): 배관 횡단도 관 고름 강조 · 좌측 「관」 상자 강조(118-1)

- 관 판정면(벽 판정면 아래 — 겹친 자리는 벽) · 누르면 관 두 겹 is-active
- 고름 전용 키 RevetPick(RevetKey | "pipe") — 조정 함수는 RevetKey 그대로
- 조정창 없음(show "pipe" = 숨김 · side "pipe") · 좌측 fieldset[data-spec-container="pipe"] 강조 + 스크롤
- 좌측 「관」 상자 칸 고침 = 관 고름 · B05 3D pipe 키 → B06 관 고름
- 107-1 벽 · 본체 동시 고름 금지 그대로 · 관 숨긴 카드(링크 · 세월교 · 박스)엔 판정면 없음
- 시험 test_118_pipe_pick(helper_118_pipe_pick.cjs)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013rJwJMVL4EE31y77TB11AP
This commit is contained in:
2026-10-08 18:27:34 +09:00
co-authored by Claude Opus 5.5
parent 5f64633df3
commit e53f8d4eff
11 changed files with 494 additions and 46 deletions
@@ -6,7 +6,7 @@
* ========================================================================== */
import type { CrossSection } from "./B06_Section_Api_Fetch";
import type { RevetKey } from "./B06_Section_UI_Cross_Culvert";
import type { RevetKey, RevetPick } from "./B06_Section_UI_Cross_Culvert";
import {
FILL_SLOPE_RATIO_MIN,
PIPE_WALL_DEFAULT_RUN_M,
@@ -81,9 +81,9 @@ export interface StructurePanelContext {
inletOptions: () => { revetAllowed: boolean; basinLUAllowed: boolean };
extraState: () => { canAdd: boolean; count: number };
basinExtraState: () => { canAdd: boolean; count: number };
activeRevet: () => RevetKey | null;
setActiveRevet: (key: RevetKey | null) => void;
toggleRevet: (key: RevetKey) => void;
activeRevet: () => RevetPick | null;
setActiveRevet: (key: RevetPick | null) => void;
toggleRevet: (key: RevetPick) => void;
/** 창 스크롤 자리를 기억할 카드 키(측점 id). */
scrollKey: string;
}