import React from 'react';
import {Route} from 'react-router';
import ClassSizesReport from 'react-router-proxy!trc-client-core/src/report/ClassSizesReport';
import DMTReportView from 'react-router-proxy!trc-client-core/src/report/DMTReportView';
import ServiceExcellenceReport from 'react-router-proxy!trc-client-core/src/report/ServiceExcellenceReport';
import StreamCertificationReport from 'react-router-proxy!trc-client-core/src/report/StreamCertificationReport';
import StreamEligibilityReport from 'react-router-proxy!trc-client-core/src/report/StreamEligibilityReport';
import SurveyNotificationList from 'react-router-proxy!trc-client-core/src/report/SurveyNotificationList';
import TrainingDeliveryReport from 'react-router-proxy!trc-client-core/src/report/TrainingDeliveryReport';
import GapReportViewIncompletePrerequisites from 'react-router-proxy!trc-client-core/src/report/GapReportViewIncompletePrerequisites';
import TechnicalTrainingRequests from 'react-router-proxy!trc-client-core/src/report/TechnicalTrainingRequests';

var IncompletePTPrerequisites = React.createClass({
    render: () => <GapReportViewIncompletePrerequisites view="pt"/>
});

export default (
    <Route path="report">
        <Route path="class_sizes" component={ClassSizesReport} />
        <Route path="dmt_overview" component={DMTReportView} />
        <Route path="incomplete_prerequisites" component={GapReportViewIncompletePrerequisites} />
        <Route path="incomplete_pt_prerequisites" component={IncompletePTPrerequisites} />
        <Route path="service-excellence" component={ServiceExcellenceReport} />
        <Route path="stream_certification" component={StreamCertificationReport} />
        <Route path="stream_eligibility" component={StreamEligibilityReport} />
        <Route path="survey-notification-list" component={SurveyNotificationList}/>
        <Route path="training_delivery" component={TrainingDeliveryReport} />
        <Route path="technical-training-requests" component={TechnicalTrainingRequests} />
    </Route>
);
