다국어 지원 및 테이블 설정 현황 문서를 업데이트하여 현재 사용 가능한 17개 컴포넌트의 기능 현황을 반영했습니다. 또한, 집계 위젯(aggregation-widget) 관련 기능을 추가하고, UI에서 다국어 지원을 위한 라벨 수집 및 매핑 로직을 개선하여 사용자 경험을 향상시켰습니다.

This commit is contained in:
kjs
2026-01-16 11:02:27 +09:00
parent f160ba2a1b
commit 6c920b21a4
10 changed files with 1049 additions and 16 deletions

View File

@@ -99,6 +99,14 @@ export const ScreenMultiLangProvider: React.FC<ScreenMultiLangProviderProps> = (
}
});
}
// 집계 위젯 (aggregation-widget) items의 labelLangKey 수집
if ((comp as any).componentType === "aggregation-widget" && config?.items) {
config.items.forEach((item: any) => {
if (item.labelLangKey) {
keys.push(item.labelLangKey);
}
});
}
// 자식 컴포넌트 재귀 처리
if ((comp as any).children) {
collectLangKeys((comp as any).children);