refactor(abut): 벽체·흉벽 카드의 삽도 삭제

- 형상 카드의 삽도 SVG 표시를 제거하고, 삽도 모듈(src/view/abut-section-svg.ts)과 테스트를 삭제
- 입력 격자, 구간 표, 확인 필요 노트는 그대로 둠
- 테스트 637건 통과, 타입 검사·빌드 통과. 브라우저 시각 확인은 미실시

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
ypshimandClaude Haiku 5.5 committed 2026-11-03 18:05:32 +09:00
1 parent 842d372312
commit e1f85e5d86
4 files changed
+2 -103

No files matched your search

-9
View File
@@ -12,7 +12,6 @@ import { applyAbutEdit, applyBearingEdit, applyShapeEdit, ABUT_EDIT_FIELDS, SHAP
import { ABUT_SHAPE_DEFAULT, resolveShape } from './core/abut/shape';
import { abutShown, piersShown } from './core/abut/visibility';
import { abutMemberRows, ABUT_MEMBER_EDITABLE, type AbutMemberId } from './core/abut/member-list';
import { abutSectionSvg } from './view/abut-section-svg';
import type { WingForm } from './core/abut/geometry';
import { buildMembers } from './core/abut/members';
import { buildWings } from './core/abut/wings';
@@ -791,14 +790,6 @@ function fillAbutSlot(slot: (typeof ABUT_SLOTS)[keyof typeof ABUT_SLOTS], rec: A
wingBox.replaceChildren();
bearings.replaceChildren();
shape.replaceChildren();
// 삽도 (벽체·흉벽 개략 단면): the values it names are the card's values, so the drawing follows each change.
const drawing = el('div', undefined, 'abut-section');
drawing.innerHTML = abutSectionSvg(
resolveShape(rec.shape),
{ ...ABUT_SHAPE_DEFAULT, ...(rec.shape ?? {}) },
{ seatEl: rec.seatEl, footingBottomEl: rec.foundationBottomEl, groundEl: rec.groundEl },
);
shape.append(drawing);
msg.textContent = '';
const apply = (next: AbutRecord) => {
state.abutments = state.abutments.map((a) => (a.name === next.name ? next : a));