feat(ui): B05/B06 구조물 조합 고르기 모달 상단에 M02 구조물집계표 보기 전용 표 (224-1)

- 고른 항목이 속한 층 · 주인의 구조물집계표를 M02 와 같은 표 부품 · 줄 글 도우미(numberLabels) · 숨김 열 규칙(comboView)으로 보임
- 같은 층 다른 조합 = 열만 옮김 · 다른 층 = 표 바뀜 · 편집 화면에서는 숨김
- 새 시험 test_224_1 · test_m02_combo_table 단정 고침

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015sDZSjFvoiDjdGpgj3muc3
This commit is contained in:
2026-10-10 16:31:18 +09:00
co-authored by Claude Sonnet 5.5
parent 9085a51056
commit 91e85cfd95
11 changed files with 453 additions and 10 deletions
@@ -86,6 +86,17 @@ export function laborSumState(
return numbers?.합계상태 ? { state: numbers.합계상태, why: numbers.합계까닭 ?? "" } : undefined;
}
/** 구조물 조합 표 번호 · 합계 줄 글(86-3 · 101-1) — 관리 화면과 고르기 모달 상단 표(224-1)가 같은 한 벌 */
export function numberLabels(numbers: () => ColumnNumbers) {
return {
laborLabel: (colId: string) => numbers()[colId]?.일위대가번 ?? "",
drawingLabel: (colId: string) => numbers()[colId]?.도번 ?? "",
areaLabel: (colId: string) => numbers()[colId]?.면적번 ?? "",
laborSumLabel: (colId: string) => laborSumText(numbers()[colId]),
laborSumState: (colId: string) => laborSumState(numbers()[colId]),
};
}
/** 집계표 열 — 머리 글(제목행 종류 · 분류1 · 분류2 · 분류3) · 꼴만 씀 */
export interface StructureColumn {
id: string;