UNPKG

@spartacus/storefront

Version:

Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.

24 lines (23 loc) 1.12 kB
import { OnDestroy, OnInit } from '@angular/core'; import { Consignment, ConsignmentTracking, UserOrderService } from '@spartacus/core'; import { Observable } from 'rxjs'; import { ModalRef, ModalService } from '../../../../../../shared/components/modal/index'; import * as i0 from "@angular/core"; /** * @deprecated since 4.2 - use order lib instead */ export declare class ConsignmentTrackingComponent implements OnInit, OnDestroy { private userOrderService; private modalService; consignmentStatus: string[]; modalRef: ModalRef; consignment: Consignment; orderCode: string; consignmentTracking$: Observable<ConsignmentTracking>; constructor(userOrderService: UserOrderService, modalService: ModalService); ngOnInit(): void; openTrackingDialog(consignment: Consignment): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ConsignmentTrackingComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ConsignmentTrackingComponent, "cx-consignment-tracking", never, { "consignment": "consignment"; "orderCode": "orderCode"; }, {}, never, never>; }