ERP-node/frontend/components/dashboard/widgets/MapSummaryWidget.tsx

35 lines
1.2 KiB
XML

/*
* ⚠️ DEPRECATED - 이 위젯은 더 이상 사용되지 않습니다.
*
* 이 파일은 2025-10-28에 주석 처리되었습니다.
* 새로운 버전: MapTestWidgetV2.tsx (subtype: map-summary-v2)
*
* 변경 이유:
* - 다중 데이터 소스 지원 (REST API + Database 혼합)
* - 컬럼 매핑 기능 추가
* - 자동 새로고침 간격 설정 가능
* - 데이터 소스별 색상 설정
* - XML/CSV 데이터 파싱 지원
*
* 이 파일은 복구를 위해 보관 중이며,
* 향후 문제 발생 시 참고용으로 사용될 수 있습니다.
*
* 롤백 방법:
* 1. 이 파일의 주석 제거
* 2. types.ts에서 "map-summary" 활성화
* 3. "map-summary-v2" 주석 처리
*/
// "use client";
//
// import React, { useEffect, useState } from "react";
// import dynamic from "next/dynamic";
// import { DashboardElement } from "@/components/admin/dashboard/types";
// import { getWeather, WeatherData, getWeatherAlerts, WeatherAlert } from "@/lib/api/openApi";
// import { Cloud, CloudRain, CloudSnow, Sun, Wind, AlertTriangle } from "lucide-react";
// import turfUnion from "@turf/union";
// import { polygon } from "@turf/helpers";
// import { getApiUrl } from "@/lib/utils/apiUrl";
//
// ... (전체 코드 주석 처리됨)