refactor(b09): 옛 화면 파일 셋 지움 — UI_Page(1,561줄) · UI_BaseData(1,161줄) · UI_Tab_Legacy

- 옛 탭 여섯은 모두 새 틀 탭 파일로 옮겨짐(설계서 구성 · 산출기초 · 관급·사급 · 중기경비계산서 · 기초자료, 원가계산서는 랩탑_메인)
- 화면 확인(지운 뒤 13 탭 전부): 설계내역서 53줄 · 본체 122,848,989 · 일위대가 18 · 산근 10 · 중기 표 19·줄 171 ·
  관급·사급 13 · 기초자료 표 6·줄 737 · 설계서 구성 13 · 산출기초 표 3·줄 192 — 옮기기 전과 같음 · tsc 통과

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016VBGFXB9AbJBwXP19z75Qq
This commit is contained in:
2026-09-14 02:56:27 +09:00
co-authored by Claude Opus 5
parent ef48e6edd3
commit 964375d2a7
4 changed files with 0 additions and 2765 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -194,7 +194,6 @@ export function injectSheetStyles(): void {
.b09s-split { display:flex; flex-direction:column; gap:12px; min-width:0; }
.b09s-title { font-weight:700; font-size:14px; }
.b09s-formula { white-space:pre-wrap; font-size:12px; color:var(--ui-text, #1f2430); }
.b09s-legacy .b09-tabs { display:none; }
.b09s-head { font-weight:600; margin-top:6px; }
.b09s-info td { text-align:right; font-variant-numeric:tabular-nums; }
.b09s-info td.b09s-left, .b09s-info th.b09s-left { text-align:left; white-space:normal; }
@@ -1,30 +0,0 @@
/* =============================================================================
* B09_Estimation_UI_Tab_Legacy.ts
* 옛 B09 화면의 탭을 새 틀에 **그대로 이어 붙이는** 자리 (PLAN 12장 · 2026-09-14 브레인 판정)
*
* - 원가계산서(→ 랩탑_메인 새 탭 파일) · 중기 · 관급·사급 · 기초자료(계수 고르개 = 계산 입력) ·
* 설계서 구성 · 산출기초 — 새 탭 파일이 서면 틀 등록 한 줄을 바꾸고, 다 바뀌면 이 파일과 옛 파일을 지움.
* - 옛 화면 한 벌을 처음 고를 때 한 번 세우고 탭끼리 나눠 씀(옛 상태·캐시 그대로).
* ========================================================================== */
import type { ui_locales } from "@ui/ui_template_locale";
import type { B09Tab } from "./B09_Estimation_UI_Shell_Types";
import { L } from "./B09_Estimation_UI_Sheet";
import { createLegacyEstimation, type LegacyEstimation } from "./B09_Estimation_UI_Page";
let legacy: LegacyEstimation | null = null;
export function legacyTab(key: string, labelKey: keyof typeof ui_locales): B09Tab {
return {
key,
label: () => L(labelKey),
render(ctx) {
legacy ??= createLegacyEstimation(ctx.root);
legacy.main.classList.add("b09s-legacy");
ctx.body.append(legacy.main);
// 옛 좌측 칸은 원가계산서 입력 — 그 탭에서만 보임.
if (key === "cost_sheet") ctx.panel.append(legacy.panel);
legacy.select(key);
},
};
}