fix(M02): 입력 모달 「면적산출에서 잇기」 — 「저장 안 한 고침」 물음에서 취소면 입력 모달 · 넣던 값 그대로(옮겨 갔을 때만 닫음)

- goArea 가 옮겨 갔는지(참 · 거짓)를 돌려줌 · UI_Main labor 갈래 · 자재 수량 모달도 같은 길

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MgChuAcyBqUkhHMTXomQC7
This commit is contained in:
2026-10-04 21:25:35 +09:00
co-authored by Claude Opus 5.5
parent 46f8b7611d
commit 26f12e081f
3 changed files with 20 additions and 25 deletions
@@ -27,7 +27,7 @@ import {
diagramTitle,
renderComboDiagram,
} from "./M02_MasterTemplete_Labor_Diagram";
import { openLaborInput, openQtyModal } from "./M02_MasterTemplete_Labor_Input";
import { openLaborInput, openQtyModal, type GoArea } from "./M02_MasterTemplete_Labor_Input";
import { openLogicPicker } from "./M02_MasterTemplete_Labor_Pick";
import { logicTable, matTable } from "./M02_MasterTemplete_Labor_Rows";
import { tc } from "./M02_MasterTemplete_Labor_Text";
@@ -44,8 +44,8 @@ export interface LaborDetailOptions {
readOnly: boolean;
/** 저장 안 한 고침이 생기거나 사라짐 */
onChanged: (dirty: boolean) => void;
/** 「면적산출에서 잇기」 — 그 열 면적산출 상세로(없으면 단추 없음) */
goArea: (() => void) | null;
/** 「면적산출에서 잇기」 — 그 열 면적산출 상세로(옮겨 가면 참 · 취소 = 거짓 · 없으면 단추 없음) */
goArea: GoArea | null;
}
export interface LaborDetailHandle {