import DashboardComponentType from "../../../Types/Dashboard/DashboardComponentType";
import BadDataException from "../../../Types/Exception/BadDataException";
import DashboardAlertListComponentUtil from "./DashboardAlertListComponent";
import DashboardChartComponentUtil from "./DashboardChartComponent";
import DashboardDockerContainerListComponentUtil from "./DashboardDockerContainerListComponent";
import DashboardDockerHostListComponentUtil from "./DashboardDockerHostListComponent";
import DashboardDockerImageListComponentUtil from "./DashboardDockerImageListComponent";
import DashboardDockerNetworkListComponentUtil from "./DashboardDockerNetworkListComponent";
import DashboardDockerVolumeListComponentUtil from "./DashboardDockerVolumeListComponent";
import DashboardGaugeComponentUtil from "./DashboardGaugeComponent";
import DashboardHostListComponentUtil from "./DashboardHostListComponent";
import DashboardIncidentListComponentUtil from "./DashboardIncidentListComponent";
import DashboardKubernetesCronJobListComponentUtil from "./DashboardKubernetesCronJobListComponent";
import DashboardKubernetesDaemonSetListComponentUtil from "./DashboardKubernetesDaemonSetListComponent";
import DashboardKubernetesDeploymentListComponentUtil from "./DashboardKubernetesDeploymentListComponent";
import DashboardKubernetesJobListComponentUtil from "./DashboardKubernetesJobListComponent";
import DashboardKubernetesNamespaceListComponentUtil from "./DashboardKubernetesNamespaceListComponent";
import DashboardKubernetesNodeListComponentUtil from "./DashboardKubernetesNodeListComponent";
import DashboardKubernetesPodListComponentUtil from "./DashboardKubernetesPodListComponent";
import DashboardKubernetesStatefulSetListComponentUtil from "./DashboardKubernetesStatefulSetListComponent";
import DashboardLogStreamComponentUtil from "./DashboardLogStreamComponent";
import DashboardMonitorListComponentUtil from "./DashboardMonitorListComponent";
import DashboardTableComponentUtil from "./DashboardTableComponent";
import DashboardTextComponentUtil from "./DashboardTextComponent";
import DashboardTraceChartComponentUtil from "./DashboardTraceChartComponent";
import DashboardTraceListComponentUtil from "./DashboardTraceListComponent";
import DashboardValueComponentUtil from "./DashboardValueComponent";
export default class DashboardComponentsUtil {
    static getComponentSettingsArguments(dashboardComponentType) {
        if (dashboardComponentType === DashboardComponentType.Chart) {
            return DashboardChartComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.Text) {
            return DashboardTextComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.Value) {
            return DashboardValueComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.Table) {
            return DashboardTableComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.Gauge) {
            return DashboardGaugeComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.LogStream) {
            return DashboardLogStreamComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.TraceList) {
            return DashboardTraceListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.TraceChart) {
            return DashboardTraceChartComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.IncidentList) {
            return DashboardIncidentListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.AlertList) {
            return DashboardAlertListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.MonitorList) {
            return DashboardMonitorListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.KubernetesPodList) {
            return DashboardKubernetesPodListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.KubernetesNodeList) {
            return DashboardKubernetesNodeListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.KubernetesNamespaceList) {
            return DashboardKubernetesNamespaceListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.KubernetesDeploymentList) {
            return DashboardKubernetesDeploymentListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType ===
            DashboardComponentType.KubernetesStatefulSetList) {
            return DashboardKubernetesStatefulSetListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.KubernetesDaemonSetList) {
            return DashboardKubernetesDaemonSetListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.KubernetesJobList) {
            return DashboardKubernetesJobListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.KubernetesCronJobList) {
            return DashboardKubernetesCronJobListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.DockerHostList) {
            return DashboardDockerHostListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.DockerContainerList) {
            return DashboardDockerContainerListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.DockerImageList) {
            return DashboardDockerImageListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.DockerNetworkList) {
            return DashboardDockerNetworkListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.DockerVolumeList) {
            return DashboardDockerVolumeListComponentUtil.getComponentConfigArguments();
        }
        if (dashboardComponentType === DashboardComponentType.HostList) {
            return DashboardHostListComponentUtil.getComponentConfigArguments();
        }
        throw new BadDataException(`Unknown dashboard component type: ${dashboardComponentType}`);
    }
}
//# sourceMappingURL=Index.js.map