diff --git a/package.json b/package.json index 14b1299b..7be9b3f3 100644 --- a/package.json +++ b/package.json @@ -55,11 +55,14 @@ }, "devDependencies": { "@turf/turf": "^7.0.0", + "@types/node": "^24.3.0", + "@types/react": "^19.1.11", "convertapi": "^1.14.0", "postcss": "^8", "prettier": "^3.3.3", "react-color-palette": "^7.2.2", "sass": "^1.77.8", - "tailwindcss": "^3.4.1" + "tailwindcss": "^3.4.1", + "typescript": "^5.9.2" } } diff --git a/src/common/common.js b/src/common/common.js index 61fdabd1..9d15e988 100644 --- a/src/common/common.js +++ b/src/common/common.js @@ -13,6 +13,7 @@ export const MENU = { MOVEMENT_SHAPE_UPDOWN: 'movementShapeUpdown', // 동선이동.형올림내림 OUTLINE_EDIT_OFFSET: 'outlineEditOffset', // 외벽선 편집 및 오프셋 ROOF_SHAPE_ALLOC: 'rootShapeAlloc', // 지붕면 항당 + ALL_REMOVE: 'allRemove', // 전체 삭제 DEFAULT: 'roofCoveringDefault', // 아무것도 선택 안할 경우 }, // 지붕덮개 BATCH_CANVAS: { diff --git a/src/components/common/input/CalcInput.jsx b/src/components/common/input/CalcInput.jsx index 8e60506b..d0158da6 100644 --- a/src/components/common/input/CalcInput.jsx +++ b/src/components/common/input/CalcInput.jsx @@ -361,13 +361,6 @@ export const CalculatorInput = ({ value, onChange, label, options = {}, id, clas ÷ - {/* 숫자 버튼 */} - {[7, 8, 9, 4, 5, 6, 1, 2, 3].map((num) => ( - - ))} - @@ -378,6 +371,12 @@ export const CalculatorInput = ({ value, onChange, label, options = {}, id, clas + + {/* 숫자 버튼 */} + {[1,2,3,4,5,6,7,8,9].map((num) => ( + + ))} {/* 0 버튼 */}