import Loadable from 'react-loadable'

const BI050BSSafeCheck = Loadable({
  loader: () => import('../components/CustomPages/BI/BI050BSSafeCheck'),
  loading: () => <div />
})
const BI051BSCompanyYear = Loadable({
  loader: () => import('../components/CustomPages/BI/BI051BSCompanyYearOne'),
  loading: () => <div />
})
const BI052BSSafeCheckYear = Loadable({
  loader: () => import('../components/CustomPages/BI/BI052BSSafeCheckYearOne'),
  loading: () => <div />
})
const BI053BSSafeCheckYear = Loadable({
  loader: () => import('../components/CustomPages/BI/BI053BSSafeCheckYearOne'),
  loading: () => <div />
})
const BI054HomeDetail = Loadable({
  loader: () => import('../components/CustomPages/BI/BI054HomeDetail'),
  loading: () => <div />
})

const BI055HomeDetail = Loadable({
  loader: () => import('../components/CustomPages/BI/BI055HomeDetail'),
  loading: () => <div />
})

const SC028ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/SC/SC028ShowPrint'),
  loading: () => <div />
})
const SC022Import = Loadable({
  loader: () => import('../components/CustomPages/SC/SC022Import'),
  loading: () => <div />
})
const SC030ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/SC/SC030ShowPrint'),
  loading: () => <div />
})
const SC030View = Loadable({
  loader: () => import('../components/CustomPages/SC/SC030View'),
  loading: () => <div />
})
const SC030ShowPrintPer = Loadable({
  loader: () => import('../components/CustomPages/SC/SC030ShowPrintPer'),
  loading: () => <div />
})
const SC030ShowPrintView = Loadable({
  loader: () => import('../components/CustomPages/SC/SC030ShowPrintView'),
  loading: () => <div />
})

const SCShowPrint = Loadable({
  loader: () => import('../components/CustomPages/SC/SCShowPrint'),
  loading: () => <div />
})
const SC046ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/SC/SC046ShowPrint'),
  loading: () => <div />
})
const SC052ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/SC/SC052ShowPrint'),
  loading: () => <div />
})
const BS026ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS026ShowPrint'),
  loading: () => <div />
})
const FM204ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/FM/FM204ShowPrint'),
  loading: () => <div />
})
const BS032ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS032ShowPrint'),
  loading: () => <div />
})
const BS034EditPage = Loadable({
  loader: () => import('../components/CustomPages/BS/BS034EditPage'),
  loading: () => <div />
})
const BS034ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS034ShowPrint'),
  loading: () => <div />
})
const BS006ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS006ShowPrint'),
  loading: () => <div />
})
const BS006View = Loadable({
  loader: () => import('../components/CustomPages/BS/BS006View'),
  loading: () => <div />
})
const BS042ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS042ShowPrint'),
  loading: () => <div />
})
const BS042ActualCheck = Loadable({
  loader: () => import('../components/CustomPages/BS/BS042ActualCheck'),
  loading: () => <div />
})
const BS044ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS044ShowPrint'),
  loading: () => <div />
})
const BS044Check = Loadable({
  loader: () => import('../components/CustomPages/BS/BS044Check'),
  loading: () => <div />
})
const BS044Notice = Loadable({
  loader: () => import('../components/CustomPages/BS/BS044Notice'),
  loading: () => <div />
})
const BS046ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS046ShowPrint'),
  loading: () => <div />
})
const BS048ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS048ShowPrint'),
  loading: () => <div />
})
const BS049ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS049ShowPrint'),
  loading: () => <div />
})
const BS044ShowPrintDOut = Loadable({
  loader: () => import('../components/CustomPages/BS/BS044ShowPrintDOut'),
  loading: () => <div />
})
const BS044EditPage = Loadable({
  loader: () => import('../components/CustomPages/BS/BS044EditPage'),
  loading: () => <div />
})
const BS034View = Loadable({
  loader: () => import('../components/CustomPages/BS/BS034View'),
  loading: () => <div />
})
const BS064ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS064ShowPrint'),
  loading: () => <div />
})
const BS070ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/BS/BS070ShowPrint'),
  loading: () => <div />
})

const PFCommonApprove = Loadable({
  loader: () => import('../components/CustomPages/PF/PFCommonApprove'),
  loading: () => <div />
})

const PFCommonApproveView = Loadable({
  loader: () => import('../components/CustomPages/PF/PFCommonApproveView'),
  loading: () => <div />
})
const PFFormConfigSqlPage = Loadable({
  loader: () => import('../components/CustomPages/PF/FormConfigSqlPage'),
  loading: () => <div />
})
const CM018ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/CM/CM018ShowPrint'),
  loading: () => <div />
})
const CM002ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/CM/CM002ShowPrint'),
  loading: () => <div />
})
const CM026Edit = Loadable({
  loader: () => import('../components/CustomPages/CM/CM026Edit'),
  loading: () => <div />
})
const CM023ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/CM/CM023ShowPrint'),
  loading: () => <div />
})
const CM026ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/CM/CM026ShowPrint'),
  loading: () => <div />
})
const CM030ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/CM/CM030ShowPrint'),
  loading: () => <div />
})
const CM032ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/CM/CM032ShowPrint'),
  loading: () => <div />
})
const CM031ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/CM/CM031ShowPrint'),
  loading: () => <div />
})
const CM034ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/CM/CM034ShowPrint'),
  loading: () => <div />
})
const CM036Edit = Loadable({
  loader: () => import('../components/CustomPages/CM/CM036Edit'),
  loading: () => <div />
})
const CM036ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/CM/CM036ShowPrint'),
  loading: () => <div />
})

const DM010ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/DM/DM010ShowPrint'),
  loading: () => <div />
})
const DM032ShowPrint = Loadable({
  loader: () => import('../components/CustomPages/DM/DM032ShowPrint'),
  loading: () => <div />
})

const PFFormConfigByNamePage = Loadable({
  loader: () => import('../components/CustomPages/PF/FormConfigByNamePage'),
  loading: () => <div />
})

const FMUserEditPage = Loadable({
  loader: () => import('../components/CustomPages/FM/UserEditPage'),
  loading: () => <div />
})

export default function (componentName, formId, formParam, data, formCode, formData) {
  return {
    FMUserEditPage: <FMUserEditPage formId={formId} formParam={formParam} data={data} formCode={formCode} formData={formData} />,
    PFFormConfigByNamePage: <PFFormConfigByNamePage formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    FM204ShowPrint: <FM204ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} formData={formData} />,
    BI050BSSafeCheck: <BI050BSSafeCheck formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BI051BSCompanyYear: <BI051BSCompanyYear formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BI052BSSafeCheckYear: <BI052BSSafeCheckYear formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BI053BSSafeCheckYear: <BI053BSSafeCheckYear formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BI054HomeDetail: <BI054HomeDetail formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BI055HomeDetail: <BI055HomeDetail formId={formId} formParam={formParam} data={data} formCode={formCode} />,

    SC028ShowPrint: <SC028ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    SC022Import: <SC022Import formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    SC030ShowPrint: <SC030ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    SC030View: <SC030View formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    SC030ShowPrintPer: <SC030ShowPrintPer formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    SC030ShowPrintView: <SC030ShowPrintView formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    SC046ShowPrint: <SC046ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    SC052ShowPrint: <SC052ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,


    BS026ShowPrint: <BS026ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS034EditPage: <BS034EditPage formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS034ShowPrint: <BS034ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS034View: <BS034View formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS006ShowPrint: <BS006ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS006View: <BS006View formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS042ShowPrint: <BS042ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS042ActualCheck: <BS042ActualCheck formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS044ShowPrint: <BS044ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS044Check: <BS044Check formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS044Notice: <BS044Notice formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS044EditPage: <BS044EditPage formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS044ShowPrintDOut: <BS044ShowPrintDOut formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS046ShowPrint: <BS046ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS048ShowPrint: <BS048ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS049ShowPrint: <BS049ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS032ShowPrint: <BS032ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS064ShowPrint: <BS064ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    BS070ShowPrint: <BS070ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,


    PFCommonApprove: <PFCommonApprove formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    PFCommonApproveView: <PFCommonApproveView formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    PFFormConfigSqlPage: <PFFormConfigSqlPage formId={formId} formParam={formParam} data={data} />,

    CM018ShowPrint: <CM018ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM023ShowPrint: <CM023ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM026ShowPrint: <CM026ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM026Edit: <CM026Edit formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM030ShowPrint: <CM030ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM032ShowPrint: <CM032ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM031ShowPrint: <CM031ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM002ShowPrint: <CM002ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM034ShowPrint: <CM034ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM036Edit: <CM036Edit formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    CM036ShowPrint: <CM036ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,

    DM010ShowPrint: <DM010ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,
    DM032ShowPrint: <DM032ShowPrint formId={formId} formParam={formParam} data={data} formCode={formCode} />,

  }[componentName]
}

