(status: Task['status'])
| 220 | columns: number; |
| 221 | }; |
| 222 | function getTaskIcon(status: Task['status']): { |
| 223 | icon: string; |
| 224 | color: keyof Theme | undefined; |
| 225 | } { |
| 226 | switch (status) { |
| 227 | case 'completed': |
| 228 | return { |
| 229 | icon: figures.tick, |
| 230 | color: 'success' |
| 231 | }; |
| 232 | case 'in_progress': |
| 233 | return { |
| 234 | icon: figures.squareSmallFilled, |
| 235 | color: 'claude' |
| 236 | }; |
| 237 | case 'pending': |
| 238 | return { |
| 239 | icon: figures.squareSmall, |
| 240 | color: undefined |
| 241 | }; |
| 242 | } |
| 243 | } |
| 244 | function TaskItem(t0) { |
| 245 | const $ = _c(37); |
| 246 | const { |