fix(M02): 16장 점검 — 지운 열 번호 재사용 막음 · 이름 창 커서 · Enter 만들기 · 바인딩 열 손 입력 막음

- 지운 구조물 열의 도번 8자리를 조합 장부 지운번호에 남겨 새 열이 다시 안 받음(다음 저장에서도)
- 공용 창 틀: 몸의 첫 입력 칸에 커서(붙기 전 focus 가 안 먹던 것)
- 좌측 새로 · 본떠 만들기 이름 창에서 Enter = 만들기
- 표: 바인딩 · 계산 열은 손 입력 열 단추 꺼짐(켜도 프로젝트에서 잠김)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vX53nJGC8ucBRFJns2n7B
This commit is contained in:
2026-09-28 21:56:51 +09:00
co-authored by Claude Opus 5.5
parent 6606ef167a
commit 16de9eed8b
5 changed files with 55 additions and 10 deletions
+4 -1
View File
@@ -23,6 +23,8 @@ import {
deleteColumn,
deleteRow,
isBlankPick,
isBoundColumn,
isCalcColumn,
KEY_PRICE,
KEY_UNIT,
navRows,
@@ -168,7 +170,8 @@ export function createSheet(host: HTMLElement, input: SheetDoc, opts: SheetOptio
const col = state.sel ? colOf(state.sel.c) : undefined;
if (opts.mode === "master") syncLevels(!!col);
colDelete.disabled = !col || state.doc.열.length <= 1;
colHand.disabled = !col;
// 바인딩 · 계산 열은 손 입력이 안 먹음(프로젝트에서 잠김) — 켜지 못하게 · 이미 켜진 것은 끌 수 있게
colHand.disabled = !col || (!col.손 && (isBoundColumn(col) || isCalcColumn(col)));
colHand.classList.toggle("is-on", !!col?.손);
};