# XWUIDisplayRotting

Stale-task age indicator (Odoo's "rotting"). Shows how long a task has been stuck in its current stage; color escalates as the age increases.

## Basic Usage

21-day-old task - turns warning amber by default.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: 21-day-old task - turns warning amber by default.
```

## Escalation Levels

Below 14 = muted · 14-29 = warning · 30+ = danger (pulsing).

```example
file: examples/EscalationLevels.ts
html: examples/EscalationLevels.html
title: Escalation Levels
description: Below 14 = muted · 14-29 = warning · 30+ = danger (pulsing).
```

## Variants

chip · dot · icon - same age, different visuals.

```example
file: examples/Variants.ts
html: examples/Variants.html
title: Variants
description: chip · dot · icon - same age, different visuals.
```

## From Stage Date

Pass `stageEnteredAt` and the component computes days itself.

```example
file: examples/FromStageDate.ts
html: examples/FromStageDate.html
title: From Stage Date
description: Pass `stageEnteredAt` and the component computes days itself.
```

```api
```
