ConnectionEditor(연결 탭 UI) + useConnectionResolver(런타임 이벤트 라우터)를 추가하여 디자이너가 코드 없이 컴포넌트 간 데이터 흐름을 설정할 수 있도록 구현. pop-search -> pop-string-list 실시간 필터링(시나리오 2) 검증 완료. 주요 변경: - ConnectionEditor: 연결 추가/수정/삭제, 복수 컬럼 체크박스, 필터 모드 선택 - useConnectionResolver: connections 기반 __comp_output__/__comp_input__ 자동 라우팅 - connectionMeta 타입 + pop-search/pop-string-list에 sendable/receivable 등록 - PopDataConnection 확장 (sourceOutput, targetInput, filterConfig, targetColumns) - pop-search 개선: 필드명 자동화, set_value receivable, number 타입, DRY - pop-string-list: 복수 컬럼 OR 클라이언트 필터 수신 - "데이터" 탭 -> "연결" 탭, UI 용어 자연어화 Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
831 B
TypeScript
27 lines
831 B
TypeScript
/**
|
|
* POP 공통 훅 배럴 파일
|
|
*
|
|
* 사용법: import { usePopEvent, useDataSource } from "@/hooks/pop";
|
|
*/
|
|
|
|
// 이벤트 통신 훅
|
|
export { usePopEvent, cleanupScreen } from "./usePopEvent";
|
|
|
|
// 데이터 CRUD 훅
|
|
export { useDataSource } from "./useDataSource";
|
|
export type { MutationResult, DataSourceResult } from "./useDataSource";
|
|
|
|
// 액션 실행 순수 함수
|
|
export { executePopAction } from "./executePopAction";
|
|
export type { ActionResult } from "./executePopAction";
|
|
|
|
// 액션 실행 React 훅
|
|
export { usePopAction } from "./usePopAction";
|
|
export type { PendingConfirmState } from "./usePopAction";
|
|
|
|
// 연결 해석기
|
|
export { useConnectionResolver } from "./useConnectionResolver";
|
|
|
|
// SQL 빌더 유틸 (고급 사용 시)
|
|
export { buildAggregationSQL, validateDataSourceConfig } from "./popSqlBuilder";
|