UNPKG

@spartacus/storefront

Version:

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

19 lines (18 loc) 784 B
import { FormControl } from '@angular/forms'; import { OrderEntry, PromotionLocation } from '@spartacus/core'; import { Observable } from 'rxjs'; import { CartItemComponentOptions } from '../cart-item.component'; import * as i0 from "@angular/core"; /** * Context for `CartItemComponent`. */ export declare abstract class CartItemContext { readonly compact$: Observable<boolean>; readonly readonly$: Observable<boolean>; readonly item$: Observable<OrderEntry>; readonly quantityControl$: Observable<FormControl>; readonly location$: Observable<PromotionLocation>; readonly options$: Observable<CartItemComponentOptions>; static ɵfac: i0.ɵɵFactoryDeclaration<CartItemContext, never>; static ɵprov: i0.ɵɵInjectableDeclaration<CartItemContext>; }