UNPKG

@spartacus/cart

Version:

`@spartacus/cart` is a package that you can include in your application, which allows you to use various cart features.

16 lines (15 loc) 943 B
import { OrderEntry } from '@spartacus/core'; import { ContextService, OrderEntriesContext } from '@spartacus/storefront'; import { Observable } from 'rxjs'; import { ExportOrderEntriesToCsvService } from './export-order-entries-to-csv.service'; import * as i0 from "@angular/core"; export declare class ExportOrderEntriesComponent { protected exportEntriesService: ExportOrderEntriesToCsvService; protected contextService: ContextService; constructor(exportEntriesService: ExportOrderEntriesToCsvService, contextService: ContextService); protected orderEntriesContext$: Observable<OrderEntriesContext | undefined>; entries$: Observable<OrderEntry[] | undefined>; exportCsv(entries: OrderEntry[]): void; static ɵfac: i0.ɵɵFactoryDeclaration<ExportOrderEntriesComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ExportOrderEntriesComponent, "cx-export-order-entries", never, {}, {}, never, never>; }