feat(M01): 표 알약 모달 — 참조.줄 있으면 그 차례의 줄을 칠함 (PLAN 5장 6바퀴)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WRFJmmhPi4exAzHgPZHMT
This commit is contained in:
2026-09-24 12:12:25 +09:00
co-authored by Claude Sonnet 5
parent 91f49f22d3
commit c4859d6f45
2 changed files with 8 additions and 2 deletions
@@ -46,7 +46,7 @@ function toFragments(pieces: TextPiece[], ctx: DetailContext): Fragment[] {
const open = (): void => {
if (!ref) return openNoteModal(piece., tl("Pill_NoPick"));
if (piece.kind === "표")
openTableModal({ title: piece.글, table: ref.키, row: ref., col: ref.열 });
openTableModal({ title: piece.글, table: ref.키, row: ref. ?? ref., col: ref.열 });
else if (piece.kind === "요소")
openRefModal({ title: piece.글, ref: ref.키, prices: ctx.prices });
else openLogic(ref.);
@@ -103,7 +103,13 @@ export type CalcAnswer =
export interface TextPiece {
kind: "요소" | "표" | "로직" | "값" | "기호" | "글";
: string;
?: { 테이블?: string; : string; 행?: string | number | null; 열?: string | null };
?: {
테이블?: string;
: string;
행?: string | number | null;
줄?: number;
열?: string | null;
};
깊이?: number;
}
export interface TextLine {