import{b as E,Y as j,Z as d,_ as v,$ as A,j as s,F as e,q as a,A as r,a0 as x,a1 as p,C as m,a2 as u,a3 as h,a4 as f,a5 as l}from"./index-n-59FgrC.js";import{M as F,S as g}from"./TaskPanel-FSBo9x0f.js";import"./useTaskTypesData-CgG6u01U.js";import"./IconUser-BvK8eLe8.js";import"./tasks-CZQGFm5u.js";import"./get-env-uyVen0u2.js";import"./IconChevronLeft-CyT72r93.js";import"./use-resize-observer-Bh8oaK16.js";import"./SegmentedControl-D05EYfFd.js";import"./SimpleGrid-DzebcIbT.js";import"./get-base-value-JqT_q0U7.js";import"./TypographyStylesProvider-D2Jq4B6Y.js";import"./clamp--03mf-JJ.js";import"./IconSortDescending-DCVZ-bvF.js";import"./IconGripVertical-Ce_4nROx.js";import"./Accordion-DVbX6gPb.js";const S="_column_1trmk_1",_="_card_1trmk_6",c={column:S,card:_},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:i}=E("onboarding"),b=[{id:d(),color:"blue",icon:j,name:i("selectCategory.options.task"),type:"task",order:1},{id:d(),color:"orange",icon:v,name:i("selectCategory.options.bug"),type:"bug",order:2},{id:d(),color:"grape",icon:A,name:i("selectCategory.options.milestone"),type:"milestone",order:3}],D=n=>{const t=b.find(B=>B.type===n);return t?s.jsx(r,{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(a,{c:"#868E96",fz:14,children:["(",i("defineStatuses.tasks"),": ",w.length,")"]})]}),s.jsx(r,{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(a,{fz:18,fw:400,children:n.title}),s.jsxs(e,{align:"center",children:[s.jsx(u,{color:"#495057",size:13}),s.jsx(a,{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(a,{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(a,{c:"#868E96",fz:14,children:["(",i("defineStatuses.tasks"),": 2)"]})]}),s.jsx(r,{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(r,{size:16,variant:"filled",color:"#ADB5BD",children:s.jsx(j,{})}),s.jsxs(a,{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(a,{c:"#868E96",fz:14,children:["(",i("defineStatuses.tasks"),": 2)"]})]}),s.jsx(r,{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(r,{size:16,variant:"filled",color:"#ADB5BD",children:s.jsx(j,{})}),s.jsxs(a,{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};
