// @ts-nocheck import { Callout, Classes, Intent } from '@blueprintjs/core'; import { Stack } from '@/components'; import { ImportDropzone } from './ImportDropzone'; import { ImportSampleDownload } from './ImportSampleDownload'; import { ImportFileUploadForm } from './ImportFileUploadForm'; import { ImportFileUploadFooterActions } from './ImportFileFooterActions'; import { ImportFileContainer } from './ImportFileContainer'; import { useImportFileContext } from './ImportFileProvider'; import { AlertsManager, useAlertsManager } from './AlertsManager'; import { ImportAlert } from './_types'; function ImportFileUploadCallouts() { const { isAlertActive } = useAlertsManager(); return ( <> {isAlertActive(ImportAlert.IMPORTED_SHEET_EMPTY) && ( The imported sheet is empty. )} ); } export function ImportFileUploadStep() { const { exampleDownload } = useImportFileContext(); return (

Download a sample file and compare it with your import file to ensure it is properly formatted. It's not necessary for the columns to be in the same order, you can map them later.

{exampleDownload && }
); }