- 새 design_view_profile_3d_modal.ts(공용 openModal wide · 보기 조작 줄 · [3D 업데이트] · 3D 고름이 같은 노드로 따라감) - 지형 올리기는 페이지 열기에서 빠짐 · 모달 처음 열 때(로딩 원) · 등고선 간격 바꿈도 그 값으로 - 시험: test_345_2_3d_modal 4 통과(닫힌 동안 그리기 0) · 칸 시험(parity · 311) 고쳐 씀 · typecheck 통과 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VmC34fsxxbweEG3RUjs3Mn
39 lines
1.7 KiB
TypeScript
39 lines
1.7 KiB
TypeScript
/* =============================================================================
|
|
* B05_Profile_UI_Panel_Sections.ts
|
|
* 종단 보기 좌측 패널의 **칸 정의**(등록부 `registerPanelSection`) — 페이지 설정 · 계획노선.
|
|
* 「구조물 배치」는 두 보기 공용이라 `design_sections.ts` 에 있다.
|
|
*
|
|
* 칸 차례(2026-08-18 사용자 확정): 구조물 배치 > 페이지 설정 > 계획노선 > 아래 고정 영역.
|
|
* 「선택 포인트 상세 설정」(3D 노선 점 옮김 · 지움 · 저장 안 되는 길)은 지움(345-2). 「경로 계산 설정」은 `Old/` 로 옮김(54-24). 재료는 `_Panel_Settings` · `_Panel_Route` 가 만들어
|
|
* `ctx.parts` 로 건넨다.
|
|
* ========================================================================== */
|
|
|
|
import "../A00_Common/design/design_sections";
|
|
import { createSectionFrame, part, registerPanelSection } from "../A00_Common/design/design_panel";
|
|
import type { RoutePart } from "./B05_Profile_UI_Panel_Route";
|
|
import type { SettingsPart } from "./B05_Profile_UI_Panel_Settings";
|
|
|
|
registerPanelSection({
|
|
id: "page-settings",
|
|
title: "페이지 설정",
|
|
views: ["profile"],
|
|
order: 20,
|
|
build: (ctx, view) => {
|
|
const frame = createSectionFrame(view, "페이지 설정", true);
|
|
frame.body.append(...part<SettingsPart>(ctx, "settings").nodes);
|
|
return frame.root;
|
|
},
|
|
});
|
|
|
|
registerPanelSection({
|
|
id: "planned-route",
|
|
title: "계획노선",
|
|
views: ["profile"],
|
|
order: 30,
|
|
build: (ctx, view) => {
|
|
const frame = createSectionFrame(view, "계획노선", true); // 311 기본 접힘
|
|
frame.body.append(part<RoutePart>(ctx, "route").plannedRouteButton);
|
|
return frame.root;
|
|
},
|
|
});
|