// --------------------------------------------------------------------------- // BulkBar // // Per-lane floating action bar. Each Inbox lane has its own BulkBar — // the bar shows when the lane has a selection and exposes the actions // appropriate to that lane: // // * rejected → Re-submit (move back to SUBMITTED) // * payer_rejected → Acknowledge (drop from working surface; SP14) // * candidates → Dismiss (suppress a remit/claim pair) // * unmatched → (no destructive action; just export) // * done_today → (read-only; just export) // // Every lane gets the Export CSV action so the operator can ship // anything actionable to a file for off-system follow-up (appeals, // re-keying, posting to the billing system of record, etc). // --------------------------------------------------------------------------- type LaneKey = | "rejected" | "payer_rejected" | "candidates" | "unmatched" | "done_today"; export function BulkBar({ lane, count, onResubmit, onAcknowledge, onDismiss, onExport, }: { lane: LaneKey; count: number; onResubmit: () => void; onAcknowledge: () => void; onDismiss: () => void; onExport: () => void; }) { if (count === 0) return null; return (