import React from 'react'; import { Card, Select, Spin, Empty, Row, Col } from 'antd'; import { Line, Bar, Pie, Heatmap } from '@ant-design/charts'; export const IndustryTrendCard = ({ loading, currentIndustryData, config, availableIndustries, selectedIndustry, onIndustryChange, }) => ( {availableIndustries.map((industry: any) => ( ))} } > {currentIndustryData.length > 0 ? ( ) : ( )} ); export const AreaAnalysisCard = ({ loading, areaData, config }) => ( {loading ? ( ) : areaData.length > 0 ? (
) : ( )}
); export const SalaryTrendCard = ({ loading, currentSalaryData, config, availableSalaryRanges, selectedSalaryRange, onSalaryRangeChange, }) => ( {availableSalaryRanges.map((range) => ( ))} } > {currentSalaryData.length > 0 ? ( ) : ( )} ); export const WorkYearCard = ({ loading, workYearData, config, availableWorkYearRanges, selectedWorkYearRange, onWorkYearRangeChange, }) => ( {availableWorkYearRanges.map((range: any) => ( ))} } > {workYearData && workYearData.length > 0 ? (
) : ( )}
); export const EducationCard = ({ loading, educationData, config, availableEducationLevels, selectedEducationLevel, onEducationLevelChange, }) => ( {availableEducationLevels.map((level) => ( ))} } > {educationData.length > 0 ? ( ) : ( )} );