@spartacus/storefront
Version:
Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.
23 lines (22 loc) • 934 B
TypeScript
import { OnInit, OnDestroy } from '@angular/core';
import { ActiveCartService, Cart, OrderEntry } from '@spartacus/core';
import { Observable, Subscription } from 'rxjs';
import { Router } from '@angular/router';
import * as i0 from "@angular/core";
export declare class CartTotalsComponent implements OnInit, OnDestroy {
protected activeCartService: ActiveCartService;
protected router?: Router;
cart$: Observable<Cart>;
entries$: Observable<OrderEntry[]>;
cartValidationInProgress: boolean;
protected subscription: Subscription;
/**
* @deprecated since 4.2
*/
constructor(activeCartService: ActiveCartService);
ngOnInit(): void;
ngOnDestroy(): void;
disableButtonWhileNavigation(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CartTotalsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CartTotalsComponent, "cx-cart-totals", never, {}, {}, never, never>;
}