refactor(plan): 형상계획 ②의 "A1 입력값" 읽기 전용 목록과 입력 배지 제거

- ②의 교대 제목은 이름과 편집 버튼만 남김. 편집 버튼은 받침·날개벽·형상 카드를 여는 역할을 유지
- 읽기 전용 9행 목록은 ②에서 그리지 않음. 같은 값은 ①의 교대 입력 패널과 삽도 라벨, 부재 · 교대 행 요약에 있음
- 테스트 631건 통과, 타입 검사·빌드 통과. 브라우저 시각 확인은 미실시

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
ypshimandClaude Haiku 5.5 committed 2026-11-03 15:36:21 +09:00
1 parent 789f62adf0
commit 5c2b23211e
2 files changed
+4 -4

No files matched your search

+1 -2
View File
@@ -184,9 +184,8 @@
<div class="phead" aria-hidden="true"><span>교각</span><span>변경</span></div>
<ul id="plan-pier-items" class="pier-items"></ul>
<section id="abut-panel-plan" class="pier-input" hidden aria-labelledby="abut-panel-plan-title">
<p id="abut-panel-plan-title" class="lbl"><span id="abut-panel-plan-name"></span> 입력값 <span class="badge">입력</span>
<p id="abut-panel-plan-title" class="lbl"><span id="abut-panel-plan-name"></span>
<button id="abut-panel-plan-edit-toggle" class="btn small" type="button" aria-expanded="false">편집</button></p>
<dl id="abut-panel-plan-input" class="kv wide"></dl>
<div id="abut-panel-plan-editor" hidden>
<div id="abut-panel-plan-basic" class="edit-row"></div>
<details class="abut-group">
+3 -2
View File
@@ -614,7 +614,7 @@ function focusAbut(name: string): void {
/** The 교대 입력 panel slots of ① (replaces the pier info) and ② (under the list). */
const ABUT_SLOTS = {
shape: { root: 'abut-panel', name: 'abut-panel-name', input: 'abut-panel-input', toggle: 'abut-panel-edit-toggle', editor: 'abut-panel-editor', summary: 'abut-panel-summary', basic: 'abut-panel-basic', bearings: 'abut-panel-bearings', shape: 'abut-panel-shape', msg: 'abut-panel-msg', prefix: 'abs' },
plan: { wing: 'abut-panel-plan-wing', root: 'abut-panel-plan',name: 'abut-panel-plan-name', input: 'abut-panel-plan-input', toggle: 'abut-panel-plan-edit-toggle', editor: 'abut-panel-plan-editor', summary: 'abut-panel-plan-summary', basic: 'abut-panel-plan-basic', bearings: 'abut-panel-plan-bearings', shape: 'abut-panel-plan-shape', msg: 'abut-panel-plan-msg', prefix: 'abp' },
plan: { wing: 'abut-panel-plan-wing', root: 'abut-panel-plan',name: 'abut-panel-plan-name', toggle: 'abut-panel-plan-edit-toggle', editor: 'abut-panel-plan-editor', summary: 'abut-panel-plan-summary', basic: 'abut-panel-plan-basic', bearings: 'abut-panel-plan-bearings', shape: 'abut-panel-plan-shape', msg: 'abut-panel-plan-msg', prefix: 'abp' },
} as const;
/** Shows the 교대 입력 in place of the pier info when an abutment is selected (2026-11-03). */
@@ -676,7 +676,8 @@ function fillAbutSlot(slot: (typeof ABUT_SLOTS)[keyof typeof ABUT_SLOTS], rec: A
dl.replaceChildren();
for (const [label, value] of rows) dl.append(el('dt', label), el('dd', value));
};
fillList($<HTMLDListElement>(slot.input), abutInputRows(rec));
// ② has no 입력값 list: its values are in ① and on the 삽도 labels (2026-11-03).
if ('input' in slot) fillList($<HTMLDListElement>(slot.input), abutInputRows(rec));
fillList($<HTMLDListElement>(slot.summary), abutSummaryRows(rec).filter(([label]) => ABUT_DETAIL_LABELS.includes(label)));
// 편집 opens the editable fields; they stay closed until asked for (2026-11-03).
const toggle = $<HTMLButtonElement>(slot.toggle);