feat(M01): 로직 개선 시험 상세 화면을 컨테이너 넷으로 · 호표를 인력·자재·경비 묶음과 소계로 · 줄을 누르면 쓰는 자료(표·단가) 모달
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WRFJmmhPi4exAzHgPZHMT
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/* =============================================================================
|
||||
* M01_MasterData_UI_LogicLab_Formula.ts
|
||||
* 「텍스트 수식」 컨테이너 자리 — 비목 묶음별 `이름 : 단가 * 수량식 = 금액` 줄은 여기서 채움(PLAN 3-2)
|
||||
* ========================================================================== */
|
||||
|
||||
import { el } from "@ui/ui_template_elements";
|
||||
import type { CalcLine, LogicRow } from "./M01_MasterData_UI_Logic_Api";
|
||||
import { tl } from "./M01_MasterData_UI_LogicLab_Text";
|
||||
|
||||
export interface FormulaContext {
|
||||
row: LogicRow;
|
||||
/** 마지막 시험 계산의 줄 — 호표 차례 뒤에 덧줄 */
|
||||
lines: CalcLine[] | null;
|
||||
}
|
||||
|
||||
/** 자리만 — 줄을 채우는 일감이 `host` 안에 그림 */
|
||||
export function buildFormula(host: HTMLElement, _ctx: FormulaContext): void {
|
||||
host.replaceChildren(el("p", { className: "m01-logic__muted", text: tl("Formula_Slot") }));
|
||||
}
|
||||
Reference in New Issue
Block a user