"use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("react"),t=require("classnames"),a=require("prop-types"),i=require("@material-ui/core");require("../shared/CancelButton.js"),require("../shared/ExpandCollapseButton.js"),require("../shared/FormatedNumber.js"),require("../shared/InputText.js"),require("../shared/MoreButton.js"),require("../shared/SaveButton.js"),require("../shared/SelectField.js");var s=require("../shared/StaticField.js");require("../shared/SharedEditorElements.js"),require("../shared/ConfirmationPopup.js");var u=require("../sharedStyles.js"),l=require("../constants.js"),n=require("./Measurement.js"),d=require("../../../../../utils/mobileDetect.js"),o=require("react/jsx-runtime");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=m(e),f=m(t),j=m(a);function p(e){var r=e.component,t=e.columns,a=u.useStyles(),m=l.CONTAINER_XS/t;return o.jsxs(o.Fragment,{children:[o.jsxs(i.Grid,{container:!0,spacing:2,className:f.default(a.detailedView,c.default({},a.detailedViewMobile,d.isMobileDetected)),children:[o.jsx(s.StaticField,{label:"Name",value:r.name,format:null,xs:m}),o.jsx(s.StaticField,{label:"T.Weight",unit:"mass",value:r.weight,xs:m}),o.jsx(s.StaticField,{label:"Connection Type",value:r.connection_type,format:null,xs:m}),o.jsx(s.StaticField,{label:"Material",value:r.material,format:null,xs:m})]}),o.jsx(n,{isEditing:!1,data:r.lwd_measurements})]})}p.propTypes={component:j.default.shape({family:j.default.string,sub_category:j.default.string,outer_diameter:j.default.number,inner_diameter:j.default.number,linear_weight:j.default.number,length:j.default.number,name:j.default.string,weight:j.default.number,connection_type:j.default.string,material:j.default.string,lwd_measurements:j.default.arrayOf(j.default.shape({}))}).isRequired,columns:j.default.number.isRequired};var h=r.memo(p);module.exports=h;
//# sourceMappingURL=Browser.js.map
