GLS Registry

Parcel Shop Label Management

Parcel Shop screen for label packs, label requests, and requesting more labels.

Installation

npx shadcn@latest add @ecodeliver/parcel-shop-label-management

API Reference

ParcelShopLabelManagementPage

Callbacks run after the matching confirmation dialog.

PropTypeDefault
labelsLabel[]bundled example data
requestsLabelRequest[]bundled example data
onMarkConsumed(id: string) => void-
onCancelRequest(id: string) => void-
onMarkReceived(id: string) => void-
onSubmitRequest(reason: LabelRequestReason) => void-

Label

PropTypeDefault
idstring-
rangeFromstring-
rangeTostring-
status"active" | "consumed" | "disabled"-
updatedAtstring-
usednumber-

LabelRequest

PropTypeDefault
idstring-
status"pending" | "cancelled" | "received"-
source"automatic" | "manual"-
updatedAtstring-
reasonLabelRequestReason-

LabelRequestReason

"few_labels" | "damaged" | "not_received"

On this page