feat(sn): CS 기준 UI 통일 및 지도 팝업 표준화
This commit is contained in:
@@ -12,7 +12,10 @@ import {
|
||||
TriangleAlert,
|
||||
Waves,
|
||||
} from "lucide-react";
|
||||
import type { WindowPopupKey } from "@/features/windowPopup/model/popupDefinitions";
|
||||
import {
|
||||
windowPopupDefinitions,
|
||||
type WindowPopupKey,
|
||||
} from "@/features/windowPopup/model/popupDefinitions";
|
||||
|
||||
type Props = {
|
||||
onOpenPopup: (popupKey: WindowPopupKey) => Window | null;
|
||||
@@ -58,23 +61,51 @@ const ANALYSIS_POPUP_ITEMS: Array<{
|
||||
icon?: ComponentType<{ className?: string }>;
|
||||
renderIcon?: (props: MenuIconProps) => ReactNode;
|
||||
}> = [
|
||||
{ key: "infoSearch", label: "정보검색", icon: Search },
|
||||
{ key: "pipeAnalysisPopup", label: "관로분석", icon: ChartColumnBig },
|
||||
{ key: "floodPredictionMapPopup", label: "침수예측현황", icon: Waves },
|
||||
{
|
||||
key: "agedPipeStatusByCtpvPopup",
|
||||
label: "시도별 노후관로현황",
|
||||
key: "infoSearch",
|
||||
label: windowPopupDefinitions.mapSearch.title,
|
||||
icon: Search,
|
||||
},
|
||||
{
|
||||
key: "pipeAnalysisPopup",
|
||||
label: windowPopupDefinitions.pipeAnalysisPopup.title,
|
||||
icon: ChartColumnBig,
|
||||
},
|
||||
{ key: "gisEditPopup", label: "GIS 편집", icon: PencilRuler },
|
||||
{ key: "gisManagementPopup", label: "GIS 관리", icon: Settings2 },
|
||||
{ key: "flowRiskPopup", label: "통수 위험", icon: TriangleAlert },
|
||||
{
|
||||
key: "floodPredictionMapPopup",
|
||||
label: windowPopupDefinitions.floodPredictionMapPopup.title,
|
||||
icon: Waves,
|
||||
},
|
||||
{
|
||||
key: "agedPipeStatusByCtpvPopup",
|
||||
label: windowPopupDefinitions.agedPipeStatusByCtpvPopup.title,
|
||||
icon: ChartColumnBig,
|
||||
},
|
||||
{
|
||||
key: "gisEditPopup",
|
||||
label: windowPopupDefinitions.gisEditPopup.title,
|
||||
icon: PencilRuler,
|
||||
},
|
||||
{
|
||||
key: "gisManagementPopup",
|
||||
label: windowPopupDefinitions.gisManagementPopup.title,
|
||||
icon: Settings2,
|
||||
},
|
||||
{
|
||||
key: "flowRiskPopup",
|
||||
label: windowPopupDefinitions.flowRiskPopup.title,
|
||||
icon: TriangleAlert,
|
||||
},
|
||||
{
|
||||
key: "inftwtResultPopup",
|
||||
label: "침입수 분석결과",
|
||||
label: windowPopupDefinitions.inftwtResultPopup.title,
|
||||
renderIcon: InftwtMenuIcon,
|
||||
},
|
||||
{ key: "rdiiResultPopup", label: "RDII 분석결과", icon: ChartColumnBig },
|
||||
{
|
||||
key: "rdiiResultPopup",
|
||||
label: windowPopupDefinitions.rdiiResultPopup.title,
|
||||
icon: ChartColumnBig,
|
||||
},
|
||||
];
|
||||
|
||||
export default function AnalysisPopupMenu({
|
||||
|
||||
Reference in New Issue
Block a user