fix(좌측 카드): 모든 좌측 카드 기본 닫힘 — 공용 카드 · 칸 틀 · 구조물 배치 · B07 묶음 · M02 구조물 집계 양식 (389-3)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QfHKQs7J3hQELKMWQMUJEy
This commit is contained in:
2026-10-17 17:24:51 +09:00
co-authored by Claude Sonnet 5.5
parent c53cea0a4e
commit 5b3d1530ac
9 changed files with 39 additions and 23 deletions
@@ -133,13 +133,12 @@ export function buildSide(opt: SideOptions): SideHandle {
});
return sec;
};
// 구조물 집계 양식 — 층 단추 · 나무 · 처음부터 펼침(집계표가 열려 있음) ·
// 구조물 집계 양식 — 층 단추 · 나무 · 처음엔 닫힘(집계표는 가운데에 그대로 열려 있음) ·
// 같은 이름 줄 단추 없음(제목이 그 이름 · 29-6)
const summary = section(
L("M02_KindTable"),
el("div", { className: "m02-side__items ui-sidebar-list", children: opt.tree ?? [] }),
);
summary.classList.remove("is-collapsed");
openOnExpand(summary, async () => {
if (!isPicked("table", STRUCTURE_TABLE) && (await opt.confirmLeave())) opt.onOpen(null);
});