Merge remote-tracking branch 'origin/sub_laptop_4' into main_laptop_1

This commit is contained in:
2026-10-05 23:46:10 +09:00
2 changed files with 5 additions and 3 deletions
@@ -23,9 +23,10 @@ import { FORM_OPTION_KEYS } from "./B05_Profile_UI_Drainage_Facility_Merge";
import { STRUCTURE_SPECS } from "../A00_Common/design/design_structure_pipe";
import { specKeys } from "../A00_Common/design/design_structure_spec";
/** 구조물 명세 컨테이너로 그리는 종류인지 — 그때 종류 단위 「구조물 조합」 줄은 가림(PLAN 52-1). */
/** 구조물 명세 컨테이너 · 정의 그룹 상자(그룹마다 잇기 줄)로 그리는 종류인지 — 그때 종류 단위
* 「구조물 조합」 줄은 가림(PLAN 52-1 · 52-6b). */
export const hasSpecContainers = (type: StructureType): boolean =>
!!STRUCTURE_SPECS[type.type_id]?.containers.length;
!!STRUCTURE_SPECS[type.type_id]?.containers.length || !!type.groups?.length;
/** 패널이 쥔 값 중 옵션 그리기에 필요한 것들. 이름은 분리 전 지역변수와 같다. */
export interface OptionRenderContext {
@@ -7,7 +7,7 @@
* orca eval --expression "window.__m526='restore'; $(cat 이 파일)" → sessionStorage 를 처음 그대로 · 뒤에 orca reload
* 쓰는 것: 없음 — [저장] 은 fetch 를 가로채 서버로 안 보냄(공유 storage) · 서버 저장 왕복은 test_52_6_cross_underdrain
* 기대 수치(edit): b05Types 에 cross_underdrain:맹암거 · underdrain 없음 · box 맹암거 · keys 높이 · 경사 ·
* pending 높이 0.6 · 경사 2.5 · 잇기 gcrossud 지정 · reopened 같음
* 잇기 줄 1(맹암거 상자 안만 · 종류 단위 줄 가림 · 52-6b) · pending 높이 0.6 · 경사 2.5 · 잇기 gcrossud 지정 · reopened 같음
* 기대 수치(b06): b06Types A 에 맹암거 · B 에 종단배수 맹암거 따로 · sameDrawing · 값 같음
* 기대 수치(save): saved = PUT 몸통에 같은 값(67 m · 0.6 · 2.5 · gcrossud)
*/
@@ -55,6 +55,7 @@
values: ["culvert_height_m", "culvert_slope_pct"].map((k) => input(k)?.value),
link: b?.querySelector(".b05-structure__summary-name").textContent,
linked: b?.querySelector(".b05-structure__summary-name").classList.contains("is-assigned"),
linkRows: [...sec().querySelectorAll("[data-b05-summary=row]")].filter(vis).length,
};
};
const item = () =>