@@ -3,18 +3,18 @@ import Card from "react-materialize/lib/Card";
33import Icon from "react-materialize/lib/Icon" ;
44import Textarea from "react-materialize/lib/Textarea" ;
55import Button from "react-materialize/lib/Button" ;
6- import NeoTable from "./report/NeoTableReport" ;
7- import NeoPagination from "./footer/NeoTableFooter" ;
8- import NeoGraphViz from "./report/NeoGraphVisReport" ;
6+ import NeoTableReport from "./report/NeoTableReport" ;
7+ import NeoTableFooter from "./footer/NeoTableFooter" ;
8+ import NeoGraphVisReport from "./report/NeoGraphVisReport" ;
99import Col from "react-materialize/lib/Col" ;
1010import NeoCardSettings from "./NeoCardSettings" ;
1111import NeoJSONView from "./report/NeoJSONViewReport" ;
12- import NeoGraphChips from "./footer/NeoGraphVisFooter" ;
13- import NeoMarkdownView from "./report/NeoMarkdownReport" ;
14- import NeoBarChart from "./report/NeoBarChartReport" ;
15- import NeoBarPropertySelect from "./footer/NeoBarChartFooter" ;
16- import NeoLineChart from "./report/NeoLineChartReport" ;
17- import NeoLinePropertySelect from "./footer/NeoLineChartFooter" ;
12+ import NeoGraphVisFooter from "./footer/NeoGraphVisFooter" ;
13+ import NeoMarkdownReport from "./report/NeoMarkdownReport" ;
14+ import NeoBarChartReport from "./report/NeoBarChartReport" ;
15+ import NeoBarChartFooter from "./footer/NeoBarChartFooter" ;
16+ import NeoLineChartReport from "./report/NeoLineChartReport" ;
17+ import NeoLineChartFooter from "./footer/NeoLineChartFooter" ;
1818import NeoPropertySelectReport from "./report/NeoPropertySelectReport" ;
1919
2020
@@ -284,24 +284,24 @@ export class NeoCard extends React.Component {
284284 */
285285 setCardTypeToTableView ( ) {
286286 this . state . content =
287- < NeoTable connection = { this . props . connection }
288- rows = { this . state . height == 4 ? NeoTable . normalRowCount : NeoTable . tallRowCount }
287+ < NeoTableReport connection = { this . props . connection }
288+ rows = { this . state . height == 4 ? NeoTableReport . normalRowCount : NeoTableReport . tallRowCount }
289289 page = { this . state . page }
290290 query = { this . state . query }
291291 stateChanged = { this . stateChanged }
292292 params = { this . state . parsedParameters }
293293 refresh = { this . state . refresh }
294294 />
295295 this . state . action =
296- < NeoPagination page = { this . state . page } key = { 0 } data = { this . state . data } onChange = { this . stateChanged } />
296+ < NeoTableFooter page = { this . state . page } key = { 0 } data = { this . state . data } onChange = { this . stateChanged } />
297297 }
298298
299299 /**
300300 * Updates the card's report to a bar chart.
301301 */
302302 setCardTypeToBarChart ( ) {
303303 this . state . content =
304- < NeoBarChart connection = { this . props . connection }
304+ < NeoBarChartReport connection = { this . props . connection }
305305 page = { this . state . page }
306306 query = { this . state . query }
307307 clientWidth = { ( this . cardRef . current ) ? this . cardRef . current . clientWidth : 0 }
@@ -321,7 +321,7 @@ export class NeoCard extends React.Component {
321321 */
322322 setCardTypeToLineChart ( ) {
323323 this . state . content =
324- < NeoLineChart connection = { this . props . connection }
324+ < NeoLineChartReport connection = { this . props . connection }
325325 page = { this . state . page }
326326 query = { this . state . query }
327327 clientWidth = { ( this . cardRef . current ) ? this . cardRef . current . clientWidth : 0 }
@@ -342,7 +342,7 @@ export class NeoCard extends React.Component {
342342 setCardTypeToGraph ( ) {
343343 this . state . page += 1 ;
344344 this . state . content =
345- < NeoGraphViz
345+ < NeoGraphVisReport
346346 connection = { this . props . connection }
347347 query = { this . state . query }
348348 params = { this . state . parsedParameters }
@@ -377,7 +377,7 @@ export class NeoCard extends React.Component {
377377 */
378378 setCardTypeToMarkdown ( ) {
379379 this . state . content =
380- < NeoMarkdownView
380+ < NeoMarkdownReport
381381 connection = { this . props . connection }
382382 query = { 'return true' }
383383 data = { this . state . query }
@@ -478,7 +478,7 @@ export class NeoCard extends React.Component {
478478 updateBarPropertySelect ( labels ) {
479479 this . state . page += 1 ;
480480 this . state . action =
481- < NeoBarPropertySelect propertiesSelected = { this . state . propertiesSelected } page = { this . state . page } key = { 0 }
481+ < NeoBarChartFooter propertiesSelected = { this . state . propertiesSelected } page = { this . state . page } key = { 0 }
482482 data = { this . state . data }
483483 onChange = { this . stateChanged }
484484 categories = { labels } values = { labels }
@@ -492,7 +492,7 @@ export class NeoCard extends React.Component {
492492 updateLinePropertySelect ( labels ) {
493493 this . state . page += 1 ;
494494 this . state . action =
495- < NeoLinePropertySelect propertiesSelected = { this . state . propertiesSelected } page = { this . state . page } key = { 0 }
495+ < NeoLineChartFooter propertiesSelected = { this . state . propertiesSelected } page = { this . state . page } key = { 0 }
496496 data = { this . state . data }
497497 onChange = { this . stateChanged }
498498 categories = { labels } values = { labels }
@@ -522,7 +522,7 @@ export class NeoCard extends React.Component {
522522 }
523523
524524
525- this . state . action = < NeoGraphChips key = { 0 } nodeLabels = { Object . keys ( labels ) }
525+ this . state . action = < NeoGraphVisFooter key = { 0 } nodeLabels = { Object . keys ( labels ) }
526526 width = { this . props . width }
527527 params = { this . state . parsedParameters }
528528 properties = { Object . values ( labels ) . map ( ( labelChoices , index ) => {
0 commit comments