UNPKG

@spartacus/storefront

Version:

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

36 lines (35 loc) 1.82 kB
import { ElementRef, OnDestroy, ViewContainerRef } from '@angular/core'; import { ReplenishmentOrder, ReplenishmentOrderList, RoutingService, TranslationService, UserReplenishmentOrderService } from '@spartacus/core'; import { Observable } from 'rxjs'; import { LaunchDialogService } from '../../../../layout/launch-dialog/services/launch-dialog.service'; import * as i0 from "@angular/core"; /** * @deprecated since 4.2 - use order lib instead */ export declare class ReplenishmentOrderHistoryComponent implements OnDestroy { protected routing: RoutingService; protected userReplenishmentOrderService: UserReplenishmentOrderService; protected translation: TranslationService; protected vcr: ViewContainerRef; protected launchDialogService: LaunchDialogService; element: ElementRef; private subscription; private PAGE_SIZE; sortType: string; replenishmentOrders$: Observable<ReplenishmentOrderList>; isLoaded$: Observable<boolean>; constructor(routing: RoutingService, userReplenishmentOrderService: UserReplenishmentOrderService, translation: TranslationService, vcr: ViewContainerRef, launchDialogService: LaunchDialogService); changeSortCode(sortCode: string): void; pageChange(page: number): void; goToOrderDetail(order: ReplenishmentOrder): void; getSortLabels(): Observable<{ byDate: string; byReplenishmentNumber: string; byNextOrderDate: string; }>; openDialog(event: Event, replenishmentOrderCode: string): void; private fetchReplenishmentOrders; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ReplenishmentOrderHistoryComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ReplenishmentOrderHistoryComponent, "cx-replenishment-order-history", never, {}, {}, never, never>; }