Files
Aislo/B05_Profile/B05_Profile_UI_Profile_SideTool.ts
T
eomsangdonandClaude Opus 5.5 3349b53a54 fix(369-4 B05 배수유역): 판 홀로 서기 — 되돌리기 이음은 _Panel_Types 약속으로
- 배수유역 Live · Panel 이 종단 _Profile_History 를 직접 가져오던 것 걷음(24-2e)
- 새 약속 onPipesDrafted(관 초안 = 사진첩 한 걸음) · isReplaying(되쓰는 중) — 판을 끼우는 SideTool 이 넘김
- 되돌리기 동작 그대로 · test_349_drainage_live_flow 도우미를 새 꼴로

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VmC34fsxxbweEG3RUjs3Mn
2026-10-17 17:56:49 +09:00

18 lines
1007 B
TypeScript

/* =============================================================================
* B05_Profile_UI_Profile_SideTool.ts
* 종단도 오른쪽 판(배수유역도)을 두 보기에 **같은 모양**으로 끼운다(계획서 24-2c · 24-2e).
* 판 본체는 `_Drainage_Side`(sub7). 판은 늘 보이고 접기 · 펼치기는 판 안 손잡이 하나로(282-1).
* ========================================================================== */
import type { DesignSideFactory } from "../A00_Common/design/design_profile";
import { createDrainageSide } from "./B05_Profile_UI_Drainage_Side";
import { pageHistory, pageReplaying } from "./B05_Profile_UI_Profile_History";
/** 오른쪽 판 — 두 보기가 같은 판을 쓴다. 되돌리기 이음은 판 대신 여기서(369-4 · 판은 종단 패널을 안 가져옴). */
export const drainageSide: DesignSideFactory = (host) =>
createDrainageSide({
...host,
onPipesDrafted: () => pageHistory()?.record(),
isReplaying: pageReplaying,
});