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