@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.11 kB
TypeScript
import { OnInit } from '@angular/core';
import { ActiveCartService, Cart, CmsParagraphComponent, CmsService, OrderEntry, PromotionLocation, SelectiveCartService } from '@spartacus/core';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class SaveForLaterComponent implements OnInit {
protected cmsService: CmsService;
protected cartService: ActiveCartService;
protected selectiveCartService: SelectiveCartService;
saveForLater$: Observable<Cart>;
cart$: Observable<Cart>;
entries$: Observable<OrderEntry[]>;
cartLoaded$: Observable<boolean>;
data$: Observable<CmsParagraphComponent>;
isCartEmpty$: Observable<boolean>;
CartLocation: typeof PromotionLocation;
constructor(cmsService: CmsService, cartService: ActiveCartService, selectiveCartService: SelectiveCartService);
ngOnInit(): void;
moveToCart(item: OrderEntry): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SaveForLaterComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SaveForLaterComponent, "cx-save-for-later", never, {}, {}, never, never>;
}