141 lines
5.1 KiB
TypeScript
141 lines
5.1 KiB
TypeScript
import { windowPopupDefinitions, type WindowPopupKey } from "./model/popupDefinitions";
|
|
import type { WindowPopupRegistryItem } from "./model/types";
|
|
import AgedPipePopupContent from "./ui/AgedPipePopupContent";
|
|
import ExmnBusinessRegisterPopupContent from "./ui/ExmnBusinessRegisterPopupContent";
|
|
import ExmnResultRegisterPopupContent from "./ui/ExmnResultRegisterPopupContent";
|
|
import ExmnSurveyDetailPopupContent from "./ui/ExmnSurveyDetailPopupContent";
|
|
import FloodPreTablePopupContent from "./ui/FloodPreTablePopupContent";
|
|
import FloodPreUploadPopupContent from "./ui/FloodPreUploadPopupContent";
|
|
import InfilChartPopupContent from "./ui/InfilChartPopupContent";
|
|
import InftwtResultPopupContent from "./ui/InftwtResultPopupContent";
|
|
import OldPpUploadPopupContent from "./ui/OldPpUploadPopupContent";
|
|
import OldPpTablePopupContent from "./ui/OldPpTablePopupContent";
|
|
import RdiiChartPopupContent from "./ui/RdiiChartPopupContent";
|
|
import RdiiResultPopupContent from "./ui/RdiiResultPopupContent";
|
|
import ReportFilesPopupContent from "./ui/ReportFilesPopupContent";
|
|
import ReportTabPopupContent from "./ui/ReportTabPopupContent";
|
|
import SearchModalPopupContent from "./ui/SearchModalPopupContent";
|
|
import SinkholePopupContent from "./ui/SinkholePopupContent";
|
|
import SscDetailPopupContent from "./ui/SscDetailPopupContent";
|
|
import type { WindowPopupContentProps } from "./model/types";
|
|
import FeaturePlaceholderPopupContent from "./ui/FeaturePlaceholderPopupContent";
|
|
import FldngHstryPopupContent from "./ui/FldngHstryPopupContent";
|
|
import GisEditSessionPopupContent from "./ui/GisEditSessionPopupContent";
|
|
import GisManagementPopupContent from "./ui/GisManagementPopupContent";
|
|
import PipeAnalysisPopupContent from "./ui/PipeAnalysisPopupContent";
|
|
import PipeAnalysisDetailPopupContent from "./ui/PipeAnalysisDetailPopupContent";
|
|
import WaterRiskPopupContent from "./ui/WaterRiskPopupContent";
|
|
|
|
const FloodPredictionPlaceholderPopupContent = (_props: WindowPopupContentProps) => (
|
|
<FeaturePlaceholderPopupContent
|
|
title={windowPopupDefinitions.floodPredictionMapPopup.title}
|
|
/>
|
|
);
|
|
|
|
const GisEditPopupContent = (_props: WindowPopupContentProps) => (
|
|
<FeaturePlaceholderPopupContent title={windowPopupDefinitions.gisEditPopup.title} />
|
|
);
|
|
|
|
export const windowPopupRegistry = {
|
|
exmnBusinessRegister: {
|
|
...windowPopupDefinitions.exmnBusinessRegister,
|
|
component: ExmnBusinessRegisterPopupContent,
|
|
},
|
|
exmnResultRegister: {
|
|
...windowPopupDefinitions.exmnResultRegister,
|
|
component: ExmnResultRegisterPopupContent,
|
|
},
|
|
exmnSurveyDetail: {
|
|
...windowPopupDefinitions.exmnSurveyDetail,
|
|
component: ExmnSurveyDetailPopupContent,
|
|
},
|
|
oldPpUpload: {
|
|
...windowPopupDefinitions.oldPpUpload,
|
|
component: OldPpUploadPopupContent,
|
|
},
|
|
oldPpTable: {
|
|
...windowPopupDefinitions.oldPpTable,
|
|
component: OldPpTablePopupContent,
|
|
},
|
|
floodPreUpload: {
|
|
...windowPopupDefinitions.floodPreUpload,
|
|
component: FloodPreUploadPopupContent,
|
|
},
|
|
floodPreTable: {
|
|
...windowPopupDefinitions.floodPreTable,
|
|
component: FloodPreTablePopupContent,
|
|
},
|
|
reportTab: {
|
|
...windowPopupDefinitions.reportTab,
|
|
component: ReportTabPopupContent,
|
|
},
|
|
reportFiles: {
|
|
...windowPopupDefinitions.reportFiles,
|
|
component: ReportFilesPopupContent,
|
|
},
|
|
mapSearch: {
|
|
...windowPopupDefinitions.mapSearch,
|
|
component: SearchModalPopupContent,
|
|
},
|
|
inftwtResultPopup: {
|
|
...windowPopupDefinitions.inftwtResultPopup,
|
|
component: InftwtResultPopupContent,
|
|
},
|
|
rdiiResultPopup: {
|
|
...windowPopupDefinitions.rdiiResultPopup,
|
|
component: RdiiResultPopupContent,
|
|
},
|
|
infilChart: {
|
|
...windowPopupDefinitions.infilChart,
|
|
component: InfilChartPopupContent,
|
|
},
|
|
rdiiChart: {
|
|
...windowPopupDefinitions.rdiiChart,
|
|
component: RdiiChartPopupContent,
|
|
},
|
|
sscDetail: {
|
|
...windowPopupDefinitions.sscDetail,
|
|
component: SscDetailPopupContent,
|
|
},
|
|
agedPipePopup: {
|
|
...windowPopupDefinitions.agedPipePopup,
|
|
component: AgedPipePopupContent,
|
|
},
|
|
sinkholePopup: {
|
|
...windowPopupDefinitions.sinkholePopup,
|
|
component: SinkholePopupContent,
|
|
},
|
|
pipeAnalysisPopup: {
|
|
...windowPopupDefinitions.pipeAnalysisPopup,
|
|
component: PipeAnalysisPopupContent,
|
|
},
|
|
pipeAnalysisDetailPopup: {
|
|
...windowPopupDefinitions.pipeAnalysisDetailPopup,
|
|
component: PipeAnalysisDetailPopupContent,
|
|
},
|
|
floodPredictionMapPopup: {
|
|
...windowPopupDefinitions.floodPredictionMapPopup,
|
|
component: FloodPredictionPlaceholderPopupContent,
|
|
},
|
|
fldngHstryPopup: {
|
|
...windowPopupDefinitions.fldngHstryPopup,
|
|
component: FldngHstryPopupContent,
|
|
},
|
|
gisEditPopup: {
|
|
...windowPopupDefinitions.gisEditPopup,
|
|
component: GisEditPopupContent,
|
|
},
|
|
gisEditSessionPopup: {
|
|
...windowPopupDefinitions.gisEditSessionPopup,
|
|
component: GisEditSessionPopupContent,
|
|
},
|
|
gisManagementPopup: {
|
|
...windowPopupDefinitions.gisManagementPopup,
|
|
component: GisManagementPopupContent,
|
|
},
|
|
flowRiskPopup: {
|
|
...windowPopupDefinitions.flowRiskPopup,
|
|
component: WaterRiskPopupContent,
|
|
},
|
|
} as const satisfies Record<WindowPopupKey, WindowPopupRegistryItem>;
|