Calm motion: animations on this site only fade, with no movement
Downtime picker
The reason for a stop, with big touch buttons
Asks the operator why a machine stopped, on the tablet at the station. Downtime is the time a machine does not run. The reasons feed the OEE gauge and the reports of the line.
Basic
reasonsis a list. Each reason has anid, alabel, an optionalicon, andplanned.- Unplanned stops, such as a jam, come first. Planned stops, such as a break, come under them, in dashed tiles.
- The tiles are big, for gloves. Each tile is a native radio button, so the arrow keys move inside a group and screen readers hear the choice.
v-modelis the id of the chosen reason. The chosen tile is filled.machinenames the machine in the question, such as "Why did Press 2 stop?".- "Save the reason" emits
savewith the reason and the note. It is off until a reason is chosen. - Change the words with
labelsor a label pack:unplanned,planned,note,save, andtitle(a function).
Usage
ts
import { BlessDowntimePicker } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
reasons* | BlessDowntimeReason[] | — | |
machine | string | — | the machine or the station, for the title |
labels | Partial<{ title: (machine: string) => string; unplanned: string; planned: string; note: string; save: string; }> | — | |
modelValue | string | — |
Events
| Name | Payload | Description |
|---|---|---|
update:modelValue | [value: string | undefined] | |
save | [reason: string, note: string] |