refactor(abut): 교량받침 카드에서 받침 종류 · 용량 입력 삭제
- 받침 종류 · 용량 입력칸과 받침 규칙의 kind 값을 제거 - 예전 프로젝트 파일에 저장된 kind 값은 읽을 때 무시 (불러오기 오류 없음) - 테스트 갱신. 전체 651건 통과, 타입 검사·빌드 통과 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6b969f4a7c
commit
796a267205
5 files changed
+7
-29
No files matched your search
-15
@@ -888,21 +888,6 @@ function fillAbutBearingCard(
|
||||
),
|
||||
);
|
||||
box.append(el('p', `블럭 평면 ${ABUT_BLOCK_MM} × ${ABUT_BLOCK_MM} (기본값) · 몰탈패드 ${ABUT_PAD_PLAN_MM} × ${ABUT_PAD_PLAN_MM} × 50 (기본값) · 블럭 높이 = min(z) − 교좌면 (계산)`, 'muted small'));
|
||||
const kindId = idOf('rule-kind');
|
||||
const kindLab = el('label', '받침 종류 · 용량');
|
||||
kindLab.htmlFor = kindId;
|
||||
const kind = el('input');
|
||||
kind.id = kindId;
|
||||
kind.type = 'text';
|
||||
kind.value = rule.kind;
|
||||
kind.addEventListener('change', () => {
|
||||
try {
|
||||
apply(applyBearingRule(rec, 'kind', kind.value));
|
||||
} catch (err) {
|
||||
fail(err, kind, rule.kind);
|
||||
}
|
||||
});
|
||||
box.append(kindLab, kind, el('span', `기본 ${ABUT_BEARING_RULE_DEFAULT.kind}`, 'muted small'));
|
||||
box.append(el('p', `검사 · ${abutBearingChecks(model, members, rule, H).join(' · ')}`, 'muted small abut-checks'));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user