/
home
/
infinitibizsol
/
.trash
/
static.1
/
js
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/static.1/js/332.b2328c10.chunk.js
"use strict";(self.webpackChunk_minimal_material_kit_react=self.webpackChunk_minimal_material_kit_react||[]).push([[332],{5332:(e,n,i)=>{i.r(n),i.d(n,{default:()=>f});i(5043);var t=i(9252),l=i(8911),r=i(5865),c=i(8903),o=i(2110),s=i(1806),d=i(3460),a=i(8076),u=i(2420),v=i(8977),A=i(3216),x=i(9456),h=i(4535),j=i(9588),p=i(3383),b=(i(5869),i(579));const m=(0,h.Ay)("img")({top:0,width:"100%",height:"100%",objectFit:"contain"}),f=()=>{var e,n,i,h,f,g,y,_,w;const{state:k}=(0,A.zy)();let I=(0,A.Zp)();const{userInfo:C}=(0,x.d4)((e=>e.auth));console.log({state:k});return(0,b.jsxs)(t.A,{children:[(0,b.jsxs)(l.A,{spacing:2,sx:{p:3},children:[(0,b.jsx)(l.A,{direction:"row",alignItems:"center",justifyContent:"space-between",children:(0,b.jsx)(r.A,{variant:"h2",noWrap:!0,children:"".concat(null===k||void 0===k||null===(e=k.product)||void 0===e?void 0:e.year," ").concat(null===k||void 0===k?void 0:k.product.make," ").concat(null===k||void 0===k?void 0:k.product.model)})}),(0,b.jsx)(l.A,{direction:"row",alignItems:"center",justifyContent:"space-between",children:(0,b.jsxs)(r.A,{variant:"subtitle1",children:[(0,b.jsx)(r.A,{component:"span",variant:"body1",sx:{color:"text.disabled"}}),"\xa0"]})})]}),(0,b.jsxs)(c.Ay,{container:!0,spacing:2,children:[(0,b.jsx)(c.Ay,{item:!0,xs:5,children:(0,b.jsxs)(o.A,{sx:{position:"relative",width:"100%",background:"#F1F1F1"},children:[(0,b.jsx)(m,{sx:{width:"80%",height:"80%",objectFit:"contain"},src:"".concat(j.Jz,"/").concat(null===k||void 0===k||null===(n=k.product)||void 0===n?void 0:n.imageUrl)}),"\xa0"]})}),(0,b.jsx)(c.Ay,{item:!0,xs:1}),(0,b.jsx)(c.Ay,{item:!0,xs:6,children:(0,b.jsx)(s.A,{children:(0,b.jsxs)(d.A,{children:[(0,b.jsxs)(a.A,{children:[(0,b.jsx)(u.A,{variant:"subtitle1",children:(0,b.jsx)("b",{children:"VIN:"})}),(0,b.jsx)(u.A,{children:null===k||void 0===k||null===(i=k.product)||void 0===i?void 0:i.vin})]}),(0,b.jsxs)(a.A,{children:[(0,b.jsx)(u.A,{variant:"subtitle1",children:(0,b.jsx)("b",{children:"COLOR:"})}),(0,b.jsxs)(u.A,{style:{display:"flex",alignItems:"center"},children:[null===k||void 0===k||null===(h=k.product)||void 0===h?void 0:h.color_name,(0,b.jsx)(p.A,{style:{color:"".concat(null===k||void 0===k||null===(f=k.product)||void 0===f?void 0:f.color.slice(0,6)),fontSize:"30px",marginLeft:"10px"}})]})]}),(0,b.jsxs)(a.A,{children:[(0,b.jsx)(u.A,{variant:"subtitle1",children:(0,b.jsx)("b",{children:"MILEAGE:"})}),(0,b.jsx)(u.A,{children:null!==k&&void 0!==k&&null!==(g=k.product)&&void 0!==g&&g.mileage?"".concat(null===k||void 0===k||null===(y=k.product)||void 0===y?void 0:y.mileage," mileage"):""})]}),(0,b.jsxs)(a.A,{children:[(0,b.jsx)(u.A,{variant:"subtitle1",children:(0,b.jsx)("b",{children:"DETAILS:"})}),(0,b.jsx)(u.A,{children:null!==k&&void 0!==k&&null!==(_=k.product)&&void 0!==_&&_.details?"".concat(null===k||void 0===k||null===(w=k.product)||void 0===w?void 0:w.details):""})]}),(0,b.jsx)(a.A,{children:(0,b.jsx)(u.A,{children:(0,b.jsx)(v.A,{variant:"contained",onClick:()=>{I("/dashboard/inventory/newVehicle?edit=true",{state:{product:null===k||void 0===k?void 0:k.product}})},children:"Edit "})})})]})})})]})]})}},3383:(e,n,i)=>{var t=i(4994);n.A=void 0;var l=t(i(39)),r=i(579);n.A=(0,l.default)((0,r.jsx)("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord")},39:(e,n,i)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=i(1715)},1715:(e,n,i)=>{i.r(n),i.d(n,{capitalize:()=>l.A,createChainedFunction:()=>r,createSvgIcon:()=>c.A,debounce:()=>o.A,deprecatedPropType:()=>s,isMuiElement:()=>d.A,ownerDocument:()=>a.A,ownerWindow:()=>u.A,requirePropFactory:()=>v,setRef:()=>A,unstable_ClassNameGenerator:()=>g,unstable_useEnhancedEffect:()=>x.A,unstable_useId:()=>h.A,unsupportedProp:()=>j,useControlled:()=>p.A,useEventCallback:()=>b.A,useForkRef:()=>m.A,useIsFocusVisible:()=>f.A});var t=i(5430),l=i(6803);const r=i(4708).A;var c=i(9662),o=i(950);const s=function(e,n){return()=>null};var d=i(154),a=i(2427),u=i(6078);i(8168);const v=function(e,n){return()=>null};const A=i(9184).A;var x=i(5013),h=i(5879);const j=function(e,n,i,t,l){return null};var p=i(4516),b=i(3319),m=i(5849),f=i(2191);const g={configure:e=>{t.A.configure(e)}}}}]); //# sourceMappingURL=332.b2328c10.chunk.js.map
Copyright ©2k19 -
Hexid
|
Tex7ure