import{l as E,a6 as d,a7 as j,a8 as v,a9 as A,j as s,G as e,M as n,q as r,aa as x,ab as p,V as m,ac as u,ad as h,ae as f,af as l}from"./index-DTC0Ed21.js";import{M as S,S as g}from"./TaskPanel-DL-lNNa-.js";import"./tasks-ClycqzjK.js";import"./IconUser-Bh9n--nN.js";import"./tasks-R9G1-k7v.js";import"./IconChevronLeft-DwnMQlxZ.js";import"./use-resize-observer-B2T5TxF-.js";import"./useTaskTypesData-DEDxUwkB.js";import"./PillsInput-BQBRVlfT.js";import"./SegmentedControl-CI2D3wRP.js";import"./get-base-value-JqT_q0U7.js";import"./ColorSwatch-DyLoUEeW.js";import"./TypographyStylesProvider-B4wTcLh8.js";import"./clamp-Bw9v46PI.js";import"./IconGripVertical-A4WphpSm.js";import"./Accordion-BmslGzqa.js";const k="_column_1trmk_1",F="_card_1trmk_6",c={column:k,card:F},Q=()=>{const{tasksList:w,statusesList:o}=S(),y=new Date,z=t=>{const a=new Date(y);return a.setDate(a.getDate()+(3+t)),a.toDateString()},{t:i}=E("onboarding"),b=[{id:j(),color:"blue",icon:d,name:i("selectCategory.options.task"),type:"task",order:1},{id:j(),color:"orange",icon:v,name:i("selectCategory.options.bug"),type:"bug",order:2},{id:j(),color:"grape",icon:A,name:i("selectCategory.options.milestone"),type:"milestone",order:3}],D=t=>{const a=b.find(B=>B.type===t);return a?s.jsx(r,{size:16,variant:"filled",color:a.color,children:s.jsx(a.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(n,{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((t,a)=>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(n,{fz:18,fw:400,children:t.title}),s.jsxs(e,{align:"center",children:[s.jsx(u,{color:"#495057",size:13}),s.jsx(n,{fz:16,c:"#495057",children:z(a)})]})]}),s.jsxs(e,{justify:"space-between",w:"100%",children:[s.jsxs(e,{children:[D(t.type),s.jsxs(n,{fz:13,children:["DEMO-",a+1]})]}),s.jsxs(e,{children:[s.jsx(h,{color:"#F59F00",size:16}),s.jsx(f,{variant:"filled",color:"#228BE6",radius:"xl",size:24})]})]})]},t.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(n,{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((t,a)=>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:a===0?128:172,h:18}),s.jsxs(e,{align:"center",children:[s.jsx(u,{color:"#495057",size:13}),s.jsx(l,{animate:!1,w:a===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(d,{})}),s.jsxs(n,{c:"#ADB5BD",fz:13,children:["DEMO-",a+4]})]}),s.jsxs(e,{children:[s.jsx(h,{color:"#F59F00",size:16}),s.jsx(f,{variant:"filled",color:"#228BE6",radius:"xl",size:24})]})]})]},a))]}),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(n,{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((t,a)=>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:a===0?266:150,h:18}),s.jsxs(e,{align:"center",children:[s.jsx(u,{color:"#495057",size:13}),s.jsx(l,{animate:!1,w:a===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(d,{})}),s.jsxs(n,{c:"#ADB5BD",fz:13,children:["DEMO-",a+6]})]}),s.jsxs(e,{children:[s.jsx(h,{color:"#F59F00",size:16}),s.jsx(f,{variant:"filled",color:"#228BE6",radius:"xl",size:24})]})]})]},a))]})]})};export{Q as default};
