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