- PopButtonComponent: 5가지 액션 타입(save/delete/api/modal/event) + 후속 액션 체이닝 - PopButtonConfigPanel: 프리셋 기반 설정(save/delete/logout/menu/modal-open/custom) - 확인 다이얼로그(ConfirmConfig) 선택 기능 - usePopEvent/useDataSource 훅 연동 - PopComponentType에 pop-button 추가, 팔레트 등록 Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
633 B
TypeScript
25 lines
633 B
TypeScript
"use client";
|
|
|
|
/**
|
|
* POP 컴포넌트 자동 등록 진입점
|
|
*
|
|
* [역할]
|
|
* - 각 컴포넌트 파일을 import하면 해당 파일 끝의 registerComponent()가 실행되어 자동 등록됨
|
|
* - 예: import "./pop-text" → pop-text.tsx 실행 → PopComponentRegistry.registerComponent() 호출
|
|
*/
|
|
|
|
// 공통 타입 re-export (외부에서 필요 시 사용 가능)
|
|
export * from "./types";
|
|
|
|
// POP 컴포넌트 등록
|
|
import "./pop-text";
|
|
import "./pop-icon";
|
|
import "./pop-dashboard";
|
|
import "./pop-card-list";
|
|
|
|
import "./pop-button";
|
|
|
|
// 향후 추가될 컴포넌트들:
|
|
// import "./pop-field";
|
|
// import "./pop-list";
|