ERP-node/frontend/lib/registry
SeongHyun Kim 320100c4e2 refactor: POP 그리드 시스템 명칭 통일 + Dead Code 제거
V5→V6 전환 과정에서 누적된 버전 접미사, 미사용 함수, 레거시 잔재를
정리하여 코드 관리성을 확보한다. 14개 파일 수정, 365줄 순감.
[타입 리네이밍] (14개 파일)
- PopLayoutDataV5 → PopLayoutData
- PopComponentDefinitionV5 → PopComponentDefinition
- PopGlobalSettingsV5 → PopGlobalSettings
- PopModeOverrideV5 → PopModeOverride
- createEmptyPopLayoutV5 → createEmptyLayout
- isV5Layout → isPopLayout
- addComponentToV5Layout → addComponentToLayout
- createComponentDefinitionV5 → createComponentDefinition
- 구 이름은 deprecated 별칭으로 유지 (하위 호환)
[Dead Code 삭제] (gridUtils.ts -350줄)
- getAdjustedBreakpoint, convertPositionToMode, isOutOfBounds,
  mouseToGridPosition, gridToPixelPosition, isValidPosition,
  clampPosition, autoLayoutComponents (전부 외부 사용 0건)
- needsReview + ReviewPanel/ReviewItem (항상 false, 미사용)
- getEffectiveComponentPosition export → 내부 함수로 전환
[레거시 로더 분리] (신규 legacyLoader.ts)
- convertV5LayoutToV6 → loadLegacyLayout (legacyLoader.ts)
- V5 변환 상수/함수를 gridUtils에서 분리
[주석 정리]
- "v5 그리드" → "POP 블록 그리드"
- "하위 호환용" → "뷰포트 프리셋" / "레이아웃 설정용"
- 파일 헤더, 섹션 구분, 함수 JSDoc 정리
기능 변경 0건. DB 변경 0건. 백엔드 변경 0건.
2026-03-13 16:39:51 +09:00
..
components Merge branch 'jskim-node' of http://39.117.244.52:3000/kjs/ERP-node into mhkim-node 2026-03-13 11:35:07 +09:00
layouts feat: add next-themes package and update styles 2026-03-10 15:24:05 +09:00
pop-components refactor: POP 그리드 시스템 명칭 통일 + Dead Code 제거 2026-03-13 16:39:51 +09:00
utils feat: 수주등록 모달 및 범용 컴포넌트 개발 2025-11-14 14:43:53 +09:00
AutoRegisteringComponentRenderer.ts 이력테이블 기준 컬럼 설정 기능 2025-10-27 11:41:30 +09:00
ComponentRegistry.ts refactor: 코드 정리 및 불필요한 로그 제거 2026-02-05 17:35:13 +09:00
DynamicComponentRenderer.tsx Merge commit '80be7c5a7600c080f897823837890fbdef58f565' into jskim-node 2026-03-12 15:53:20 +09:00
DynamicConfigPanel.tsx refactor: 전체 프론트엔드 하드코딩 색상 → CSS 변수 일괄 치환 2026-03-09 14:31:59 +09:00
DynamicLayoutRenderer.tsx refactor: 전체 프론트엔드 하드코딩 색상 → CSS 변수 일괄 치환 2026-03-09 14:31:59 +09:00
DynamicWebTypeRenderer.tsx refactor: 전체 프론트엔드 하드코딩 색상 → CSS 변수 일괄 치환 2026-03-09 14:31:59 +09:00
LayoutRegistry.ts 레이아웃 추가기능 2025-09-10 18:36:28 +09:00
PopComponentRegistry.ts feat(pop-scanner): 바코드/QR 스캐너 컴포넌트 + 멀티필드 파싱 + 반자동 매핑 2026-03-06 19:52:18 +09:00
WebTypeRegistry.ts console.log 삭제 2025-09-16 16:16:41 +09:00
index.ts 웹타입 컴포넌트 분리작업 2025-09-09 14:29:04 +09:00
init.ts docs: 다양한 문서 및 가이드 업데이트 2026-01-28 17:36:19 +09:00
types.ts 웹타입 컴포넌트 분리작업 2025-09-09 14:29:04 +09:00
useRegistry.ts 웹타입 컴포넌트 분리작업 2025-09-09 14:29:04 +09:00