"use strict";var e=require("react"),l=require("prop-types"),s=require("@material-ui/core"),a=require("./CasingComponent.js"),t=require("../../../utils/index.js"),i=require("react/jsx-runtime"),r=s.makeStyles({tableStyle:{tableLayout:"fixed"},tableHeadCellStyle:{padding:"14px 0px",color:"#9E9E9E",borderTop:"1px solid rgba(81, 81, 81, 1)"}}),n=function(e){var l=e.components,n=r(),d=n.tableStyle,c=n.tableHeadCellStyle;return i.jsxs(s.Table,{"aria-label":"casing table",className:d,children:[i.jsx(s.TableHead,{children:i.jsxs(s.TableRow,{children:[i.jsx(s.TableCell,{className:c,style:{width:"2%"},children:"#"}),i.jsx(s.TableCell,{className:c,style:{width:"13%",paddingLeft:44},children:"Category"}),i.jsx(s.TableCell,{className:c,style:{width:"13%"},children:"Name"}),i.jsxs(s.TableCell,{className:c,style:{width:"7%"},children:["OD (",t.getUnitDisplay("shortLength"),")"]}),i.jsxs(s.TableCell,{className:c,style:{width:"7%"},children:["ID (",t.getUnitDisplay("shortLength"),")"]}),i.jsxs(s.TableCell,{className:c,style:{width:"15%"},children:["Linear Weight (",t.getUnitDisplay("massPerLength"),")"]}),i.jsxs(s.TableCell,{className:c,style:{width:"10%"},children:["Length (",t.getUnitDisplay("length"),")"]}),i.jsxs(s.TableCell,{className:c,style:{width:"10%"},children:["Weight (",t.getUnitDisplay("mass"),")"]}),i.jsxs(s.TableCell,{className:c,style:{width:"13%"},children:["Cum.Length (",t.getUnitDisplay("length"),")"]}),i.jsx(s.TableCell,{className:c,style:{width:"7%"},children:"Grade"}),i.jsx(s.TableCell,{className:c,style:{width:"3%"}})]})}),i.jsx(s.TableBody,{children:l.map((function(e,l){return i.jsx(a,{component:e,order:l+1},e.id)}))})]})};n.propTypes={components:l.arrayOf(l.shape({})).isRequired};var d=e.memo(n);module.exports=d;
