feat: 검색 기능 개선 및 레거시 파일 업로드 통합

- 테이블 관리 서비스에서 검색 옵션에 operator를 추가하여 정확한 일치(equals) 및 부분 일치(contains) 검색을 지원하도록 개선하였습니다.
- 파일 업로드 컴포넌트에서 레거시 file-upload 기능을 통합하여 안정적인 파일 업로드를 제공하며, V2Media와의 호환성을 강화하였습니다.
- DynamicComponentRenderer에서 파일 업로드 컴포넌트의 디버깅 로깅을 추가하여 문제 해결을 용이하게 하였습니다.
- 웹 타입 매핑에서 파일 및 이미지 타입을 레거시 file-upload로 변경하여 일관성을 유지하였습니다.
This commit is contained in:
kjs
2026-02-04 17:25:49 +09:00
parent e171f5a503
commit 7ec5a438d4
10 changed files with 957 additions and 787 deletions

View File

@@ -107,18 +107,18 @@ export const WEB_TYPE_V2_MAPPING: Record<string, V2ComponentMapping> = {
config: { mode: "dropdown", source: "category" },
},
// 파일/이미지 → V2Media
// 파일/이미지 → 레거시 file-upload (안정적인 파일 업로드)
file: {
componentType: "v2-media",
config: { type: "file", multiple: false },
componentType: "file-upload",
config: { maxFileCount: 10, accept: "*/*" },
},
image: {
componentType: "v2-media",
config: { type: "image", showPreview: true },
componentType: "file-upload",
config: { maxFileCount: 1, accept: "image/*" },
},
img: {
componentType: "v2-media",
config: { type: "image", showPreview: true },
componentType: "file-upload",
config: { maxFileCount: 1, accept: "image/*" },
},
// 버튼은 V2 컴포넌트에서 제외 (기존 버튼 시스템 사용)
@@ -157,9 +157,9 @@ export const WEB_TYPE_COMPONENT_MAPPING: Record<string, string> = {
code: "v2-select",
entity: "v2-select",
category: "v2-select",
file: "v2-media",
image: "v2-media",
img: "v2-media",
file: "file-upload",
image: "file-upload",
img: "file-upload",
button: "button-primary",
label: "v2-input",
};