'use client'; /* EngagementSortChips — phase 07 (ENG-04). * Purpose: 3-chip sort selector (Hours/Name/Utilization). Same chip styling as period chips. * Maps to /api/engagement/users sort/order params per D-20. * Props: value, onChange. Pure presentational. */ export type EngagementSortKey = 'hours' | 'name' | 'utilization'; export interface EngagementSortChipsProps { value: EngagementSortKey; onChange: (next: EngagementSortKey) => void; } const SORTS: ReadonlyArray<{ key: EngagementSortKey; label: string }> = [ { key: 'hours', label: 'Hours' }, { key: 'name', label: 'Name' }, { key: 'utilization', label: 'Utilization' }, ]; export function EngagementSortChips({ value, onChange }: EngagementSortChipsProps) { return (