PageSourceSearch

https://kokpit.etasimacilik.com/assets/complate-OS7yOVx7.js

js etasimacilik.com collected 2026-10-02 00:01:32 UTC 4,112 bytes, 1 lines download raw bytes

1import{j as e}from"./maps-TA25cC-a.js";import{bG as x,n as p,aw as k,b as w,d as y,U as E,R as u,b3 as N}from"./index-D9e8gVip.js";import{E as T}from"./index-DcDS0C2c.js";import{E as f}from"./index-CF0uHnz8.js";import{u as j,j as g,b as n,i as R,h as C}from"./react-DjBRXjHA.js";import{v as I}from"./v4-CirM8hdF.js";import{aG as v,r as A,i as h,C as b}from"./antd-D77IVGbF.js";/* empty css               */import"./signalr-B4tvLQZV.js";const F=({index:a})=>{const c=j(),{postQuetesResponse:o}=g(l=>l.quote),[i,m]=n.useState({}),[r,s]=n.useState({}),t=n.useCallback(async()=>{const l={quoteId:o[a]?.quoteId,favoriteKey:I(),name:i[a]},d=await c(x(l));return x.fulfilled.match(d)?(s({...r,[a]:!0}),p.success("Favorilere eklendi","Başarılı")):p.error(d.payload[0].message,"Hata")},[i,a]);return e.jsxs("div",{className:"flex flex-col items-start gap-2 bg-white p-0 sm:flex-row sm:items-center sm:bg-gray-50 sm:rounded-sm",children:[e.jsxs("div",{className:"relative flex w-full items-center justify-start bg-gray-50 px-3 py-2 mb-3 sm:mb-0 sm:w-auto sm:min-w-60 sm:bg-transparent sm:p-0 sm:pr-10 after:hidden sm:after:block after:absolute after:content-[''] after:w-px after:height-[32px] after:bg-slate-200 after:right-5",children:[e.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-full border border-slate-200 mr-5 shrink-0",children:e.jsx(k,{source:"package-box.svg",width:20,height:20})}),e.jsxs("div",{className:"flex flex-row items-center sm:flex-col sm:items-start",children:[e.jsx("label",{className:"text-base font-medium text-slate-600 mr-1 sm:text-xs sm:mr-0",children:"Talep Numarası:"}),e.jsx("span",{className:"text-base font-bold text-slate-600 sm:text-xs",children:o[a]?.quoteNumber})]})]}),e.jsxs("div",{className:"flex items-center gap-5 w-full sm:w-auto",children:[e.jsx(w,{className:"ant-input-prefix-label",prefix:e.jsx("strong",{children:"Favori Adı: "}),placeholder:"Örn; Test",disabled:r[a],onChange:l=>m({...i,[a]:l.target.value}),value:i[a]}),e.jsxs(y,{className:"ant-btn-xsmall",color:"blue",variant:"outlined",block:E(),disabled:r[a],onClick:t,children:[r[a]?"Favorilere Eklendi":"Favorilerime Ekle",r[a]?e.jsx(v,{}):e.jsx(A,{})]})]})]})},M=()=>{const a=j(),c=R(),o=C(),i=c?.state?.data,{selectedVehicle:m}=g(s=>s.vehicle);n.useEffect(()=>{if(!Object.keys(m).length)return o(u.CUSTOMER.QUOTE_CREATE.VEHICLE);window.scrollTo(0,0)},[]);const r=()=>{a(N({})),o(u.CUSTOMER.QUOTES)};return e.jsxs("div",{className:"flex flex-col",children:[e.jsx(h,{children:e.jsx(b,{span:24,children:e.jsxs("div",{className:"create-complate-order-box",children:[e.jsx(v,{}),e.jsx("h3",{className:"text-xl font-bold! text-black! uppercase! m-0! max-sm:text-center!",children:"Talebiniz Alınmıştır"}),e.jsxs("div",{className:"text-sm! font-normal! text-[#475569]! mb-5! whitespace-pre-line! text-center!",children:[e.jsx("p",{className:"mb-2!",children:"Fiyatlama işlemi tamamlandıktan sonra en kısa sürede size geri dönüş sağlayacağız."}),e.jsxs("p",{className:"mb-2!",children:["Tüm araç taleplerinizi görmek için, ",e.jsx("a",{type:"button",target:"_blank",onClick:r,children:"Araç Taleplerim"})," sayfasına gidebilirsiniz."]})]})]})})}),e.jsx(h,{children:e.jsx(b,{span:24,children:e.jsx("div",{className:"flex! flex-col! py-10! px-0! mr-auto! ml-auto! max-sm:w-full!",children:e.jsx(T,{columns:[{title:"Araç Özellikleri",dataIndex:"name",key:"name",width:"250px",render:(s,t)=>e.jsxs("div",{children:[t?.shipmentQuantity," ",s]})},{title:"Yük Alım Tarihi",dataIndex:"pickupDate",key:"pickupDate",width:"200px",render:s=>s.map((t,l)=>e.jsx(f,{color:"default",children:t},l))},{title:"Nereden Nereye",dataIndex:"stops",key:"stops",width:"350px",render:s=>s.map((t,l)=>e.jsx("div",{children:t?.route},l))},{title:"Yük Tipi ve Özellikleri",dataIndex:"freights",key:"freights",width:"400px",render:s=>s.map((t,l)=>e.jsx(f,{color:"default",style:{marginBottom:4},children:t},l))}],dataSource:i,defaultExpandAllRows:!0,showExpandColumn:!1,pagination:!1,scroll:{x:1200},expandable:{expandedRowRender:(s,t)=>e.jsx(F,{index:t})}})})})})]})};export{M as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.