PageSourceSearch

https://platform.uretkenakademi.com/_next/static/chunks/pages/admin/operations/reports-e6c306bcf69c5a6a.js

js uretkenakademi.com collected 2026-10-09 22:59:31 UTC 25,352 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1862,7830],{9552:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},10877:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("BarChart3",[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},10935:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Ticket",[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]])},11508:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},14136:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},15818:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]])},20708:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("PhoneCall",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}],["path",{d:"M14.05 2a9 9 0 0 1 8 7.94",key:"vmijpz"}],["path",{d:"M14.05 6A5 5 0 0 1 18 10",key:"13nbpp"}]])},22188:(e,a,t)=>{"use strict";t.d(a,{eS:()=>o,gr:()=>p,vi:()=>c});
1var l=t(37876);t(14232);var i=t(48230),r=t.n(i),s=t(25920),n=t(80312),d=t(37227),m=t(32836);function c(e){var a;let{term:t}=e,i=(0,d.h7)();return(0,m.o)(t)?null:(0,l.jsx)(n.Notice,{as:"section",tone:"attention",label:"Takvim doğrulaması",children:(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("strong",{children:"Takvim doğrulanmalı"}),(0,l.jsx)("p",{children:"Katılımcılar ve mevcut eğitim ilerlemeleri g\xf6r\xfclebilir. Başlangı\xe7 ve bitiş doğrulanana kadar hafta, hedef gecikmesi ve d\xf6nem sonu hesaplanmaz. Planladığınız g\xf6r\xfcşmeler izlenmeye devam eder."}),(null==(a=t.calendarWarnings)?void 0:a.length)?(0,l.jsx)("ul",{className:"list-disc space-y-1 pl-5",children:t.calendarWarnings.map((e,a)=>(0,l.jsx)("li",{children:e},a))}):null,(0,l.jsxs)("div",{className:"flex flex-wrap gap-4 pt-1",children:[(0,l.jsx)(r(),{className:"font-medium underline",href:"/admin/operations/participants?termId=".concat(t.id),children:"Katılımcıları ve ilerlemeyi a\xe7"}),i?(0,l.jsx)(r(),{className:"font-medium underline",href:"/admin/program-terms/".concat(t.id,"?tab=settings"),children:"Takvimi doğrula"}):null]})]})})}function o(e){let{progress:a}=e;return a?(0,l.jsxs)("div",{className:"mt-2 space-y-1 text-xs text-neutral-600",children:[(0,l.jsx)("p",{children:a.completedModules>0?"".concat(a.completedModules.toLocaleString("tr-TR")," mod\xfcl tamamlandı"):a.completedItems>0?"Mod\xfcl tamamlanma kaydı yok":"Hen\xfcz tamamlanma kaydı yok"}),a.completedItems>0?(0,l.jsxs)("p",{children:[a.completedItems.toLocaleString("tr-TR")," \xf6ğe tamamlaması kayıtlı"]}):a.completedModules>0?(0,l.jsx)("p",{children:"\xd6ğe bazında tamamlanma kaydı yok"}):null,(0,l.jsxs)("p",{className:"text-neutral-500",children:["Kayıtlı rota kapsamı: ",a.totalModules.toLocaleString("tr-TR")," ","mod\xfcl, ",a.totalItems.toLocaleString("tr-TR")," i\xe7erik. Alternatif rotalar bulunabilir; bu toplam bir program bitirme koşulu değildir."]})]}):null}function p(){var e;let a=(0,d.E9)(),t=(0,d.h7)(),i=(0,s.hg)("operations-program-overview",d._,{organizationId:a.filters.organizationId,termId:a.filters.termId,page:1,limit:100},a.ready),c=((null==(e=i.data)?void 0:e.items)||[]).filter(e=>"archived"!==e.status||e.id===a.filters.termId).sort((e,a)=>{var t,l;return(null!=(t=a.participantCount)?t:-1)-(null!=(l=e.participantCount)?l:-1)}).slice(0,6);return(0,l.jsx)(n.Panel,{title:"Eğitim programları",description:"Takip listesi boş olsa da program katılımcılarını ve mevcut ilerlemelerini buradan a\xe7abilirsiniz.",actions:(0,l.jsx)(r(),{className:"text-sm text-[#9A5200] hover:underline",href:"/admin/program-terms",children:"T\xfcm d\xf6nemler →"}),children:(0,l.jsx)(d.kZ,{query:i,children:c.length?(0,l.jsx)("div",{className:"grid gap-3 lg:grid-cols-2",children:c.map(e=>(0,l.jsxs)("article",{className:"space-y-3 rounded-xl border border-neutral-200 p-4",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-2",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(r(),{className:"font-semibold text-[#9A5200] hover:underline",href:"/admin/program-terms/".concat(e.id),children:e.name}),(0,l.jsx)("p",{className:"mt-1 text-xs text-neutral-500",children:e.organizationName})]}),(0,l.jsx)(n.Badge,{tone:(0,m.o)(e)?"neutral":"attention",children:(0,m.o)(e)?"Takvimli d\xf6nem":"Takvim doğrulanmalı"})]}),(0,l.jsx)("p",{className:"text-sm",children:null==e.participantCount?"Katılımcı sayısı alınamadı":"".concat(e.participantCount.toLocaleString("tr-TR")," katılımcı")}),(0,l.jsx)("p",{className:"text-xs text-neutral-500",children:(0,m.o)(e)?"".concat((0,n.dateText)(e.startsAt)," — ").concat((0,n.dateText)(e.endsAt)):"Ge\xe7miş eğitim kayıtları g\xf6r\xfcn\xfcr; hafta ve gecikme hen\xfcz hesaplanmaz."}),(0,l.jsxs)("div",{className:"flex flex-wrap gap-3 text-sm",children:[(0,l.jsx)(r(),{className:"font-medium text-[#9A5200] hover:underline",href:"/admin/operations/participants?termId=".concat(e.id),children:"Katılımcılar ve ilerleme →"}),t&&!(0,m.o)(e)?(0,l.jsx)(r(),{className:"text-[#9A5200] hover:underline",href:"/admin/program-terms/".concat(e.id,"?tab=settings"),children:"Takvimi doğrula"}):null]})]},e.id))}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.EmptyState,{title:"Bu kapsamda eğitim d\xf6nemi yok.",description:"Mevcut kurumu ve \xf6ğrencilerini d\xf6nemlere aktarabilir veya yeni bir d\xf6nem oluşturabilirsiniz."}),t?(0,l.jsx)(r(),{className:"admin-button",href:"/admin/program-terms?tab=legacy-import",children:"Mevcut programları aktar"}):null]})})})}},23551:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},28419:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},29053:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},31052:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Clapperboard",[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]])},34287:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("ListChecks",[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]])},38291:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("ReceiptText",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}
1],["path",{d:"M13 16H8",key:"wsln4y"}]])},40337:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},46293:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},55584:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]])},56056:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]])},59435:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},64041:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},68433:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("MessagesSquare",[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2z",key:"jj09z8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]])},68693:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("BookOpen",[["path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z",key:"vv98re"}],["path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z",key:"1cyq3y"}]])},70948:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},79261:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]])},88628:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});let l=(0,t(17963).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},95668:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/operations/reports",function(){return t(96765)}])},96765:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>v});var l=t(37876),i=t(97936),r=t(14232),s=t(25920),n=t(80312),d=t(37227),m=t(22188),c=t(1843),o=t(32836);let p=e=>{var a;return(null==e||null==(a=e.roadmapIds)?void 0:a.length)?[...new Set(e.roadmapIds)]:(null==e?void 0:e.roadmapId)?[e.roadmapId]:[]};function h(e){let a=new Map;for(let t of(null==e?void 0:e.roadmaps)||[])for(let e of t.chapters){let l=a.get(e.id)||{id:e.id,title:e.title,roadmapIds:[],modules:[]};for(let a of(l.roadmapIds.includes(t.id)||l.roadmapIds.push(t.id),e.modules))l.modules.some(e=>e.id===a.id)||l.modules.push(a);a.set(e.id,l)}return[...a.values()]}let u="".concat(d.Do,"/tracking-report");function x(e){let{mapping:a,onSaved:t,onCancel:i}=e,n=(0,s.hg)("tracking-report-catalog","".concat(u,"/mapping/").concat(a.termId,"/catalog")),m=(0,d.d5)(),[c]=(0,r.useState)(a.version),[o,x]=(0,r.useState)(()=>Object.fromEntries(a.bindings.map(e=>[e.key,{key:e.key,roadmapIds:p(e),applicability:e.applicability,moduleIds:[...new Set(e.moduleIds)]}]))),k=Object.values(o).some(e=>!e.moduleIds.length||!p(e).length),y=(e,a)=>x(t=>({...t,[e]:{...t[e]||{key:e,roadmapIds:[],applicability:"selected_roadmap",moduleIds:[]},...a}}));return(0,l.jsxs)("section",{"aria-label":"Eğitim s\xfctunu eşlemeleri",className:"space-y-4 border-t border-neutral-200 pt-4",children:[(0,l.jsx)("p",{className:"text-sm text-neutral-600",children:"B\xf6l\xfcm\xfc se\xe7tiğinizde, onu i\xe7eren programlar ve mod\xfcller birlikte se\xe7ilir. Program kapsamını ve gerekli mod\xfclleri kontrol edin. Şirket programları varsayılan olarak yalnız o programı se\xe7en katılımcılarda \xf6l\xe7\xfcl\xfcr."}),(0,l.jsxs)("p",{className:"text-sm",children:["D\xfczenlenen eşleme s\xfcr\xfcm\xfc: ",c,". Eşlenmeyen s\xfctunlar “\xd6l\xe7\xfcm eksik” g\xf6sterir."]}),(0,l.jsx)(d.kZ,{query:n,children:(0,l.jsx)("div",{className:"max-h-[580px] space-y-4 overflow-y-auto pr-2",children:a.columns.filter(e=>"training"===e.kind).map(e=>{var a,t,i;let r=o[e.key],s=p(r),m=(null==(a=n.data)?void 0:a.roadmaps.filter(e=>s.includes(e.id)))||[],c=m[0],u=c?{...c,chapters:c.chapters.map(e=>({...e,modules:e.modules.filter(e=>m.every(a=>a.chapters.some(a=>a.modules.some(a=>a.id===e.id))))})).filter(e=>e.modules.length)}:void 0;return(0,l.jsxs)("fieldset",{className:"rounded-xl border border-neutral-200 p-4",children:[(0,l.jsx)("legend",{className:"px-1 font-medium",children:e.header}),(0,l.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,l.jsxs)("label",{className:"text-sm",children:["Tek programla başla",(0,l.jsxs)("select",{"aria-label":"".concat(e.header," program se\xe7imi"),className:d.vB,value:s[0]||"",onChange:a=>{a.target.value?y(e.key,{roadmapIds:[a.target.value],moduleIds:[]}):x(a=>{let t={...a};return delete t[e.key],t})},children:[(0,l.jsx)("option",{value:"",children:"Eşlenmedi"}),null==(t=n.data)?void 0:t.roadmaps.map(e=>(0,l.jsxs)("option",{value:e.id,children:[e.title," \xb7 ",e.id]},e.id))]})]}
1),r?(0,l.jsxs)("label",{className:"text-sm",children:["Katılımcı kapsamı",(0,l.jsxs)("select",{"aria-label":"".concat(e.header," katılımcı kapsamı"),className:d.vB,value:r.applicability,onChange:a=>y(e.key,{applicability:a.target.value}),children:[(0,l.jsx)("option",{value:"selected_roadmap",children:"Bu programlardan birini se\xe7enler"}),(0,l.jsx)("option",{value:"all_participants",children:"D\xf6nemdeki t\xfcm katılımcılar"})]})]}):null,(0,l.jsxs)("label",{className:"text-sm sm:col-span-2",children:["Eğitim b\xf6l\xfcm\xfc",(0,l.jsxs)("select",{className:d.vB,"aria-label":"".concat(e.header," eğitim b\xf6l\xfcm\xfc"),value:"",onChange:a=>{let t=h(n.data).find(e=>e.id===a.target.value);t&&y(e.key,{roadmapIds:t.roadmapIds,moduleIds:t.modules.map(e=>e.id)})},children:[(0,l.jsx)("option",{value:"",children:"B\xf6l\xfcm ve bu b\xf6l\xfcm\xfc paylaşan programları se\xe7"}),h(n.data).map(e=>(0,l.jsxs)("option",{value:e.id,children:[e.title," \xb7 ",e.roadmapIds.length," program \xb7"," ",e.modules.length," mod\xfcl \xb7 ",e.id]},e.id))]})]})]}),r?(0,l.jsxs)("details",{className:"mt-3",children:[(0,l.jsxs)("summary",{className:"cursor-pointer text-sm font-medium",children:[s.length," program se\xe7ili"]}),(0,l.jsx)("div",{className:"mt-2 space-y-2",children:null==(i=n.data)?void 0:i.roadmaps.map(a=>{let t=r.moduleIds.every(e=>a.chapters.some(a=>a.modules.some(a=>a.id===e))),i=s.includes(a.id);return(0,l.jsxs)("label",{className:"flex gap-2 text-sm",children:[(0,l.jsx)("input",{type:"checkbox",checked:i,disabled:!i&&!t,onChange:t=>y(e.key,{roadmapIds:t.target.checked?[...s,a.id]:s.filter(e=>e!==a.id)})}),(0,l.jsxs)("span",{children:[a.title," \xb7 ",a.id,t||i?"":" \xb7 se\xe7ili mod\xfcller bu programda yok"]})]},a.id)})})]}):null,u?(0,l.jsxs)("details",{className:"mt-3",open:!(null==r?void 0:r.moduleIds.length),children:[(0,l.jsxs)("summary",{className:"cursor-pointer text-sm font-medium",children:[r.moduleIds.length," zorunlu mod\xfcl se\xe7ildi"]}),(0,l.jsx)("div",{className:"mt-3 space-y-3",children:u.chapters.map(a=>(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,l.jsx)("span",{className:"text-sm font-medium",children:a.title}),(0,l.jsxs)("button",{type:"button",className:"text-sm underline",onClick:()=>y(e.key,{moduleIds:[...new Set([...r.moduleIds,...a.modules.map(e=>e.id)])]}),children:[a.title,": t\xfcm mod\xfclleri se\xe7"]})]}),a.modules.map(a=>(0,l.jsxs)("label",{className:"flex items-start gap-2 text-sm",children:[(0,l.jsx)("input",{type:"checkbox",checked:r.moduleIds.includes(a.id),onChange:t=>y(e.key,{moduleIds:t.target.checked?[...r.moduleIds,a.id]:r.moduleIds.filter(e=>e!==a.id)})}),(0,l.jsxs)("span",{children:[a.title,(0,l.jsx)("span",{className:"block text-xs text-neutral-500",children:a.id})]})]},a.id))]},a.id))})]}):null]},e.key)})})}),k?(0,l.jsx)("p",{role:"alert",className:"text-sm text-amber-800",children:"Rotası se\xe7ilen her eğitim i\xe7in en az bir mod\xfcl se\xe7in veya eşlemeyi kaldırın."}):null,m.isError?(0,l.jsx)("p",{role:"alert",className:"text-sm text-red-700",children:(0,s.KR)(m.error)}):null,(0,l.jsxs)("div",{className:"flex gap-3",children:[(0,l.jsx)("button",{type:"button",className:"admin-button-primary",disabled:m.isPending||k||!n.isSuccess,onClick:()=>m.mutate({path:"".concat(u,"/mapping/").concat(a.termId),method:"put",body:{version:c,bindings:Object.values(o)}},{onSuccess:t}),children:m.isPending?"Kaydediliyor…":"Eşlemeyi kaydet"}),(0,l.jsx)("button",{type:"button",className:"admin-button",onClick:i,children:"Vazge\xe7"})]})]})}function k(e){var a;let{term:t,filters:i}=e,m=(0,d.h7)(),p=(0,c.my)(),h="historical"===p.value("reportMode")?"historical":"current",[k,y]=(0,r.useState)(!1),[v,g]=(0,r.useState)(null),j="".concat(i.reason||"",":").concat(i.state||""),f="historical"===h&&v===j,b="historical"===h&&!f&&!!(i.reason||i.state&&"unassigned"!==i.state),N=(0,o.o)(t),A=(0,s.hg)("tracking-report-mapping","".concat(u,"/mapping/").concat(t.id)),M=p.ready&&("current"===h||N&&!!i.week)&&!b,z={...i};delete z.reportMode;let I={...z,termId:t.id,mode:h,reason:f?void 0:i.reason,state:f&&"unassigned"!==i.state?void 0:i.state,mappingVersion:(null==(a=A.data)?void 0:a.version)||void 0,page:1,limit:10},w=(0,s.hg)("tracking-report-preview",u,I,M&&A.isSuccess);return(0,l.jsx)(n.Panel,{title:"Ekip takip raporu",description:"Sağlanan Excel'in se\xe7ilmiş 43 s\xfctunu; eğitim bazında yan yana durumlar ve sonda kayıt/\xf6l\xe7\xfcm kimlikler
1i.",children:(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-end gap-4",children:[(0,l.jsxs)("label",{className:"text-sm",children:["\xd6l\xe7\xfcm bi\xe7imi",(0,l.jsxs)("select",{"aria-label":"Takip raporu \xf6l\xe7\xfcm bi\xe7imi",className:d.vB,value:h,onChange:e=>p.set({reportMode:e.target.value}),children:[(0,l.jsx)("option",{value:"current",children:"Mevcut ilerleme"}),(0,l.jsx)("option",{value:"historical",disabled:!N,children:"Ge\xe7miş hafta g\xf6zlemi"})]})]}),M&&A.isSuccess?(0,l.jsx)(d.NV,{path:"".concat(u,"/export.csv"),label:"Ekip takip raporunu indir",filters:{...I,page:void 0,limit:void 0},name:"ekip-takip-raporu.csv"}):null,m&&A.isSuccess?(0,l.jsx)("button",{type:"button",className:"admin-button",onClick:()=>y(!k),children:"Eğitim eşlemelerini d\xfczenle"}):null]}),(0,l.jsxs)("p",{className:"text-sm text-neutral-600",children:["current"===h?"Eğitimler şu anki kayıtlarla \xf6l\xe7\xfcl\xfcr. Doğrulanmış hafta se\xe7ilmediyse iletişim tarihi ve haftalık notlar boş kalır.":"Eğitimler yalnız se\xe7ili haftanın s\xfcr\xfcml\xfc g\xf6zlemlerinden \xfcretilir; bug\xfcnk\xfc ilerleme ge\xe7mişe kopyalanmaz."," ","Başvuru e-postası, ikinci Promo Kod başlığının belirsiz karşılığı, katılımcı beyanı ve sınav tarihi i\xe7in veri uydurulmaz."]}),(0,l.jsx)(d.kZ,{query:A,children:A.data?(0,l.jsxs)("p",{className:"text-sm",children:[A.data.bindings.length,"/27 eğitim eşlendi \xb7 s\xfcr\xfcm"," ",A.data.version,A.data.bindings.length?"":". Eğitimleri \xf6l\xe7mek i\xe7in admin eşleme yapmalıdır."]}):null}),k&&m&&A.data?(0,l.jsx)(x,{mapping:A.data,onSaved:()=>y(!1),onCancel:()=>y(!1)},t.id):null,f&&(i.reason||i.state&&"unassigned"!==i.state)?(0,l.jsx)("p",{className:"text-sm text-amber-800",children:"Bu raporda g\xfcncel takip filtresi kaldırıldı. D\xf6nem, hafta, arama ve sorumlu kapsamı korunuyor."}):null,b?(0,l.jsxs)("div",{role:"alert",className:"space-y-3 text-sm",children:[(0,l.jsx)("p",{children:"G\xfcncel takip durumu filtresi ge\xe7miş haftaya uygulanamaz. D\xf6nem, hafta, arama ve sorumlu kapsamı korunarak takip filtresini bu rapordan kaldırın."}),(0,l.jsx)("button",{type:"button",className:"admin-button",onClick:()=>g(j),children:"Bu raporda takip filtresini kaldır"})]}):M?(0,l.jsx)(d.kZ,{query:w,children:w.data?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("p",{className:"text-sm",children:[w.data.total," katılımcı. \xd6nizlemede ilk"," ",w.data.items.length," kayıt; CSV b\xfct\xfcn filtrelenmiş kayıtları i\xe7erir."]}),(0,l.jsx)("div",{className:"max-h-[420px] overflow-auto",children:(0,l.jsxs)("table",{className:"admin-table min-w-[2200px]",children:[(0,l.jsx)("thead",{children:(0,l.jsx)("tr",{children:w.data.columns.map((e,a)=>(0,l.jsx)("th",{className:"min-w-40",children:e},"".concat(a,":").concat(e)))})}),(0,l.jsx)("tbody",{children:w.data.items.map(e=>(0,l.jsx)("tr",{children:e.values.map((e,a)=>(0,l.jsx)("td",{children:3===a&&"string"==typeof e?e.replace(/^'/,""):e},a))},e.id))})]})})]}):null}):(0,l.jsx)(n.EmptyState,{title:"Ge\xe7miş rapor i\xe7in doğrulanmış takvim ve hafta se\xe7in."})]})})}function y(){var e;let a=(0,d.E9)(),t=(0,d.wE)(),i=t.ready&&!t.pendingCalendar&&!!t.filters.termId&&!!t.filters.week,r=(0,s.hg)("program-weekly-reports","".concat(d.Do,"/reports"),t.filters,i);return(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsx)(n.PageHeader,{description:"Hafta kapanışları s\xfcr\xfcml\xfc saklanır; sonradan d\xfczeltilen veriler ge\xe7miş raporu silmez.",actions:i?(0,l.jsx)(d.NV,{path:"".concat(d.Do,"/reports/export.csv"),filters:t.filters}):null}),(0,l.jsx)(d.mN,{search:!0,owners:!0}),t.term.data&&!t.term.isError?(0,l.jsx)(m.vi,{term:t.term.data}):null,t.term.data&&!t.term.isError?(0,l.jsx)(k,{term:t.term.data,filters:t.filters},t.term.data.id):null,t.pendingCalendar?(0,l.jsxs)(n.Panel,{title:"Mevcut ilerleme raporu",children:[(0,l.jsx)("p",{className:"mb-4 text-sm text-neutral-600",children:"Doğrulanmış ortak takvim olmadan haftalık rapor \xfcretilmez. Katılımcı listesi ve CSV, mevcut ilerleme kayıtlarını tarih veya hafta uydurmadan g\xf6sterir."}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,l.jsx)(d.ei,{href:"/admin/operations/participants",children:"Katılımcıları ve ilerlemeyi a\xe7 →"}),(0,l.jsx)(d.NV,{path:"".concat(d.Do,"/export.csv"),filters:{...t.filters,week:void 0},name:"mevcut-program-ilerlemesi.csv"})]})]}):a.filters.termId&&a.filters.week?(0,l.jsx)(n.Panel,{title:"Hafta kayıtları",de
1scription:"Aşağıdaki kayıtlar s\xfcr\xfcml\xfc hafta \xf6l\xe7\xfcmleridir. CSV aynı d\xf6nem, hafta, filtre ve s\xfcr\xfcmleri dışa aktarır.",bodyless:!0,children:(0,l.jsx)(d.kZ,{query:t.term.isError?t.term:r,children:(null==(e=r.data)?void 0:e.items.length)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"overflow-x-auto",children:(0,l.jsxs)("table",{className:"admin-table min-w-[800px]",children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:"\xd6ğrenci"}),(0,l.jsx)("th",{children:"Hafta / s\xfcr\xfcm"}),(0,l.jsx)("th",{children:"Hafta durumu"}),(0,l.jsx)("th",{children:"Hedef sonu\xe7ları"}),(0,l.jsx)("th",{children:"\xd6l\xe7\xfcm zamanı"})]})}),(0,l.jsx)("tbody",{children:r.data.items.map(e=>(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e.name}),(0,l.jsxs)("td",{children:[e.week,". hafta \xb7 v",e.version]}),(0,l.jsx)("td",{children:e.closed?"Kapanmış hafta":"Devam eden hafta"}),(0,l.jsx)("td",{children:(0,l.jsx)("ul",{className:"space-y-2",children:e.targets.map(e=>(0,l.jsxs)("li",{className:"flex flex-wrap items-center gap-2",children:[(0,l.jsx)("span",{className:"text-sm",children:e.title}),(0,l.jsx)(d.VK,{state:e.state}
1),"legacy_undated"===e.completionEvidence?(0,l.jsx)("span",{className:"text-xs text-neutral-500",children:"Tamamlanma tarihi bilinmiyor"}):null]},e.targetId))})}),(0,l.jsx)("td",{children:(0,n.dateText)(e.calculatedAt,!0)})]},e.id))})]})}),(0,l.jsx)(n.Pagination,{...r.data,onChange:e=>a.set({page:e})})]}):(0,l.jsx)(n.EmptyState,{title:"Bu kapsamda hafta kaydı yok.",description:"D\xf6nem hedeflerini ve hesaplama durumunu kontrol edin."})})}):(0,l.jsx)(n.Panel,{children:(0,l.jsx)(n.EmptyState,{title:"Rapor i\xe7in d\xf6nem ve hafta se\xe7in.",description:"Ortak takvimdeki haftaların katılımcı bazında durumlarını g\xf6r\xfcn."})})]})}function v(){return(0,l.jsx)(i.A,{title:"Haftalık raporlar",children:(0,l.jsx)(y,{})})}}},e=>{e.O(0,[6254,7936,312,7227,636,6593,8792],()=>e(e.s=95668)),_N_E=e.O()}]);

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.