"use strict";var e=require("prop-types"),r=require("@material-ui/core"),i=require("lodash"),a=require("./PredictionsItem.js"),t=require("./NoData.js"),s=require("react/jsx-runtime"),p=r.makeStyles({wrapper:{listStyle:"none",padding:0,display:"flex"}}),d=function(e){var r=e.stages,d=e.predictionsData,l=p();return i.isEmpty(r)?s.jsx(t,{subject:"predictions"}):s.jsxs("ul",{className:l.wrapper,children:[s.jsx(a,{title:"Breakdown",fieldName:"ave_breakdown",predictionsData:d}),s.jsx(a,{title:"ISIP",fieldName:"ave_isip",predictionsData:d}),s.jsx(a,{title:"Max Treating Pressure",fieldName:"max_treating_pressure",predictionsData:d}),s.jsx(a,{title:"Avg Treating Pressure",fieldName:"ave_treating_pressure",predictionsData:d}),s.jsx(a,{title:"Max Flow Rate",fieldName:"max_flow_rate",predictionsData:d})]})};d.propTypes={stages:e.shape().isRequired,predictionsData:e.shape().isRequired},module.exports=d;
