import { Component, computed, inject } from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; import { ActivatedRoute } from '@angular/router'; import { map } from 'rxjs'; import { ChipComponent, type ChipVariant } from '@africanies/africanies-ui'; import { findUsecaseShipment } from './shipment-data'; /** * Child detail route — Back returns to the shipment list parent. */ @Component({ selector: 'app-shipment-detail-page', standalone: true, imports: [ChipComponent], template: `
Shipment
{{ row.reference }}
{{ row.route }}
The chevron and breadcrumbs above are provided by the SDK — this page
does not add them. List filters and page stay on the query string;
Back returns to
/usecases/shipment
with those queries intact. Paste
/usecases/shipment/{{ row.reference }}
in a new tab and Back still appears.
Unknown shipment.
}