@spartacus/storefront
Version:
Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.
22 lines (21 loc) • 1.13 kB
TypeScript
import { OnInit } from '@angular/core';
import { ActiveCartService, AuthService, Cart, OrderEntry, PromotionLocation, RoutingService, SelectiveCartService } from '@spartacus/core';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class CartDetailsComponent implements OnInit {
protected activeCartService: ActiveCartService;
protected selectiveCartService: SelectiveCartService;
protected authService: AuthService;
protected routingService: RoutingService;
cart$: Observable<Cart>;
entries$: Observable<OrderEntry[]>;
cartLoaded$: Observable<boolean>;
loggedIn: boolean;
promotionLocation: PromotionLocation;
selectiveCartEnabled: boolean;
constructor(activeCartService: ActiveCartService, selectiveCartService: SelectiveCartService, authService: AuthService, routingService: RoutingService);
ngOnInit(): void;
saveForLater(item: OrderEntry): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CartDetailsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CartDetailsComponent, "cx-cart-details", never, {}, {}, never, never>;
}