Added front-end handling of CSV

This commit is contained in:
Henry Whitaker
2020-06-10 18:48:37 +01:00
parent 7b1dcfcc2e
commit 57405725d1
3 changed files with 696 additions and 23 deletions

23
package-lock.json generated
View File

@@ -3379,6 +3379,16 @@
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.10.tgz",
"integrity": "sha512-D34BqZU4cIlMCY93rZHbrq9pjTAQJ3U8S8rfBqjwHxkGPThWFjzZDQpgMJY0QViLxth6ZKYiwFBo14RdN44U/w=="
},
"csv-file-validator": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/csv-file-validator/-/csv-file-validator-1.8.0.tgz",
"integrity": "sha512-+/wdJxbe9zk1KJv7GC5aCVOVrg10W7xWIypILuQsJ3ocegF/YueTarb8Dqg1snEfkPmh2aCjbhVXnu1gM3RRIA==",
"requires": {
"famulus": "2.1.2",
"lodash": "4.17.15",
"papaparse": "^5.2.0"
}
},
"cyclist": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz",
@@ -4265,6 +4275,14 @@
}
}
},
"famulus": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/famulus/-/famulus-2.1.2.tgz",
"integrity": "sha512-UjfF9lOEP6IFLC/DTwUe5KbCYINbuYYJS+mivlnWyK8yqt/9WYHrJ4RihZ0pa9HVxQObu8IWroJOyyt8dXCVkw==",
"requires": {
"lodash": "^4.17.15"
}
},
"fast-deep-equal": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",
@@ -7167,6 +7185,11 @@
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
"dev": true
},
"papaparse": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/papaparse/-/papaparse-5.2.0.tgz",
"integrity": "sha512-ylq1wgUSnagU+MKQtNeVqrPhZuMYBvOSL00DHycFTCxownF95gpLAk1HiHdUW77N8yxRq1qHXLdlIPyBSG9NSA=="
},
"parallel-transform": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz",

View File

@@ -27,6 +27,7 @@
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.1",
"chart.js": "^2.9.3",
"csv-file-validator": "^1.8.0",
"react-bootstrap": "^1.0.1",
"react-chartjs-2": "^2.9.0",
"react-router": "^5.2.0",

695
public/js/app.js vendored

File diff suppressed because one or more lines are too long