"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 u=require("../shared/StaticField.js");require("../shared/SharedEditorElements.js"),require("../shared/ConfirmationPopup.js");var l=require("../sharedStyles.js"),s=require("../constants.js"),n=require("../../../../../utils/mobileDetect.js"),d=require("react/jsx-runtime");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=o(e),c=o(t),f=o(a);function j(e){var r=e.component,t=e.columns,a=l.useStyles(),o=s.CONTAINER_XS/t;return d.jsx(d.Fragment,{children:d.jsxs(i.Grid,{container:!0,spacing:2,className:c.default(a.detailedView,m.default({},a.detailedViewMobile,n.isMobileDetected)),children:[d.jsx(u.StaticField,{label:"Name",value:r.name,format:null,xs:o}),d.jsx(u.StaticField,{label:"Sub Category",value:r.sub_category,format:null,xs:o}),d.jsx(u.StaticField,{label:"T.Weight",unit:"mass",value:r.weight,xs:o}),d.jsx(u.StaticField,{label:"Connection Type",value:r.connection_type,format:null,xs:o}),d.jsx(u.StaticField,{label:"Material",value:r.material,format:null,xs:o})]})})}j.propTypes={component:f.default.shape({family:f.default.string,sub_category:f.default.string,outer_diameter:f.default.number,inner_diameter:f.default.number,linear_weight:f.default.number,length:f.default.number,name:f.default.string,weight:f.default.number,connection_type:f.default.string,material:f.default.string}).isRequired,columns:f.default.number.isRequired};var p=r.memo(j);module.exports=p;
//# sourceMappingURL=Browser.js.map
