feat(b09): 호표별 보기 → 박스보기 · 접기 없앰 · 목록표에서 고른 호표 붉은 외곽선(박스 · 표 줄 구간 전체)(181-2)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01STqEqztUthVFBmEP18wBSz
This commit is contained in:
2026-10-10 11:51:20 +09:00
co-authored by Claude Sonnet 5.5
parent 626c60b68f
commit be57e54fff
9 changed files with 171 additions and 61 deletions
+5 -2
View File
@@ -192,7 +192,8 @@ export function renderB09Estimation(root: HTMLElement): void {
const goto = (link: Link | null): void => {
if (link) show(link.tab, link.key);
};
const makeTable = (): DataTable => {
// extra = 줄 class 곁값(181-2 표 보기 호표 구간)
const makeTable = (extra?: (index: number) => string | null): DataTable => {
const made = createDataTable({
columns: spec.columns,
rows: spec.rows,
@@ -202,7 +203,9 @@ export function renderB09Estimation(root: HTMLElement): void {
caption: TABS.find(([id]) => id === tab)?.[1],
editable: spec.editable,
onEdit: spec.onEdit,
rowClass: spec.rowClass,
rowClass: extra
? (i) => [spec.rowClass?.(i), extra(i)].filter(Boolean).join(" ") || null
: spec.rowClass,
onCellClick: (i, key) => {
if (spec.onCell) spec.onCell(i, key);
if (spec.link && !spec.editable?.(i, key)) goto(spec.link(i, key));