import{u as E,V as j,W as v,X as A,Y as d,j as s,F as e,n as i,A as a,Z as x,_ as p,x as m,$ as u,a0 as h,a1 as f,a2 as l}from"./index-26FXPGkN.js";import{O as F,R as g}from"./TaskPanel-1n1xV0vy.js";import"./tasks-BMVBejH2.js";import"./index-DlWqcwmX.js";import"./IconUser-CkQmhwMi.js";import"./Textarea-C8aNW3Hx.js";import"./get-env-uyVen0u2.js";import"./IconChevronLeft-FAloe5QL.js";import"./use-resize-observer-6Qm_8hWl.js";import"./useTaskTypesData-CFzDcAWE.js";import"./ColorSwatch-CtoYH4Cn.js";import"./Typography-PKUzf06x.js";import"./clamp-CUTWWzXs.js";import"./Select-C1WMqk5R.js";import"./SegmentedControl-BeEuUkOb.js";import"./IconGripVertical-COCN8Vqa.js";import"./IconAt-Bca7mi74.js";import"./IconTableOff-DmQNoB2C.js";import"./Accordion-z2XcZ0M6.js";const _="_column_1trmk_1",k="_card_1trmk_6",c={column:_,card:k},H=()=>{const{tasksList:w,statusesList:o}=F(),y=new Date,z=n=>{const t=new Date(y);return t.setDate(t.getDate()+(3+n)),t.toDateString()},{t:r}=E("onboarding"),b=[{id:d(),color:"blue",icon:j,name:r("selectCategory.options.task"),type:"task",order:1},{id:d(),color:"orange",icon:v,name:r("selectCategory.options.bug"),type:"bug",order:2},{id:d(),color:"grape",icon:A,name:r("selectCategory.options.milestone"),type:"milestone",order:3}],D=n=>{const t=b.find(B=>B.type===n);return t?s.jsx(a,{size:16,variant:"filled",color:t.color,children:s.jsx(t.icon,{})}):null};return s.jsxs(e,{gap:13,align:"start",w:"100%",children:[s.jsxs(e,{gap:11,p:7,direction:"column",w:340,className:c.column,children:[s.jsxs(e,{w:"100%",justify:"space-between",children:[s.jsxs(e,{gap:14,align:"center",children:[s.jsx(g,{color:"#228BE6",title:o[0]}),s.jsxs(i,{c:"#868E96",fz:14,children:["(",r("defineStatuses.tasks"),": ",w.length,")"]})]}),s.jsx(a,{variant:"subtle",size:18,children:s.jsx(x,{})})]}),s.jsx(p,{w:"100%"}),w.map((n,t)=>s.jsxs(e,{gap:0,direction:"column",align:"start",justify:"space-between",w:"100%",h:105,className:c.card,px:14,py:9,children:[s.jsxs(m,{children:[s.jsx(i,{fz:18,fw:400,children:n.title}),s.jsxs(e,{align:"center",children:[s.jsx(u,{color:"#495057",size:13}),s.jsx(i,{fz:16,c:"#495057",children:z(t)})]})]}),s.jsxs(e,{justify:"space-between",w:"100%",children:[s.jsxs(e,{children:[D(n.type),s.jsxs(i,{fz:13,children:["DEMO-",t+1]})]}),s.jsxs(e,{children:[s.jsx(h,{color:"#F59F00",size:16}),s.jsx(f,{variant:"filled",color:"#228BE6",radius:"xl",size:24})]})]})]},n.id))]}),s.jsxs(e,{gap:11,p:7,direction:"column",w:340,className:c.column,children:[s.jsxs(e,{w:"100%",justify:"space-between",children:[s.jsxs(e,{gap:14,align:"center",children:[s.jsx(g,{color:"#12B886",title:o[1]}),s.jsxs(i,{c:"#868E96",fz:14,children:["(",r("defineStatuses.tasks"),": 2)"]})]}),s.jsx(a,{variant:"subtle",size:18,children:s.jsx(x,{})})]}),s.jsx(p,{w:"100%"}),Array(2).fill(0).map((n,t)=>s.jsxs(e,{gap:0,direction:"column",align:"start",justify:"space-between",w:"100%",h:105,className:c.card,px:14,py:9,children:[s.jsxs(m,{children:[s.jsx(l,{animate:!1,mb:15,w:t===0?128:172,h:18}),s.jsxs(e,{align:"center",children:[s.jsx(u,{color:"#495057",size:13}),s.jsx(l,{animate:!1,w:t===0?52:63,h:12})]})]}),s.jsxs(e,{justify:"space-between",w:"100%",children:[s.jsxs(e,{children:[s.jsx(a,{size:16,variant:"filled",color:"#ADB5BD",children:s.jsx(j,{})}),s.jsxs(i,{c:"#ADB5BD",fz:13,children:["DEMO-",t+4]})]}),s.jsxs(e,{children:[s.jsx(h,{color:"#F59F00",size:16}),s.jsx(f,{variant:"filled",color:"#228BE6",radius:"xl",size:24})]})]})]},t))]}),s.jsxs(e,{gap:11,p:7,direction:"column",w:340,className:c.column,children:[s.jsxs(e,{w:"100%",justify:"space-between",children:[s.jsxs(e,{gap:14,align:"center",children:[s.jsx(g,{color:"#FA5252",title:o[2]}),s.jsxs(i,{c:"#868E96",fz:14,children:["(",r("defineStatuses.tasks"),": 2)"]})]}),s.jsx(a,{variant:"subtle",size:18,children:s.jsx(x,{})})]}),s.jsx(p,{w:"100%"}),Array(2).fill(0).map((n,t)=>s.jsxs(e,{gap:0,direction:"column",align:"start",justify:"space-between",w:"100%",h:105,className:c.card,px:14,py:9,children:[s.jsxs(m,{children:[s.jsx(l,{animate:!1,mb:15,w:t===0?266:150,h:18}),s.jsxs(e,{align:"center",children:[s.jsx(u,{color:"#495057",size:13}),s.jsx(l,{animate:!1,w:t===0?72:46,h:12})]})]}),s.jsxs(e,{justify:"space-between",w:"100%",children:[s.jsxs(e,{children:[s.jsx(a,{size:16,variant:"filled",color:"#ADB5BD",children:s.jsx(j,{})}),s.jsxs(i,{c:"#ADB5BD",fz:13,children:["DEMO-",t+6]})]}),s.jsxs(e,{children:[s.jsx(h,{color:"#F59F00",size:16}),s.jsx(f,{variant:"filled",color:"#228BE6",radius:"xl",size:24})]})]})]},t))]})]})};export{H as default};
