Read a dropped File, run it through Papa Parse via parseCsv, and
package the result alongside the file metadata the preview / save
stages need downstream.
Throws when the parsed CSV has zero data rows so the composer can
surface a clear error message; the empty-file case is the only
thing the parser itself doesn't recover from gracefully.
Read a dropped File, run it through Papa Parse via
parseCsv, and package the result alongside the file metadata the preview / save stages need downstream.Throws when the parsed CSV has zero data rows so the composer can surface a clear error message; the empty-file case is the only thing the parser itself doesn't recover from gracefully.