refactor(856-4): 거꾸로 부름 끊기 본문 — 앞 커밋(bd41d8799)은 이름 옮김만 담김 · 이 커밋과 한 묶음
- 앞 커밋 글 그대로(층 · 부름 common_util_m02_call · 찾아 넣기 창 StackFind 주입 · 단위 고르기 부품 상자 · 합계 상자 A00 · 기계 칸 부품) - 앞 커밋에서 git add 가 옛 경로에 걸려 고친 파일이 빠짐 — 두 커밋을 같이 올림 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,7 +56,7 @@ import {
|
||||
unswap,
|
||||
} from "../common_util/common_util_line_stack_pick";
|
||||
import { shownUnitOf, type TableLook } from "../common_util/common_util_line_stack_unit";
|
||||
import { createUnitPick, NO_UNIT } from "../M02_MasterTemplete/DataFlow/M02_DF_UnitPick";
|
||||
import { createUnitPick, NO_UNIT } from "@ui/ui_template_unit_pick";
|
||||
import { hiddenByWork, reach } from "./formula_doc_render";
|
||||
import { attachDrag } from "./line_stack_drag";
|
||||
import type { WorkSpec } from "../common_util/common_util_formula_doc_work";
|
||||
@@ -64,7 +64,7 @@ import { openMachineWindow, type MachineCtx } from "./line_stack_machine";
|
||||
import { dropCover } from "../common_util/common_util_formula_doc_cover_drop";
|
||||
import { buildMachineCtl, lineCall } from "./line_stack_machine_ctl";
|
||||
import { putWork, swapMachine } from "./line_stack_machine_work";
|
||||
import { openStackPick, type StackTake } from "./line_stack_pick";
|
||||
import { openStackPick, type StackFind, type StackTake } from "./line_stack_pick";
|
||||
import { buildBlock, sourceTag } from "./line_stack_rows";
|
||||
import { lt, type LsKey } from "./line_stack_text";
|
||||
|
||||
@@ -99,6 +99,8 @@ export interface EditHooks {
|
||||
upper?: Cover | null;
|
||||
/** 848-3 M01 기초 제어 구역 엶(시스템 관리자) — M02 = 층(`machine.scope`)이 엶 */
|
||||
ctlEdit?: boolean;
|
||||
/** 856-4 찾아 넣기 창(페이지가 넘김) */
|
||||
find: StackFind;
|
||||
}
|
||||
|
||||
const field = (
|
||||
@@ -229,7 +231,7 @@ function moneyBody(h: EditHooks, i: number): HTMLElement[] {
|
||||
query,
|
||||
pick: fixed ? swapFixed : swap,
|
||||
})
|
||||
: openStackPick(kind, swap, undefined, query),
|
||||
: openStackPick(h.find, kind, swap, undefined, query),
|
||||
});
|
||||
pick.classList.add("lstk-res");
|
||||
pick.title = `${lt("Repick")}${res ? ` — ${res}` : ""}`;
|
||||
@@ -406,6 +408,7 @@ function readQty(text: string, note: string, tag: string): HTMLElement {
|
||||
function addLine(h: EditHooks, at: number, kind: string): void {
|
||||
if (["인력", "재료", "기계", "단가산출"].includes(kind))
|
||||
return openStackPick(
|
||||
h.find,
|
||||
kind as MoneyKind,
|
||||
(p) => h.change((d, items) => void addPicked(d, items[at], kind as MoneyKind, p)),
|
||||
h.take,
|
||||
|
||||
Reference in New Issue
Block a user