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