feature/v2-unified-renewal #379
|
|
@ -207,6 +207,7 @@ const NON_INPUT_COMPONENT_TYPES = new Set([
|
||||||
"modal",
|
"modal",
|
||||||
"drawer",
|
"drawer",
|
||||||
"form-layout",
|
"form-layout",
|
||||||
|
"aggregation-widget",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// 컴포넌트가 입력 폼인지 확인
|
// 컴포넌트가 입력 폼인지 확인
|
||||||
|
|
@ -728,7 +729,7 @@ export const MultilangSettingsModal: React.FC<MultilangSettingsModalProps> = ({
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 11. 집계 위젯 (aggregation-widget)
|
// 11. 집계 위젯 (aggregation-widget) 항목 라벨
|
||||||
if (compType === "aggregation-widget" && config?.items && Array.isArray(config.items)) {
|
if (compType === "aggregation-widget" && config?.items && Array.isArray(config.items)) {
|
||||||
config.items.forEach((item: any, index: number) => {
|
config.items.forEach((item: any, index: number) => {
|
||||||
if (item.columnLabel && typeof item.columnLabel === "string") {
|
if (item.columnLabel && typeof item.columnLabel === "string") {
|
||||||
|
|
|
||||||
|
|
@ -326,7 +326,7 @@ export function extractMultilangLabels(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 11. 집계 위젯 (aggregation-widget)
|
// 11. 집계 위젯 (aggregation-widget) 항목 라벨
|
||||||
if (compType === "aggregation-widget" && config?.items && Array.isArray(config.items)) {
|
if (compType === "aggregation-widget" && config?.items && Array.isArray(config.items)) {
|
||||||
config.items.forEach((item: any, index: number) => {
|
config.items.forEach((item: any, index: number) => {
|
||||||
if (item.columnLabel && typeof item.columnLabel === "string") {
|
if (item.columnLabel && typeof item.columnLabel === "string") {
|
||||||
|
|
@ -608,7 +608,7 @@ export function applyMultilangMappings(
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// 집계 위젯 (aggregation-widget) 매핑
|
// 집계 위젯 (aggregation-widget) 항목 라벨 매핑
|
||||||
if (compType === "aggregation-widget" && config?.items && Array.isArray(config.items)) {
|
if (compType === "aggregation-widget" && config?.items && Array.isArray(config.items)) {
|
||||||
const updatedItems = config.items.map((item: any, index: number) => {
|
const updatedItems = config.items.map((item: any, index: number) => {
|
||||||
const itemMapping = mappingMap.get(`${comp.id}_agg_${item.id || index}`);
|
const itemMapping = mappingMap.get(`${comp.id}_agg_${item.id || index}`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue