Files
vexplor/frontend/components/v2/index.ts
kjs 924c95ab89 feat: V2 컴포넌트 설정 스키마 정비 및 화면 복제 기능 개선
- 레거시 컴포넌트를 제거하고, V2/V2 컴포넌트 전용 Zod 스키마와 기본값 레지스트리를 통합 관리합니다.
- V2 컴포넌트의 overrides 스키마를 정의하고, 관련된 설정 패널을 통합하였습니다.
- 화면 복제 기능을 개선하여 DB 구조 개편 후의 효율적인 화면 관리를 지원하며, 버튼의 `targetScreenId` 매핑 버그를 수정하였습니다.
- 프리뷰 모드에서 URL 파라미터의 company_code를 우선 사용하도록 변경하였습니다.
- UnifiedRepeater 및 UnifiedSelect 컴포넌트를 추가하여 다양한 데이터 관리 기능을 지원합니다.
2026-01-29 14:45:04 +09:00

125 lines
2.3 KiB
TypeScript

/**
* V2 Components 모듈 인덱스
*
* V2 통합 컴포넌트 시스템
*/
// Phase 1 컴포넌트
export { V2Input } from "./V2Input";
export { V2Select } from "./V2Select";
export { V2Date } from "./V2Date";
// Phase 2 컴포넌트
export { V2List } from "./V2List";
export { V2Layout } from "./V2Layout";
export { V2Group } from "./V2Group";
// Phase 3 컴포넌트
export { V2Media } from "./V2Media";
export { V2Biz } from "./V2Biz";
export { V2Hierarchy } from "./V2Hierarchy";
// V2Text는 V2Input의 textarea 모드로 대체 가능
// 렌더러
export { V2ComponentRenderer } from "./V2ComponentRenderer";
// 설정 패널
export { DynamicConfigPanel, COMMON_SCHEMAS } from "./DynamicConfigPanel";
// 데모 컴포넌트
export { V2ComponentsDemo } from "./V2ComponentsDemo";
// 폼 컨텍스트 및 액션
export {
V2FormProvider,
useV2Form,
useV2FormOptional,
useV2Field,
useCascadingOptions,
useFormActions,
useRepeaterField,
} from "./V2FormContext";
// 설정 UI 패널
export { ConditionalConfigPanel } from "./ConditionalConfigPanel";
// 폼 관련 타입 re-export
export type {
FormStatus,
FieldError,
FieldState,
SubmitConfig,
SubmitResult,
ValidationResult,
FieldMapping,
ScreenDataTransferConfig,
FormCompatibilityBridge,
} from "@/types/v2-form";
// 타입 re-export
export type {
// 공통 타입
V2ComponentType,
V2BaseProps,
ConditionalConfig,
AutoFillConfig,
CascadingConfig,
MutualExclusionConfig,
// V2Input 타입
V2InputType,
V2InputFormat,
V2InputConfig,
V2InputProps,
// V2Select 타입
V2SelectMode,
V2SelectSource,
SelectOption,
V2SelectConfig,
V2SelectProps,
// V2Date 타입
V2DateType,
V2DateConfig,
V2DateProps,
// V2List 타입
V2ListViewMode,
ListColumn,
V2ListConfig,
V2ListProps,
// V2Layout 타입
V2LayoutType,
V2LayoutConfig,
V2LayoutProps,
// V2Group 타입
V2GroupType,
TabItem,
V2GroupConfig,
V2GroupProps,
// V2Media 타입
V2MediaType,
V2MediaConfig,
V2MediaProps,
// V2Biz 타입
V2BizType,
V2BizConfig,
V2BizProps,
// V2Hierarchy 타입
V2HierarchyType,
V2HierarchyViewMode,
HierarchyNode,
V2HierarchyConfig,
V2HierarchyProps,
// 통합 Props
V2ComponentProps,
} from "@/types/v2-components";