feat(M02): 49-7 상세 셋(도면 · 일위대가 · 면적산출) 머리 제목 옆 [?] 도움말 — 카드와 같은 글 한 벌 · 상세 전용 줄(파일 불러오기 · 도면으로 보내기 · 돌아가기) 더함
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016PSXsvyDxjNmufteN5bqmt
This commit is contained in:
@@ -95,3 +95,24 @@ export const CARD_HELP: Record<"structure" | "labor" | "area", CardHelp> = {
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
/** 상세에만 있는 단추 줄(49-7) — 카드 도움말 글 한 벌 뒤에 더함 */
|
||||
const DETAIL_ONLY: Record<keyof typeof CARD_HELP, [string, string][]> = {
|
||||
structure: [["파일 불러오기", "DXF · DWG 파일을 도면으로 불러옴(상세 머리 📂)"]],
|
||||
labor: [],
|
||||
area: [["도면으로 보내기", "고른 범위를 도면 표로 보냄(상세 머리)"]],
|
||||
};
|
||||
const BACK: [string, string] = ["돌아가기", "구조물집계표로 · 그 열을 고른 채"];
|
||||
|
||||
/** 상세 머리 [?] 글 — 카드 글 그대로 + 상세에만 있는 줄 */
|
||||
export const detailHelp = (kind: keyof typeof CARD_HELP): CardHelp => ({
|
||||
...CARD_HELP[kind],
|
||||
features: [...CARD_HELP[kind].features, ...DETAIL_ONLY[kind], BACK],
|
||||
});
|
||||
|
||||
/** 도움말 상자 제목 — 카드 제목과 같은 글 */
|
||||
export const HELP_TITLE: Record<keyof typeof CARD_HELP, string> = {
|
||||
structure: "도면 정보",
|
||||
labor: "일위대가",
|
||||
area: "면적산출",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user