Merge remote-tracking branch 'origin/sub_laptop_7' into sub_laptop_1

This commit is contained in:
2026-10-09 15:06:03 +09:00
21 changed files with 552 additions and 86 deletions
@@ -39,6 +39,7 @@ import {
} from "../../B05_Profile/B05_Profile_UI_Drainage_Facility_Fields";
import { buildSummaryRow } from "../../B05_Profile/B05_Profile_UI_Structures_Summary_Row";
import type { GroupItems, SummaryItem } from "../../common_util/common_util_summary_item";
import { followPipeHeights } from "../../common_util/common_util_culvert_sets";
/** 잇기 값 자리 — 패널 그룹 값(`group_items`)을 그대로 씀. */
export interface SpecLinks {
@@ -169,6 +170,8 @@ export function createSpecForm(links: SpecLinks | null, hooks: SpecFormHooks = {
raw: string,
view: Instance,
): void => {
if (spec?.typeId === "pipe" && c.id === "pipe" && item.id === "diameter")
followPipeHeights(state, raw, values[item.id] ?? "");
// 그림 값을 보이던 위 칸 아래를 고침 = 그 위 값을 고른 것 — 다른 갈래 값은 비움(54-13)
const parent = item.by?.item;
if (parent && view[parent] !== values[parent]) {
@@ -342,6 +345,7 @@ export function createSpecForm(links: SpecLinks | null, hooks: SpecFormHooks = {
names = nextNames;
groupNames = nextGroups;
state = readState(next, options);
if (next.typeId === "pipe") followPipeHeights(state, state.pipe?.[0]?.diameter ?? "");
recent.clear();
paint();
},