ui 수정 및 시현할 기능 업데이트

This commit is contained in:
leeheejin
2025-10-02 14:34:15 +09:00
parent 2c0dca08b4
commit 3fa410cbe4
168 changed files with 1545 additions and 1066 deletions

View File

@@ -153,25 +153,25 @@ export const InteractiveScreenViewerDynamic: React.FC<InteractiveScreenViewerPro
width: "100%",
height: "100%",
}}
onRefresh={() => {
// 테이블 자체에서 loadData를 호출하므로 여기서는 빈 함수
console.log("🔄 InteractiveDataTable 새로고침 트리거됨 (Dynamic)");
}}
/>
);
}
// 버튼 컴포넌트 처리
if (isButtonComponent(comp)) {
return renderButton(comp);
}
// 파일 컴포넌트 처리
if (isFileComponent(comp)) {
return renderFileComponent(comp as FileComponent);
}
// 위젯 컴포넌트 아닌 경우 DynamicComponentRenderer 사용
// 버튼 컴포넌트 또는 위젯이 아닌 경우 DynamicComponentRenderer 사용
if (comp.type !== "widget") {
console.log("🎯 InteractiveScreenViewer - DynamicComponentRenderer 사용:", {
componentId: comp.id,
componentType: comp.type,
isButton: isButtonComponent(comp),
componentConfig: comp.componentConfig,
style: comp.style,
size: comp.size,
@@ -187,12 +187,12 @@ export const InteractiveScreenViewerDynamic: React.FC<InteractiveScreenViewerPro
screenId={screenInfo?.id}
tableName={screenInfo?.tableName}
onRefresh={() => {
// 화면 새로고침 로직 (필요시 구현)
// console.log("화면 새로고침 요청");
console.log("🔄 버튼에서 테이블 새로고침 요청됨");
// 테이블 컴포넌트는 자체적으로 loadData 호출
}}
onClose={() => {
// 화면 닫기 로직 (필요시 구현)
// console.log("화면 닫기 요청");
console.log("🚪 화면 닫기 요청");
}}
/>
);